nix/nixos/common/services/ollama.nix

17 lines
244 B
Nix
Raw Normal View History

2024-01-05 10:54:56 +01:00
{ pkgs, ... }: {
2024-12-17 22:58:58 +01:00
environment.systemPackages = [
pkgs.oterm
];
2024-12-17 19:51:54 +01:00
services.ollama = {
enable = true;
2024-12-17 20:53:54 +01:00
openFirewall = true;
2024-12-17 19:51:54 +01:00
loadModels = [
2024-12-17 22:58:58 +01:00
"vanilj/Phi-4"
"qwen2.5-coder:3b"
"qwen2.5-coder:0.5b"
2024-12-17 19:51:54 +01:00
];
};
}