diff options
Diffstat (limited to 'configurations')
-rw-r--r-- | configurations/manwe/default.nix | 11 | ||||
-rw-r--r-- | configurations/melian/default.nix | 5 | ||||
-rw-r--r-- | configurations/varda/default.nix | 5 | ||||
-rw-r--r-- | configurations/yavanna/default.nix | 5 |
4 files changed, 25 insertions, 1 deletions
diff --git a/configurations/manwe/default.nix b/configurations/manwe/default.nix index 2599d78..47a2040 100644 --- a/configurations/manwe/default.nix +++ b/configurations/manwe/default.nix @@ -93,5 +93,14 @@ with lib; { }; }; - swapDevices = [{device = "/dev/sda3";}]; + swapDevices = [ + { + device = "/dev/sda3"; + } + ]; + + zramSwap = { + enable = true; + memoryPercent = 25; + }; } diff --git a/configurations/melian/default.nix b/configurations/melian/default.nix index 94e799e..08cbc8c 100644 --- a/configurations/melian/default.nix +++ b/configurations/melian/default.nix @@ -60,6 +60,11 @@ with lib; { } ]; + zramSwap = { + enable = true; + memoryPercent = 25; + }; + boot = { kernelPackages = mkForce pkgs.linuxPackages_xanmod_latest; diff --git a/configurations/varda/default.nix b/configurations/varda/default.nix index 7efeb61..c0789f5 100644 --- a/configurations/varda/default.nix +++ b/configurations/varda/default.nix @@ -77,4 +77,9 @@ with lib; { size = 4 * 1024; } ]; + + zramSwap = { + enable = true; + memoryPercent = 25; + }; } diff --git a/configurations/yavanna/default.nix b/configurations/yavanna/default.nix index d390e40..aa3118e 100644 --- a/configurations/yavanna/default.nix +++ b/configurations/yavanna/default.nix @@ -68,4 +68,9 @@ with lib; { size = 4 * 1024; } ]; + + zramSwap = { + enable = true; + memoryPercent = 25; + }; } |