feat: add AMD GPU tools, media packages, and productivity module

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
This commit is contained in:
m3tm3re
2026-04-26 12:32:47 +02:00
parent d19b87f8cd
commit 6d0149ee6e
5 changed files with 44 additions and 2 deletions

View File

@@ -1,9 +1,10 @@
# Desktop apps aggregator — Obsidian, Office, web apps, and crypto tools. # Desktop apps aggregator — Obsidian, Office, web apps, crypto tools, and productivity.
{...}: { {...}: {
imports = [ imports = [
./obsidian.nix ./obsidian.nix
./office.nix ./office.nix
./webapps.nix ./webapps.nix
./crypto.nix ./crypto.nix
./productivity.nix
]; ];
} }

View File

@@ -0,0 +1,18 @@
# Productivity tools — Pomodoro timer and focus utilities.
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.desktop.apps.productivity;
in {
options.desktop.apps.productivity.enable = mkEnableOption "enable productivity tools";
config = mkIf cfg.enable {
home.packages = with pkgs; [
pomodoro-timer
];
};
}

View File

@@ -1,7 +1,8 @@
# Gaming profile aggregator — Steam platform and Gamescope session support. # Gaming profile aggregator — Steam platform, Gamescope session, and AMD GPU tools.
{...}: { {...}: {
imports = [ imports = [
./steam.nix ./steam.nix
./gamescope.nix ./gamescope.nix
./gpu.nix
]; ];
} }

View File

@@ -0,0 +1,21 @@
# 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
];
};
}

View File

@@ -13,6 +13,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
plexamp plexamp
unimatrix
webcord webcord
]; ];