1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 03:51:07 +01:00

feat: add zramfs as swap

This commit is contained in:
2020-11-10 22:17:47 +01:00
parent 218c251d31
commit acec2505e4
4 changed files with 4 additions and 11 deletions

View File

@@ -18,13 +18,7 @@
fsType = "vfat";
};
swapDevices = [
{
device = "/swapfile";
priority = 0;
size = 4096;
}
];
zramSwap.enable = true;
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";