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;
|
emergencyAccess = true;
|
||||||
mounts = [
|
mounts = [
|
||||||
{
|
{
|
||||||
what = "/sysroot/keys";
|
what = "/dev/mapper/zfs-keys";
|
||||||
where = "/keys";
|
where = "/keys";
|
||||||
type = "none";
|
type = "ext4";
|
||||||
options = "bind";
|
options = "ro";
|
||||||
unitConfig.RequiresMountsFor = "/sysroot/keys";
|
|
||||||
requires = [ "sysroot-keys.mount" ];
|
|
||||||
after = [ "sysroot-keys.mount" ];
|
|
||||||
before = [ "zfs-import-nix-root.service" ];
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -36,7 +32,6 @@
|
||||||
fileSystems."/keys" = {
|
fileSystems."/keys" = {
|
||||||
device = "/dev/mapper/zfs-keys";
|
device = "/dev/mapper/zfs-keys";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
neededForBoot = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.zfs.forceImportRoot = false;
|
boot.zfs.forceImportRoot = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue