remove ai bs
This commit is contained in:
parent
0a666d76f6
commit
bf16b298c1
2 changed files with 0 additions and 36 deletions
|
|
@ -1,34 +0,0 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -11,13 +11,11 @@
|
|||
./gatus.nix
|
||||
./actual.nix
|
||||
./git.nix
|
||||
./ai.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# ai.enable = true;
|
||||
jellyfin.enable = false;
|
||||
minecraft.enable = true;
|
||||
actual.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue