diff --git a/hardware/rpi4.nix b/hardware/rpi4.nix index 66f8994..46325c4 100644 --- a/hardware/rpi4.nix +++ b/hardware/rpi4.nix @@ -31,7 +31,10 @@ options = [ "subvol=@snapshots" "compress-force=zstd" "noatime" ]; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/swapfile"; + size = 4096; + }]; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; }