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;