From 49f2cfe31d53c225cd6ca7d3b7d3f2b4df5c3f58 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 2 Oct 2022 12:26:31 +0200 Subject: mkHost: Set hostname as host + "-" + hardware --- hosts/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/default.nix b/hosts/default.nix index 925022f..7347bb8 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -16,7 +16,7 @@ let ] ++ extraOverlays; }; - extraArgs = { inherit pkgs inputs isIso isHardware user secrets dotfiles timezone location hardware system; hostname = host; }; + extraArgs = { inherit pkgs inputs isIso isHardware user secrets dotfiles timezone location hardware system; hostname = host + "-" + hardware; }; extraSpecialModules = extraModules ++ lib.optional isHardware ../hardware/${hardware} ++ lib.optional isIso "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"; in -- cgit 1.4.1