nixos-config/users/rouven/modules/spotify/default.nix

15 lines
349 B
Nix
Raw Normal View History

2023-02-26 22:50:07 +01:00
{ 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";
};
};
};
}