PulseAudio Upstart job: honor `enable'.
svn path=/nixos/trunk/; revision=13926
This commit is contained in:
parent
6085b298ae
commit
d641e99375
@ -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
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user