diff --git a/hosts/nixos/lapetus/filesystems/zfs.nix b/hosts/nixos/lapetus/filesystems/zfs.nix index 8df786b..1c39ca9 100644 --- a/hosts/nixos/lapetus/filesystems/zfs.nix +++ b/hosts/nixos/lapetus/filesystems/zfs.nix @@ -16,9 +16,8 @@ RemainAfterExit = true; }; unitConfig.DefaultDependencies = "no"; - wantedBy = [ "initrd.target" ]; - before = [ "zfs-mount.service" ]; - after = [ "zfs-import.target" ]; + wantedBy = [ "zfs-import.target" ]; + before = [ "zfs-import.target" ]; script = '' MOUNTPOINT="${secretMountpoint}" USB="/dev/sdb"