From 18de3476cc2fab682f96f4f4250470a7d17fc1a7 Mon Sep 17 00:00:00 2001 From: upidapi Date: Sat, 4 Jan 2025 16:22:30 +0100 Subject: [PATCH] user services cant depend on system services --- modules.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules.nix b/modules.nix index 1378577..9a35129 100644 --- a/modules.nix +++ b/modules.nix @@ -148,8 +148,9 @@ let systemd.user.services.nixvirt = { Unit = { Description = "Configure libvirt objects"; - Requires = "libvirtd.service"; - After = "libvirtd.service"; + # Its missing the wantedBy etc but it should be fine + # since those other services _should_ start before the + # any of the user services start running, }; Service = { ExecStart = packages.writeShellScript "nixvirt-start" script;