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

16 lines
245 B
Nix
Raw Normal View History

2023-01-26 21:29:47 +01:00
{
2021-12-28 16:19:29 +01:00
2023-01-26 21:29:47 +01:00
networking.firewall = {
2023-02-10 16:12:15 +01:00
allowedTCPPorts = [ 655 721 ];
allowedUDPPorts = [ 655 721 ];
2021-12-28 16:19:29 +01:00
};
2023-01-26 21:29:47 +01:00
tinc.private.enable = true;
tinc.private.ipv4 = "10.23.42.111";
tinc.secret.enable = true;
tinc.secret.ipv4 = "10.123.42.123";
2022-02-07 19:13:27 +01:00
2021-12-28 16:19:29 +01:00
}