added README comment for building on nodens

This commit is contained in:
Dennis Frieberg 2025-06-22 20:20:00 +02:00
parent d74be71aa1
commit 61d95f1b23
Signed by: nerf
SSH key fingerprint: SHA256:zvrU0EwwaNK65M+AqL9IOTRawFq0JZ8QXBASxxGpxmg

View file

@ -82,6 +82,10 @@ is exactly the same it was on your machine.
If you have a `nixos-rebuild` available on your system, it can automatize these things with the `--flake` and If you have a `nixos-rebuild` available on your system, it can automatize these things with the `--flake` and
`--target-host` parameters. But there are some pitfalls so look at the `nixos-rebuild` documentation beforehand. `--target-host` parameters. But there are some pitfalls so look at the `nixos-rebuild` documentation beforehand.
### On nodens
You can build the machine on `nodens` the same way you would build it on your local machine. On `nodens` there
is a key trusted by all machines at `/run/secrets/nodens-deploy.key`, to sign your build.
### On the machine ### On the machine
Clone this repository to `/etc/nixos/` and `nixos-rebuild boot` or `nixos-rebuild switch` that will select Clone this repository to `/etc/nixos/` and `nixos-rebuild boot` or `nixos-rebuild switch` that will select