Choose human-friendly Wireguard interfaces
This commit is contained in:
parent
3c7c463fee
commit
8569716323
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
# Wireguard setup
|
# Wireguard setup
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
home = {
|
||||||
address = [ "10.8.0.2/32" ];
|
address = [ "10.8.0.2/32" ];
|
||||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||||
dns = [ "10.8.0.1" ];
|
dns = [ "10.8.0.1" ];
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
wg1 = {
|
coace = {
|
||||||
address = [ "10.9.0.2/32" ];
|
address = [ "10.9.0.2/32" ];
|
||||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||||
peers = [
|
peers = [
|
||||||
|
|
Loading…
Reference in New Issue