Compare commits
2 Commits
81459e145a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28b9da1191 | ||
|
|
f998494538 |
@@ -11,13 +11,15 @@
|
|||||||
environment.variables.EDITOR = "vim";
|
environment.variables.EDITOR = "vim";
|
||||||
environment.variables.VISUAL = "vim";
|
environment.variables.VISUAL = "vim";
|
||||||
environment.variables.GIT_EDITOR = "vim";
|
environment.variables.GIT_EDITOR = "vim";
|
||||||
|
environment.variables.OPENCODE_CONFIG = "~/.config/opencode.jsonc";
|
||||||
|
|
||||||
# Add Homebrew to PATH
|
# 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
|
# Biome config
|
||||||
environment.etc."biome.json".source = ./config.biome.json;
|
environment.etc."biome.json".source = ./config.biome.json;
|
||||||
environment.etc."oxlintrc.json".source = ./config.oxlintrc.json;
|
environment.etc."oxlintrc.json".source = ./config.oxlintrc.json;
|
||||||
|
# environment.etc."opencode.jsonc".source = ./config.opencode.jsonc;
|
||||||
|
|
||||||
system.primaryUser = "matthew.bessette";
|
system.primaryUser = "matthew.bessette";
|
||||||
users.users."matthew.bessette" = {
|
users.users."matthew.bessette" = {
|
||||||
@@ -34,17 +36,30 @@
|
|||||||
onActivation.cleanup = "uninstall";
|
onActivation.cleanup = "uninstall";
|
||||||
onActivation.autoUpdate = true;
|
onActivation.autoUpdate = true;
|
||||||
onActivation.upgrade = true;
|
onActivation.upgrade = true;
|
||||||
taps = [ "bufbuild/buf" "jacobjohansen/tap" ];
|
taps = [ "bufbuild/buf"];
|
||||||
brews = [
|
brews = [
|
||||||
"biome"
|
"biome"
|
||||||
"jacobjohansen/tap/rds-auth-proxy"
|
|
||||||
|
# CLEO APP
|
||||||
|
"ccache"
|
||||||
|
"rbenv"
|
||||||
|
"ruby-build"
|
||||||
];
|
];
|
||||||
casks = [
|
casks = [
|
||||||
|
|
||||||
|
# CLEO APP
|
||||||
|
"zulu@17"
|
||||||
|
"android-commandlinetools"
|
||||||
|
"android-platform-tools"
|
||||||
|
###
|
||||||
|
|
||||||
|
"1password-cli"
|
||||||
"android-commandlinetools"
|
"android-commandlinetools"
|
||||||
"android-platform-tools"
|
"android-platform-tools"
|
||||||
"bruno"
|
"bruno"
|
||||||
"kopiaui"
|
"kopiaui"
|
||||||
"libreoffice"
|
"libreoffice"
|
||||||
|
"obsidian"
|
||||||
"postico"
|
"postico"
|
||||||
"signal"
|
"signal"
|
||||||
"spotify"
|
"spotify"
|
||||||
|
|||||||
@@ -12,6 +12,12 @@
|
|||||||
yarn
|
yarn
|
||||||
jdk17
|
jdk17
|
||||||
|
|
||||||
|
obsidian
|
||||||
|
opencode
|
||||||
|
github-copilot-cli
|
||||||
|
gh
|
||||||
|
jira-cli-go
|
||||||
|
|
||||||
# DB
|
# DB
|
||||||
postgresql_16 # pgdump/restore
|
postgresql_16 # pgdump/restore
|
||||||
|
|
||||||
@@ -21,6 +27,10 @@
|
|||||||
earthly
|
earthly
|
||||||
awscli2
|
awscli2
|
||||||
buf
|
buf
|
||||||
|
|
||||||
|
# pkg managers
|
||||||
|
uv
|
||||||
|
xcodes
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable direnv for automatic environment switching
|
# Enable direnv for automatic environment switching
|
||||||
@@ -98,6 +108,9 @@
|
|||||||
|
|
||||||
# Run auto-allow when changing directories
|
# Run auto-allow when changing directories
|
||||||
chpwd_functions+=(auto_allow_direnv)
|
chpwd_functions+=(auto_allow_direnv)
|
||||||
|
|
||||||
|
eval "$(uv generate-shell-completion zsh)"
|
||||||
|
eval "$(uvx --generate-shell-completion zsh)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
@@ -125,6 +138,9 @@
|
|||||||
'' ;
|
'' ;
|
||||||
|
|
||||||
home.file.".config/1Password/ssh/agent.toml".source = ./config.agent.toml;
|
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 = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
43
config.opencode.jsonc
Normal file
43
config.opencode.jsonc
Normal 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": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -44,13 +44,17 @@
|
|||||||
"gitlens.ai.vscode.model": "copilot:gpt-4.1",
|
"gitlens.ai.vscode.model": "copilot:gpt-4.1",
|
||||||
"chat.viewSessions.orientation": "stacked",
|
"chat.viewSessions.orientation": "stacked",
|
||||||
"json.schemaDownload.trustedDomains": {
|
"json.schemaDownload.trustedDomains": {
|
||||||
"https://schemastore.azurewebsites.net/": true,
|
"https://biomejs.dev": true,
|
||||||
"https://raw.githubusercontent.com": true,
|
|
||||||
"https://www.schemastore.org/": true,
|
|
||||||
"https://json.schemastore.org/": true,
|
|
||||||
"https://json-schema.org/": true,
|
|
||||||
"https://developer.microsoft.com/json-schemas/": 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.enable.oxlint": true,
|
||||||
"oxc.configPath": "/etc/oxlintrc.json",
|
"oxc.configPath": "/etc/oxlintrc.json",
|
||||||
|
|||||||
Reference in New Issue
Block a user