add ollama
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,24 @@
|
||||
catppuccin
|
||||
|
||||
janitor
|
||||
|
||||
|
||||
|
||||
cloudflared
|
||||
|
||||
portmap
|
||||
searxng
|
||||
copyparty
|
||||
# glances
|
||||
invidious
|
||||
mailserver
|
||||
# matrix
|
||||
# redlib
|
||||
# sish
|
||||
# vscode-server
|
||||
gitea
|
||||
|
||||
ollama
|
||||
];
|
||||
|
||||
nixos = {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
imports = [
|
||||
(fetchTarball {
|
||||
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/master.tar.gz";
|
||||
sha256 = "1n5yxya54mdsjmdix0pjzlqbk49jqf0gfhmgqc3lywxifrdi6k0q";
|
||||
sha256 = "0j3q1i80zcb94ylivyyqfid4h2js1dycf0fa6y5gdbr48ldgz3nb";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
11
modules/software/ollama.nix
Normal file
11
modules/software/ollama.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ ... }: {
|
||||
den.aspects.ollama = {
|
||||
nixos = {
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
|
||||
loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b" "deepseek-r1:8b" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -18,11 +18,6 @@
|
||||
|
||||
virt-manager.enable = true;
|
||||
};
|
||||
|
||||
services.ollama = {
|
||||
enable = false;
|
||||
loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b" "deepseek-r1:8b" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user