username -> user
This commit is contained in:
parent
92158d0f0c
commit
c140531285
|
@ -15,7 +15,7 @@ let
|
||||||
frigateCfg = toJSON {
|
frigateCfg = toJSON {
|
||||||
mqtt = {
|
mqtt = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
inherit (cfg.mqtt) host port;
|
inherit (cfg.mqtt) host port user;
|
||||||
password = "{FRIGATE_MQTT_PASSWORD}";
|
password = "{FRIGATE_MQTT_PASSWORD}";
|
||||||
};
|
};
|
||||||
logger.default = cfg.log-level;
|
logger.default = cfg.log-level;
|
||||||
|
@ -163,14 +163,14 @@ in {
|
||||||
description = "Port on which to contact the MQTT server.";
|
description = "Port on which to contact the MQTT server.";
|
||||||
};
|
};
|
||||||
|
|
||||||
username = mkOption {
|
user = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description = "User as which to connect to server.";
|
description = "User as which to connect to server.";
|
||||||
};
|
};
|
||||||
|
|
||||||
password-file = mkOption {
|
password-file = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
description =
|
descriptionq =
|
||||||
"File containing password with which to authenticate to MQTT server.";
|
"File containing password with which to authenticate to MQTT server.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue