no newline from public.nix
This commit is contained in:
parent
17d8528467
commit
ccdeecaf80
2 changed files with 10 additions and 3 deletions
nixos/machines/orbi
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue