mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Remove the spotifyd module
This commit is contained in:
parent
5ba33739e7
commit
d9b5e13c00
4 changed files with 1 additions and 70 deletions
|
|
@ -8,6 +8,5 @@
|
|||
./kitty.nix
|
||||
./equalizer
|
||||
./sops.nix
|
||||
./spotifyd.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue