Skip to content

Commit 54fa0cf

Browse files
committed
redshift: respect xserver.display variable
1 parent 874df3f commit 54fa0cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nixos/modules/services/x11/redshift.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ in {
108108
RestartSec = 3;
109109
Restart = "always";
110110
};
111-
environment = { DISPLAY = ":0"; };
111+
environment = { DISPLAY = ":${toString config.services.xserver.display}"; };
112112
};
113113
};
114114

0 commit comments

Comments
 (0)