From 66b931e64da9bfacf8356976f9a24a40df85766c Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Fri, 30 Jun 2023 11:44:31 +0100 Subject: [PATCH] Hardcode system-specific hardware settings. --- hosts/c1/hardware.nix | 4 ++-- hosts/c2/hardware.nix | 4 ++-- hosts/c3/hardware.nix | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hosts/c1/hardware.nix b/hosts/c1/hardware.nix index 1054f27..570e713 100644 --- a/hosts/c1/hardware.nix +++ b/hosts/c1/hardware.nix @@ -46,6 +46,6 @@ randomEncryption.enable = true; }]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + nixpkgs.hostPlatform = "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = true; } diff --git a/hosts/c2/hardware.nix b/hosts/c2/hardware.nix index de5a622..6e6d080 100644 --- a/hosts/c2/hardware.nix +++ b/hosts/c2/hardware.nix @@ -46,6 +46,6 @@ randomEncryption.enable = true; }]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + nixpkgs.hostPlatform = "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = true; } diff --git a/hosts/c3/hardware.nix b/hosts/c3/hardware.nix index cd716ce..ae97a38 100644 --- a/hosts/c3/hardware.nix +++ b/hosts/c3/hardware.nix @@ -46,6 +46,6 @@ randomEncryption.enable = true; }]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + nixpkgs.hostPlatform = "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = true; }