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