From 9cf426c08c00dc89879bd0bb5beed709f5590129 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sun, 19 Mar 2023 14:38:25 +0100 Subject: [PATCH] switch to latest kernel, bump hardware config, drop unused tlp --- nixos/configuration.nix | 12 +----------- nixos/hardware-configuration.nix | 2 +- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index dbba0e7..af6b0f3 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -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; diff --git a/nixos/hardware-configuration.nix b/nixos/hardware-configuration.nix index dd7f080..77fed4a 100644 --- a/nixos/hardware-configuration.nix +++ b/nixos/hardware-configuration.nix @@ -11,7 +11,7 @@ in ( builtins.fetchGit { url = "https://github.com/NixOS/nixos-hardware"; - rev = "7883883d135ce5b7eae5dce4bfa12262b85c1c46"; + rev = "a4bc66709604ab78abc575b60baa6d23ae027a59"; } + "/lenovo/thinkpad/t440s" ) ];