parsons: add nftables

keep-around/42f6b6f527998bd6b14fd29437a6df47cf190bae
hexchen 2021-08-04 13:59:35 +00:00
parent 479d119b8b
commit 3541d14c76
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
../../common
./hardware.nix
modules.encboot
modules.network.nftables modules.nftnat
((import sources.nix-hexchen) {}).profiles.nopersist
];
@ -21,6 +22,10 @@
networking.hostId = "b2867696";
networking.useDHCP = true;
networking.nftables.enable = true;
hexchen.nftables.nat.enable = true;
networking.nat.internalInterfaces = ["ve-+"];
networking.nat.externalInterface = "enp35s0";
system.stateVersion = "21.05";
}