This commit is contained in:
Schrottkatze 2025-12-20 19:20:12 +01:00
commit 3ed9b836ee
No known key found for this signature in database
11 changed files with 139 additions and 18 deletions

View file

@ -3,5 +3,6 @@
imports = [
./graphics.nix
./input.nix
./fah.nix
];
}

View file

@ -0,0 +1,25 @@
{ pkgs, ... }:
{
hardware.graphics = {
enable = true;
enable32Bit = pkgs.lib.mkForce false;
extraPackages = with pkgs; [
rocmPackages.clr.icd
rocmPackages.clr
rocmPackages.rocminfo
rocmPackages.rocm-runtime
];
};
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];
home-manager.users.jade =
{ pkgs, ... }:
{
systemd.user.services.fah.Service = {
Environment = [ "OCL_ICD_VENDORS=${pkgs.rocmPackages.clr.icd}/etc/OpenCL/vendors/" ];
ExecStart = [ "${pkgs.fahclient}/bin/fah-client" ];
};
};
}

View file

@ -5,4 +5,10 @@
pkgs.radeontop
# pkgs.rgp
];
home-manager.users.jade =
{ ... }:
{
programs.btop.settings.custom_gpu_name0 = "AMD Radeon RX 6700 XT";
};
}