{"id":16334652,"url":"https://github.com/philtaken/rpi-image-flake","last_synced_at":"2025-05-16T09:10:33.453Z","repository":{"id":147315592,"uuid":"411397920","full_name":"PhilTaken/rpi-image-flake","owner":"PhilTaken","description":"flake for raspberry pi 2 and 4 images","archived":false,"fork":false,"pushed_at":"2022-03-05T00:58:18.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T20:23:17.043Z","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/PhilTaken.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}},"created_at":"2021-09-28T18:32:59.000Z","updated_at":"2024-07-04T17:08:26.000Z","dependencies_parsed_at":"2023-07-04T07:38:14.914Z","dependency_job_id":null,"html_url":"https://github.com/PhilTaken/rpi-image-flake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilTaken%2Frpi-image-flake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilTaken%2Frpi-image-flake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilTaken%2Frpi-image-flake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilTaken%2Frpi-image-flake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhilTaken","download_url":"https://codeload.github.com/PhilTaken/rpi-image-flake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501543,"owners_count":22081530,"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","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-10-10T23:38:57.698Z","updated_at":"2025-05-16T09:10:33.434Z","avatar_url":"https://github.com/PhilTaken.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NixOS builds for Raspberry Pi\n\nHere's a simple flake to build a basic NixOS image for the Raspberry Pi 2 and 4.\n\n\n## Build Instructions\n\nEither\n\n`nix build github:PhilTaken/rpi-image-flake#images.rpi4` (or images.rpi2, whatever you want to build)\n\nor\n\n1. Clone the repo\n1. Apply your changes\n1. `nix build .#images.rpi4`\n\nThe output will be under `result/sd-image/nixos-sd-image-$(version).$(date).$(hash)-aarch64-linux.img.zst`.\nTo obtain the unpacked image file, just copy it somewhere and unpack with `unzstd`:\n\n1. `cp result/sd-image/nixos-sd-image-21.05.20220115.0fd9ee1-aarch64-linux.img.zst .`\n1. `unzstd nixos-sd-image-21.05.20220115.0fd9ee1-aarch64-linux.img.zst`\n\n## Install/Flash instructions\n\nAs with any image for the Raspberry Pi, just burn the file onto a sd card with your tool of choice.\nI use `dd` but theres plenty of tools out there.\n\n`dd if=nixos-sd-image-21.05.20220115.0fd9ee1-aarch64-linux.img of=/dev/sdcard bs=4M status=progress`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphiltaken%2Frpi-image-flake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphiltaken%2Frpi-image-flake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphiltaken%2Frpi-image-flake/lists"}