summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nix/configuration.nix5
1 files changed, 4 insertions, 1 deletions
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;