services.redshift: Start after display-manager.service.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
This commit is contained in:
parent
6934145c30
commit
1f91c749f5
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ in {
|
||||||
systemd.services.redshift = {
|
systemd.services.redshift = {
|
||||||
description = "Redshift colour temperature adjuster";
|
description = "Redshift colour temperature adjuster";
|
||||||
requires = [ "display-manager.service" ];
|
requires = [ "display-manager.service" ];
|
||||||
|
after = [ "display-manager.service" ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.redshift}/bin/redshift \
|
${pkgs.redshift}/bin/redshift \
|
||||||
-l ${cfg.latitude}:${cfg.longitude} \
|
-l ${cfg.latitude}:${cfg.longitude} \
|
||||||
|
|
Loading…
Reference in a new issue