mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 09:01:04 +01:00
wlsunset: systemdTarget used for all targets
This commit is contained in:
parent
a90ab0ab5f
commit
320e152d0b
2 changed files with 4 additions and 4 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue