nixos: Add nixlight static IP and WLED hass integration
Some checks failed
CI / Check, build and cache nixfiles (push) Failing after 29m45s

This commit is contained in:
Jack O'Sullivan 2025-05-26 23:20:17 +01:00
parent d7522f3f97
commit c8bd63ec3e
3 changed files with 7 additions and 0 deletions

View File

@ -195,6 +195,7 @@ in
"androidtv_remote" "androidtv_remote"
"heos" "heos"
"mqtt" "mqtt"
"wled"
]; ];
extraPackages = python3Packages: with python3Packages; [ extraPackages = python3Packages: with python3Packages; [
zlib-ng zlib-ng

View File

@ -226,6 +226,7 @@ in
palace-kvm IN A ${net.cidr.host 21 prefixes.lo.v4} palace-kvm IN A ${net.cidr.host 21 prefixes.lo.v4}
reolink-living-room IN A ${net.cidr.host 45 prefixes.lo.v4} reolink-living-room IN A ${net.cidr.host 45 prefixes.lo.v4}
nixlight IN A ${net.cidr.host 46 prefixes.lo.v4}
${lib.my.dns.fwdRecords { ${lib.my.dns.fwdRecords {
inherit allAssignments names; inherit allAssignments names;

View File

@ -158,6 +158,11 @@ in
hw-address = "ec:71:db:30:69:a4"; hw-address = "ec:71:db:30:69:a4";
ip-address = net.cidr.host 45 prefixes.lo.v4; ip-address = net.cidr.host 45 prefixes.lo.v4;
} }
{
# nixlight
hw-address = "00:4b:12:3b:d3:14";
ip-address = net.cidr.host 46 prefixes.lo.v4;
}
]; ];
} }
]; ];