diff --git a/modules/audio-server.nix b/modules/audio-server.nix index da4e4d64..d52a078a 100644 --- a/modules/audio-server.nix +++ b/modules/audio-server.nix @@ -60,6 +60,31 @@ ]; }; + nixpkgs.overlays = [ + (final: prev: { + python3 = prev.python3.override { + packageOverrides = python-final: python-prev: { + aiohttp = python-prev.aiohttp.overrideAttrs ({ nativeBuildInputs ? [],... }: { + nativeBuildInputs = nativeBuildInputs ++ [python-final.setuptools]; + + doCheck = false; + doInstallCheck = false; + }); + + pystray = python-prev.pystray.overrideAttrs (_: { + doCheck = false; + doInstallCheck = false; + }); + + samplerate = python-prev.samplerate.overrideAttrs (_: { + dontUseSetuptoolsCheck = true; + }); + }; + }; + python3Packages = final.python3.pkgs; + }) + ]; + security.rtkit.enable = true; services.pipewire = {