diff --git a/nixos/configuration.nix b/nixos/configuration.nix index ca6736f..a0aa01f 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -1,7 +1,7 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ pkgs, ... }: +{ pkgs, hostname, ... }: { nix = { settings = { @@ -17,7 +17,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "eclipse"; # Define your hostname. + networking.hostName = hostname; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # Configure network proxy if necessary