host framenix: apply workaround against amdgpu issue

This commit is contained in:
Trolli Schmittlauch 2024-01-20 01:51:15 +01:00
parent e5a5639aa1
commit 4a43774913

View file

@ -13,12 +13,12 @@ in
networking.hostName = "framenix"; # Define your hostname.
# try newer kernels
boot.kernelPackages = pkgs.linuxPackages_latest;
# use newer linux-firmware from unstable
hardware.firmware = lib.mkBefore [ unstable.linux-firmware ];
# try newer kernels
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
@ -49,6 +49,12 @@ in
# I do not need fingerprint reading
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" ];
}