host framenix: apply workaround against amdgpu issue
This commit is contained in:
parent
e5a5639aa1
commit
4a43774913
|
@ -13,12 +13,12 @@ in
|
||||||
|
|
||||||
networking.hostName = "framenix"; # Define your hostname.
|
networking.hostName = "framenix"; # Define your hostname.
|
||||||
|
|
||||||
# try newer kernels
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
# use newer linux-firmware from unstable
|
# use newer linux-firmware from unstable
|
||||||
hardware.firmware = lib.mkBefore [ unstable.linux-firmware ];
|
hardware.firmware = lib.mkBefore [ unstable.linux-firmware ];
|
||||||
|
|
||||||
|
# try newer kernels
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
@ -49,6 +49,12 @@ in
|
||||||
# I do not need fingerprint reading
|
# I do not need fingerprint reading
|
||||||
services.fprintd.enable = false;
|
services.fprintd.enable = false;
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.radeontop ];
|
environment.systemPackages = [
|
||||||
|
pkgs.radeontop
|
||||||
|
pkgs.framework-tool
|
||||||
|
];
|
||||||
|
|
||||||
|
# temporary workaround for graphics flicker-artifact issues:
|
||||||
|
boot.kernelParams = [ "amdgpu.sg_display=0" ];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue