netmaker to tailscale

This commit is contained in:
atagen 2022-09-14 10:08:52 +10:00
parent 058ead65c3
commit 58907953df
2 changed files with 7 additions and 20 deletions

View file

@ -23,25 +23,6 @@
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
networking.wireguard = {
enable = true;
interfaces = {
pond = {
ips = [ "10.4.20.1/32" ];
listenPort = 51821;
privateKeyFile = "/root/pond.priv";
peers = [
{
publicKey = "GzLoJ99BrmF4X4DKHtBOskIB2SsApkZ2jzPigSYkaX8=";
allowedIPs = [ "10.4.20.0/24" ];
endpoint = "45.76.121.195:51821";
persistentKeepalive = 20;
}
];
};
};
};
# dlna
services.minidlna = {
enable = true;