aboutsummaryrefslogtreecommitdiff
path: root/nixos/routers
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-02-14 11:16:51 +0100
committerKarel Kočí <cynerd@email.cz>2023-02-14 11:16:51 +0100
commit4eb10766c92a9e0a5ac4ca944fffc9209eec7b22 (patch)
tree709938e189b30882e367a04ffdd88dbb67e04b70 /nixos/routers
parent434c871879ca62258af835f9c77ac43a67463a79 (diff)
downloadnixos-personal-4eb10766c92a9e0a5ac4ca944fffc9209eec7b22.tar.gz
nixos-personal-4eb10766c92a9e0a5ac4ca944fffc9209eec7b22.tar.bz2
nixos-personal-4eb10766c92a9e0a5ac4ca944fffc9209eec7b22.zip
nixos/routers: fix router IP
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 = {