enable swap
This commit is contained in:
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; }
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user