switch to latest kernel, bump hardware config, drop unused tlp

This commit is contained in:
Trolli Schmittlauch 2023-03-19 14:38:25 +01:00
parent be95925e38
commit 9cf426c08c
2 changed files with 2 additions and 12 deletions

View file

@ -20,7 +20,7 @@ in
services.davfs2.enable = true;
# try newer kernels
#boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelPackages = pkgs.linuxPackages_latest;
# use old kernel because 5.4 and 5.5 might be buggy with intel graphics
#boot.kernelPackages = pkgs.linuxPackages_4_19;
@ -42,16 +42,6 @@ in
};
boot.kernel.sysctl."vm.swappiness" = 9;
# powermanagement
services.tlp =
{
enable = false;
settings = {
"SATA_LINKPWR_ON_BAT" = "medium_power";
"SATA_LINKPWR_ON_AC" = "max_performance";
};
};
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

View file

@ -11,7 +11,7 @@ in
(
builtins.fetchGit {
url = "https://github.com/NixOS/nixos-hardware";
rev = "7883883d135ce5b7eae5dce4bfa12262b85c1c46";
rev = "a4bc66709604ab78abc575b60baa6d23ae027a59";
} + "/lenovo/thinkpad/t440s"
)
];