Remove the spotifyd module

This commit is contained in:
SebastianStork 2024-05-07 20:26:42 +02:00
parent 5ba33739e7
commit d9b5e13c00
4 changed files with 1 additions and 70 deletions

View file

@ -8,6 +8,5 @@
./kitty.nix
./equalizer
./sops.nix
./spotifyd.nix
];
}

View file

@ -1,27 +0,0 @@
{
config,
lib,
osConfig,
...
}: {
options.myConfig.spotifyd.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.spotifyd.enable {
sops.secrets = {
"spotify/username" = {};
"spotify/password" = {};
};
services.spotifyd = {
enable = true;
settings.global = {
username_cmd = "cat ${config.sops.secrets."spotify/username".path}";
password_cmd = "cat ${config.sops.secrets."spotify/password".path}";
device_name = "${osConfig.networking.hostName}";
initial_volume = "40";
volume_normalisation = true;
};
};
};
}