redshift: respect xserver.display variable
This commit is contained in:
parent
874df3fe70
commit
54fa0cfe4e
@ -108,7 +108,7 @@ in {
|
||||
RestartSec = 3;
|
||||
Restart = "always";
|
||||
};
|
||||
environment = { DISPLAY = ":0"; };
|
||||
environment = { DISPLAY = ":${toString config.services.xserver.display}"; };
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user