Compare commits
3 Commits
e9f20d7dda
...
08baa5ee83
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08baa5ee83 | ||
|
|
114644ce63 | ||
|
|
411c67d2c6 |
26
flake.lock
generated
26
flake.lock
generated
@@ -24,11 +24,11 @@
|
||||
"agents": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1772563257,
|
||||
"narHash": "sha256-hp6Q8TVP9xZeBFgZm51ndCacmVZxucZzLtj12pzD6c0=",
|
||||
"lastModified": 1773479083,
|
||||
"narHash": "sha256-qwope4VrtrMsebTjyqhiwO6NxZ4t8kk+65K8y41ada0=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "39ac89f388532e9a7629808037791c64cd5fc13c",
|
||||
"revCount": 63,
|
||||
"rev": "8bcb5e11fbfeb4c00b81358163162324d0893ff8",
|
||||
"revCount": 64,
|
||||
"type": "git",
|
||||
"url": "https://code.m3ta.dev/m3tam3re/AGENTS"
|
||||
},
|
||||
@@ -343,11 +343,11 @@
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772864581,
|
||||
"narHash": "sha256-+AiWgqbKkjU1W/S/U7ktSoScMa4+z9APtJx+3gEDcCQ=",
|
||||
"lastModified": 1773459162,
|
||||
"narHash": "sha256-QdrMe4cftS8ALHB2+DTNOZIkw+rqddm5lcsAhm/voqk=",
|
||||
"owner": "numtide",
|
||||
"repo": "llm-agents.nix",
|
||||
"rev": "856b24f862d0a19b7764f35ee9a7546309e605a0",
|
||||
"rev": "64d8585ea7ba1a88b1afa82a89bdd10d4c894f45",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -575,11 +575,11 @@
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1772736753,
|
||||
"narHash": "sha256-au/m3+EuBLoSzWUCb64a/MZq6QUtOV8oC0D9tY2scPQ=",
|
||||
"lastModified": 1773231277,
|
||||
"narHash": "sha256-Xy3WEpUAbpsz8ydgvVAQAGGB/WB+8cNA5cshiL0McTI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "917fec990948658ef1ccd07cef2a1ef060786846",
|
||||
"rev": "75690239f08f885ca9b0267580101f60d10fbe62",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -841,11 +841,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1772660329,
|
||||
"narHash": "sha256-IjU1FxYqm+VDe5qIOxoW+pISBlGvVApRjiw/Y/ttJzY=",
|
||||
"lastModified": 1773297127,
|
||||
"narHash": "sha256-6E/yhXP7Oy/NbXtf1ktzmU8SdVqJQ09HC/48ebEGBpk=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "3710e0e1218041bbad640352a0440114b1e10428",
|
||||
"rev": "71b125cd05fbfd78cab3e070b73544abe24c5016",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -52,7 +52,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 zed
|
||||
set -x XDG_DATA_HOME $HOME/.local/share
|
||||
|
||||
@@ -16,7 +16,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 = "zed"
|
||||
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
||||
|
||||
@@ -1,7 +1,45 @@
|
||||
{pkgs, ...}: {
|
||||
{pkgs, videoDrivers, ...}: {
|
||||
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"];
|
||||
};
|
||||
Anytype = {
|
||||
command = "sh";
|
||||
args = ["-c" "OPENAPI_MCP_HEADERS=$(cat /run/agenix/anytype-key) exec bunx @anyproto/anytype-mcp"];
|
||||
disabled = true;
|
||||
};
|
||||
Basecamp = {
|
||||
command = "/home/m3tam3re/p/AI/Basecamp-MCP-Server/venv/bin/python";
|
||||
args = ["/home/m3tam3re/p/AI/Basecamp-MCP-Server/basecamp_fastmcp.py"];
|
||||
env = {
|
||||
PYTHONPATH = "/home/m3tam3re/p/PYTHON/Basecamp-MCP-Server";
|
||||
VIRTUAL_ENV = "/home/m3tam3re/p/PYTHON/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
|
||||
@@ -27,9 +65,10 @@
|
||||
nodejs
|
||||
opencode-desktop
|
||||
(qmd.override {
|
||||
vulkanSupport = true;
|
||||
cudaSupport = false;
|
||||
vulkanSupport = videoDrivers == ["amdgpu"];
|
||||
cudaSupport = videoDrivers == ["nvidia"];
|
||||
})
|
||||
pi
|
||||
alejandra
|
||||
sidecar
|
||||
tailwindcss
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
enableMcpIntegration = true;
|
||||
settings = {
|
||||
theme = "opencode";
|
||||
plugin = ["oh-my-opencode" "opencode-antigravity-auth@beta"];
|
||||
@@ -36,57 +37,6 @@
|
||||
extensions = [".nix"];
|
||||
};
|
||||
};
|
||||
mcp = {
|
||||
Ref = {
|
||||
type = "local";
|
||||
command = [
|
||||
"sh"
|
||||
"-c"
|
||||
"REF_API_KEY=$(cat /run/agenix/ref-key) exec bunx ref-tools-mcp@latest"
|
||||
];
|
||||
enabled = true;
|
||||
};
|
||||
Anytype = {
|
||||
type = "local";
|
||||
command = [
|
||||
"sh"
|
||||
"-c"
|
||||
"OPENAPI_MCP_HEADERS=$(cat /run/agenix/anytype-key) exec bunx @anyproto/anytype-mcp"
|
||||
];
|
||||
enabled = false;
|
||||
};
|
||||
Basecamp = {
|
||||
type = "local";
|
||||
command = [
|
||||
"/home/m3tam3re/p/AI/Basecamp-MCP-Server/venv/bin/python"
|
||||
"/home/m3tam3re/p/AI/Basecamp-MCP-Server/basecamp_fastmcp.py"
|
||||
];
|
||||
environment = {
|
||||
PYTHONPATH = "/home/m3tam3re/p/PYTHON/Basecamp-MCP-Server";
|
||||
VIRTUAL_ENV = "/home/m3tam3re/p/PYTHON/Basecamp-MCP-Server/venv";
|
||||
BASECAMP_ACCOUNT_ID = "5996442";
|
||||
};
|
||||
enabled = false;
|
||||
};
|
||||
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;
|
||||
};
|
||||
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;
|
||||
};
|
||||
};
|
||||
provider = {
|
||||
litellm = {
|
||||
npm = "@ai-sdk/openai-compatible";
|
||||
|
||||
@@ -48,7 +48,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";
|
||||
@@ -58,64 +58,42 @@
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
programs.kitty = {
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
shellIntegration = {
|
||||
enableFishIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
};
|
||||
font = {name = "Fira Code";};
|
||||
|
||||
settings = {
|
||||
copy_on_select = "yes";
|
||||
font-family = "Fira Code";
|
||||
copy-on-select = true;
|
||||
|
||||
# Base colors
|
||||
# Base colors from nix-colors
|
||||
foreground = "#${config.colorScheme.palette.base05}";
|
||||
background = "#${config.colorScheme.palette.base00}";
|
||||
selection_foreground = "#${config.colorScheme.palette.base07}";
|
||||
selection_background = "#${config.colorScheme.palette.base02}";
|
||||
|
||||
# URL color
|
||||
url_color = "#${config.colorScheme.palette.base08}";
|
||||
selection-foreground = "#${config.colorScheme.palette.base07}";
|
||||
selection-background = "#${config.colorScheme.palette.base02}";
|
||||
|
||||
# Cursor
|
||||
cursor = "#${config.colorScheme.palette.base05}";
|
||||
cursor_text_color = "#${config.colorScheme.palette.base00}";
|
||||
cursor-color = "#${config.colorScheme.palette.base05}";
|
||||
|
||||
# Colors 0-15
|
||||
color0 = "#${config.colorScheme.palette.base01}";
|
||||
color8 = "#${config.colorScheme.palette.base03}";
|
||||
|
||||
color1 = "#${config.colorScheme.palette.base08}";
|
||||
color9 = "#${config.colorScheme.palette.base08}";
|
||||
|
||||
color2 = "#${config.colorScheme.palette.base0B}";
|
||||
color10 = "#${config.colorScheme.palette.base0B}";
|
||||
|
||||
color3 = "#${config.colorScheme.palette.base0A}";
|
||||
color11 = "#${config.colorScheme.palette.base0A}";
|
||||
|
||||
color4 = "#${config.colorScheme.palette.base0D}";
|
||||
color12 = "#${config.colorScheme.palette.base0D}";
|
||||
|
||||
color5 = "#${config.colorScheme.palette.base0E}";
|
||||
color13 = "#${config.colorScheme.palette.base0E}";
|
||||
|
||||
color6 = "#${config.colorScheme.palette.base0C}";
|
||||
color14 = "#${config.colorScheme.palette.base0C}";
|
||||
|
||||
color7 = "#${config.colorScheme.palette.base05}";
|
||||
color15 = "#${config.colorScheme.palette.base07}";
|
||||
|
||||
# Tab colors
|
||||
active_tab_foreground = "#${config.colorScheme.palette.base00}";
|
||||
active_tab_background = "#${config.colorScheme.palette.base05}";
|
||||
inactive_tab_foreground = "#${config.colorScheme.palette.base05}";
|
||||
inactive_tab_background = "#${config.colorScheme.palette.base01}";
|
||||
|
||||
# Mark colors
|
||||
mark1_foreground = "#${config.colorScheme.palette.base00}";
|
||||
mark1_background = "#${config.colorScheme.palette.base08}";
|
||||
# Palette (16 colors)
|
||||
palette = [
|
||||
"0=#${config.colorScheme.palette.base01}"
|
||||
"1=#${config.colorScheme.palette.base08}"
|
||||
"2=#${config.colorScheme.palette.base0B}"
|
||||
"3=#${config.colorScheme.palette.base0A}"
|
||||
"4=#${config.colorScheme.palette.base0D}"
|
||||
"5=#${config.colorScheme.palette.base0E}"
|
||||
"6=#${config.colorScheme.palette.base0C}"
|
||||
"7=#${config.colorScheme.palette.base05}"
|
||||
"8=#${config.colorScheme.palette.base03}"
|
||||
"9=#${config.colorScheme.palette.base08}"
|
||||
"10=#${config.colorScheme.palette.base0B}"
|
||||
"11=#${config.colorScheme.palette.base0A}"
|
||||
"12=#${config.colorScheme.palette.base0D}"
|
||||
"13=#${config.colorScheme.palette.base0E}"
|
||||
"14=#${config.colorScheme.palette.base0C}"
|
||||
"15=#${config.colorScheme.palette.base07}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -155,7 +155,7 @@ in {
|
||||
"border_color rgb(ffffff), match:xwayland 1"
|
||||
];
|
||||
"$mainMod" = "SUPER";
|
||||
"$terminal" = "kitty";
|
||||
"$terminal" = "ghostty";
|
||||
|
||||
bind = [
|
||||
"$mainMod, return, exec, $terminal nu -c zellij-ps"
|
||||
|
||||
@@ -17,7 +17,6 @@ in {
|
||||
# makemkv
|
||||
# mediainfo
|
||||
amf
|
||||
blueberry
|
||||
ffmpeg_6-full
|
||||
gimp
|
||||
gst_all_1.gstreamer
|
||||
|
||||
@@ -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;
|
||||
@@ -199,7 +199,7 @@ in {
|
||||
args = "";
|
||||
};
|
||||
};
|
||||
terminal = pkgs.kitty;
|
||||
terminal = pkgs.ghostty;
|
||||
terminalCommand = "opencode %a";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -21,6 +21,7 @@ in {
|
||||
};
|
||||
};
|
||||
programs.virt-manager.enable = true;
|
||||
systemd.services.virt-secret-init-encryption.enable = false;
|
||||
environment = {
|
||||
systemPackages = [pkgs.qemu];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user