From 2d14369f78a4c4c6bbcb793aa4c54a72d71d6930 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Tue, 21 Sep 2021 08:26:13 +0700 Subject: [PATCH] networking: add wg hostnames --- hosts/apricot/networking.nix | 2 ++ hosts/fondue/networking.nix | 5 +++++ hosts/winter/networking.nix | 2 ++ 3 files changed, 9 insertions(+) diff --git a/hosts/apricot/networking.nix b/hosts/apricot/networking.nix index f52ec91..bafab92 100644 --- a/hosts/apricot/networking.nix +++ b/hosts/apricot/networking.nix @@ -27,6 +27,8 @@ 192.168.100.12 butterfly 192.168.100.13 winter 192.168.100.14 apricot + + 10.100.0.1 fondue ''; }; } diff --git a/hosts/fondue/networking.nix b/hosts/fondue/networking.nix index fb275f7..ad6cf83 100644 --- a/hosts/fondue/networking.nix +++ b/hosts/fondue/networking.nix @@ -9,5 +9,10 @@ }]; defaultGateway = "192.168.100.1"; nameservers = [ "8.8.8.8" ]; + + extraHosts = '' + 10.100.0.2 apricot + 10.100.0.3 winter + ''; }; } diff --git a/hosts/winter/networking.nix b/hosts/winter/networking.nix index 8bab14c..50077b3 100644 --- a/hosts/winter/networking.nix +++ b/hosts/winter/networking.nix @@ -27,6 +27,8 @@ 192.168.100.12 butterfly 192.168.100.13 winter 192.168.100.14 apricot + + 10.100.0.1 fondue ''; }; }