Try tailscale
This commit is contained in:
parent
aa79162e2c
commit
a2e5f43a1f
17 changed files with 50 additions and 80 deletions
|
|
@ -11,16 +11,6 @@ let const = config.constants; hn = config.networking.hostName; in {
|
|||
};
|
||||
nftables.enable = true;
|
||||
tempAddresses = "disabled";
|
||||
wireguard.interfaces.wgn = {
|
||||
ips = [ "10.32.54.3/32" ];
|
||||
peers = [{
|
||||
allowedIPs = [ "10.32.54.0/24" ];
|
||||
endpoint = "${const.domain}:${toString const.port.wireguard-server}";
|
||||
persistentKeepalive = 54;
|
||||
publicKey = "0j8+alXU/f2UgWN61R6+Wjs9xelGRwpSbe5NyOwWlF4=";
|
||||
}];
|
||||
privateKeyFile = config.sops.secrets."wireguard/${hn}".path;
|
||||
};
|
||||
wireless.iwd.enable = true;
|
||||
};
|
||||
|
||||
|
|
@ -48,8 +38,5 @@ let const = config.constants; hn = config.networking.hostName; in {
|
|||
resolved.enable = true;
|
||||
};
|
||||
|
||||
sops.secrets = {
|
||||
"cloudflare/${hn}" = { };
|
||||
"wireguard/${hn}" = { };
|
||||
};
|
||||
sops.secrets."cloudflare/${hn}" = { };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue