Task 3 - Gaming profile: - Add gpu.nix with ROCm runtime/smi/info and vulkan-tools - Import gpu.nix in gaming profile aggregator Task 4 - Media profile: - Add unimatrix to yt-dlp.nix packages - (plexamp, webcord, mpv config were already present) Task 5 - Desktop apps: - Add productivity.nix with pomodoro-timer - Import productivity.nix in desktop apps aggregator
22 lines
432 B
Nix
22 lines
432 B
Nix
# AMD GPU tools — ROCm runtime, monitoring, and Vulkan utilities for gaming.
|
|
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
with lib; let
|
|
cfg = config.profiles.gaming.gpu;
|
|
in {
|
|
options.profiles.gaming.gpu.enable = mkEnableOption "enable AMD GPU tools";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
rocmPackages.rocm-runtime
|
|
rocmPackages.rocm-smi
|
|
rocmPackages.rocminfo
|
|
vulkan-tools
|
|
];
|
|
};
|
|
}
|