From 130dc59c378474302aef9c97f9f5d8171d52cbe5 Mon Sep 17 00:00:00 2001 From: oddlama Date: Fri, 5 Jan 2024 17:36:27 +0100 Subject: [PATCH] feat: reserve internal ip for adguardhome --- hosts/ward/kea.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hosts/ward/kea.nix b/hosts/ward/kea.nix index c651058..8329d54 100644 --- a/hosts/ward/kea.nix +++ b/hosts/ward/kea.nix @@ -1,6 +1,7 @@ { lib, utils, + nodes, ... }: let inherit (lib) net; @@ -44,12 +45,12 @@ in { data = net.cidr.host 1 lanCidrv4; } ]; - # TODO reservations = [ - # TODO { - # TODO hw-address = nodes.ward-adguardhome.config.lib.microvm.mac; - # TODO ip-address = dnsIp; - # TODO } - # TODO ]; + reservations = [ + { + hw-address = nodes.ward-adguardhome.config.lib.microvm.mac; + ip-address = dnsIp; + } + ]; } ]; };