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

{ pkgs, lib, ... }:
let
inherit (import <niveum/lib>) localAddresses;
living-room-id = 131086;
in
{
imports = [ <niveum/modules/traadfri.nix> ];
niveum.traadfri = {
enable = true;
user = "kmein";
host = localAddresses.tradfri;
key = lib.strings.fileContents <secrets/traadfri.key>;
rooms = {
corridor = 131080;
kitchen = 131081;
bedroom = 131082;
living-room = 131086;
bedside = 131087;
};
};
}