mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 15:30:33 +01:00
21 lines
378 B
Nix
21 lines
378 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: {
|
|
services.spotifyd.enable = config.os == "linux";
|
|
#services.spotifyd.settings.global = {
|
|
# bitrate = 320;
|
|
# username = "xqtc@tutanota.com";
|
|
# password_cmd = "cat /etc/spotifyd_pw";
|
|
#};
|
|
|
|
#sops.secrets = lib.mkIf (config.os == "linux") {
|
|
# "spotify/password" = {
|
|
# path = "/etc/spotifyd_pw";
|
|
# };
|
|
#};
|
|
}
|