From a465af7a93c4950ac59e3765008505bef5af9f41 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Sun, 22 Aug 2021 14:50:06 +0700 Subject: [PATCH] networking: add extraHosts --- hosts/apricot/networking.nix | 8 ++++++++ hosts/winter/networking.nix | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/hosts/apricot/networking.nix b/hosts/apricot/networking.nix index d7fc78a..b9065f5 100644 --- a/hosts/apricot/networking.nix +++ b/hosts/apricot/networking.nix @@ -19,5 +19,13 @@ }]; defaultGateway = "192.168.100.1"; nameservers = [ "8.8.8.8" ]; + + extraHosts = '' + 192.168.100.10 strawberry + 192.168.100.11 peach + 192.168.100.12 butterfly + 192.168.100.13 winter + 192.168.100.14 apricot + ''; }; } diff --git a/hosts/winter/networking.nix b/hosts/winter/networking.nix index b3b0962..f0e3fd5 100644 --- a/hosts/winter/networking.nix +++ b/hosts/winter/networking.nix @@ -19,5 +19,13 @@ }]; defaultGateway = "192.168.100.1"; nameservers = [ "8.8.8.8" ]; + + extraHosts = '' + 192.168.100.10 strawberry + 192.168.100.11 peach + 192.168.100.12 butterfly + 192.168.100.13 winter + 192.168.100.14 apricot + ''; }; }