feat(host): added swap
This commit is contained in:
1 parent
3c61d0b1cd
commit
94e118018b
2 files changed
+2
-1
No files matched your search
@@ -7,6 +7,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./modules/grab.nix
|
./modules/grab.nix
|
||||||
./modules/bottles.nix
|
./modules/bottles.nix
|
||||||
|
./modules/swap.nix
|
||||||
|
|
||||||
(import ../modules/common.nix {
|
(import ../modules/common.nix {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
zramSwap = {
|
zramSwap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
algorithm = "lz4";
|
algorithm = "lz4";
|
||||||
memoryPercent = 50;
|
memoryPercent = 30;
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
|
|||||||
Reference in new issue
Block a user