Files
nix-flake/hosts/axoserver-nix/wg-quick.nix
2026-01-28 11:41:51 +03:00

19 lines
389 B
Nix

{ ... } : {
networking.wg-quick.interfaces.wg0 = {
address = [ "10.1.10.2/24" ];
privateKey = "2IzITd4epbSgALua8DKX2UC151o6F6q7l6J9/Ib+znk=";
peers = [
{
publicKey = "meFmsUmqtLtaexVpWvWWWXnKiUarSahZD75lZONJVUE=";
allowedIPs = [ "10.1.10.0/24" ];
endpoint = "127.0.0.1:51821";
persistentKeepalive = 60;
}
];
};
}