aboutsummaryrefslogtreecommitdiff
path: root/node/caribou.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-11-16 17:39:23 +0100
committerAlex Auvolat <alex@adnab.me>2021-11-16 17:39:23 +0100
commit016e6d434c5a7eead436c0a53378e6f51d22ce61 (patch)
treed2d5773b395f93c940f81428399673657d38dcce /node/caribou.nix
parent8637b4729ac3248eb15910a3145d8ef760f59e2f (diff)
downloadnixcfg-016e6d434c5a7eead436c0a53378e6f51d22ce61.tar.gz
nixcfg-016e6d434c5a7eead436c0a53378e6f51d22ce61.zip
Add wireguard
Diffstat (limited to 'node/caribou.nix')
-rw-r--r--node/caribou.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/caribou.nix b/node/caribou.nix
index 906b6fc..30b382e 100644
--- a/node/caribou.nix
+++ b/node/caribou.nix
@@ -19,6 +19,11 @@
# }
# ];
+ networking.wireguard.interfaces.wg0 = {
+ ips = [ "10.42.0.23/16" ];
+ listenPort = 33723;
+ };
+
# OR use USB modem plugged in here
#networking.interfaces.enp0s20u1.useDHCP = true;