pulseaudio: Use group audio instead of pulse-access
This commit is contained in:
parent
ef5b30428f
commit
66ee6e03e7
@ -146,13 +146,6 @@ in {
|
||||
|
||||
users.extraGroups.pulse.gid = gid;
|
||||
|
||||
users.extraGroups.pulse-access = {
|
||||
gid = ids.gids.pulse-access;
|
||||
members = with builtins; config.users.extraGroups.audio.members ++ (
|
||||
attrNames(filterAttrs (n: u: elem "audio" u.extraGroups) config.users.extraUsers)
|
||||
);
|
||||
};
|
||||
|
||||
systemd.services.pulseaudio = {
|
||||
description = "PulseAudio System-Wide Server";
|
||||
wantedBy = [ "sound.target" ];
|
||||
|
@ -271,7 +271,6 @@
|
||||
riemann = 137;
|
||||
riemanndash = 138;
|
||||
uhub = 142;
|
||||
pulse-access = 143;
|
||||
|
||||
# When adding a gid, make sure it doesn't match an existing uid. And don't use gids above 399!
|
||||
|
||||
|
@ -45,10 +45,15 @@ stdenv.mkDerivation rec {
|
||||
-e "s|chmod r+s |true |"
|
||||
'';
|
||||
|
||||
configureFlags =
|
||||
[ "--disable-solaris" "--disable-jack" "--disable-oss-output"
|
||||
"--disable-oss-wrapper" "--localstatedir=/var" "--sysconfdir=/etc" ]
|
||||
++ stdenv.lib.optional jackaudioSupport "--enable-jack"
|
||||
configureFlags = [
|
||||
"--disable-solaris"
|
||||
"--disable-jack"
|
||||
"--disable-oss-output"
|
||||
"--disable-oss-wrapper"
|
||||
"--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
"--with-access-group=audio"
|
||||
] ++ stdenv.lib.optional jackaudioSupport "--enable-jack"
|
||||
++ stdenv.lib.optional stdenv.isDarwin "--with-mac-sysroot=/";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user