nixos-config/configs/pepe/home-assistant/zigbee2mqtt.nix

25 lines
642 B
Nix
Raw Normal View History

2020-04-15 23:55:21 +02:00
{ pkgs, lib, config, ... }: {
2020-04-15 21:47:21 +02:00
imports = [
./mqtt.nix
2020-10-21 00:24:16 +02:00
./zigbee2mqtt/buttons.nix
./zigbee2mqtt/doors.nix
2020-10-30 00:36:00 +01:00
./zigbee2mqtt/heater.nix
2020-10-21 00:24:16 +02:00
./zigbee2mqtt/leds.nix
2020-04-15 21:47:21 +02:00
./zigbee2mqtt/lights.nix
./zigbee2mqtt/motion.nix
2020-10-30 00:36:00 +01:00
./zigbee2mqtt/repeater.nix
2020-10-21 00:24:16 +02:00
./zigbee2mqtt/service.nix
2020-04-15 23:55:21 +02:00
./zigbee2mqtt/temperatur.nix
2020-10-28 23:56:10 +01:00
./zigbee2mqtt/windows.nix
2020-04-15 21:47:21 +02:00
];
2020-05-09 16:43:47 +02:00
services.zigbee2mqtt = {
enable = true;
mqttPassword = lib.fileContents <secrets/zigbee/password>;
networkKey = import <secrets/home-assistant/zigbee/networkKey>;
# only turn on for new devices, usually turn of for security reasons.
discover = false;
};
2020-04-08 16:43:09 +02:00
}