about summary refs log tree commit diff
path: root/modules/user
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-16 02:28:32 +0200
committeraszlig <aszlig@nix.build>2018-07-16 02:28:32 +0200
commit452fb394991d517d38e15979b39cf47355b509f8 (patch)
treee019d4588fa6f753e912b326c82cfc747aa1be1f /modules/user
parent388902a5afad2469db181e096b999630a22baeb6 (diff)
profiles/managed: Enable zswap
Most of these machines have limited RAM and come to a crawl whenever
swap space needs to be used.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/aszlig/profiles/managed.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/aszlig/profiles/managed.nix b/modules/user/aszlig/profiles/managed.nix
index 51566ffd..0e9aadd3 100644
--- a/modules/user/aszlig/profiles/managed.nix
+++ b/modules/user/aszlig/profiles/managed.nix
@@ -111,5 +111,6 @@ in {
     };
 
     vuizvui.enableGlobalNixpkgsConfig = true;
+    vuizvui.system.kernel.zswap.enable = true;
   };
 }