add ollama

This commit is contained in:
4DBug
2026-03-05 21:53:02 -06:00
parent 20bd5609e4
commit c9ad8e0e55
6 changed files with 33 additions and 9 deletions

View File

@@ -8,8 +8,8 @@
blocklist = {
include_subdomains = true;
lists = [
"https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts"
"https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt"
#"https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts"
#"https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt"
];
};

View File

@@ -8,6 +8,24 @@
catppuccin
janitor
cloudflared
portmap
searxng
copyparty
# glances
invidious
mailserver
# matrix
# redlib
# sish
# vscode-server
gitea
ollama
];
nixos = {

View File

@@ -4,7 +4,7 @@
imports = [
(fetchTarball {
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/master.tar.gz";
sha256 = "1n5yxya54mdsjmdix0pjzlqbk49jqf0gfhmgqc3lywxifrdi6k0q";
sha256 = "0j3q1i80zcb94ylivyyqfid4h2js1dycf0fa6y5gdbr48ldgz3nb";
})
];

View File

@@ -0,0 +1,11 @@
{ ... }: {
den.aspects.ollama = {
nixos = {
services.ollama = {
enable = true;
loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b" "deepseek-r1:8b" ];
};
};
};
}

View File

@@ -18,11 +18,6 @@
virt-manager.enable = true;
};
services.ollama = {
enable = false;
loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b" "deepseek-r1:8b" ];
};
};
};
}