From a6e21aa40bd0988d690bbc6573855ab8da64966b Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Sun, 22 Apr 2018 11:42:44 +0200 Subject: [PATCH] Activation swap --- hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index f3a304a..9f4acef 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -102,7 +102,9 @@ fsType = "zfs"; }; - swapDevices = [ ]; + swapDevices = + [ { device = "/var/swapfile"; } + ]; nix.maxJobs = lib.mkDefault 4; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";