amdgpu: never buy amd laptop ever again
This commit is contained in:
parent
5b8fa1a5e8
commit
ee3c877d5b
3 changed files with 7 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
|||
{ ... }:
|
||||
{
|
||||
# use new amd pstate driver
|
||||
boot.kernelParams = [ "amd_pstate=active" ];
|
||||
}
|
|
@ -1,6 +1,13 @@
|
|||
{ pkgs, config, ... }: {
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
|
||||
boot.kernelParams = [
|
||||
# use new amd pstate driver
|
||||
"amd_pstate=active"
|
||||
# try to fix weird flickering
|
||||
"amdgpu.sg_display=0"
|
||||
];
|
||||
|
||||
# hardware.graphics = {
|
||||
# extraPackages = with pkgs; [
|
||||
# rocm-opencl-icd
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
imports = [
|
||||
./amd.nix
|
||||
./amd-new-pstate.nix
|
||||
./hardware-configuration.nix
|
||||
# ./irc.nix
|
||||
./network
|
||||
|
|
Loading…
Add table
Reference in a new issue