{"id":50547521,"url":"https://github.com/ryanwalder/nixos-config","last_synced_at":"2026-06-04T00:02:29.453Z","repository":{"id":356164088,"uuid":"1189513757","full_name":"ryanwalder/nixos-config","owner":"ryanwalder","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-06T21:18:07.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-17T12:03:14.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ryanwalder.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":null,"dco":null,"cla":null}},"created_at":"2026-03-23T11:55:18.000Z","updated_at":"2026-05-06T21:18:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ryanwalder/nixos-config","commit_stats":null,"previous_names":["ryanwalder/nixos-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanwalder/nixos-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwalder%2Fnixos-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwalder%2Fnixos-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwalder%2Fnixos-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwalder%2Fnixos-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanwalder","download_url":"https://codeload.github.com/ryanwalder/nixos-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanwalder%2Fnixos-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33884736,"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-03T02:00:06.370Z","response_time":59,"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":[],"created_at":"2026-06-04T00:02:28.586Z","updated_at":"2026-06-04T00:02:29.444Z","avatar_url":"https://github.com/ryanwalder.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS Config\n\nMy config for NixOS.\n\n## Secrets Management\n\nSecrets are managed with [sops-nix](https://github.com/Mic92/sops-nix). Encrypted secrets live in the repo and are decrypted at activation time using host SSH keys.\n\n### Structure\n\n```\nsecrets/\n  common.yaml          # shared across all hosts\n  host/\u003cname\u003e.yaml     # per-host secrets (only that host can decrypt)\n  role/\u003crole\u003e.yaml     # per-role secrets\n```\n\n### Key Files\n\n- `.sops-keys.yaml` — source of truth for key management. Contains:\n  - **hosts** — map hostnames to age public keys (derived from SSH host keys)\n  - **scopes** — controls which hosts can decrypt which secret files\n- `.sops.yaml` — generated from `.sops-keys.yaml` by `just sops update`. Do not edit directly.\n\n### Key Management\n\n```sh\njust sops add \u003chostname\u003e [scope ...]   # register host key, optionally add to scopes\njust sops remove \u003chostname\u003e            # remove host from all scopes\njust sops edit \u003cfile\u003e                  # decrypt/edit/re-encrypt a secrets file\njust sops update                       # regenerate .sops.yaml and re-encrypt all secrets\n```\n\nScopes use dot notation matching the nested YAML structure:\n- `common` — `scopes.common`\n- `role.workstation` — `scopes.role.workstation`\n\n### Adding a New Host\n\n1. Boot the host and ensure it has an ed25519 SSH host key\n2. Run `just sops add \u003chostname\u003e common` on that host\n3. Add to role scopes if needed: edit `.sops-keys.yaml`, then run `just sops update`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwalder%2Fnixos-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanwalder%2Fnixos-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanwalder%2Fnixos-config/lists"}