feat: add Ollama and Qdrant service modules to configuration
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user