Skip to content

Commit

Permalink
user services cant depend on system services
Browse files Browse the repository at this point in the history
  • Loading branch information
upidapi committed Jan 4, 2025
1 parent 2e01f41 commit 18de347
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 18de347

Please sign in to comment.