1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-06 00:51:04 +01:00

wlsunset: systemdTarget used for all targets

This commit is contained in:
Austin Horstman 2025-04-06 22:33:17 -05:00
parent a90ab0ab5f
commit 320e152d0b
2 changed files with 4 additions and 4 deletions

View file

@ -128,8 +128,8 @@ in {
systemd.user.services.wlsunset = { systemd.user.services.wlsunset = {
Unit = { Unit = {
Description = "Day/night gamma adjustments for Wayland compositors."; Description = "Day/night gamma adjustments for Wayland compositors.";
After = [ "graphical-session.target" ]; After = [ cfg.systemdTarget ];
PartOf = [ "graphical-session.target" ]; PartOf = [ cfg.systemdTarget ];
}; };
Service = { Service = {

View file

@ -5,6 +5,6 @@ WantedBy=test.target
ExecStart=@wlsunset@/bin/wlsunset -L 128.8 -T 6000 -g 0.6 -l 12.3 -t 3500 ExecStart=@wlsunset@/bin/wlsunset -L 128.8 -T 6000 -g 0.6 -l 12.3 -t 3500
[Unit] [Unit]
After=graphical-session.target After=test.target
Description=Day/night gamma adjustments for Wayland compositors. Description=Day/night gamma adjustments for Wayland compositors.
PartOf=graphical-session.target PartOf=test.target