pulseaudio: set DISPLAY

This commit is contained in:
Anders Papitto 2016-07-05 19:17:14 -07:00
parent 6d16ececdd
commit eba3f92ef9

View file

@ -161,6 +161,7 @@ in {
ExecStart = "${getBin cfg.package}/bin/pulseaudio --daemonize=no";
Restart = "on-failure";
};
environment = { DISPLAY = ":${toString config.services.xserver.display}"; };
};
sockets.pulseaudio = {