From 6f4a41565084090a449d465d83783b0657f03ce6 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 9 Dec 2023 21:45:18 +0100 Subject: [PATCH] nix(t14): experiment with amdgpu.backlight=0 --- nix/hosts/t14/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nix/hosts/t14/configuration.nix b/nix/hosts/t14/configuration.nix index a64773d..99aa612 100644 --- a/nix/hosts/t14/configuration.nix +++ b/nix/hosts/t14/configuration.nix @@ -31,8 +31,12 @@ # nixpkgs.currentSystem = "x86_64-linux"; nix.settings.trusted-users = ["@wheel" "root" "mko"]; - # forbid hibernation due to zfs-on-root. - boot.kernelParams = ["amd_pstate=active" "nohibernate"]; + boot.kernelParams = [ + "amd_pstate=active" + # forbid hibernation due to zfs-on-root. + "nohibernate" + "amdgpu.backlight=0" + ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true;