nvidia fix m3-ares

This commit is contained in:
m3tm3re
2026-01-03 09:31:59 +01:00
parent 841d7abbe7
commit f615f3bd6a
5 changed files with 29 additions and 28 deletions

View File

@@ -1,6 +1,7 @@
{
config,
pkgs,
videoDrivers,
...
}: {
imports = [
@@ -14,7 +15,12 @@
];
cli.stt-ptt = {
enable = true;
whisperPackage = pkgs.whisper-cpp-vulkan;
whisperPackage =
if videoDrivers == ["nvidia"]
then pkgs.whisper-cpp.override {cudaSupport = true;}
else if videoDrivers == ["amdgpu"]
then pkgs.whisper-cpp-vulkan
else pkgs.whisper-cpp;
model = "ggml-large-v3-turbo";
notifyTimeout = 2000;
};
@@ -33,9 +39,7 @@
programs.bat = {
enable = true;
config = {
theme = "universal";
};
config = {theme = "universal";};
themes = {
universal = {
src = pkgs.writeText "universal.tmTheme" ''
@@ -165,8 +169,7 @@
programs.direnv = {
enable = true;
enableNushellIntegration = true;
nix-direnv.enable =
true;
nix-direnv.enable = true;
};
programs.eza = {