From ebcf4c98b78eaa3b11fe7b7605651a0a75636d5a Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 8 Mar 2024 21:11:52 +0100 Subject: [PATCH] perso-desktop(default): Try add v3 microarch --- hosts/perso-desktop/default.nix | 7 +++++++ hosts/perso-desktop/hardware-configuration.nix | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/hosts/perso-desktop/default.nix b/hosts/perso-desktop/default.nix index 07d7b44..0834a1a 100644 --- a/hosts/perso-desktop/default.nix +++ b/hosts/perso-desktop/default.nix @@ -26,4 +26,11 @@ boot.loader.efi.canTouchEfiVariables = true; 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"; + # }; } diff --git a/hosts/perso-desktop/hardware-configuration.nix b/hosts/perso-desktop/hardware-configuration.nix index 98a331f..8072a92 100644 --- a/hosts/perso-desktop/hardware-configuration.nix +++ b/hosts/perso-desktop/hardware-configuration.nix @@ -34,12 +34,6 @@ # networking.interfaces.wlp10s0.useDHCP = lib.mkDefault true; 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; }