From 387de9968a872812a0af240f0718a62417ccb5f6 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Sat, 3 Oct 2026 02:21:42 +1000 Subject: [PATCH] tweak: host modules --- modules/hosts/hades/hardware.nix | 3 +-- modules/system/core.nix | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/hosts/hades/hardware.nix b/modules/hosts/hades/hardware.nix index d31cd2e..699fad8 100644 --- a/modules/hosts/hades/hardware.nix +++ b/modules/hosts/hades/hardware.nix @@ -78,8 +78,7 @@ } ]; - # specifies x64 uArch - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + # enables cpu microcode updates hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }; diff --git a/modules/system/core.nix b/modules/system/core.nix index 2de3457..b437569 100644 --- a/modules/system/core.nix +++ b/modules/system/core.nix @@ -93,7 +93,8 @@ # nixpkgs settings nixpkgs = { - hostPlatform = ""; + # sets x64 as default uArch + hostPlatform = lib.mkDefaylt "x86_64-linux"; # allows broken and ideologically impure packages config = { allowUnfree = true;