Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d74de8b58c
|
||
|
|
12adcfed1c
|
@@ -20,6 +20,15 @@ in
|
||||
"$HOME/.antigravity-server"
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
sshfs
|
||||
nixd
|
||||
home-assistant-cli
|
||||
yt-dlp
|
||||
attic-client
|
||||
opencode
|
||||
];
|
||||
|
||||
systemd.user.mounts."${haremote-unit}" = {
|
||||
Unit = {
|
||||
Description = "Mount ${haremote-path}";
|
||||
|
||||
@@ -24,15 +24,6 @@
|
||||
|
||||
programs.fuse.enable = true; # for ~/src/haremote mount
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# TODO: move below into hosts/deimos/home.nix
|
||||
sshfs
|
||||
nixd
|
||||
home-assistant-cli
|
||||
yt-dlp
|
||||
attic-client
|
||||
];
|
||||
|
||||
# For building RPi configs. Extra steps are handled by the host (nas).
|
||||
# https://discuss.linuxcontainers.org/t/systemd-binfmt-service-is-masked/21566/4
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"provider": {
|
||||
"local-ollama": {
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"name": "Ollama",
|
||||
"options": {
|
||||
"baseURL": "http://ollama.home.arpa:11434/v1",
|
||||
"apiKey": "ollama"
|
||||
},
|
||||
"models": {
|
||||
"gemma4:26b": {
|
||||
"limit": {
|
||||
"context": 48000,
|
||||
"output": 8192
|
||||
},
|
||||
"tools": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"model": "local-ollama/gemma4:26b",
|
||||
"compaction": {
|
||||
"auto": true,
|
||||
"prune": true,
|
||||
"threshold": 0.75,
|
||||
"preserve_recent_tokens": 16384,
|
||||
"reserved": 8192
|
||||
},
|
||||
"tool_output": {
|
||||
"max_bytes": 16384,
|
||||
"max_lines": 200
|
||||
},
|
||||
"mcp": {
|
||||
"nix": {
|
||||
"type": "local",
|
||||
"command": [
|
||||
"nix",
|
||||
"run",
|
||||
"github:utensils/mcp-nixos",
|
||||
"--"
|
||||
],
|
||||
"enabled": true
|
||||
},
|
||||
"gitea": {
|
||||
"type": "local",
|
||||
"command": [
|
||||
"nix",
|
||||
"run",
|
||||
"nixpkgs#gitea-mcp-server",
|
||||
"--"
|
||||
],
|
||||
"enabled": true
|
||||
},
|
||||
"ha": {
|
||||
"type": "local",
|
||||
"command": [
|
||||
"nix",
|
||||
"shell",
|
||||
"nixpkgs#uv",
|
||||
"nixpkgs#python3",
|
||||
"--command",
|
||||
"uv",
|
||||
"tool",
|
||||
"run",
|
||||
"ha-mcp"
|
||||
],
|
||||
"environment": {
|
||||
"UV_PYTHON_DOWNLOADS": "never",
|
||||
"UV_PYTHON_PREFERENCE": "system"
|
||||
},
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user