PulseAudio Upstart job: honor `enable'.

svn path=/nixos/branches/fix-style/; revision=14173
This commit is contained in:
Nicolas Pierron 2009-02-22 16:07:52 +00:00
parent b0aa88e7a3
commit d92d0e98f4

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
];