{"id":19839011,"url":"https://github.com/litarvan/nix-builder","last_synced_at":"2026-03-19T12:00:48.234Z","repository":{"id":213404625,"uuid":"733758523","full_name":"Litarvan/nix-builder","owner":"Litarvan","description":"Ready-to-use Nix builder image","archived":false,"fork":false,"pushed_at":"2025-03-26T01:26:05.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T02:26:02.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/Litarvan.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}},"created_at":"2023-12-20T04:02:11.000Z","updated_at":"2025-03-26T01:26:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"61b4df78-1f26-4662-bfd7-78ac9b247f0c","html_url":"https://github.com/Litarvan/nix-builder","commit_stats":null,"previous_names":["litarvan/nix-builder"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Litarvan/nix-builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fnix-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fnix-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fnix-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fnix-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Litarvan","download_url":"https://codeload.github.com/Litarvan/nix-builder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Litarvan%2Fnix-builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30112217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-12T12:19:54.388Z","updated_at":"2026-03-05T06:31:00.624Z","avatar_url":"https://github.com/Litarvan.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nix Builder Image\n\nThis image serves as a Nix remote builder with an automatically started SSH server. You can provide your SSH public keys as arguments.\n\n## Usage\n\n1. **Add SSH Key**: Ensure your SSH key is added using `ssh-add`. Verify that `ssh-add -L` lists your public keys.\n\n2. **Start Container**: Run the container with:\n   ```bash\n   docker run --rm -dp 22:22 ghcr.io/litarvan/nix-builder:2.27.1 \"$(ssh-add -L)\"\n   ```\n\n3. **Copy SSH Keys**: Make your SSH keys accessible to the root user:\n   ```bash\n   sudo cp -r ~/.ssh /var/root\n   ```\n\n4. **Register Builder**: Add the builder to your Nix configuration:\n   ```bash\n   mkdir -p ~/.config/nix \u0026\u0026 cat \u003c\u003cEOF \u003e\u003e ~/.config/nix/nix.conf\n   builders = ssh://root@127.0.0.1 aarch64-linux\n   builders-use-substitutes = true\n   EOF\n   ```\n\n5. **Test Connection**: Verify the setup by testing the SSH connection:\n   ```bash\n   sudo ssh root@127.0.0.1 nix --version\n   ```\n\n6. **Trusted User**: Ensure you are a trusted user in your Nix installation. Add your username to `~/.config/nix/nix.conf`:\n   ```bash\n   extra-trusted-users = \u003cyour-username\u003e\n   ```\n\nThis setup enables you to use the Nix remote builder effectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitarvan%2Fnix-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flitarvan%2Fnix-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flitarvan%2Fnix-builder/lists"}