From 13024f42bd76925b438efa917e050bc25f99f4b2 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Fri, 11 Jul 2025 20:44:18 -0700 Subject: [PATCH] avoid using unitConfig --- lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;