nixos/pulseaudio: set permission of pulse home directory

Closes #114399
This commit is contained in:
lgoette 2023-11-30 01:59:15 +01:00 committed by Emily Trau
parent ecb3fe49f6
commit d14a788127
2 changed files with 3 additions and 0 deletions

View File

@ -35,3 +35,5 @@ In addition to numerous new and upgraded packages, this release has the followin
non-child processes. This means you will not be able to attach gdb to an
existing process, but will need to start that process from gdb (so it is a
child). Or you can set `boot.kernel.sysctl."kernel.yama.ptrace_scope"` to 0.
- The `hardware.pulseaudio` module now sets permission of pulse user home directory to 755 when running in "systemWide" mode. It fixes [issue 114399](https://github.com/NixOS/nixpkgs/issues/114399).

View File

@ -305,6 +305,7 @@ in {
extraGroups = [ "audio" ];
description = "PulseAudio system service user";
home = stateDir;
homeMode = "755";
createHome = true;
isSystemUser = true;
};