add swap to skinny
This commit is contained in:
parent
a7551693ec
commit
d745e58d1f
1 changed files with 7 additions and 2 deletions
|
@ -23,12 +23,17 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [{
|
||||
device = "/swapfile";
|
||||
size = 16 * 1024;
|
||||
priority = 1;
|
||||
}];
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 75;
|
||||
memoryPercent = 25;
|
||||
priority = 10;
|
||||
};
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
|
Loading…
Reference in a new issue