[NixOS] Add swap device to uber-loaner

This commit is contained in:
Ivan Malison 2018-07-14 19:26:10 -07:00
parent cfffe76778
commit f43aa2698f
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -26,13 +26,16 @@
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/33c38b23-af1a-4bc4-913e-c774f1030817"; }
];
fileSystems."/tmp" =
{ device = "tmpfs";
fsType = "tmpfs";
};
networking.hostName = "uber-loaner";
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";