{"id":31424933,"url":"https://github.com/singhmanavjot/nix-config","last_synced_at":"2026-04-10T13:31:50.468Z","repository":{"id":317099819,"uuid":"1065931702","full_name":"singhmanavjot/nix-config","owner":"singhmanavjot","description":"Personal Nix configuration monorepo for NixOS and nix-darwin systems","archived":false,"fork":false,"pushed_at":"2026-04-06T03:30:18.000Z","size":110,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T05:24:29.460Z","etag":null,"topics":["configuration-management","dotfiles","home-manager","homebrew","macos","neovim","nix","nix-darwin","nix-flakes","nixos","nixvim","terminal"],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/singhmanavjot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-28T18:04:47.000Z","updated_at":"2025-12-17T10:27:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f4d2e22-0d48-45d4-895f-37ff45e02055","html_url":"https://github.com/singhmanavjot/nix-config","commit_stats":null,"previous_names":["singhmanavjot/nix-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/singhmanavjot/nix-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhmanavjot%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhmanavjot%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhmanavjot%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhmanavjot%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singhmanavjot","download_url":"https://codeload.github.com/singhmanavjot/nix-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhmanavjot%2Fnix-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31645267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","home-manager","homebrew","macos","neovim","nix","nix-darwin","nix-flakes","nixos","nixvim","terminal"],"created_at":"2025-09-30T04:40:17.558Z","updated_at":"2026-04-10T13:31:50.462Z","avatar_url":"https://github.com/singhmanavjot.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix Configuration\n\nPersonal Nix configuration monorepo managing macOS system configurations\nusing nix-darwin and home-manager.\n\n## Quick Start\n\n### Prerequisites\n\n- Nix with flakes enabled\n- [nh](https://github.com/viperML/nh) (recommended) or darwin-rebuild\n\n### Building and Applying\n\n```bash\n# Build configuration without applying changes\nnh darwin build .\n\n# Build and apply changes\nnh darwin switch .\n```\n\n### Alternative commands\n\n```bash\n# Using darwin-rebuild\ndarwin-rebuild build --flake .\ndarwin-rebuild switch --flake .\n```\n\n## Development\n\n### Development Environment\n\n```bash\n# Enter development shell\ndevenv shell\n\n# Start development services\ndevenv up\n```\n\n### Testing and Validation\n\n```bash\n# Validate flake configuration\nnix flake check\n\n# Run test suite (builds Darwin and NixOS variants)\ndevenv test\n```\n\n## Project Structure\n\n```text\n├── darwin/           # macOS system-level configuration (nix-darwin)\n│   ├── _mixins/      # Modular system configurations\n│   └── default.nix   # Main Darwin configuration\n├── home-manager/     # User-level configuration\n│   ├── nixvim/       # Neovim configuration\n│   ├── ghostty/      # Terminal emulator config\n│   └── ...           # Other user applications\n├── lib/              # Helper functions and utilities\n├── secrets/          # SOPS-encrypted secrets\n└── flake.nix         # Flake definition and outputs\n```\n\n### Key Features\n\n- **Modular Architecture**: Organized mixins for easy configuration management\n- **Comprehensive Tooling**: DevOps, security, and development tools included\n- **Secrets Management**: SOPS integration with age encryption\n- **Pre-commit Hooks**: Automated formatting and linting\n- **Cross-platform Testing**: Validates both Darwin and NixOS builds\n\n## Configuration Management\n\n### System Configuration (Darwin)\n\nLocated in `darwin/` directory:\n\n- System preferences and keyboard settings\n- Homebrew integration for GUI applications\n- Nix daemon configuration\n\n### User Configuration (Home Manager)\n\nLocated in `home-manager/` directory:\n\n- Complete Neovim setup with LSP support\n- Shell configuration (zsh, starship)\n- Terminal applications (tmux, ghostty)\n- Development tools and utilities\n\n## Secrets\n\nSecrets are managed using SOPS with age encryption:\n\n- Store secrets in `secrets/secrets.yaml`\n- Age key file: `$HOME/.config/sops/age/keys.txt`\n\n## Development Tools\n\nIncludes comprehensive tooling for:\n\n- **DevOps**: kubectl, helm, terraform, docker, kind\n- **Security**: trivy, cosign, syft, age, sops\n- **Development**: Language servers, formatters, linters\n- **Utilities**: bat, ripgrep, fd, fzf, lazygit\n\n## Platform Support\n\n- Primary target: Apple Silicon (aarch64-darwin)\n- Homebrew with Rosetta support for x86 applications\n- Integrated Darwin and home-manager configurations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghmanavjot%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinghmanavjot%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghmanavjot%2Fnix-config/lists"}