enable swap
This commit is contained in:
parent
f8a8ae8999
commit
72c2aed6d9
11
cfg/fs.nix
11
cfg/fs.nix
|
@ -55,8 +55,13 @@
|
|||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
# swapDevices = [
|
||||
# { device = "/swapfile"; size = 4096; }
|
||||
# ];
|
||||
# in-memory compressed RAM (seems to be dynamically sized)
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/swapfile"; size = 4096; }
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user