Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

programs.pianobar.enable

Whether to enable Enable pianobar.

Type: boolean

Default:

false

Example:

true

Declared by:

programs.pianobar.package

The pianobar package to use.

Type: null or package

Default:

pkgs.pianobar

Declared by:

programs.pianobar.settings

Apply configurations for pianobar via key/value attributes.

Note; it is recommended to use sops-nix, or similar, secrets management solution for providing programs.pianobar.settings.password_command value.

Type: open submodule of attribute set of (atom (null, bool, int, float or string))

Default:

{ }

Example:

{
  programs = {
    pianobar = {
      enable = true;
      settings = {
        password_command = "cat /run/secrets/pianobar/groovy-tunes";
        user = "groovy-tunes@example.com";
      };
    };
  };
}

Declared by:

programs.pianobar.settings.password_command

Command pianobar will use to access password for Pandora music service authentication

Type: non-empty string

Example:

"\"cat /run/secrets/pianobar/groovy-tunes\""

Declared by:

programs.pianobar.settings.user

Username or email address for Pandora music service authentication

Type: non-empty string

Example:

"\"groovy-tunes@example.com\""

Declared by: