summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/pulse.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/configs/pulse.nix b/configs/pulse.nix
index 815c309..1ccbf82 100644
--- a/configs/pulse.nix
+++ b/configs/pulse.nix
@@ -94,11 +94,10 @@ in
};
serviceConfig = {
ExecStart = "${pkg}/bin/pulseaudio --exit-idle-time=-1";
- ExecStartPre = pkgs.writeDash "pulse-start" ''
+ ExecStartPre = "+${pkgs.writeDash "pulse-start" ''
install -o pulse -g pulse -m 0750 -d ${runDir}
install -o pulse -g pulse -m 0700 -d ${runDir}/home
- '';
- PermissionsStartOnly = "true";
+ ''}";
User = "pulse";
};
};