From b51f9bc1014ce350abe73f2c419e0bf6512194c2 Mon Sep 17 00:00:00 2001 From: Andrey0189 Date: Wed, 17 Apr 2024 05:52:14 +0500 Subject: Initial commit --- nixos/modules/sound.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nixos/modules/sound.nix (limited to 'nixos/modules/sound.nix') diff --git a/nixos/modules/sound.nix b/nixos/modules/sound.nix new file mode 100644 index 0000000..21a7a28 --- /dev/null +++ b/nixos/modules/sound.nix @@ -0,0 +1,18 @@ +{ + hardware.pulseaudio.enable = false; + sound.enable = true; + + # rtkit is optional but recommended + security.rtkit.enable = true; + + 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; + }; +} -- cgit v1.2.3