enable microcode updates on acer
This commit is contained in:
@@ -62,6 +62,7 @@ rec {
|
|||||||
pc = true;
|
pc = true;
|
||||||
enablePlasma = true;
|
enablePlasma = true;
|
||||||
intelCpu = false;
|
intelCpu = false;
|
||||||
|
amdCpu = true;
|
||||||
noMitigations = false;
|
noMitigations = false;
|
||||||
enablePulseaudio = true;
|
enablePulseaudio = true;
|
||||||
sshd = true;
|
sshd = true;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
hardware/intel-cpu.nix
|
hardware/intel-cpu.nix
|
||||||
|
hardware/amd-cpu.nix
|
||||||
hardware/no-mitigations.nix
|
hardware/no-mitigations.nix
|
||||||
|
|
||||||
system/roles.nix
|
system/roles.nix
|
||||||
|
|||||||
@@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user