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": {
|
"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"
|
||||||
},
|
},
|
||||||
@@ -343,11 +343,11 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772864581,
|
"lastModified": 1773459162,
|
||||||
"narHash": "sha256-+AiWgqbKkjU1W/S/U7ktSoScMa4+z9APtJx+3gEDcCQ=",
|
"narHash": "sha256-QdrMe4cftS8ALHB2+DTNOZIkw+rqddm5lcsAhm/voqk=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "llm-agents.nix",
|
"repo": "llm-agents.nix",
|
||||||
"rev": "856b24f862d0a19b7764f35ee9a7546309e605a0",
|
"rev": "64d8585ea7ba1a88b1afa82a89bdd10d4c894f45",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -575,11 +575,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772736753,
|
"lastModified": 1773231277,
|
||||||
"narHash": "sha256-au/m3+EuBLoSzWUCb64a/MZq6QUtOV8oC0D9tY2scPQ=",
|
"narHash": "sha256-Xy3WEpUAbpsz8ydgvVAQAGGB/WB+8cNA5cshiL0McTI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "917fec990948658ef1ccd07cef2a1ef060786846",
|
"rev": "75690239f08f885ca9b0267580101f60d10fbe62",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -841,11 +841,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": {
|
||||||
|
|||||||
@@ -52,7 +52,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 zed
|
set -x VISUAL zed
|
||||||
set -x XDG_DATA_HOME $HOME/.local/share
|
set -x XDG_DATA_HOME $HOME/.local/share
|
||||||
|
|||||||
@@ -16,7 +16,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 = "zed"
|
$env.VISUAL = "zed"
|
||||||
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
||||||
|
|||||||
@@ -1,7 +1,45 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, videoDrivers, ...}: {
|
||||||
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"];
|
||||||
|
};
|
||||||
|
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; [
|
home.packages = with pkgs; [
|
||||||
agenix-cli
|
agenix-cli
|
||||||
alejandra
|
alejandra
|
||||||
@@ -27,9 +65,10 @@
|
|||||||
nodejs
|
nodejs
|
||||||
opencode-desktop
|
opencode-desktop
|
||||||
(qmd.override {
|
(qmd.override {
|
||||||
vulkanSupport = true;
|
vulkanSupport = videoDrivers == ["amdgpu"];
|
||||||
cudaSupport = false;
|
cudaSupport = videoDrivers == ["nvidia"];
|
||||||
})
|
})
|
||||||
|
pi
|
||||||
alejandra
|
alejandra
|
||||||
sidecar
|
sidecar
|
||||||
tailwindcss
|
tailwindcss
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
programs.opencode = {
|
programs.opencode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableMcpIntegration = true;
|
||||||
settings = {
|
settings = {
|
||||||
theme = "opencode";
|
theme = "opencode";
|
||||||
plugin = ["oh-my-opencode" "opencode-antigravity-auth@beta"];
|
plugin = ["oh-my-opencode" "opencode-antigravity-auth@beta"];
|
||||||
@@ -36,57 +37,6 @@
|
|||||||
extensions = [".nix"];
|
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 = {
|
provider = {
|
||||||
litellm = {
|
litellm = {
|
||||||
npm = "@ai-sdk/openai-compatible";
|
npm = "@ai-sdk/openai-compatible";
|
||||||
|
|||||||
@@ -48,7 +48,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";
|
||||||
@@ -58,64 +58,42 @@
|
|||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
programs.kitty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellIntegration = {
|
enableFishIntegration = true;
|
||||||
enableFishIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableBashIntegration = true;
|
|
||||||
};
|
|
||||||
font = {name = "Fira Code";};
|
|
||||||
|
|
||||||
settings = {
|
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}";
|
foreground = "#${config.colorScheme.palette.base05}";
|
||||||
background = "#${config.colorScheme.palette.base00}";
|
background = "#${config.colorScheme.palette.base00}";
|
||||||
selection_foreground = "#${config.colorScheme.palette.base07}";
|
selection-foreground = "#${config.colorScheme.palette.base07}";
|
||||||
selection_background = "#${config.colorScheme.palette.base02}";
|
selection-background = "#${config.colorScheme.palette.base02}";
|
||||||
|
|
||||||
# URL color
|
|
||||||
url_color = "#${config.colorScheme.palette.base08}";
|
|
||||||
|
|
||||||
# Cursor
|
# Cursor
|
||||||
cursor = "#${config.colorScheme.palette.base05}";
|
cursor-color = "#${config.colorScheme.palette.base05}";
|
||||||
cursor_text_color = "#${config.colorScheme.palette.base00}";
|
|
||||||
|
|
||||||
# Colors 0-15
|
# Palette (16 colors)
|
||||||
color0 = "#${config.colorScheme.palette.base01}";
|
palette = [
|
||||||
color8 = "#${config.colorScheme.palette.base03}";
|
"0=#${config.colorScheme.palette.base01}"
|
||||||
|
"1=#${config.colorScheme.palette.base08}"
|
||||||
color1 = "#${config.colorScheme.palette.base08}";
|
"2=#${config.colorScheme.palette.base0B}"
|
||||||
color9 = "#${config.colorScheme.palette.base08}";
|
"3=#${config.colorScheme.palette.base0A}"
|
||||||
|
"4=#${config.colorScheme.palette.base0D}"
|
||||||
color2 = "#${config.colorScheme.palette.base0B}";
|
"5=#${config.colorScheme.palette.base0E}"
|
||||||
color10 = "#${config.colorScheme.palette.base0B}";
|
"6=#${config.colorScheme.palette.base0C}"
|
||||||
|
"7=#${config.colorScheme.palette.base05}"
|
||||||
color3 = "#${config.colorScheme.palette.base0A}";
|
"8=#${config.colorScheme.palette.base03}"
|
||||||
color11 = "#${config.colorScheme.palette.base0A}";
|
"9=#${config.colorScheme.palette.base08}"
|
||||||
|
"10=#${config.colorScheme.palette.base0B}"
|
||||||
color4 = "#${config.colorScheme.palette.base0D}";
|
"11=#${config.colorScheme.palette.base0A}"
|
||||||
color12 = "#${config.colorScheme.palette.base0D}";
|
"12=#${config.colorScheme.palette.base0D}"
|
||||||
|
"13=#${config.colorScheme.palette.base0E}"
|
||||||
color5 = "#${config.colorScheme.palette.base0E}";
|
"14=#${config.colorScheme.palette.base0C}"
|
||||||
color13 = "#${config.colorScheme.palette.base0E}";
|
"15=#${config.colorScheme.palette.base07}"
|
||||||
|
];
|
||||||
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}";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ in {
|
|||||||
"border_color rgb(ffffff), match:xwayland 1"
|
"border_color rgb(ffffff), match:xwayland 1"
|
||||||
];
|
];
|
||||||
"$mainMod" = "SUPER";
|
"$mainMod" = "SUPER";
|
||||||
"$terminal" = "kitty";
|
"$terminal" = "ghostty";
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mainMod, return, exec, $terminal nu -c zellij-ps"
|
"$mainMod, return, exec, $terminal nu -c zellij-ps"
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ in {
|
|||||||
# makemkv
|
# makemkv
|
||||||
# mediainfo
|
# mediainfo
|
||||||
amf
|
amf
|
||||||
blueberry
|
|
||||||
ffmpeg_6-full
|
ffmpeg_6-full
|
||||||
gimp
|
gimp
|
||||||
gst_all_1.gstreamer
|
gst_all_1.gstreamer
|
||||||
|
|||||||
@@ -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;
|
||||||
@@ -199,7 +199,7 @@ in {
|
|||||||
args = "";
|
args = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
terminal = pkgs.kitty;
|
terminal = pkgs.ghostty;
|
||||||
terminalCommand = "opencode %a";
|
terminalCommand = "opencode %a";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.virt-manager.enable = true;
|
programs.virt-manager.enable = true;
|
||||||
|
systemd.services.virt-secret-init-encryption.enable = false;
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = [pkgs.qemu];
|
systemPackages = [pkgs.qemu];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user