blob: 5e04898305d1aff66692fa4c09ea99f096602b5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ config, ... }:
let secrets = config.sops.secrets;
in {
services.spotifyd = {
enable = true;
settings.global = {
username_cmd = "cat ${secrets."spotify/username".path}";
password_cmd = "cat ${secrets."spotify/password".path}";
device_name = "nixos_${config.networking.hostName}";
device_type = "computer";
};
};
}
|