Install spotify-tui
diff --git a/modules/spotify.nix b/modules/spotify.nix
index b9e591c..630bb22 100644
--- a/modules/spotify.nix
+++ b/modules/spotify.nix
@@ -5,23 +5,26 @@
username,
...
}: {
- home.services.spotifyd = {
- enable = true;
- settings = {
- global = {
- username_cmd = "${pkgs.coreutils}/bin/cat ${config.sops.secrets.spotifyUsername.path}";
- password_cmd = "${pkgs.coreutils}/bin/cat ${config.sops.secrets.spotifyPassword.path}";
- use_mpris = true;
- device_name = "background@${config.networking.hostName}";
- cache_path = "${home.home.homeDirectory}/.cache/spotifyd";
- max_cache_size = 1000000000;
- volume_normalisation = true;
- normalisation_pregain = -10;
- autoplay = true;
- zeroconf_port = 1234;
- device_type = "computer";
+ home = {
+ services.spotifyd = {
+ enable = true;
+ settings = {
+ global = {
+ username_cmd = "${pkgs.coreutils}/bin/cat ${config.sops.secrets.spotifyUsername.path}";
+ password_cmd = "${pkgs.coreutils}/bin/cat ${config.sops.secrets.spotifyPassword.path}";
+ use_mpris = true;
+ device_name = "background@${config.networking.hostName}";
+ cache_path = "${home.home.homeDirectory}/.cache/spotifyd";
+ max_cache_size = 1000000000;
+ volume_normalisation = true;
+ normalisation_pregain = -10;
+ autoplay = true;
+ zeroconf_port = 1234;
+ device_type = "computer";
+ };
};
};
+ home.packages = [pkgs.spotify-tui];
};
config = {
sops.secrets.spotifyUsername = {