diff options
author | Julian T <julian@jtle.dk> | 2021-11-11 10:18:41 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-11-11 10:18:41 +0100 |
commit | 70c847f1a716df9c91c48d625d9f510cd37d5fd9 (patch) | |
tree | a71439d02c427dbdc981ea4f749c34b4753397e5 /pc_t14.nix | |
parent | 01e266e05051b85ef3c42ee7b583df9364b60940 (diff) |
Several unamed configuration changes
Sorry im not very good at commiting when i change stuff
Diffstat (limited to 'pc_t14.nix')
-rw-r--r-- | pc_t14.nix | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -19,6 +19,9 @@ boot = { kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.8") pkgs.linuxPackages_5_10; + + kernelParams = [ "amdgpu.dc=1" ]; + loader = { systemd-boot.enable = true; @@ -56,11 +59,12 @@ tlp = { enable = true; settings = { - START_CHARGE_THRESH_BAT0 = 80; - STOP_CHARGE_THRESH_BAT0 = 85; + START_CHARGE_THRESH_BAT0 = 90; + STOP_CHARGE_THRESH_BAT0 = 95; }; }; xserver.videoDrivers = ["amdgpu"]; + fwupd.enable = true; }; environment.systemPackages = with pkgs; [ |