JakeHillion fc8f87e379 authoritative_dns: add home.jakehillion.me and iot.home.jakehillion.me zones
The existing authoritative DNS setup only served the neb.jakehillion.me zone.
We needed home.jakehillion.me and iot.home.jakehillion.me as fully-managed zones
with identical DNSSEC policies so internal services can have proper DNS names.

Refactored the authoritative DNS module to generate separate zone files for all
three domains, each with the same SOA, NS records, and DNSSEC signing
configuration. Added corresponding A records for homeassistant and stinger
subdomains under both new zones. Updated the ACME DNS API to accept multiple
comma-separated domains so the jakehillion Caddy DNS provider can issue
certificates for any zone. Migrated Home Assistant Caddy virtual hosts from the
old hillion.co.uk domains to the new jakehillion.me domains.

Test plan:
- nix fmt passed
- nix-instantiate validated syntax for all modified files
2026-04-27 17:22:20 +01:00
2026-01-14 20:38:32 +00:00
2026-04-19 22:10:58 +01:00
2025-07-06 10:33:16 +01:00

nixos

Building Raspberry Pi images

Raspberry Pi images that support headless SSH can be built as follows:

nix build '.#nixosConfigurations."li.pop.neb.jakehillion.me".config.formats.sd-aarch64'

Although this will have some support for Nebula it will not be authenticated without further setup. This is because each device generates its own signing key that still needs to be signed by the CA.

This command should be run on a Linux machine with an aarch64 processor or binfmt misc support (rooster.cx and merlin.rig at the time of writing). When creating Pi images you might need to comment out or update the existing file system UUID.

Building on another system

Some systems are very slow at rebuilding themselves, with one example being Boron struggling to build Mongo. Currently I have no centralised build process so we don't have signed images. This process works:

STORE_PATH=`nix build --no-link --print-out-paths '.#nixosConfigurations."boron.cx.neb.jakehillion.me".config.system.build.toplevel'`
nix-store --export $(nix-store --query --requisites $STORE_PATH) | zstd > closure.nar.zst
cat closure.nar.zst | ssh boron.cx.neb.jakehillion.me sh -c 'unzstd | sudo nix-store --import'

Then use update or nixos-rebuild as normal on the host (provided it can evaluate the Nix).

S
Description
nixos machine and package configurations.
Readme
19 MiB
0 Stars 1 Watchers 0 Forks
Languages
Nix 75.7%
Python 10.1%
Rust 4.5%
TypeScript 4.3%
Lua 2.8%
Other 2.6%