3
0
Fork 0
forked from mirrors/nixpkgs

PulseAudio Upstart job: honor `enable'.

svn path=/nixos/trunk/; revision=13926
This commit is contained in:
Ludovic Courtès 2009-02-01 18:35:56 +00:00
parent 6085b298ae
commit d641e99375

View file

@ -2,7 +2,7 @@
###### interface
let
inherit (pkgs.lib) mkOption;
inherit (pkgs.lib) mkOption mkIf;
uid = (import ../system/ids.nix).uids.pulseaudio;
gid = (import ../system/ids.nix).gids.pulseaudio;
@ -39,7 +39,7 @@ in
# For some reason, PulseAudio wants UID == GID.
assert uid == gid;
{
mkIf config.services.pulseaudio.enable {
require = [
options
];