mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-04 10:46:50 +01:00
Use host instead of local
This commit is contained in:
parent
ff5f252681
commit
ef0efe5a3e
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix")
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.localSystem = {
|
nixpkgs.hostPlatform = {
|
||||||
gcc.arch = "alderlake";
|
gcc.arch = "alderlake";
|
||||||
gcc.tune = "alderlake";
|
gcc.tune = "alderlake";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlo1.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";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue