MyNixOS website logo
option

services.mpd.credentials

Credentials and permissions for accessing the mpd server.

Declarations
Type
list of (submodule)
Default
[ ]
Example
[
  {
    passwordFile = "/var/lib/secrets/mpd_readonly_password";
    permissions = [
      "read"
    ];
  }
  {
    passwordFile = "/var/lib/secrets/mpd_admin_password";
    permissions = [
      "read"
      "add"
      "control"
      "admin"
    ];
  }
]