summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorsils <sils@sils.li>2022-12-10 10:18:24 +0100
committersils <sils@sils.li>2022-12-10 10:18:24 +0100
commitb2b10f8179c22bbe73d8bcb648879ebebf123103 (patch)
tree1550e0c3e1c80aad42d512694dd0e2e370423d2c
parentenable autologin (diff)
downloadnix-config-b2b10f8179c22bbe73d8bcb648879ebebf123103.tar.gz
nix-config-b2b10f8179c22bbe73d8bcb648879ebebf123103.zip
switch to pipewire
-rw-r--r--sound.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/sound.nix b/sound.nix
index 10c3916..a47e4ef 100644
--- a/sound.nix
+++ b/sound.nix
@@ -1,6 +1,12 @@
 { config, pkgs, ... }:
 
 {
-   sound.enable = true;
-   hardware.pulseaudio.enable = true;
+	security.rtkit.enable = true;
+	services.pipewire = {
+		enable = true;
+		alsa.enable = true;
+		alsa.support32Bit = true;
+		pulse.enable = true;
+		jack.enable = true;
+	};
 }