Skip to content

Commit

Permalink
only enable pulseaudio by default if alsa is also enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidb committed Sep 12, 2017
1 parent 3b03669 commit ed695b4
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,8 @@ in {
hardware.pulseaudio = {
enable = mkOption {
type = types.bool;
default = true;
default = config.sound.enable;
defaultText = "config.sound.enable";
description = ''
Whether to enable the PulseAudio sound server.
'';
Expand Down

0 comments on commit ed695b4

Please sign in to comment.