diff --git a/modules/nixos/pipewire/default.nix b/modules/nixos/pipewire/default.nix index 9c69a8d..6aa1aa9 100644 --- a/modules/nixos/pipewire/default.nix +++ b/modules/nixos/pipewire/default.nix @@ -14,13 +14,15 @@ in }; config = mkIf cfg.enable { - hardware.pulseaudio.enable = false; security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; + services = { + pulseaudio.enable = false; + pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; }; }; }