nixos/modules/router/default.nix

9 lines
146 B
Nix
Raw Normal View History

2022-09-16 12:23:48 +02:00
{ ... }: {
boot.kernel.sysctl = {
"net.ipv4.conf.all.forwarding" = true;
};
2022-09-17 18:57:03 +02:00
networking.interfaces.enp1s0 = {
useDHCP = true;
};
2022-09-16 12:23:48 +02:00
}