global(zfs): split setup depend on secret mountpoint
This commit is contained in:
parent
3b6f7fb826
commit
fb3d4b9493
1 changed files with 1 additions and 1 deletions
|
@ -31,5 +31,5 @@ in mkIf cfg.enable {
|
||||||
};
|
};
|
||||||
|
|
||||||
# import system state pool after encrypted filesystems become available for key loading
|
# 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…
Add table
Add a link
Reference in a new issue