1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/traadfri.nix

23 lines
460 B
Nix
Raw Normal View History

2020-10-24 13:27:36 +02:00
{ pkgs, lib, ... }:
let
inherit (import <niveum/lib>) localAddresses;
living-room-id = 131086;
in
{
2019-10-26 13:43:30 +02:00
imports = [ <niveum/modules/traadfri.nix> ];
2019-06-10 17:05:36 +02:00
niveum.traadfri = {
enable = true;
user = "kmein";
2020-10-24 13:27:36 +02:00
host = localAddresses.tradfri;
2020-09-24 19:25:47 +02:00
key = lib.strings.fileContents <secrets/traadfri.key>;
2019-06-10 17:05:36 +02:00
rooms = {
2020-01-22 16:39:49 +01:00
corridor = 131080;
kitchen = 131081;
2020-07-11 20:42:04 +02:00
bedroom = 131082;
living-room = 131086;
bedside = 131087;
2019-06-10 17:05:36 +02:00
};
};
}