blob: 406d5bfa4854f2b1360286b27dcf78c3d67829cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ 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";
};
};
}
|