nixos-config/configs/pepe/home-assistant/zigbee2mqtt.nix
2020-04-15 23:55:21 +02:00

15 lines
363 B
Nix

{ pkgs, lib, config, ... }: {
imports = [
./mqtt.nix
./zigbee2mqtt/service.nix
./zigbee2mqtt/lights.nix
./zigbee2mqtt/motion.nix
./zigbee2mqtt/buttons.nix
./zigbee2mqtt/temperatur.nix
./zigbee2mqtt/doors.nix
];
services.zigbee2mqtt.enable = true;
services.zigbee2mqtt.password = lib.fileContents <secrets/zigbee/password>;
}