* ALSA requires a group named "audio".

svn path=/nixos/trunk/; revision=8863
This commit is contained in:
Eelco Dolstra 2007-06-10 20:17:51 +00:00
parent 4d4387a70e
commit f3f16dc169
2 changed files with 10 additions and 1 deletions

View file

@ -14,6 +14,7 @@
gids = {
root = 0;
haldaemon = 5;
audio = 17;
users = 100;
nixbld = 30000;
nogroup = 65534;

View file

@ -10,7 +10,15 @@ in
name = "alsa";
extraPath = [alsaUtils];
# Alsalib seems to require the existence of this group, even if it's
# not used (e.g., doesn't own any devices).
groups = [
{ name = "audio";
gid = (import ../system/ids.nix).gids.audio;
}
];
job = "
start on hardware-scan
stop on shutdown