From d768a6f844f5568ca27f879386414cf4cc9bb119 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Fri, 3 Jan 2025 22:40:43 -0800 Subject: [PATCH] upgrade: hardware.pulseaudio -> services.pulseaudio --- modules/audio.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/audio.nix b/modules/audio.nix index 6f7660f..a804bf0 100644 --- a/modules/audio.nix +++ b/modules/audio.nix @@ -10,8 +10,8 @@ in config = lib.mkIf cfg.enable { # Enable sound with pipewire. - hardware.pulseaudio.enable = false; - hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ]; + services.pulseaudio.enable = false; + services.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ]; security.rtkit.enable = true; services.pipewire = { enable = true;