diff --git a/modules/audio.nix b/modules/audio.nix index 6f4a3a8..8266204 100644 --- a/modules/audio.nix +++ b/modules/audio.nix @@ -4,6 +4,16 @@ let soundcloud_token = builtins.readFile /home/coolneng/.config/mopidy/soundcloud-auth; + latest-mopidy-youtube = pkgs.mopidy-youtube.overrideAttrs (old: rec { + pname = "mopidy-youtube"; + version = "3.2"; + + src = pkgs.python3Packages.fetchPypi { + inherit version; + pname = "Mopidy-YouTube"; + sha256 = "0wmalfqnskglssq3gj6kkrq6h6c9yab503y72afhkm7n9r5c57zz"; + }; + }); in { # Enable ALSA sound.enable = true; @@ -23,7 +33,7 @@ in { extensionPackages = with pkgs; [ mopidy-mpd mopidy-soundcloud - mopidy-youtube + latest-mopidy-youtube mopidy-somafm mopidy-local ];