From 2e01f41a1982ae085df80fcd0fac68c018635b0a Mon Sep 17 00:00:00 2001 From: upidapi Date: Sat, 4 Jan 2025 16:02:45 +0100 Subject: [PATCH] WantedBy should be a list --- modules.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.nix b/modules.nix index 616a6ad..1378577 100644 --- a/modules.nix +++ b/modules.nix @@ -144,6 +144,7 @@ let then { home.packages = extraPackages; + home.activation.NixVirt = lib.hm.dag.entryAfter [ "installPackages" ] script; systemd.user.services.nixvirt = { Unit = { Description = "Configure libvirt objects"; @@ -155,7 +156,7 @@ let Type = "oneshot"; }; Install = { - WantedBy = "default.target"; + WantedBy = ["default.target"]; }; }; }