summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 14:21:03 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commit7b6b9247cde2aee34b09c738dcfa8966e0852d51 (patch)
tree8288d479740f8b726068df69a84c25ac07a6c601 /modules
parent057e1926729ababa1cc6533e6ff5b5e52575513d (diff)
downloadnixfiles-7b6b9247cde2aee34b09c738dcfa8966e0852d51.tar.lz
nixfiles-7b6b9247cde2aee34b09c738dcfa8966e0852d51.tar.zst
nixfiles-7b6b9247cde2aee34b09c738dcfa8966e0852d51.zip
Add audio configuration
Diffstat (limited to 'modules')
-rw-r--r--modules/audio.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/audio.nix b/modules/audio.nix
new file mode 100644
index 00000000..f5046574
--- /dev/null
+++ b/modules/audio.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }:
+
+{ hardware.pulseaudio = {
+    enable = true;
+    support32Bit = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    pamixer
+    pavucontrol
+  ];
+}