From 61d9b103b0647f5cd5dc5fb9da4655e08e63183d Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Wed, 8 Mar 2023 22:57:48 -0500 Subject: [PATCH] set local network hosts file --- modules/nixos/hardware/networking.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nixos/hardware/networking.nix b/modules/nixos/hardware/networking.nix index 03d91c3..733af84 100644 --- a/modules/nixos/hardware/networking.nix +++ b/modules/nixos/hardware/networking.nix @@ -10,6 +10,10 @@ networking.interfaces.wlp4s0.useDHCP = true; networking.firewall.allowPing = lib.mkIf config.server true; + networking.hosts = { + "192.168.0.120" = [ "tempest" ]; + "192.168.0.218" = [ "swan" ]; + }; };