update-flake.sh: add workflow for updating the NixOS version

This commit is contained in:
Erik Arvstedt 2024-12-13 23:21:22 +01:00
parent f60a50607d
commit ba46d20a25
No known key found for this signature in database
GPG key ID: 33312B944DD97846
2 changed files with 12 additions and 7 deletions

View file

@ -97,8 +97,7 @@ It's easiest to use an existing service as a template:
Most other services use packages that are already included in nixpkgs.
## Switching to a new NixOS release
- [flake.nix](../flake.nix): update `nixpkgs.url`
- 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`