From 4eb10766c92a9e0a5ac4ca944fffc9209eec7b22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 14 Feb 2023 11:16:51 +0100 Subject: nixos/routers: fix router IP --- nixos/routers/router.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'nixos/routers') diff --git a/nixos/routers/router.nix b/nixos/routers/router.nix index e7994f0..561f9de 100644 --- a/nixos/routers/router.nix +++ b/nixos/routers/router.nix @@ -108,7 +108,7 @@ in { option-data = [ { name = "routers"; - data = ipv4.prefix2netmask cnf.lanPrefix; + data = cnf.lanIP; } ]; reservations = [ @@ -139,9 +139,7 @@ in { "sys-subsystem-net-devices-brguest.device" ]; - services.kresd = { - enable = false; - }; + services.kresd = {enable = false;}; networking.nftables.enable = true; networking.firewall = { -- cgit v1.2.3