configured spotifyd and spt

This commit is contained in:
Rouven Seifert 2023-02-26 22:50:07 +01:00
parent 0e085baeb1
commit 2cb528c2b7
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
7 changed files with 39 additions and 22 deletions

View file

@ -0,0 +1,14 @@
{ config, pkgs, ... }:
{
home.packages = [ pkgs.spotify-tui ];
sops.secrets."spotify" = { };
services.spotifyd = {
enable = true;
settings = {
global = {
username = config.accounts.email.accounts."gmail".address;
password_cmd = "${pkgs.coreutils}/bin/cat $XDG_RUNTIME_DIR/secrets/spotify";
};
};
};
}