diff --git a/lib.nix b/lib.nix index 70edb8d..60ce4d4 100644 --- a/lib.nix +++ b/lib.nix @@ -27,7 +27,7 @@ inputs.nixpkgs.lib.extend ( serviceMountDeps = serviceName: dirs: { systemd.services."${serviceName}_mounts" = { - unitConfig.Wants = "zfs.target"; + wants = [ "zfs.target" ]; serviceConfig = { Type = "oneshot"; RemainAfterExit = true;