nvidia fix m3-ares
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user