From df91ea0fb9a90770595faca41ccd5a0210d8b5e0 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 22 Apr 2025 16:52:04 +0100 Subject: [PATCH] fix: update hosts --- hosts/architect/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hosts/architect/default.nix b/hosts/architect/default.nix index 239d118..67f5654 100644 --- a/hosts/architect/default.nix +++ b/hosts/architect/default.nix @@ -51,8 +51,10 @@ in net = "10.0.0.0/24"; devices = { architect = { address = "10.0.0.250"; hostname = "architect.${domain}"; }; - router = { address = "10.0.0.1"; hostname = "router.${domain}"; }; - dvr = { address = "10.0.0.3"; hostname = "dvr.${domain}"; }; + brigettine = { address = "10.0.0.1"; hostname = "router.${domain}"; }; + dreamel10 = { address = "10.0.0.199"; hostname = "dreamel10.${domain}"; }; + reolinkcamera = { address = "10.0.0.200"; hostname = "reolinkcamera.${domain}"; }; + lgtv = { address = "10.0.0.202"; hostname = "lgtv.${domain}"; }; }; }; @@ -78,7 +80,7 @@ in }; kernelParams = with config.architect.networks.lan; [ - "ip=${devices.architect.address}::${devices.router.address}:255.255.255.0::${interface}:off" + "ip=${devices.architect.address}::${devices.brigettine.address}:255.255.255.0::${interface}:off" ]; kernel.sysctl = { "net.ipv4.ip_forward" = 1; }; @@ -100,7 +102,7 @@ in hostName = "architect"; hostId = "49350853"; useDHCP = false; - defaultGateway = devices.router.address; + defaultGateway = devices.brigettine.address; interfaces = { ${interface}.ipv4.addresses = [{ address = devices.architect.address;