fix(spotify): stop maintaining my own version of spotify

This commit is contained in:
zack 2024-07-26 14:19:24 -04:00
parent 491a3be157
commit 317094d991
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
2 changed files with 13 additions and 226 deletions

View file

@ -20,7 +20,19 @@ in {
programs.spicetify = {
enable = true;
theme = spicePkgs.themes.catppuccin;
spotifyPackage = pkgs.custom.spotify;
spotifyPackage = pkgs.spotify.overrideAttrs {
fixupPhase = ''
runHook preFixup
wrapProgramShell $out/share/spotify/spotify \
''${gappsWrapperArgs[@]} \
--prefix LD_LIBRARY_PATH : "$librarypath" \
--prefix PATH : "${pkgs.gnome.zenity}/bin" \
--add-flags "--disable-gpu"
runHook postFixup
'';
};
colorScheme = "mocha";
enabledExtensions = with spicePkgs.extensions; [