commit e22974450257c3f1339f9d9f019b9046b6e00265 parent 5012e871a3885a12f6f5c5f741f30b76c9274259 Author: Vincent Demeester <vincent@sbr.pm> Date: Mon, 19 Oct 2020 16:23:53 +0200 users/vincent: enable spotifyd… … and add spotify-tui Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | users/vincent/desktop/spotify.nix | | | 14 | +++++++++++++- |
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/users/vincent/desktop/spotify.nix b/users/vincent/desktop/spotify.nix @@ -1,5 +1,17 @@ { pkgs, ... }: { - home.packages = with pkgs; [ spotify ]; + home.packages = with pkgs; [ spotify spotify-tui ]; + services.spotifyd = { + enable = true; + package = (pkgs.spotifyd.override { withKeyring = true; withPulseAudio = true; withMpris = true; }); + settings = { + global = { + username = "vdemeester"; + use_keyring = "true"; + backend = "pulseaudio"; + device_name = "naruhodo"; # FIXME(vdemeester) change this + }; + }; + }; }