Skip to content

Commit

Permalink
pulseaudio-by-default: implement fpletz' review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidb committed Feb 21, 2018
1 parent 4f83da8 commit 452a8ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/config/pulseaudio.nix
Expand Up @@ -87,7 +87,6 @@ in {
hardware.pulseaudio = {
enable = mkOption {
type = types.bool;
default = config.sound.enable;
defaultText = "config.sound.enable";
description = ''
Whether to enable the PulseAudio sound server.
Expand Down Expand Up @@ -209,6 +208,8 @@ in {
source = clientConf;
};

hardware.pulseaudio.enable = mkDefault config.sound.enable;

hardware.pulseaudio.configFile = mkDefault "${getBin overriddenPackage}/etc/pulse/default.pa";
}

Expand Down

0 comments on commit 452a8ec

Please sign in to comment.