{"id":25907003,"url":"https://github.com/expelledboy/dotfiles","last_synced_at":"2026-05-08T14:14:45.045Z","repository":{"id":280182616,"uuid":"395762771","full_name":"expelledboy/dotfiles","owner":"expelledboy","description":"A pragmatic dotfiles manager that combines GNU Stow simplicity with Nix reproducibility for the best of both worlds","archived":false,"fork":false,"pushed_at":"2025-03-01T19:24:55.000Z","size":91,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T20:29:57.806Z","etag":null,"topics":["configuration-management","dotfiles","git-crypt","home-manager","justfile","macos","nix","nix-darwin","reproducible-environments","stow"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/expelledboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-13T18:57:08.000Z","updated_at":"2025-03-01T19:24:59.000Z","dependencies_parsed_at":"2025-03-01T20:30:00.174Z","dependency_job_id":"5dda0b72-ab0d-426b-bf53-4ef45179c0e9","html_url":"https://github.com/expelledboy/dotfiles","commit_stats":null,"previous_names":["expelledboy/dotfiles"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/expelledboy/dotfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expelledboy%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expelledboy%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expelledboy%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expelledboy%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/expelledboy","download_url":"https://codeload.github.com/expelledboy/dotfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/expelledboy%2Fdotfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273089496,"owners_count":25043763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration-management","dotfiles","git-crypt","home-manager","justfile","macos","nix","nix-darwin","reproducible-environments","stow"],"created_at":"2025-03-03T06:16:50.733Z","updated_at":"2026-05-08T14:14:45.038Z","avatar_url":"https://github.com/expelledboy.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dotfiles: The Best of Both Worlds\n\nA hybrid approach to managing configurations that combines the simplicity of GNU\nStow with the power of Nix declarative configuration.\n\n## Why This Approach?\n\nTraditional dotfiles management presents a dilemma:\n\n- **Pure symlink management** (Stow) is simple but can't handle dependencies\n- **Pure declarative configuration** (Nix) is powerful but complex for simple files\n\nThis system takes the best of both worlds:\n\n- **Stow** for what it does best: transparent file management\n- **Nix** for what it does best: reproducible environments\n- **Automation** to tie it all together seamlessly\n\n## How It Works\n\n- **Directory Structure**: Each top-level directory is a stow package (e.g., `nvim/`, `kitty/`)\n- **Configuration**: Config files are stored in their natural paths within each package\n- **Integration**: Each package can have a `home.nix` for declarative dependencies\n- **Environment**: `.env.user` and `.env.config` define paths and preferences\n- **Security**: `git-crypt` encrypts sensitive files in the `secrets/` directory\n- **MCP Hub**: OpenCode talks to a local MCP hub; server secrets live in Keychain, not in config files\n- **Automation**: `justfile` provides a unified command interface (installed via Homebrew)\n\n## Workflows\n\n### Setup\n\n- `./bootstrap.sh` - Install Homebrew packages (including `just`) and optionally Nix\n- `INSTALL_NIX=1 ./bootstrap.sh` - Install Nix via Determinate Systems as part of bootstrap\n- `just restore [hostname]` - Complete machine setup (hostname, Nix rebuild, stow config, Homebrew)\n- First-time MCP setup:\n  - `just set-keychain brave-api-key`\n  - `just set-keychain github-token`\n  - `just darwin-switch`\n  - `just configure opencode`\n\n### Daily Use\n\n- `just save` - Capture and commit all configuration changes\n- `just configure [pkg]` - Install specific package config\n- `just darwin-switch` - Apply Nix system changes\n\n### Extending\n\n- `just stow [pkg] [path]` - Lift an existing config file into a stow package\n- `just stow-nix-file [pkg] [path]` - Lift a Nix-managed file into a stow package\n- `just update-brewfile` - Update Homebrew package list\n\n### Security\n\n- `just lock-vault` - Encrypt sensitive files\n- `just unlock-vault` - Decrypt for editing\n- `just set-keychain [service]` - Store a secret in macOS Keychain (used by MCP hub)\n\n### MCP / OpenCode\n\n- `just configure opencode` - Install OpenCode config via stow\n- OpenCode only points to the local hub (`http://127.0.0.1:17373`)\n- MCP server secrets are read from Keychain at runtime (e.g., `brave-api-key`, `github-token`)\n\n## Key Benefits\n\n- **Progressive adoption**: Start simple, add complexity only where needed\n- **Self-documenting**: Directory structure documents what's configured\n- **Future-proof**: Nix provides reproducibility, Stow provides simplicity\n- **Flexible**: Works for both quick configs and complex environments\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpelledboy%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpelledboy%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpelledboy%2Fdotfiles/lists"}