forgot to change the blobercraft path to blob

This commit is contained in:
Squibid 2025-11-26 14:27:22 -05:00
parent 3d71ed911d
commit 9f388d75d8
Signed by: squibid
GPG key ID: BECE5684D3C4005D
7 changed files with 0 additions and 0 deletions

34
hosts/blob/ai.nix Normal file
View file

@ -0,0 +1,34 @@
{ lib, config, ... }:
{
options.ai.enable = lib.mkEnableOption "enable ai services";
config = lib.mkIf config.ai.enable {
fileSystems."/mnt/priv" = {
device = "192.168.50.240:/mnt/tank/Private";
fsType = "nfs";
options = [ "defaults" ];
};
services.gatus.settings.endpoints = [
{
name = "open-webui";
group = "local";
url = "http://0.0.0.0:${config.services.open-webui.port}/System/Ping";
interval = "5m";
# conditions = [''[BODY] == "Jellyfin Server"'']; # TODO:
}
];
services = {
ollama = {
enable = true;
# Optional: preload models, see https://ollama.com/library
loadModels = [ "llama3.2:3b" "deepseek-r1:1.5b"];
};
open-webui = {
enable = true;
port = 2333;
openFirewall = true;
};
};
};
}