Compare commits

..

2 Commits

Author SHA1 Message Date
Matthew Bessette
28b9da1191 bup 2026-04-27 12:21:12 -04:00
Matthew Bessette
f998494538 bump 2026-04-24 13:06:28 -04:00
4 changed files with 87 additions and 9 deletions

View File

@@ -11,13 +11,15 @@
environment.variables.EDITOR = "vim";
environment.variables.VISUAL = "vim";
environment.variables.GIT_EDITOR = "vim";
environment.variables.OPENCODE_CONFIG = "~/.config/opencode.jsonc";
# Add Homebrew to PATH
environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" ];
environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" "/Users/matthew.bessette/.local/bin" ];
# Biome config
environment.etc."biome.json".source = ./config.biome.json;
environment.etc."oxlintrc.json".source = ./config.oxlintrc.json;
# environment.etc."opencode.jsonc".source = ./config.opencode.jsonc;
system.primaryUser = "matthew.bessette";
users.users."matthew.bessette" = {
@@ -34,17 +36,30 @@
onActivation.cleanup = "uninstall";
onActivation.autoUpdate = true;
onActivation.upgrade = true;
taps = [ "bufbuild/buf" "jacobjohansen/tap" ];
taps = [ "bufbuild/buf"];
brews = [
"biome"
"jacobjohansen/tap/rds-auth-proxy"
# CLEO APP
"ccache"
"rbenv"
"ruby-build"
];
casks = [
# CLEO APP
"zulu@17"
"android-commandlinetools"
"android-platform-tools"
###
"1password-cli"
"android-commandlinetools"
"android-platform-tools"
"bruno"
"kopiaui"
"libreoffice"
"obsidian"
"postico"
"signal"
"spotify"

View File

@@ -12,6 +12,12 @@
yarn
jdk17
obsidian
opencode
github-copilot-cli
gh
jira-cli-go
# DB
postgresql_16 # pgdump/restore
@@ -21,6 +27,10 @@
earthly
awscli2
buf
# pkg managers
uv
xcodes
];
# Enable direnv for automatic environment switching
@@ -98,6 +108,9 @@
# Run auto-allow when changing directories
chpwd_functions+=(auto_allow_direnv)
eval "$(uv generate-shell-completion zsh)"
eval "$(uvx --generate-shell-completion zsh)"
'';
shellAliases = {
@@ -125,6 +138,9 @@
'' ;
home.file.".config/1Password/ssh/agent.toml".source = ./config.agent.toml;
xdg.configFile."opencode/opencode.jsonc".source = config.lib.file.mkOutOfStoreSymlink "/Users/matthew.bessette/nixos/config.opencode.jsonc";
programs.tmux.enable = true;
programs.git = {
enable = true;

43
config.opencode.jsonc Normal file
View File

@@ -0,0 +1,43 @@
{
"$schema": "https://opencode.ai/config.json",
"model": "github-copilot/claude-sonnet-4.6",
"instructions": [],
"provider": {
"germanium": {
"npm": "@ai-sdk/openai-compatible",
"name": "Germanium vLLM",
"options": {
"baseURL": "http://192.168.2.254:11434/v1",
"apiKey": "not-needed",
"headers": {
"Content-Type": "application/json"
}
},
"models": {
"qwen3.5-27b": {
"name": "qwen3.5-27b"
}
}
}
},
"agent": {
"build": {
"prompt": "Always load and follow the git-workflow skill before performing any git operations such as committing, branching, syncing, or creating pull requests."
}
},
"autoupdate": false,
"server": {
"port": 4096
},
"mcp": {
"figma": {
"type": "remote",
"url": "http://127.0.0.1:3845/mcp"
},
"contentful": {
"type": "remote",
"url": "https://mcp.contentful.com/mcp",
"oauth": {}
}
}
}

View File

@@ -44,13 +44,17 @@
"gitlens.ai.vscode.model": "copilot:gpt-4.1",
"chat.viewSessions.orientation": "stacked",
"json.schemaDownload.trustedDomains": {
"https://schemastore.azurewebsites.net/": true,
"https://raw.githubusercontent.com": true,
"https://www.schemastore.org/": true,
"https://json.schemastore.org/": true,
"https://json-schema.org/": true,
"https://biomejs.dev": true,
"https://developer.microsoft.com/json-schemas/": true,
"https://biomejs.dev": true
"https://json-schema.org/": true,
"https://json.schemastore.org/": true,
"https://models.dev": true,
"https://opencode.ai": true,
"https://raw.githubusercontent.com": true,
"https://raw.githubusercontent.com/devcontainers/spec/": true,
"https://raw.githubusercontent.com/microsoft/vscode/": true,
"https://schemastore.azurewebsites.net/": true,
"https://www.schemastore.org/": true
},
"oxc.enable.oxlint": true,
"oxc.configPath": "/etc/oxlintrc.json",