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:
@@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
18
home/desktop/apps/productivity.nix
Normal file
18
home/desktop/apps/productivity.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
21
home/profiles/gaming/gpu.nix
Normal file
21
home/profiles/gaming/gpu.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user