about summary refs log tree commit diff
path: root/system/modules/sound.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/modules/sound.nix')
-rw-r--r--system/modules/sound.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/modules/sound.nix b/system/modules/sound.nix
new file mode 100644
index 000000000000..0d5ce3e318c3
--- /dev/null
+++ b/system/modules/sound.nix
@@ -0,0 +1,14 @@
+{ config, lib, pkgs, ... }:
+{
+  # Enable sound.
+  sound.enable = true;
+  hardware.pulseaudio.enable = true;
+  nixpkgs.config.pulseaudio = true;
+
+  environment.systemPackages = with pkgs; [
+    pulseaudio-ctl
+    paprefs
+    pasystray
+    pavucontrol
+  ];
+}