From e23d8b7f5bce45180f3e7dd489e1654492f4f0d4 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 28 Sep 2023 20:43:55 +0200 Subject: [PATCH 1/2] bat is a bad `less` replacement --- home-manager/cli/bat.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/home-manager/cli/bat.nix b/home-manager/cli/bat.nix index 4eb7354..46803a1 100644 --- a/home-manager/cli/bat.nix +++ b/home-manager/cli/bat.nix @@ -8,6 +8,5 @@ _:{ programs.zsh.shellAliases = { cat = "bat"; - less = "bat"; }; } From 811baf4c18c6836937caaedaec31eb74500f4329 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 28 Sep 2023 20:44:27 +0200 Subject: [PATCH 2/2] Remove intel_pstate for luci --- hosts/luci/hardware-configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/luci/hardware-configuration.nix b/hosts/luci/hardware-configuration.nix index b41ef5e..10066e8 100644 --- a/hosts/luci/hardware-configuration.nix +++ b/hosts/luci/hardware-configuration.nix @@ -10,6 +10,7 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" "i915" ]; boot.initrd.kernelModules = [ ]; + boot.kernelParams = [ "intel_pstate=disable" ]; boot.kernelModules = [ "kvm-intel" "i915" ]; boot.extraModulePackages = [ ]; @@ -49,7 +50,6 @@ # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.opengl.enable = true; hardware.opengl.driSupport = true;