dev: add more automation to NixOS version updates

Use the `update-flake.sh` script to auto-update the NixOS version at
various places.

Also update `examples/container/flake.nix` which has been
missing in the update instructions.
This commit is contained in:
Erik Arvstedt 2025-01-22 20:45:52 +01:00
parent dc4d14e073
commit fe8c6b1e6a
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 11 additions and 5 deletions

View file

@ -98,7 +98,4 @@ It's easiest to use an existing service as a template:
## Switching to a new NixOS release
- Run command `update-flake.sh 24.11`
- [cirrus.yml](../.cirrus.yml): update toplevel container -> image attribute
- [examples/configuration.nix](../examples/configuration.nix): update `system.stateVersion`
- [examples/flakes/flake.nix](../examples/flakes/flake.nix): update `inputs.nix-bitcoin.url`
- Treewide: check if any `TODO-EXTERNAL` comments can be resolved