[NixOS] Enable tlp for jay-lenovo

This commit is contained in:
Ivan Malison 2023-08-01 16:40:46 -06:00
parent ccf5c62972
commit 102659dda0

View File

@ -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, ... }: { config, lib, pkgs, ... }:
{ {
@ -9,6 +6,11 @@
../kat.nix ../kat.nix
]; ];
environment.systemPackages = with pkgs; [
linuxPackages_latest.perf
zenmonitor
];
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
@ -42,7 +44,8 @@
networking.hostName = "jay-lenovo"; networking.hostName = "jay-lenovo";
powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; services.power-profiles-daemon.enable = false;
services.tlp.enable = true;
system.stateVersion = "23.05"; system.stateVersion = "23.05";
} }