fix: update hosts

This commit is contained in:
Giulio De Pasquale 2025-04-22 16:52:04 +01:00
parent e6c5b780df
commit df91ea0fb9

View File

@ -51,8 +51,10 @@ in
net = "10.0.0.0/24"; net = "10.0.0.0/24";
devices = { devices = {
architect = { address = "10.0.0.250"; hostname = "architect.${domain}"; }; architect = { address = "10.0.0.250"; hostname = "architect.${domain}"; };
router = { address = "10.0.0.1"; hostname = "router.${domain}"; }; brigettine = { address = "10.0.0.1"; hostname = "router.${domain}"; };
dvr = { address = "10.0.0.3"; hostname = "dvr.${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; [ 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; }; kernel.sysctl = { "net.ipv4.ip_forward" = 1; };
@ -100,7 +102,7 @@ in
hostName = "architect"; hostName = "architect";
hostId = "49350853"; hostId = "49350853";
useDHCP = false; useDHCP = false;
defaultGateway = devices.router.address; defaultGateway = devices.brigettine.address;
interfaces = { interfaces = {
${interface}.ipv4.addresses = [{ ${interface}.ipv4.addresses = [{
address = devices.architect.address; address = devices.architect.address;