Reformatted with nixfmt
This commit is contained in:
parent
f51256c3ae
commit
3f16537322
80 changed files with 1454 additions and 992 deletions
|
@ -2,9 +2,11 @@
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.aa.services.mosquitto;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.aa.services.mosquitto = with lib; {
|
||||
enable = mkEnableOption "home assistant";
|
||||
};
|
||||
|
@ -36,7 +38,7 @@ in {
|
|||
passwordFile = config.age.secrets.theengs_ble_mqtt.path;
|
||||
};
|
||||
teslamate = {
|
||||
acl = ["readwrite teslamate/#"];
|
||||
acl = [ "readwrite teslamate/#" ];
|
||||
passwordFile = config.age.secrets.teslamate_mqtt.path;
|
||||
};
|
||||
};
|
||||
|
@ -44,6 +46,6 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [1883];
|
||||
networking.firewall.allowedTCPPorts = [ 1883 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue