redshift: respect xserver.display variable

+1 -1
+1 -1
nixos/modules/services/x11/redshift.nix
··· 108 108 RestartSec = 3; 109 109 Restart = "always"; 110 110 }; 111 - environment = { DISPLAY = ":0"; }; 111 + environment = { DISPLAY = ":${toString config.services.xserver.display}"; }; 112 112 }; 113 113 }; 114 114