Some checks failed
update-flake-lock.yml / ci: deploy merged flake.lock updates (push) Failing after 0s
Merging the scheduled flake.lock pull request queues a host switch. The job only writes the merge SHA; the host re-checks that main is a lockfile-only bot bump before nixos-rebuild switch, so a runner restart cannot roll the deploy back.
27 lines
677 B
Markdown
27 lines
677 B
Markdown
# hetzner-cloud-1
|
|
|
|
NixOS config for the Hetzner VPS: Forgejo at `https://git.zoppelt.net` and Murmur (Mumble) at `mumble://git.zoppelt.net`.
|
|
|
|
## Deploy
|
|
|
|
### Fresh install (wipes target)
|
|
|
|
```sh
|
|
nix run github:nix-community/nixos-anywhere -- \
|
|
--flake .#hetzner-cloud-1 \
|
|
--target-host root@git.zoppelt.net
|
|
```
|
|
|
|
### Update
|
|
|
|
```sh
|
|
nix run .#deploy
|
|
```
|
|
|
|
Works from Linux and Darwin (`--remote-build` only when arch differs). See [`AGENTS.md`](AGENTS.md).
|
|
|
|
Merging the scheduled `chore: update flake.lock` pull request deploys that bump on its own. Other changes still need `nix run .#deploy`.
|
|
|
|
## Legacy Docker Compose
|
|
|
|
Local reference in [`docker-compose/`](docker-compose/).
|