diff options
| author | tv <tv@krebsco.de> | 2025-08-27 11:50:54 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2025-08-27 11:50:54 +0200 |
| commit | d85674195c879e2873183b3e04a4b46dfcfb3d38 (patch) | |
| tree | 4b84bfc5b988faacbfb3bb5fa8e88b0cdc5c0162 /configs | |
| parent | fd087161f97a04e19f6baa508cd1e869098ca9e8 (diff) | |
pulse: PermissionsStartOnly -> ExecStartPre=+
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/pulse.nix | 5 |
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"; }; }; |
