mirror of
https://github.com/nix-community/home-manager
synced 2024-11-20 01:59:45 +01: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