nix.dev
nix.dev copied to clipboard
Remote building
Existing tutotrials:
- https://nixos.org/manual/nix/unstable/advanced-topics/distributed-builds.html
- https://eipi.xyz/blog/nix-aarch64-remote/
- https://eipi.xyz/blog/building-on-remote-server-for-nixos-on-raspberry-pi/
Notes:
- builders-use-substitutes = true
- https://github.com/nix-dot-dev/nix.dev/pull/123#issuecomment-889786823
I have a RPi3 onto which I deploy NixOS remotely using QEMU, I have some notes on that here: https://www.eisfunke.com/article/nixos-on-raspberry-pi.html#installing, might be helpful as well..
Troubleshooting tips: https://github.com/NixOS/nix/pull/5345