l copyq: get DISPLAY from xserver.display
This commit is contained in:
parent
4c50faee7e
commit
0aba986658
@ -21,9 +21,9 @@ let
|
|||||||
in {
|
in {
|
||||||
systemd.services.copyq = {
|
systemd.services.copyq = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
requires = [ "display-manager.service" ];
|
requires = [ "xserver.service" ];
|
||||||
environment = {
|
environment = {
|
||||||
DISPLAY = ":0";
|
DISPLAY = ":${toString config.services.xserver.display}";
|
||||||
};
|
};
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
qt5.full
|
qt5.full
|
||||||
|
Loading…
Reference in New Issue
Block a user