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

16 lines
363 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
./zigbee2mqtt/service.nix
./zigbee2mqtt/lights.nix
./zigbee2mqtt/motion.nix
./zigbee2mqtt/buttons.nix
2020-04-15 23:55:21 +02:00
./zigbee2mqtt/temperatur.nix
./zigbee2mqtt/doors.nix
2020-04-15 21:47:21 +02:00
];
services.zigbee2mqtt.enable = true;
services.zigbee2mqtt.password = lib.fileContents <secrets/zigbee/password>;
2020-04-08 16:43:09 +02:00
}