nixos-config/home/modules/spotify-cli.nix
2024-08-05 12:56:08 +02:00

21 lines
320 B
Nix

{
config,
pkgs,
lib,
inputs,
...
}: {
services.spotifyd.enable = true;
services.spotifyd.settings.global = {
bitrate = 320;
username = "xqtc@tutanota.com";
password_cmd = "cat /etc/spotifyd_pw";
};
sops.secrets = {
"spotify/password" = {
path = "/etc/spotifyd_pw";
};
};
}