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

26
flake.lock generated
View File

@@ -24,11 +24,11 @@
"agents": { "agents": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1772563257, "lastModified": 1773479083,
"narHash": "sha256-hp6Q8TVP9xZeBFgZm51ndCacmVZxucZzLtj12pzD6c0=", "narHash": "sha256-qwope4VrtrMsebTjyqhiwO6NxZ4t8kk+65K8y41ada0=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "39ac89f388532e9a7629808037791c64cd5fc13c", "rev": "8bcb5e11fbfeb4c00b81358163162324d0893ff8",
"revCount": 63, "revCount": 64,
"type": "git", "type": "git",
"url": "https://code.m3ta.dev/m3tam3re/AGENTS" "url": "https://code.m3ta.dev/m3tam3re/AGENTS"
}, },
@@ -492,11 +492,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1773201098, "lastModified": 1773631298,
"narHash": "sha256-yq35qMKDHyMdVlhGfR5BojbjniY2cY9XYmiILeCf1Xc=", "narHash": "sha256-ayzlBBwiXP30BiI+T4POukapy+x0TG7MVsWbTIfUDac=",
"owner": "numtide", "owner": "numtide",
"repo": "llm-agents.nix", "repo": "llm-agents.nix",
"rev": "8578734bf5087a1ca45033c2ec8e1a2228f9b95c", "rev": "49964b8b4efa9ed7ffab7cbd63497ab029bdfc82",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -774,11 +774,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1772956932, "lastModified": 1773507054,
"narHash": "sha256-M0yS4AafhKxPPmOHGqIV0iKxgNO8bHDWdl1kOwGBwRY=", "narHash": "sha256-Q8U5VXgrcxmCxPtCCJCIZkcAX3FCZwGh1GNVIXxMND0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "608d0cadfed240589a7eea422407a547ad626a14", "rev": "e80236013dc8b77aa49ca90e7a12d86f5d8d64c9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1057,11 +1057,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1772660329, "lastModified": 1773297127,
"narHash": "sha256-IjU1FxYqm+VDe5qIOxoW+pISBlGvVApRjiw/Y/ttJzY=", "narHash": "sha256-6E/yhXP7Oy/NbXtf1ktzmU8SdVqJQ09HC/48ebEGBpk=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "3710e0e1218041bbad640352a0440114b1e10428", "rev": "71b125cd05fbfd78cab3e070b73544abe24c5016",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

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

View File

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

View File

@@ -2,12 +2,45 @@
imports = [ imports = [
./opencode.nix ./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; [ home.packages = with pkgs; [
agenix-cli agenix-cli
alejandra alejandra
bc bc
bun bun
devpod devpod
kitty
#devpod-desktop #devpod-desktop
(python3.withPackages (ps: (python3.withPackages (ps:
with ps; [ with ps; [

View File

@@ -20,6 +20,7 @@
programs.opencode = { programs.opencode = {
enable = true; enable = true;
enableMcpIntegration = true;
settings = { settings = {
theme = "opencode"; theme = "opencode";
plugin = ["oh-my-opencode" "opencode-beads"]; 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 = { home.sessionVariables = {
WEBKIT_DISABLE_COMPOSITING_MODE = "1"; WEBKIT_DISABLE_COMPOSITING_MODE = "1";
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
TERMINAL = "kitty"; TERMINAL = "ghostty";
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";
XDG_CURRENT_DESKTOP = "Hyprland"; XDG_CURRENT_DESKTOP = "Hyprland";
XDG_SESSION_TYPE = "wayland"; XDG_SESSION_TYPE = "wayland";
@@ -53,15 +53,13 @@
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
programs.kitty = { programs.ghostty = {
enable = true; enable = true;
shellIntegration = { settings = {
enableFishIntegration = true; font-family = "Fira Code";
enableBashIntegration = true; theme = "Dracula";
copy-on-select = "clipboard";
}; };
font = {name = "Fira Code";};
themeFile = "Dracula";
settings = {copy_on_select = "yes";};
}; };
home.pointerCursor = { home.pointerCursor = {

View File

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

View File

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

View File

@@ -7,5 +7,5 @@
zellij-ps = pkgs.callPackage ./zellij-ps {}; zellij-ps = pkgs.callPackage ./zellij-ps {};
aider-chat-env = pkgs.callPackage ./aider-chat-env {}; aider-chat-env = pkgs.callPackage ./aider-chat-env {};
code2prompt = pkgs.callPackage ./code2prompt {}; code2prompt = pkgs.callPackage ./code2prompt {};
pomodoro-timer = pkgs.callPackage ./pomodoro-timer {}; # pomodoro-timer = pkgs.callPackage ./pomodoro-timer {};
} }