nixos-config/machines/orbi/network-tinc.nix
Ingolf Wagner 7a6510a4e6
nix fmt
2024-08-29 08:26:04 +07:00

20 lines
276 B
Nix

{
networking.firewall = {
allowedTCPPorts = [
655
721
];
allowedUDPPorts = [
655
721
];
};
tinc.private.enable = true;
tinc.private.ipv4 = "10.23.42.100";
tinc.secret.enable = true;
tinc.secret.ipv4 = "10.123.42.100";
}