nixos-config/nixos/machines/robi/tinc.nix

16 lines
245 B
Nix

{
networking.firewall = {
allowedTCPPorts = [ 655 712 ];
allowedUDPPorts = [ 655 712 ];
};
tinc.private.enable = true;
tinc.private.ipv4 = "10.23.42.111";
tinc.secret.enable = true;
tinc.secret.ipv4 = "10.123.42.123";
}