summary refs log tree commit diff
path: root/hosts/navi/hardware-configuration.nix
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-08-03 21:37:04 +0300
committertzlil <tzlils@protonmail.com>2023-08-03 21:43:44 +0300
commit20b22409a233b1e5566c9eb169b934ad0e3199f3 (patch)
tree0cdb0b3df2069fd8d24c0f4f1c8e6ec0cb5d11f3 /hosts/navi/hardware-configuration.nix
parent77da12bae6fb23133758cd92ebd0d814a96ff46f (diff)
switch to networkd, add createHome for tzlil, make /nix/persist a
seperate subvol
Diffstat (limited to 'hosts/navi/hardware-configuration.nix')
-rw-r--r--hosts/navi/hardware-configuration.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/hosts/navi/hardware-configuration.nix b/hosts/navi/hardware-configuration.nix
index f556950..64b8644 100644
--- a/hosts/navi/hardware-configuration.nix
+++ b/hosts/navi/hardware-configuration.nix
@@ -26,6 +26,7 @@ in {
 
   hardware.bluetooth.enable = true;
 
+  fileSystems."/nix/persist".neededForBoot = true;
   disko.devices = {
     disk.${baseNameOf device} = {
       inherit device;
@@ -55,9 +56,12 @@ in {
                     mountOptions = ["compress=zstd" "noatime"];
                     mountpoint = "/nix";
                   };
+                  "/nix/persist" = {
+                    mountOptions = ["compress=zstd" "noatime"];
+                    mountpoint = "/nix/persist";
+                  };
                 };
               };
-            };
           };
         };
       };