no newline from public.nix

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

View file

@ -151,11 +151,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1717591765,
"narHash": "sha256-05dAcxEFpaLE9Vn9ghtZzaVtI3qXJUGqVmI3KUnan3I=",
"lastModified": 1717742034,
"narHash": "sha256-RUkjSjGHLMPmAAGewe4NoBt+CcHQI+NaGuJoz3neu1w=",
"owner": "mrvandalo",
"repo": "clan-fact-generators",
"rev": "7ffaea7135cba6e89c5986175dafaea37550b832",
"rev": "7301a98cefa9b8573c203d645ebabc7c103452d7",
"type": "github"
},
"original": {

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