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 = {
description = "Redshift colour temperature adjuster";
requires = [ "display-manager.service" ];
after = [ "display-manager.service" ];
script = ''
${pkgs.redshift}/bin/redshift \
-l ${cfg.latitude}:${cfg.longitude} \