add ollama
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,24 @@
|
|||||||
catppuccin
|
catppuccin
|
||||||
|
|
||||||
janitor
|
janitor
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
cloudflared
|
||||||
|
|
||||||
|
portmap
|
||||||
|
searxng
|
||||||
|
copyparty
|
||||||
|
# glances
|
||||||
|
invidious
|
||||||
|
mailserver
|
||||||
|
# matrix
|
||||||
|
# redlib
|
||||||
|
# sish
|
||||||
|
# vscode-server
|
||||||
|
gitea
|
||||||
|
|
||||||
|
ollama
|
||||||
];
|
];
|
||||||
|
|
||||||
nixos = {
|
nixos = {
|
||||||
|
|||||||
@@ -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";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
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;
|
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