no newline from public.nix
This commit is contained in:
parent
17d8528467
commit
ccdeecaf80
2 changed files with 10 additions and 3 deletions
|
@ -151,11 +151,11 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717591765,
|
"lastModified": 1717742034,
|
||||||
"narHash": "sha256-05dAcxEFpaLE9Vn9ghtZzaVtI3qXJUGqVmI3KUnan3I=",
|
"narHash": "sha256-RUkjSjGHLMPmAAGewe4NoBt+CcHQI+NaGuJoz3neu1w=",
|
||||||
"owner": "mrvandalo",
|
"owner": "mrvandalo",
|
||||||
"repo": "clan-fact-generators",
|
"repo": "clan-fact-generators",
|
||||||
"rev": "7ffaea7135cba6e89c5986175dafaea37550b832",
|
"rev": "7301a98cefa9b8573c203d645ebabc7c103452d7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -5,6 +5,13 @@ in
|
||||||
{
|
{
|
||||||
networking.firewall.allowedUDPPorts = [ 51820 ];
|
networking.firewall.allowedUDPPorts = [ 51820 ];
|
||||||
clanCore.facts.services.wireguard = factsGenerator.wireguard { name = "wg0"; };
|
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;
|
boot.kernel.sysctl."net.ipv4.ip_forward" = true;
|
||||||
|
|
||||||
# Enable WireGuard
|
# Enable WireGuard
|
||||||
|
|
Loading…
Reference in a new issue