hosts: enable zramswap

This commit is contained in:
2023-01-07 08:56:04 +01:00
parent e44ba26ccb
commit ede4232f28
3 changed files with 3 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.tmpOnTmpfs = true;
zramSwap.enable = true;
fileSystems."/" =
{ device = "/dev/disk/by-label/NIXROOT";