diff --git a/nixos/machines/jay-lenovo.nix b/nixos/machines/jay-lenovo.nix index df49e1ef..82654404 100644 --- a/nixos/machines/jay-lenovo.nix +++ b/nixos/machines/jay-lenovo.nix @@ -1,6 +1,3 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. { config, lib, pkgs, ... }: { @@ -9,6 +6,11 @@ ../kat.nix ]; + environment.systemPackages = with pkgs; [ + linuxPackages_latest.perf + zenmonitor + ]; + hardware.enableRedistributableFirmware = true; boot.kernelPackages = pkgs.linuxPackages_latest; @@ -42,7 +44,8 @@ networking.hostName = "jay-lenovo"; - powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; + services.power-profiles-daemon.enable = false; + services.tlp.enable = true; system.stateVersion = "23.05"; }