mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
mpdris2: add password option
This commit is contained in:
parent
e66f0ff69a
commit
d73ba6a534
1 changed files with 10 additions and 0 deletions
|
@ -21,6 +21,8 @@ let
|
|||
host = cfg.mpd.host;
|
||||
port = cfg.mpd.port;
|
||||
music_dir = cfg.mpd.musicDirectory;
|
||||
} // optionalAttrs (cfg.mpd.password != null) {
|
||||
password = cfg.mpd.password;
|
||||
};
|
||||
|
||||
Bling = {
|
||||
|
@ -70,6 +72,14 @@ in {
|
|||
If set, mpDris2 will use this directory to access music artwork.
|
||||
'';
|
||||
};
|
||||
|
||||
password = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
description = ''
|
||||
The password to connect to MPD.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue