From 769ff142701b9bcb5e5f001f1ee2384ddd316237 Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Thu, 1 Oct 2026 01:44:26 -0500 Subject: [PATCH] try new mount --- hosts/apollo/boot.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/hosts/apollo/boot.nix b/hosts/apollo/boot.nix index 32f2f20..8870e2b 100644 --- a/hosts/apollo/boot.nix +++ b/hosts/apollo/boot.nix @@ -9,14 +9,10 @@ emergencyAccess = true; mounts = [ { - what = "/sysroot/keys"; + what = "/dev/mapper/zfs-keys"; where = "/keys"; - type = "none"; - options = "bind"; - unitConfig.RequiresMountsFor = "/sysroot/keys"; - requires = [ "sysroot-keys.mount" ]; - after = [ "sysroot-keys.mount" ]; - before = [ "zfs-import-nix-root.service" ]; + type = "ext4"; + options = "ro"; } ]; }; @@ -36,7 +32,6 @@ fileSystems."/keys" = { device = "/dev/mapper/zfs-keys"; fsType = "ext4"; - neededForBoot = true; }; boot.zfs.forceImportRoot = false;