Remove ollama

This commit is contained in:
2025-12-13 10:49:23 -05:00
parent 7e746d05e0
commit 1497b3e680
3 changed files with 19 additions and 52 deletions

View File

@@ -32,10 +32,6 @@
boot = {
kernelModules = [
"kvm-amd"
"vfio_pci"
"vfio"
"vfio_iommu_type1"
"vfio_virqfd"
];
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [
@@ -334,34 +330,6 @@
package = unstable.tailscale;
};
services.ollama = {
package = pkgs.ollama;
enable = true;
# acceleration = "rocm";
host = "0.0.0.0";
environmentVariables = {
HSA_OVERRIDE_GFX_VERSION = "11.0.2";
};
loadModels = [
"dolphin3:8b"
"llama3.1"
"llava"
];
};
services.open-webui = {
enable = true;
package = pkgs.open-webui;
host = "0.0.0.0";
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api";
OLLAMA_BASE_URL = "http://127.0.0.1:11434";
};
};
services.opensnitch = {
enable = true;
rules = {

View File

@@ -16,7 +16,7 @@
users.users."dave.gallant".home = "/Users/dave.gallant";
users.users."dave.gallant".shell = pkgs.fish;
programs.fish.enable = true;
system.primaryUser = "dave.gallant";
@@ -104,7 +104,6 @@
"lulu"
"notunes"
"obsidian"
"ollama"
"raycast"
"rectangle"
"signal"