Choose human-friendly Wireguard interfaces

This commit is contained in:
coolneng 2021-04-06 15:13:58 +02:00
parent 3c7c463fee
commit 8569716323
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
# Wireguard setup
networking.wg-quick.interfaces = {
wg0 = {
home = {
address = [ "10.8.0.2/32" ];
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
dns = [ "10.8.0.1" ];
@ -30,7 +30,7 @@
}
];
};
wg1 = {
coace = {
address = [ "10.9.0.2/32" ];
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
peers = [