aboutsummaryrefslogtreecommitdiff
path: root/nixos/routers
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/routers')
-rw-r--r--nixos/routers/router.nix6
1 files changed, 2 insertions, 4 deletions
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 = {