From b9f9c0cf743d60078671edf79704a63a1d933053 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Sat, 26 Oct 2024 01:02:09 +0800 Subject: [PATCH] fix(zfs): split setup depend on secret mountpoint --- global/fs/zfs/split.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/fs/zfs/split.nix b/global/fs/zfs/split.nix index f49c2c09..22f9231f 100644 --- a/global/fs/zfs/split.nix +++ b/global/fs/zfs/split.nix @@ -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" ]; }