aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index b455aba..21b5f58 100644
--- a/flake.nix
+++ b/flake.nix
@@ -63,8 +63,8 @@
systemd.user.services = builtins.mapAttrs (name: value: {
enable = true;
- after = if value.autoStart then [ "graphical-session.target" ] else [ ];
- wantedBy = [ "default.target" ];
+ requires = if value.autoStart then [ "tray.target" ] else [ ];
+ wantedBy = [ "graphical-session.target" ];
description = "WebTray Instance for ${name}";
serviceConfig = {
Type = "simple";