Choose human-friendly Wireguard interfaces
This commit is contained in:
parent
3c7c463fee
commit
8569716323
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue