diff --git a/flake.nix b/flake.nix index 58ed0cf..5d87f1f 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,7 @@ in rec { system = "x86_64-linux"; specialArgs = { inherit stateVersion; + hostname = "mrmeeseeks"; }; modules = [ ./hosts/mrmeeseeks/configuration.nix diff --git a/hosts/mrmeeseeks/configuration.nix b/hosts/mrmeeseeks/configuration.nix index 6d60e2b..25a3db1 100644 --- a/hosts/mrmeeseeks/configuration.nix +++ b/hosts/mrmeeseeks/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, stateVersion, ... }: +{ config, pkgs, lib, stateVersion, hostname, ... }: { imports = @@ -29,7 +29,7 @@ # Bluetooth hardware.bluetooth.enable = true; hardware.xpadneo.enable = true; - networking.hostName = "mrmeeseeks"; + networking.hostName = hostname; console = { earlySetup = true;