aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-09-21 08:51:16 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-09-21 08:51:16 +0200
commit121297159b40b9cd8d5016893e83e9f01d0795ec (patch)
tree5f651389ae83d4e31ec37f8b8564ccdc6f5c51cf /flake.nix
parent5048096504a70453925448f5545d0369e94bd1c8 (diff)
change systemd service specs
Diffstat (limited to 'flake.nix')
-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";