enable microcode updates on acer

This commit is contained in:
2025-08-15 22:06:22 +02:00
parent 1222e748ff
commit 9ff80b28f1
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -62,6 +62,7 @@ rec {
pc = true;
enablePlasma = true;
intelCpu = false;
amdCpu = true;
noMitigations = false;
enablePulseaudio = true;
sshd = true;
+1
View File
@@ -3,6 +3,7 @@
{
imports = [
hardware/intel-cpu.nix
hardware/amd-cpu.nix
hardware/no-mitigations.nix
system/roles.nix
+10
View File
@@ -0,0 +1,10 @@
{ config, lib, pkgs, modulesPath, ... }:
{
options.lumpiasty.amdCpu = lib.mkEnableOption "Enable amd CPU";
config = lib.mkIf config.lumpiasty.amdCpu {
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = true;
};
}