* The "audio" group should always exist, even if the ALSA module is
disabled, because udev rules refer to it. svn path=/nixos/trunk/; revision=30229
This commit is contained in:
parent
1ac56c233e
commit
6f8e30313f
@ -77,6 +77,9 @@ let
|
||||
{ name = "tape";
|
||||
gid = ids.gids.tape;
|
||||
}
|
||||
{ name = "audio";
|
||||
gid = ids.gids.audio;
|
||||
}
|
||||
{ name = "video";
|
||||
gid = ids.gids.video;
|
||||
}
|
||||
|
@ -43,14 +43,7 @@ in
|
||||
|
||||
config = mkIf config.sound.enable {
|
||||
|
||||
environment.systemPackages = [alsaUtils];
|
||||
|
||||
users.extraGroups = singleton
|
||||
{ # Alsalib seems to require the existence of this group, even
|
||||
# if it's not used (e.g., doesn't own any devices).
|
||||
name = "audio";
|
||||
gid = config.ids.gids.audio;
|
||||
};
|
||||
environment.systemPackages = [ alsaUtils ];
|
||||
|
||||
jobs.alsa =
|
||||
{ startOn = "stopped udevtrigger";
|
||||
|
Loading…
Reference in New Issue
Block a user