feat(rpi4): add swapfile

This commit is contained in:
Felix Schröter 2022-05-14 18:11:19 +02:00
parent 573ca4724b
commit 3d0f4cebc0
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -31,7 +31,10 @@
options = [ "subvol=@snapshots" "compress-force=zstd" "noatime" ];
};
swapDevices = [ ];
swapDevices = [{
device = "/swapfile";
size = 4096;
}];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}