updated nvim config, added local_ai

This commit is contained in:
2026-08-16 10:16:13 -07:00
parent 35cf83cb70
commit da513216a3
17 changed files with 734 additions and 321 deletions

View File

@@ -8,5 +8,18 @@
ghidra
antigravity-cli
pi-coding-agent
# Clang & LLVM Toolchain
llvmPackages_latest.clang
llvmPackages_latest.lld
llvmPackages_latest.lldb
llvmPackages_latest.llvm
llvmPackages_latest.clang-tools
llvmPackages_latest.libcxx
# Nix Tools
nil
nixfmt
statix
];
}

38
modules/apps/local_ai.nix Normal file
View File

@@ -0,0 +1,38 @@
{ pkgs, inputs, ... }:
{
imports = [
inputs.comfy-ui.nixosModules.default
];
services = {
comfyui = {
enable = true;
gpuSupport = "cuda";
enableManager = true;
port = 8188;
listenAddress = "0.0.0.0";
dataDir = "/var/lib/comfyui";
user = "comfyui";
group = "comfyui";
createUser = true;
};
ollama = {
enable = true;
package = pkgs.ollama-cuda;
host = "0.0.0.0";
port = 11434;
user = "ollama";
group = "ollama";
home = "/var/lib/ollama";
};
open-webui.enable = true;
};
environment.systemPackages = with pkgs; [
comfy-ui-cuda
ollama-cuda
];
}