tv pulse: don't exit when idle

This commit is contained in:
tv 2016-11-18 10:51:18 +01:00
parent be75ad7e7c
commit 2727f6cd8e

View File

@ -66,7 +66,7 @@ in
PULSE_RUNTIME_PATH = "${runDir}/home";
};
serviceConfig = {
ExecStart = "${pkg}/bin/pulseaudio";
ExecStart = "${pkg}/bin/pulseaudio --exit-idle-time=-1";
ExecStartPre = pkgs.writeDash "pulse-start" ''
install -o pulse -g pulse -m 0750 -d ${runDir}
install -o pulse -g pulse -m 0700 -d ${runDir}/home