diff --git a/flake.nix b/flake.nix index c9f13a6..379e0ed 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 278 current 2025-10-11 05:22:07 25.05.20251006.20c4598 6.12.50 * +# generation: 279 current 2025-10-11 05:35:16 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/services/smarthome/zigbee2mqtt/default.nix b/modules/homelab/services/smarthome/zigbee2mqtt/default.nix index b4a9942..01fd800 100644 --- a/modules/homelab/services/smarthome/zigbee2mqtt/default.nix +++ b/modules/homelab/services/smarthome/zigbee2mqtt/default.nix @@ -63,8 +63,8 @@ in base_topic = "zigbee2mqtt"; client_id = "zigbee2mqtt"; server = "mqtt://localhost:1883"; - user = toString sec."mosquitto_passwd.yaml".path; - password = toString sec."mosquitto_passwd.yaml".path; + user = "!/run/secrets/mosquitto_passwd.yaml user"; + password = "!/run/secrets/mosquitto_passwd.yaml password"; keepalive = 20; }; serial = {