{"id":24327638,"url":"https://github.com/ushiradineth/nix-config","last_synced_at":"2026-06-20T12:32:04.155Z","repository":{"id":223924871,"uuid":"757898718","full_name":"ushiradineth/nix-config","owner":"ushiradineth","description":"Nix configuration for my MacOS machine and NixOS homelab server.","archived":false,"fork":false,"pushed_at":"2026-05-29T10:29:12.000Z","size":12120,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-29T12:24:16.597Z","etag":null,"topics":["macos","nix","nix-darwin","nix-flake","nixos"],"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/ushiradineth.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-02-15T08:06:20.000Z","updated_at":"2026-05-29T10:29:17.000Z","dependencies_parsed_at":"2024-03-20T02:44:20.405Z","dependency_job_id":"43525cda-df82-4818-9e09-c180217236dc","html_url":"https://github.com/ushiradineth/nix-config","commit_stats":null,"previous_names":["ushiradineth/dotfiles","ushiradineth/nix-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ushiradineth/nix-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fnix-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fnix-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fnix-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fnix-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ushiradineth","download_url":"https://codeload.github.com/ushiradineth/nix-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fnix-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34570533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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":["macos","nix","nix-darwin","nix-flake","nixos"],"created_at":"2025-01-17T22:14:27.090Z","updated_at":"2026-06-20T12:32:04.149Z","avatar_url":"https://github.com/ushiradineth.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ❄️ Nix Configuration\n\nThis repository contains my nix configuration for all my machines.\n\n## Reference\n\nThis repository drew significant inspiration from the outstanding work done by\n[Ryan Yin](https://github.com/ryan4yin). The following repositories were referenced:\n\n- [nix-config](https://github.com/ryan4yin/nix-config)\n- [nix-darwin-kickstarter](https://github.com/ryan4yin/nix-darwin-kickstarter)\n\n## Configuration Structure\n\n```bash\n.\n├── hosts/                            # per-host configurations\n├── lib/                              # helper functions)\n├── parts/                            # non-host flake modules\n│   └── development.nix               # formatter/checks/devShell\n├── outputs/                          # host output modules\n│   ├── linux/                        # nixosConfigurations per host\n│   ├── darwin/                       # darwinConfigurations per host\n│   └── colmena/                      # colmena node outputs per host\n├── overlays/                         # reusable nixpkgs overlays\n├── flakes/                           # standalone dev env templates\n├── modules/                          # shared module library\n│   ├── home-manager/                 # reusable home-manager modules\n│   │   ├── core/\n│   │   ├── darwin/\n│   │   └── linux/\n│   └── nix-modules/                  # reusable NixOS / nix-darwin modules\n│       ├── core/\n│       ├── darwin/\n│       └── linux/\n├── vars/                             # shared variables\n├── flake.nix                         # main entry point\n├── flake.lock                        # pinned inputs\n├── README.md                         # repo overview\n├── docs/                             # documentation\n│   ├── NIX_DARWIN_INSTALLATION.md    # macOS install guide\n│   ├── NIXOS_INSTALLATION.md         # nixOS install notes\n│   └── RASPBERRY_PI_INSTALLATION.md  # Raspberry Pi 5 setup notes\n├── Justfile                          # helper commands\n└── result -\u003e /nix/store/...          # symlink to last build (if present)\n```\n\n## Documentation\n\n- **Installation Guides**\n  - [macOS (nix-darwin)](./docs/NIX_DARWIN_INSTALLATION.md)\n  - [NixOS General](./docs/NIXOS_INSTALLATION.md)\n  - [Raspberry Pi 5 Setup](./docs/RASPBERRY_PI_INSTALLATION.md)\n- **Host Documentation**\n  - ./hosts/(host)/README.md\n\n## Colmena \u0026 nixos-anywhere\n\n- `just init \u003chostname\u003e` wraps nixos-anywhere to bootstrap a remote machine. Pick the hostname (e.g.\n  `just init shupi`) and it will run the appropriate flake output against the target over SSH.\n- `just deploy \u003chostname\u003e` applies changes via Colmena. Tags default to each hostname, so `shupi`\n  affects only `shupi`; group tags can be added in the per-host Colmena definition if needed.\n\n## Local Dev Environments\n\n- Copy a template from `flakes/` into the target repo and adjust it there.\n- Global git ignore is configured for local dev-env artifacts (`.envrc`, `.direnv/`, `flake.nix`,\n  `flake.lock`) to reduce accidental commits when bootstrapping non-Nix repos.\n\n## Checks\n\n- `just fmt` runs treefmt.\n- `just check` runs `nix flake check --all-systems` (includes pre-commit hooks: alejandra, prettier,\n  deadnix, statix).\n\n## Shared Host Registry\n\n- `vars/default.nix` defines `hostAddresses`: a shared map of hostnames to IPs.\n- `modules/nix-modules/core/ssh.nix` consumes this list to write `/etc/hosts` and generate SSH\n  aliases everywhere.\n- Update `hostAddresses` whenever a new host is added, and both nix-darwin and NixOS configurations\n  pick it up automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fushiradineth%2Fnix-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fushiradineth%2Fnix-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fushiradineth%2Fnix-config/lists"}