perso-desktop(default): Try add v3 microarch
This commit is contained in:
parent
adc56b3b9c
commit
ebcf4c98b7
2 changed files with 7 additions and 6 deletions
|
@ -26,4 +26,11 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
networking.hostName = "nixos-desktop-perso"; # Define your hostname.
|
networking.hostName = "nixos-desktop-perso"; # Define your hostname.
|
||||||
|
|
||||||
|
# https://nixos.wiki/wiki/Build_flags
|
||||||
|
# nixpkgs.hostPlatform = {
|
||||||
|
# gcc.arch = "x86-64-v3";
|
||||||
|
# gcc.tune = "x86-64-v3";
|
||||||
|
# system = "x86_64-linux";
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,12 +34,6 @@
|
||||||
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
# https://nixos.wiki/wiki/Build_flags
|
|
||||||
# nixpkgs.hostPlatform = {
|
|
||||||
# gcc.arch = "x86-64-v3";
|
|
||||||
# gcc.tune = "x86-64-v3";
|
|
||||||
# system = "x86_64-linux";
|
|
||||||
# };
|
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue