diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-02 12:26:31 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-10-02 12:26:37 +0200 |
commit | 49f2cfe31d53c225cd6ca7d3b7d3f2b4df5c3f58 (patch) | |
tree | 575bb3fa6b210411d5be16e2b9366855cdc88167 /hosts/default.nix | |
parent | Hosts-separation: Move hardware.cpu.intel.updateMicrocode to host specific co... (diff) | |
download | nixos-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.nix | 2 |
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 |