Clean up & fixing ollama service

This commit is contained in:
ari committed 2025-01-25 09:50:28 -05:00
1 parent 4fdc7a368a
commit 4a610d2979
3 files changed
+2 -18

No files matched your search

-3
View File
@@ -23,10 +23,7 @@ in
# pkgs.kdePackages.kwallet
];
environment.systemPackages = with pkgs; [
kdePackages.plasma-browser-integration
kdePackages.xdg-desktop-portal-kde
konsave # save configs
# kdePackages.kwayland
];
services.desktopManager.plasma6.notoPackage = pkgs.fira-code;
};
@@ -27,7 +27,7 @@ in
ollama = {
autoStart = true;
image = "ollama/ollama";
extraOptions = [ "--gpus" "all" ];
extraOptions = [ "--device=nvidia.com/gpu=all" ];
ports = [ "11434:11434" ];
volumes = [ "ollama:/root/.ollama" ];
};