From f0cd40b2a394b49b26ec629e61e036663513514c Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 28 Feb 2024 04:45:45 -0800 Subject: [PATCH] move hostname to hardware config --- configuration.nix | 1 - hosts/snowhawk/hardware-configuration.nix | 1 + hosts/sprite/hardware-configuration.nix | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 06381b5..68722a1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -11,7 +11,6 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "snowhawk"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary diff --git a/hosts/snowhawk/hardware-configuration.nix b/hosts/snowhawk/hardware-configuration.nix index dae1d9b..ce72ebb 100644 --- a/hosts/snowhawk/hardware-configuration.nix +++ b/hosts/snowhawk/hardware-configuration.nix @@ -22,6 +22,7 @@ swapDevices = [ ]; + networking.hostName = "snowhawk"; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction diff --git a/hosts/sprite/hardware-configuration.nix b/hosts/sprite/hardware-configuration.nix index 93e6cdf..406ef70 100644 --- a/hosts/sprite/hardware-configuration.nix +++ b/hosts/sprite/hardware-configuration.nix @@ -22,6 +22,7 @@ swapDevices = [ ]; + networking.hostName = "sprite"; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction