summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-09-27 12:39:50 +0200
committerAlan Pearce2019-09-27 12:39:50 +0200
commit03ca97ba0ecf91048a500fa0c411d0c7584558f6 (patch)
tree7bbff11f4a81b0b4fec370c8d7ada85164a48fd2
parent1aaa85c9813e5fb26e0c84abbc1665372f45681a (diff)
downloadnixfiles-03ca97ba0ecf91048a500fa0c411d0c7584558f6.tar.lz
nixfiles-03ca97ba0ecf91048a500fa0c411d0c7584558f6.tar.zst
nixfiles-03ca97ba0ecf91048a500fa0c411d0c7584558f6.zip
audio: disable pulseaudio volume weirdness
-rw-r--r--modules/hardware/audio.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/hardware/audio.nix b/modules/hardware/audio.nix
index bb0dd534..ed956919 100644
--- a/modules/hardware/audio.nix
+++ b/modules/hardware/audio.nix
@@ -3,6 +3,9 @@
 { hardware.pulseaudio = {
     enable = true;
     support32Bit = true;
+    daemon.config = {
+      flat-volumes = "no";
+    };
     package = if config.hardware.bluetooth.enable
       then pkgs.pulseaudioFull
       else pkgs.pulseaudio;