Clean up & fixing ollama service
This commit is contained in:
1 parent
4fdc7a368a
commit
4a610d2979
3 files changed
+2
-18
No files matched your search
@@ -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" ];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user