From 00c2472ce2de112fd7b0018f8d1fe4bd9e95c47f Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 14 Jun 2024 20:39:32 -0400 Subject: [PATCH] mandarin: code reorg --- hosts/mandarin/hardware.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/mandarin/hardware.nix b/hosts/mandarin/hardware.nix index 5842f63e..f8afa952 100644 --- a/hosts/mandarin/hardware.nix +++ b/hosts/mandarin/hardware.nix @@ -28,8 +28,9 @@ }; hardware = { + cpu.amd.updateMicrocode = + lib.mkDefault config.hardware.enableRedistributableFirmware; nvidia = { - # Modesetting is required. modesetting.enable = true; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; @@ -44,6 +45,4 @@ networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = - lib.mkDefault config.hardware.enableRedistributableFirmware; }