summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2023-12-17 12:12:33 -0600
committerBrad Clawsie <brad@b7j0c.org>2023-12-17 12:12:33 -0600
commit9e52c02067cc616ce4202db8f3e15e3406f2837f (patch)
tree153b9b8f6f0f57e058d27f9b11bb758685147c65
parent544d16c04134847f14bb3df637d8c6530a2dc454 (diff)
archlinux static ip
-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;