From 9c6793a9738132308eb002fcab953d2ffd097552 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Tue, 16 Jan 2024 23:12:42 -0500 Subject: [PATCH] feat(sound): enable pipewire --- modules/sound.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/modules/sound.nix b/modules/sound.nix index 8c32227..e0f7994 100644 --- a/modules/sound.nix +++ b/modules/sound.nix @@ -1,5 +1,20 @@ { # Enable sound. sound.enable = true; - hardware.pulseaudio.enable = true; + hardware.pulseaudio.enable = false; + security.rtkit.enable = true; + + # Enable pipewire + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + # If you want to use JACK applications, uncomment this + #jack.enable = true; + + # use the example session manager (no others are packaged yet so this is enabled by default, + # no need to redefine it in your config for now) + #media-session.enable = true; + }; }