redshift: respect xserver.display variable

This commit is contained in:
Anders Papitto 2016-07-05 19:18:00 -07:00
parent 874df3fe70
commit 54fa0cfe4e

View File

@ -108,7 +108,7 @@ in {
RestartSec = 3; RestartSec = 3;
Restart = "always"; Restart = "always";
}; };
environment = { DISPLAY = ":0"; }; environment = { DISPLAY = ":${toString config.services.xserver.display}"; };
}; };
}; };