try new mount
This commit is contained in:
parent
727f09a2ca
commit
769ff14270
1 changed files with 3 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue