nix(t14): experiment with amdgpu.backlight=0

This commit is contained in:
surtur 2023-12-09 21:45:18 +01:00
parent 0b780ea269
commit 6f4a415650
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -31,8 +31,12 @@
# nixpkgs.currentSystem = "x86_64-linux"; # nixpkgs.currentSystem = "x86_64-linux";
nix.settings.trusted-users = ["@wheel" "root" "mko"]; nix.settings.trusted-users = ["@wheel" "root" "mko"];
# forbid hibernation due to zfs-on-root. boot.kernelParams = [
boot.kernelParams = ["amd_pstate=active" "nohibernate"]; "amd_pstate=active"
# forbid hibernation due to zfs-on-root.
"nohibernate"
"amdgpu.backlight=0"
];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;