From ef0efe5a3ed6f156ebc0759aa595ace1b04d6aa9 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 6 Jul 2023 11:49:34 +0200 Subject: [PATCH] Use host instead of local --- systems/kami/hardware.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/kami/hardware.nix b/systems/kami/hardware.nix index 15edc41..7cd1df1 100644 --- a/systems/kami/hardware.nix +++ b/systems/kami/hardware.nix @@ -7,7 +7,7 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - nixpkgs.localSystem = { + nixpkgs.hostPlatform = { gcc.arch = "alderlake"; gcc.tune = "alderlake"; system = "x86_64-linux"; @@ -55,7 +55,7 @@ # networking.interfaces.enp6s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + #nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }