release: add nixos-* version branch

Best practice for flakes containing NixOS modules.

`push-release` now pushes to an extra branch named `nixos-<version>`,
alongside branch `release`.
This allows users to track a specific NixOS release, so that their
config doesn't break when nix-bitcoin switches to a new NixOS
release.
This commit is contained in:
Erik Arvstedt
2023-07-08 15:33:09 +02:00
parent dd532d4738
commit 6510f269f6
2 changed files with 15 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
description = "A basic nix-bitcoin node";
inputs.nix-bitcoin.url = "github:fort-nix/nix-bitcoin/release";
# You can also use a version branch to track a specific NixOS release
# inputs.nix-bitcoin.url = "github:fort-nix/nix-bitcoin/nixos-23.05";
outputs = { self, nix-bitcoin }: {