summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/audio.nix12
-rw-r--r--satoshipad.nix1
2 files changed, 13 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
+  ];
+}
diff --git a/satoshipad.nix b/satoshipad.nix
index 9d1cbe69..7002cf98 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -6,6 +6,7 @@
     ./modules/grub2.nix
     ./modules/laptop.nix
     ./modules/thinkpad.nix
+    ./modules/audio.nix
   ];
 
   networking.hostName = "satoshipad";