From 7b830f212cf1de928881259a3de232be68d24823 Mon Sep 17 00:00:00 2001 From: rope Date: Fri, 31 Jul 2026 15:31:26 +0100 Subject: [PATCH] spotify-player: use own Spotify client ID --- home-manager/fred.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/home-manager/fred.nix b/home-manager/fred.nix index a58ff7c..7c644f1 100644 --- a/home-manager/fred.nix +++ b/home-manager/fred.nix @@ -57,7 +57,16 @@ in # default on Linux, so only the off-by-default visualiser needs setting. programs.spotify-player = lib.mkIf isDesktop { enable = true; - settings.enable_audio_visualization = true; + settings = { + enable_audio_visualization = true; + # Our own Spotify app rather than the built-in default (ncspot's client + # ID, shared by every spotify-player/ncspot install). Spotify rate-limits + # per client ID, and exhausting the shared one surfaced here as + # "Token is not valid" and an endlessly loading library. Public PKCE + # client, no secret involved, so it's fine in the repo. + # Redirect URI registered: http://127.0.0.1:8989/login + client_id = "265506bc7bbd4032bf0fee708b321d3e"; + }; }; # Upstream ships no .desktop file (TUI only), so the launcher can't find it.