diff options
author | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-21 08:51:16 +0200 |
---|---|---|
committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2024-09-21 08:51:16 +0200 |
commit | 121297159b40b9cd8d5016893e83e9f01d0795ec (patch) | |
tree | 5f651389ae83d4e31ec37f8b8564ccdc6f5c51cf /flake.nix | |
parent | 5048096504a70453925448f5545d0369e94bd1c8 (diff) |
change systemd service specs
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; |