- Allow kde connect in firewall - Add neofetch theme - modularize amdgpu stuff - add rbw bw cli - switch to firefox beta - add krita & mpv - add monero to desktop - add corectrl - update flakes - add protonup-qt
29 lines
586 B
Nix
29 lines
586 B
Nix
{ config
|
|
, lib
|
|
, pkgs
|
|
, ...
|
|
}: {
|
|
boot = {
|
|
initrd.availableKernelModules = [ "amdgpu" ];
|
|
kernelModules = [ "amdgpu" ];
|
|
# kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" ];
|
|
};
|
|
|
|
programs.corectrl = {
|
|
enable = true;
|
|
gpuOverclock.enable = true;
|
|
};
|
|
|
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
|
systemd.tmpfiles.rules = [
|
|
"L+ /opt/rocm/hip - - - - ${pkgs.hip}"
|
|
];
|
|
hardware.opengl = {
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
extraPackages = with pkgs; [
|
|
rocm-opencl-icd
|
|
rocm-opencl-runtime
|
|
];
|
|
};
|
|
}
|