diff options
Diffstat (limited to 'nixos/modules/home-assistant.nix')
-rw-r--r-- | nixos/modules/home-assistant.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/home-assistant.nix b/nixos/modules/home-assistant.nix index 769b1c7..ab16e8a 100644 --- a/nixos/modules/home-assistant.nix +++ b/nixos/modules/home-assistant.nix @@ -55,9 +55,10 @@ in { enable = true; device = "/dev/ttyUSB0"; baseTopicPrefix = "bigclown/"; + environmentFiles = ["/run/secrets/bigclown.env"]; mqtt = { username = "bigclown"; - keyfile = "/run/secrets/mqtt-bigclown.pass"; + password = "\${MQTT_PASSWORD}"; }; }; |