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