mio-ops/profiles/spotify.nix

16 lines
432 B
Nix
Raw Normal View History

2021-03-28 22:08:21 +00:00
# Spotify service configuration
{ config, pkgs, lib, ... }:
{
services.spotifyd = {
2021-11-16 04:57:23 +00:00
enable = true; # Enable the Spotify daemon.
config =
"\n username = ${pkgs.gnupg}/bin/gpg -q --for-your-eyes-only --no-tty -d ~/.spotify/userName.gpg\n password_cmd = ${pkgs.gnupg}/bin/gpg -q --for-your-eyes-only --no-tty -d ~/.spotify/passwd.gpg\n ";
2021-03-28 22:08:21 +00:00
};
2021-11-16 04:57:23 +00:00
environment.systemPackages = with pkgs; [ spotify ];
2021-03-28 22:08:21 +00:00
}