nixos machine and package configurations.
Go to file
Jake Hillion da2fea8d1d
All checks were successful
flake / flake (push) Successful in 2m53s
nebula: gather stats in prometheus
2024-12-26 00:52:26 +00:00
.gitea/workflows chore(deps): update determinatesystems/nix-installer-action action to v16 2024-11-14 23:01:24 +00:00
darwin/jakehillion-mba-m2-15 macbook: add shell utilities 2024-09-14 02:39:26 +01:00
hosts li.pop: remove zramSwap on 8GB pi 2024-12-24 12:01:11 +00:00
modules nebula: gather stats in prometheus 2024-12-26 00:52:26 +00:00
pkgs lavd: finish cleanup 2024-11-03 18:36:01 +00:00
scripts add generate_seeds script 2024-12-08 22:48:23 +00:00
secrets microserver.home: cleanup host 2024-12-23 15:58:06 +00:00
flake.lock downloads: disable resolv.conf copying 2024-12-22 19:44:16 +00:00
flake.nix chore(deps): update nixpkgs to nixos-24.11 (#412) 2024-11-23 13:21:33 +00:00
README.md microserver.parents -> li.pop 2024-04-20 13:45:00 +01:00
renovate.json renovate: update containers 2024-11-23 15:31:42 +00:00

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.