nixos machine and package configurations.
Renovate Bot
796bbc7a68
All checks were successful
flake / flake (push) Successful in 1m20s
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [nixpkgs](https://github.com/NixOS/nixpkgs) | major | `nixos-23.11` -> `nixos-24.05` | --- ### Release Notes <details> <summary>NixOS/nixpkgs (nixpkgs)</summary> ### [`vnixos-24.05`](https://github.com/NixOS/nixpkgs/compare/nixos-23.11...nixos-24.05) [Compare Source](https://github.com/NixOS/nixpkgs/compare/nixos-23.11...nixos-24.05) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNzQuMyIsInVwZGF0ZWRJblZlciI6IjM3LjM3NC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Jake Hillion <jake@hillion.co.uk> Reviewed-on: #271 Co-authored-by: Renovate Bot <renovate-bot@noreply.gitea.hillion.co.uk> Co-committed-by: Renovate Bot <renovate-bot@noreply.gitea.hillion.co.uk> |
||
---|---|---|
.gitea/workflows | ||
hosts | ||
modules | ||
pkgs | ||
scripts | ||
secrets | ||
flake.lock | ||
flake.nix | ||
README.md | ||
renovate.json |
nixos
Building Raspberry Pi images
Raspberry Pi images that support Tailscale and headless SSH can be built using a command. It is easiest to run this command on AArch64 on Linux, such as within a Linux VM or Docker container on an M1 Mac.
docker run -v $PWD:/src -it --rm nixos/nix:latest /bin/sh
nix-env -f https://github.com/nix-community/nixos-generators/archive/master.tar.gz -i
cd /src
nixos-generate -f sd-aarch64-installer --system aarch64-linux -c hosts/microserver.home.ts.hillion.co.uk/default.nix
cp SOME_OUTPUT out.img.zst
Alternatively, a Raspberry Pi image with headless SSH can be easily built using the logic in this repo.