diff --git a/config/profiles/network.nix b/config/profiles/network.nix index 8875ed69..d6cbc6fe 100644 --- a/config/profiles/network.nix +++ b/config/profiles/network.nix @@ -27,7 +27,7 @@ networking.firewall.extraCommands = '' ip6tables -A INPUT -p 89 -i wgmesh-+ -j ACCEPT - ip route replace to 10.42.68.0/24 via ${nodes.marisa.network.addresses.yggdrasil.nixos.ipv4.address} + ${if config.networking.hostName != "marisa" then "ip route replace to 10.42.68.0/24 via ${nodes.marisa.network.addresses.yggdrasil.nixos.ipv4.address}" else ""} ''; networking.nftables.extraInput = '' meta l4proto 89 iifname wgmesh-* accept