agares: use as router

This commit is contained in:
Tim Schubert 2023-10-14 14:01:06 +02:00 committed by Tim Schubert
parent 572d813eed
commit 21add79ffa
13 changed files with 640 additions and 76 deletions

13
nixos/agares/firewall.nix Normal file
View file

@ -0,0 +1,13 @@
{ ... }:
{
networking = {
useDHCP = false;
nat.enable = false;
firewall.enable = false;
nftables = {
enable = true;
checkRuleset = true;
ruleset = builtins.readFile ./rules.nft;
};
};
}