try new mount

This commit is contained in:
nyxerinys 2026-10-01 01:44:26 -05:00
parent 727f09a2ca
commit 769ff14270

View file

@ -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;