This commit is contained in:
2026-03-16 07:47:22 +01:00
parent 57bc3b9453
commit 60fbc75d5e
9 changed files with 59 additions and 69 deletions

View File

@@ -15,7 +15,7 @@ in {
set -x NIX_PATH nixpkgs=channel:nixos-unstable
set -x NIX_LOG info
set -x WEBKIT_DISABLE_COMPOSITING_MODE 1
set -x TERMINAL kitty
set -x TERMINAL ghostty
set -x EDITOR nvim
set -x VISUAL zeditor
set -x XDG_DATA_HOME $HOME/.local/share

View File

@@ -17,7 +17,7 @@ in {
$env.NIX_PATH = "nixpkgs=channel:nixos-unstable"
$env.NIX_LOG = "iunfo"
$env.WEBKIT_DISABLE_COMPOSITING_MODE = "1"
$env.TERMINAL = "kitty"
$env.TERMINAL = "ghostty"
$env.EDITOR = "nvim"
$env.VISUAL = "zeditor"
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"

View File

@@ -2,12 +2,45 @@
imports = [
./opencode.nix
];
programs.mcp = {
enable = true;
servers = {
Ref = {
command = "sh";
args = ["-c" "REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"];
};
Basecamp = {
command = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv/bin/python";
args = ["/home/sascha.koenig/p/AI/Basecamp-MCP-Server/basecamp_fastmcp.py"];
env = {
PYTHONPATH = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server";
VIRTUAL_ENV = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv";
BASECAMP_ACCOUNT_ID = "5996442";
};
disabled = true;
};
Exa = {
command = "sh";
args = ["-c" "EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"];
};
Outline = {
command = "sh";
args = ["-c" "OUTLINE_API_KEY=$(cat /run/agenix/outline-key) OUTLINE_API_URL=https://wiki.az-gruppe.com/api OUTLINE_DISABLE_DELETE=true exec uv tool run mcp-outline"];
disabled = true;
};
ContextMode = {
command = "sh";
args = ["-c" "exec bunx context-mode@latest"];
};
};
};
home.packages = with pkgs; [
agenix-cli
alejandra
bc
bun
devpod
kitty
#devpod-desktop
(python3.withPackages (ps:
with ps; [

View File

@@ -20,6 +20,7 @@
programs.opencode = {
enable = true;
enableMcpIntegration = true;
settings = {
theme = "opencode";
plugin = ["oh-my-opencode" "opencode-beads"];
@@ -79,48 +80,6 @@
};
};
};
mcp = {
Ref = {
type = "local";
command = [
"sh"
"-c"
"REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"
];
enabled = true;
};
Exa = {
type = "local";
command = [
"sh"
"-c"
"EXA_API_KEY=$(cat /run/agenix/exa-key) exec bunx exa-mcp-server@latest tools=web_search_exa"
];
enabled = true;
};
Basecamp = {
type = "local";
command = [
"/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv/bin/python"
"/home/sascha.koenig/p/AI/Basecamp-MCP-Server/basecamp_fastmcp.py"
];
environment = {
PYTHONPATH = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server";
VIRTUAL_ENV = "/home/sascha.koenig/p/AI/Basecamp-MCP-Server/venv";
BASECAMP_ACCOUNT_ID = "5996442";
};
enabled = false;
};
Outline = {
type = "local";
command = [
"sh"
"-c"
"OUTLINE_API_KEY=$(cat /run/agenix/outline-key) OUTLINE_API_URL=https://wiki.az-gruppe.com/api OUTLINE_DISABLE_DELETE=true exec uv tool run mcp-outline"
];
enabled = false;
};
};
};
};

View File

@@ -43,7 +43,7 @@
home.sessionVariables = {
WEBKIT_DISABLE_COMPOSITING_MODE = "1";
NIXOS_OZONE_WL = "1";
TERMINAL = "kitty";
TERMINAL = "ghostty";
QT_QPA_PLATFORM = "wayland";
XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland";
@@ -53,15 +53,13 @@
fonts.fontconfig.enable = true;
programs.kitty = {
programs.ghostty = {
enable = true;
shellIntegration = {
enableFishIntegration = true;
enableBashIntegration = true;
settings = {
font-family = "Fira Code";
theme = "Dracula";
copy-on-select = "clipboard";
};
font = {name = "Fira Code";};
themeFile = "Dracula";
settings = {copy_on_select = "yes";};
};
home.pointerCursor = {

View File

@@ -155,7 +155,7 @@ in {
];
"$mainMod" = "SUPER";
"$terminal" = "uwsm app -- kitty";
"$terminal" = "uwsm app -- ghostty";
bind = [
"$mainMod, return, exec, nu -c zellij-ps"

View File

@@ -23,7 +23,7 @@ in {
enable = true;
package = rofi-pass-wayland;
};
terminal = "\${pkgs.kitty}/bin/kitty";
terminal = "\${pkgs.ghostty}/bin/ghostty";
font = "Fira Code";
extraConfig = {
show-icons = true;
@@ -195,7 +195,7 @@ in {
args = "--agent chiron";
};
};
terminal = pkgs.kitty;
terminal = pkgs.ghostty;
terminalCommand = "opencode %a";
};
};