fix(zfs): split setup depend on secret mountpoint
This commit is contained in:
parent
55b1d8d596
commit
b9f9c0cf74
|
@ -31,5 +31,5 @@ in mkIf cfg.enable {
|
|||
};
|
||||
|
||||
# import system state pool after encrypted filesystems become available for key loading
|
||||
boot.initrd.systemd.services."zfs-import-${config.global.fs.store}".after = [ "cryptsetup.target" ];
|
||||
boot.initrd.systemd.services."zfs-import-${config.global.fs.store}".after = [ "sysroot-nix-var-secret.mount" "cryptsetup.target" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue