diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-07-23 23:47:21 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-07-23 23:47:21 -0700 |
| commit | 7e10b8984ac0b6858dd4d7e77f8950a8e65a99ec (patch) | |
| tree | e92a74f6a75888e561104249ad327a5d6a9c8184 /hosts/copenhagen | |
| parent | f36c64f008c8d822e42f325bfb9508844db552f4 (diff) | |
Flag /secrets as needed for boot
Diffstat (limited to 'hosts/copenhagen')
| -rw-r--r-- | hosts/copenhagen/configuration.nix | 1 | ||||
| -rw-r--r-- | hosts/copenhagen/hardware-configuration.nix | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/hosts/copenhagen/configuration.nix b/hosts/copenhagen/configuration.nix index 3aaf862..f1b1438 100644 --- a/hosts/copenhagen/configuration.nix +++ b/hosts/copenhagen/configuration.nix @@ -9,7 +9,6 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; - fileSystems."/persist".neededForBoot = true; environment.persistence."/persist/system" = { hideMounts = true; directories = [ diff --git a/hosts/copenhagen/hardware-configuration.nix b/hosts/copenhagen/hardware-configuration.nix index 63596c0..853c51d 100644 --- a/hosts/copenhagen/hardware-configuration.nix +++ b/hosts/copenhagen/hardware-configuration.nix @@ -35,8 +35,8 @@ fileSystems = { "/" = { fsType = "zfs"; device = "zpool/root"; }; "/home" = { fsType = "zfs"; device = "zpool/home"; }; - "/persist" = { fsType = "zfs"; device = "zpool/persist"; }; - "/secrets" = { fsType = "zfs"; device = "zpool/secrets"; }; + "/persist" = { fsType = "zfs"; device = "zpool/persist"; neededForBoot = true; }; + "/secrets" = { fsType = "zfs"; device = "zpool/secrets"; neededForBoot = true; }; "/nix" = { fsType = "zfs"; device = "zpool/nix"; }; "/boot" = { fsType = "vfat"; device = "/dev/disk/by-uuid/DF61-E3BD"; }; |