aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-09-17 00:15:01 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-09-17 00:15:01 +0200
commit68cac674a97459b0d891269abeb47aa3cea33523 (patch)
treee74a97e9f7d7b76a5c1bbc33c123e4389f631e8e
parentb1ff6975b2460eab7fb7f414482d085020cb880a (diff)
add tray.target to reqs
-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 = {