forgot a line
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
{config, pkgs, ...}:
|
{config, pkgs, ...}:
|
||||||
{
|
{
|
||||||
|
sops.secrets.wireguard_private = {};
|
||||||
|
|
||||||
# enable NAT
|
# enable NAT
|
||||||
networking.nat.enable = true;
|
networking.nat.enable = true;
|
||||||
networking.nat.externalInterface = "eth0";
|
networking.nat.externalInterface = "eth0";
|
||||||
@@ -42,7 +44,6 @@
|
|||||||
{ # Feel free to give a meaningfull name
|
{ # Feel free to give a meaningfull name
|
||||||
# Public key of the peer (not a file path).
|
# Public key of the peer (not a file path).
|
||||||
publicKey = "SfokXbgmvSmodgPFoVHjwmHE3nriQ3OTQ+hISU/3eW4=";
|
publicKey = "SfokXbgmvSmodgPFoVHjwmHE3nriQ3OTQ+hISU/3eW4=";
|
||||||
# To decrypt the private key to use
|
|
||||||
|
|
||||||
# List of IPs assigned to this peer within the tunnel subnet. Used to configure routing.
|
# List of IPs assigned to this peer within the tunnel subnet. Used to configure routing.
|
||||||
allowedIPs = [ "10.100.0.2/32" ];
|
allowedIPs = [ "10.100.0.2/32" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user