services.redshift: Start after display-manager.service.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
This commit is contained in:
Moritz Ulrich 2013-12-29 21:04:22 +01:00 committed by Bjørn Forsman
parent 6934145c30
commit 1f91c749f5

View file

@ -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} \