From 9e52c02067cc616ce4202db8f3e15e3406f2837f Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Sun, 17 Dec 2023 12:12:33 -0600 Subject: archlinux static ip --- nix/configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nix/configuration.nix') diff --git a/nix/configuration.nix b/nix/configuration.nix index 96a1fdd..d08c7a6 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -27,7 +27,10 @@ in boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "nixos"; # Define your hostname. + networking.hostName = "nixos"; + networking.extraHosts = '' + 192.168.122.11 archlinux + ''; # Enable networking networking.networkmanager.enable = true; -- cgit v1.2.3