diff --git a/hosts/morty/hardware-configuration.nix b/hosts/morty/hardware-configuration.nix index bb4c1ce..e29fc34 100644 --- a/hosts/morty/hardware-configuration.nix +++ b/hosts/morty/hardware-configuration.nix @@ -12,7 +12,7 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "i915" ]; boot.extraModulePackages = [ ]; - boot.kernelParams = ["fbcon=rotate:1" "video=eDP-1:panel_orientation=right_side_up"]; + boot.kernelParams = ["fbcon=rotate:1" "video=eDP-1:panel_orientation=right_side_up" "intel_pstate=disable" ]; boot.loader.systemd-boot.consoleMode = "max"; fileSystems."/" = { device = "/dev/disk/by-uuid/d28d59b0-a44d-4b17-9338-2ca69a1efca7"; @@ -41,7 +41,6 @@ swapDevices = [ ]; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.opengl.enable = true; diff --git a/nixos/includes/hardware/cpufreq.nix b/nixos/includes/hardware/cpufreq.nix index 2a633e1..dfb44c0 100644 --- a/nixos/includes/hardware/cpufreq.nix +++ b/nixos/includes/hardware/cpufreq.nix @@ -7,8 +7,8 @@ turbo = "never"; }; charger = { - governor = "performance"; - turbo = "never"; + governor = "schedutil"; + turbo = "auto"; }; }; };