1
0
mirror of https://github.com/kmein/niveum synced 2026-03-22 04:41:07 +01:00

feat(lib): add localAddresses

This commit is contained in:
2020-10-24 13:27:36 +02:00
parent 177977160f
commit 240b97dce9
6 changed files with 73 additions and 26 deletions

View File

@@ -1,10 +1,15 @@
{ pkgs, lib, ... }: {
{ 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 = "192.168.178.28";
host = localAddresses.tradfri;
key = lib.strings.fileContents <secrets/traadfri.key>;
rooms = {
corridor = 131080;