updates
This commit is contained in:
parent
03e5a47910
commit
36ade9a42d
6 changed files with 147 additions and 65 deletions
|
|
@ -25,18 +25,89 @@
|
|||
|
||||
programs.home-manager.enable = true;
|
||||
programs.fish.enable = true;
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
enableMcpIntegration = false;
|
||||
settings = {
|
||||
"$schema" = "https://opencode.ai/config.json";
|
||||
theme = lib.mkForce "catppuccin";
|
||||
plugin = [ "@ex-machina/opencode-anthropic-auth" ];
|
||||
mcp = {
|
||||
az = {
|
||||
type = "local";
|
||||
command = [
|
||||
"docker"
|
||||
"run"
|
||||
"-i"
|
||||
"--rm"
|
||||
"--env-file"
|
||||
"/home/fw/.azure/credentials"
|
||||
"mcr.microsoft.com/azure-sdk/azure-mcp:latest"
|
||||
];
|
||||
};
|
||||
k8s = {
|
||||
type = "local";
|
||||
command = [
|
||||
"docker"
|
||||
"run"
|
||||
"--rm"
|
||||
"-i"
|
||||
"--user"
|
||||
"1000:100"
|
||||
"-v"
|
||||
"/home/fw/.kube:/kube:ro"
|
||||
"ghcr.io/containers/kubernetes-mcp-server:latest"
|
||||
"--kubeconfig"
|
||||
"/kube/config"
|
||||
];
|
||||
};
|
||||
github = {
|
||||
type = "local";
|
||||
command = [
|
||||
"docker"
|
||||
"run"
|
||||
"-i"
|
||||
"--rm"
|
||||
"-e"
|
||||
"GITHUB_PERSONAL_ACCESS_TOKEN"
|
||||
"ghcr.io/github/github-mcp-server"
|
||||
];
|
||||
};
|
||||
jira = {
|
||||
type = "local";
|
||||
command = [
|
||||
"docker"
|
||||
"run"
|
||||
"-i"
|
||||
"--rm"
|
||||
"--env-file"
|
||||
"/home/fw/.config/opencode/.env.local"
|
||||
"ghcr.io/sooperset/mcp-atlassian:latest"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.activation.opencodeAtlassianEnv = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
mkdir -p "$HOME/.config/opencode"
|
||||
if [ -r /run/secrets/opencode_atlassian_env ]; then
|
||||
ln -sf /run/secrets/opencode_atlassian_env "$HOME/.config/opencode/.env.local"
|
||||
fi
|
||||
'';
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
# theme = "catppuccin_${theme}";
|
||||
theme = "catppuccin_mocha";
|
||||
settings = {
|
||||
font = {
|
||||
normal = {
|
||||
family = lib.mkForce "FiraCode Nerd Font Mono";
|
||||
};
|
||||
size = lib.mkForce 16;
|
||||
};
|
||||
};
|
||||
enable = true;
|
||||
# theme = "catppuccin_${theme}";
|
||||
theme = "catppuccin_mocha";
|
||||
settings = {
|
||||
font = {
|
||||
normal = {
|
||||
family = lib.mkForce "FiraCode Nerd Font Mono";
|
||||
};
|
||||
size = lib.mkForce 16;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.username = "fw";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue