mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
22 lines
418 B
Nix
22 lines
418 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
imports = [ <modules/traadfri.nix> ];
|
|
|
|
niveum.traadfri = {
|
|
enable = true;
|
|
user = "kmein";
|
|
host = "192.168.178.28";
|
|
key = lib.strings.fileContents <shared-secrets/traadfri.key>;
|
|
rooms = {
|
|
bedroom = 131074;
|
|
corridor = 131076;
|
|
kitchen = 131075;
|
|
living-room = 131073;
|
|
};
|
|
bulbs = {
|
|
bedread = 65546;
|
|
livingread = 65537;
|
|
};
|
|
};
|
|
}
|