PulseAudio Upstart job: honor `enable'.
svn path=/nixos/branches/fix-style/; revision=14173
This commit is contained in:
parent
b0aa88e7a3
commit
d92d0e98f4
@ -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