Initial commit
This commit is contained in:
19
hosts/axoserver-nix/wg-quick.nix
Normal file
19
hosts/axoserver-nix/wg-quick.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ ... } : {
|
||||
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;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user