spotify: added ncspot

This commit is contained in:
Serĉanto de Scio 2021-12-30 10:36:20 +10:00
parent f8305a23c3
commit d892f2a548
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA
2 changed files with 9 additions and 3 deletions

View file

@ -4,7 +4,10 @@
{ {
# Craige's Desktop Packages # Craige's Desktop Packages
imports = [ ../profiles/ebooks.nix ]; imports = [
../profiles/ebooks.nix
../profiles/spotify.nix # Spotify settings
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
byobu # text-based window manager and terminal multiplexer. byobu # text-based window manager and terminal multiplexer.

View file

@ -5,11 +5,14 @@
{ {
services.spotifyd = { services.spotifyd = {
enable = true; # Enable the Spotify daemon. enable = false; # Enable the Spotify daemon.
config = 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 "; "\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 ";
}; };
environment.systemPackages = with pkgs; [ spotify ]; environment.systemPackages = with pkgs;
[
ncspot # ncurses Spotify client
];
} }