about summary refs log tree commit diff
path: root/hosts/default.nix
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-02 12:26:31 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-10-02 12:26:37 +0200
commit49f2cfe31d53c225cd6ca7d3b7d3f2b4df5c3f58 (patch)
tree575bb3fa6b210411d5be16e2b9366855cdc88167 /hosts/default.nix
parentHosts-separation: Move hardware.cpu.intel.updateMicrocode to host specific co... (diff)
downloadnixos-config-49f2cfe31d53c225cd6ca7d3b7d3f2b4df5c3f58.tar.gz
nixos-config-49f2cfe31d53c225cd6ca7d3b7d3f2b4df5c3f58.tar.bz2
nixos-config-49f2cfe31d53c225cd6ca7d3b7d3f2b4df5c3f58.zip
mkHost: Set hostname as host + "-" + hardware
Diffstat (limited to 'hosts/default.nix')
-rw-r--r--hosts/default.nix2
1 files changed, 1 insertions, 1 deletions
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