Files
nixos-config/home/common/programs/ai-gui.nix
T
Miguel Palhas a3f06bcd24
CI / lint (push) Successful in 27s
CI / eval (push) Successful in 1m50s
feat(openwhispr): wire real CUDA support for local transcription
The onnxruntime CUDA execution provider it bundles was hard-failing back
to CPU: konishi has the driver but no CUDA toolkit runtime libs. Adds an
opt-in cudaSupport toggle (cudaPackages_13, pinned to match the provider's
build) and enables it on konishi, the only host with an NVIDIA GPU.
2026-09-07 16:28:00 +01:00

35 lines
867 B
Nix

{
config,
pkgs,
inputs,
lib,
...
}:
let
claude-desktop = pkgs.callPackage ../../../pkgs/claude-desktop/package.nix {
inherit (config.custom.aiApps) deviceScaleFactor;
};
codex-cli = inputs.codex-cli.packages.${pkgs.stdenv.hostPlatform.system}.default;
t3-code = pkgs.callPackage ../../../pkgs/t3-code/package.nix {
inherit (config.custom.aiApps) deviceScaleFactor;
};
openwhispr = pkgs.callPackage ../../../pkgs/openwhispr/package.nix {
inherit (config.custom.aiApps) deviceScaleFactor;
cudaSupport = config.custom.aiApps.cudaAcceleration;
};
in
{
imports = [ inputs.codex-desktop-linux.homeManagerModules.default ];
home.packages = lib.optionals pkgs.stdenv.hostPlatform.isx86_64 [
claude-desktop
t3-code
openwhispr
];
programs.codexDesktopLinux = {
enable = true;
cliPackage = codex-cli;
};
}