summary refs log tree commit diff stats
path: root/modules/hardware
diff options
context:
space:
mode:
authorAlan Pearce2019-09-27 12:39:50 +0200
committerAlan Pearce2019-09-27 12:39:50 +0200
commit03ca97ba0ecf91048a500fa0c411d0c7584558f6 (patch)
tree7bbff11f4a81b0b4fec370c8d7ada85164a48fd2 /modules/hardware
parent1aaa85c9813e5fb26e0c84abbc1665372f45681a (diff)
downloadnixos-configuration-03ca97ba0ecf91048a500fa0c411d0c7584558f6.tar.lz
nixos-configuration-03ca97ba0ecf91048a500fa0c411d0c7584558f6.tar.zst
nixos-configuration-03ca97ba0ecf91048a500fa0c411d0c7584558f6.zip
audio: disable pulseaudio volume weirdness
Diffstat (limited to 'modules/hardware')
-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 bb0dd53..ed95691 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;