feat(rpi4): add swapfile
This commit is contained in:
parent
573ca4724b
commit
3d0f4cebc0
|
@ -31,7 +31,10 @@
|
||||||
options = [ "subvol=@snapshots" "compress-force=zstd" "noatime" ];
|
options = [ "subvol=@snapshots" "compress-force=zstd" "noatime" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [{
|
||||||
|
device = "/swapfile";
|
||||||
|
size = 4096;
|
||||||
|
}];
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue