summary refs log tree commit diff
path: root/hosts/navi/hardware-configuration.nix
diff options
context:
space:
mode:
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";
+                  };
                 };
               };
-            };
           };
         };
       };