From f1261099bce85ef4502a04ef8dcd84a7a9137f33 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 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index add1167..d0e8d8a 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -23,13 +23,13 @@ fsType = "zfs"; }; - fileSystems."/tmp" = - { device = "syscea/ephemeral/tmp"; + fileSystems."/home" = + { device = "syscea/stateful/home"; fsType = "zfs"; }; - fileSystems."/home" = - { device = "syscea/stateful/home"; + fileSystems."/tmp" = + { device = "syscea/ephemeral/tmp"; fsType = "zfs"; }; @@ -38,6 +38,11 @@ fsType = "vfat"; }; + fileSystems."/media" = + { device = "/nix/store/9hxfq3jh32j6d81d6n5y5dc2wqdkh4wy-auto"; + fsType = "autofs"; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/29d26e6a-b421-41c3-9826-76e4da00e3bb"; } ];