tweak: host modules

This commit is contained in:
serenity-F 2026-10-03 02:21:42 +10:00
parent f0ac0a6150
commit 387de9968a
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -78,8 +78,7 @@
} }
]; ];
# specifies x64 uArch # enables cpu microcode updates
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}; };

View file

@ -93,7 +93,8 @@
# nixpkgs settings # nixpkgs settings
nixpkgs = { nixpkgs = {
hostPlatform = ""; # sets x64 as default uArch
hostPlatform = lib.mkDefaylt "x86_64-linux";
# allows broken and ideologically impure packages # allows broken and ideologically impure packages
config = { config = {
allowUnfree = true; allowUnfree = true;