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