no newline from public.nix

This commit is contained in:
Ingolf Wagner 2024-06-07 08:45:08 +02:00
commit ccdeecaf80
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 10 additions and 3 deletions
nixos/machines/orbi

View file

@ -5,6 +5,13 @@ in
{
networking.firewall.allowedUDPPorts = [ 51820 ];
clanCore.facts.services.wireguard = factsGenerator.wireguard { name = "wg0"; };
clanCore.facts.services.wireguard_ip = factsGenerator.public {
"wireguard.wg0.endpoint" = "95.216.66.212:51820";
"wireguard.wg0.cidr" = "10.100.0.1/24";
"wireguard.wg0.ip" = "10.100.0.1";
};
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
# Enable WireGuard