From 856971632313b5b2f02849016349817eceeb9a8f Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 6 Apr 2021 15:13:58 +0200 Subject: [PATCH] Choose human-friendly Wireguard interfaces --- modules/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index f580eab..e469179 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -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 = [