summary refs log tree commit diff
path: root/nixos/modules/config/pulseaudio.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2018-04-14 19:09:04 +0100
committerJörg Thalheim <joerg@thalheim.io>2018-04-14 19:12:47 +0100
commit02dfbab3bed6c1a2acf594c3245baada7e4ed6d1 (patch)
tree2688a80d88060261be79b540808e3b6138dc3dc0 /nixos/modules/config/pulseaudio.nix
parent054f4f9c554b10812513ab502d559114ac6f51d2 (diff)
downloadnixpkgs-02dfbab3bed6c1a2acf594c3245baada7e4ed6d1.tar
nixpkgs-02dfbab3bed6c1a2acf594c3245baada7e4ed6d1.tar.gz
nixpkgs-02dfbab3bed6c1a2acf594c3245baada7e4ed6d1.tar.bz2
nixpkgs-02dfbab3bed6c1a2acf594c3245baada7e4ed6d1.tar.lz
nixpkgs-02dfbab3bed6c1a2acf594c3245baada7e4ed6d1.tar.xz
nixpkgs-02dfbab3bed6c1a2acf594c3245baada7e4ed6d1.tar.zst
nixpkgs-02dfbab3bed6c1a2acf594c3245baada7e4ed6d1.zip
nixos/pulseaudio: pulseaudio.enable should imply sound.enable
cc @fpletz
Diffstat (limited to 'nixos/modules/config/pulseaudio.nix')
-rw-r--r--nixos/modules/config/pulseaudio.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix
index a9c5fc75660..90cea47b70a 100644
--- a/nixos/modules/config/pulseaudio.nix
+++ b/nixos/modules/config/pulseaudio.nix
@@ -214,6 +214,8 @@ in {
     (mkIf cfg.enable {
       environment.systemPackages = [ overriddenPackage ];
 
+      sound.enable = true;
+
       environment.etc = [
         { target = "asound.conf";
           source = alsaConf; }