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

@@ -2,4 +2,4 @@
# Do not delete. # Do not delete.
folderID: nix folderID: nix
created: 2026-01-29T23:06:32-06:00 created: 2026-01-29T23:05:44-06:00

View File

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

View File

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

View File

@@ -4,7 +4,7 @@
imports = [ imports = [
(fetchTarball { (fetchTarball {
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/master.tar.gz"; 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; virt-manager.enable = true;
}; };
services.ollama = {
enable = false;
loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b" "deepseek-r1:8b" ];
};
}; };
}; };
} }