Decrease swap size to half the RAM size

This commit is contained in:
coolneng 2021-02-17 01:28:48 +01:00
parent d239b2cc82
commit 8b3b7f0505
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 8 additions and 8 deletions

View File

@ -33,13 +33,18 @@
fsType = "autofs";
};
fileSystems."/home" =
{ device = "syscea/stateful/home";
fsType = "zfs";
};
fileSystems."/tmp" =
{ device = "syscea/ephemeral/tmp";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "syscea/stateful/home";
fileSystems."/home/coolneng/Downloads" =
{ device = "syscea/stateful/home/downloads";
fsType = "zfs";
};
@ -48,13 +53,8 @@
fsType = "vfat";
};
fileSystems."/home/coolneng/Downloads" =
{ device = "syscea/stateful/home/downloads";
fsType = "zfs";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/205e9060-b3c4-43e3-800f-aa6ebe782fb0"; }
[ { device = "/dev/disk/by-uuid/3403dce5-dfd2-42bc-9b38-58995c3fb93a"; }
];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";