{"id":20631018,"url":"https://github.com/gfarrell/infra","last_synced_at":"2025-10-20T12:14:46.133Z","repository":{"id":142037732,"uuid":"197852938","full_name":"gfarrell/infra","owner":"gfarrell","description":"Personal infrastructure setup","archived":false,"fork":false,"pushed_at":"2025-02-24T09:48:58.000Z","size":81,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T18:34:00.467Z","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/gfarrell.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}},"created_at":"2019-07-19T23:04:39.000Z","updated_at":"2025-02-22T12:50:14.000Z","dependencies_parsed_at":"2024-07-07T16:45:24.924Z","dependency_job_id":"d1636a0f-08cb-4e2a-bbf3-37f313b0cd15","html_url":"https://github.com/gfarrell/infra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gfarrell/infra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Finfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Finfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Finfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Finfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfarrell","download_url":"https://codeload.github.com/gfarrell/infra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfarrell%2Finfra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280088702,"owners_count":26269914,"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-10-20T02:00:06.978Z","response_time":62,"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":"2024-11-16T14:10:33.607Z","updated_at":"2025-10-20T12:14:46.098Z","avatar_url":"https://github.com/gfarrell.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gideon's Personal Infrastructure\n\nMy infrastructure is setup as a nix flake, with each host configured as a separate `nixosConfiguration` using `flake-parts`. A `justfile` contains common commands like building and deploying.\n\n## What's in here?\n\n### Pharos\n\nPharos, named after the lighthouse at Alexandria, hosts public-facing services, currently just the gtf.io website while I work out how to do other things.\n\n* [gtf-io](https://github.com/gfarrell/gtf-io)\n* a [prometheus](https://prometheus.io) server to collect metrics\n\n## Usage\n\n### Creating a new host droplet on digitalocean\n\n1. Build the virtual image for the host: `just make-image HOST`\n2. Upload the image from `./result/nixos.qcow.gz` to digitalocean cloud.digitalocean.com/images\n3. Create a new droplet with this image\n4. Point HOST.gtf.io at that droplet\n\n### Building the host configuration\n\n    just make-config HOST\n\n### Update the service dependencies\n\nThings like the gtf.io website need to be explicitly updated in the flake.lock file before you will be able to deploy changes. To do that, just run:\n\n    just update-my-deps\n\nThis is to avoid accidentally updating the whole flake lockfile (`nix flake update`) which will result in _everything_ in the host configuration being updated, and therefore a very, very long deployment time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfarrell%2Finfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfarrell%2Finfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfarrell%2Finfra/lists"}