From 56ec7181452f1fb3eb289357cf73425b6bc1f497 Mon Sep 17 00:00:00 2001 From: Alexander Kobjolke Date: Sun, 20 Oct 2024 10:23:13 +0200 Subject: [PATCH] dregil: Adapt to new nixos sound settings --- hosts/dregil/configuration.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/hosts/dregil/configuration.nix b/hosts/dregil/configuration.nix index 76f1a29..36a9e69 100644 --- a/hosts/dregil/configuration.nix +++ b/hosts/dregil/configuration.nix @@ -77,8 +77,16 @@ in # Enable CUPS to print documents. # services.printing.enable = true; - # Enable sound using pipewire - hardware.pulseaudio.enable = false; + # 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; + }; # List packages installed in system profile. To search, run: # $ nix search wget