propagate system arch to hardware configuration
This commit is contained in:
parent
397d6ab765
commit
a95ef6b212
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
server,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
|
@ -29,6 +30,6 @@
|
|||
|
||||
networking.useDHCP = false;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
nixpkgs.hostPlatform = server.system-arch;
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue