mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
chore: add garage door sensor
This commit is contained in:
parent
1ee5b2aa1a
commit
97625ae36c
3 changed files with 11 additions and 0 deletions
|
@ -7,6 +7,13 @@
|
||||||
generator.script = "alnum";
|
generator.script = "alnum";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
age.secrets.mosquitto-pw-garage-door = {
|
||||||
|
mode = "440";
|
||||||
|
owner = "hass";
|
||||||
|
group = "mosquitto";
|
||||||
|
generator.script = "alnum";
|
||||||
|
};
|
||||||
|
|
||||||
services.mosquitto = {
|
services.mosquitto = {
|
||||||
enable = true;
|
enable = true;
|
||||||
persistence = true;
|
persistence = true;
|
||||||
|
@ -22,6 +29,10 @@
|
||||||
passwordFile = config.age.secrets.mosquitto-pw-home-assistant.path;
|
passwordFile = config.age.secrets.mosquitto-pw-home-assistant.path;
|
||||||
acl = [ "readwrite #" ];
|
acl = [ "readwrite #" ];
|
||||||
};
|
};
|
||||||
|
garage_door_sensor = {
|
||||||
|
passwordFile = config.age.secrets.mosquitto-pw-garage-door.path;
|
||||||
|
acl = [ "readwrite #" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
settings.allow_anonymous = false;
|
settings.allow_anonymous = false;
|
||||||
}
|
}
|
||||||
|
|
BIN
secrets/generated/sausebiene/mosquitto-pw-garage-door.age
Normal file
BIN
secrets/generated/sausebiene/mosquitto-pw-garage-door.age
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue