change syntax for microcode update

This commit is contained in:
Asmir A 2024-07-21 10:10:45 +02:00
parent 2641287a1c
commit 0d2dd68933
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -38,5 +38,6 @@
swapDevices = [ ]; swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = true;
hardware.enableRedistributableFirmware = true;
} }