From b2b0056399cafedc02e0d42e80dfc8ce7c8aa89f Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 8 Jul 2020 00:25:11 +0200 Subject: [PATCH] Increased swap space to match RAM size --- modules/hardware-configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index add1167..b85014a 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -38,8 +38,13 @@ fsType = "vfat"; }; + fileSystems."/media" = + { device = "/nix/store/9hxfq3jh32j6d81d6n5y5dc2wqdkh4wy-auto"; + fsType = "autofs"; + }; + swapDevices = - [ { device = "/dev/disk/by-uuid/29d26e6a-b421-41c3-9826-76e4da00e3bb"; } + [ { device = "/dev/disk/by-uuid/205e9060-b3c4-43e3-800f-aa6ebe782fb0"; } ]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";