feat: add Ollama and Qdrant service modules to configuration
This commit is contained in:
parent
934471bd88
commit
ecf3e03e81
3 changed files with 22 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ in {
|
|||
./utils/modules/autoupgrade.nix
|
||||
./modules/puppeteer.nix
|
||||
./modules/mcp-global.nix
|
||||
./modules/ollama.nix
|
||||
./modules/qdrant.nix
|
||||
|
||||
# ./modules/development
|
||||
|
||||
|
|
|
|||
13
hosts/nb/modules/ollama.nix
Normal file
13
hosts/nb/modules/ollama.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
host = "127.0.0.1";
|
||||
port = 11434;
|
||||
openFirewall = false;
|
||||
loadModels = [
|
||||
"mxbai-embed-large"
|
||||
];
|
||||
};
|
||||
}
|
||||
7
hosts/nb/modules/qdrant.nix
Normal file
7
hosts/nb/modules/qdrant.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.qdrant = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue