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;