mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
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