Add Nix deployment support - #260
Conversation
|
👋 Thanks for assigning @tnull as a reviewer! |
tnull
left a comment
There was a problem hiding this comment.
So far we took the stance that we shouldn't add distro or build system specific code to the repo (mod. docker files, maybe) (see #68 (review) for instance). Adding such files will add to the maintenance burden so we should be careful what we commit to supporting.
Do you think it makes sense to officially support this? Or should it just be a separate repo you maintain?
Yeah with the end of nix-bitcoin I feel it'd be nice if someone does this and me doing separate vs officially supporting feels the same but if is easier I can do it separately |
nix-bitcoin is archived and no longer receives security fixes. Provide a maintained upstream path for reproducible builds and declarative NixOS deployment. The flake pins Nixpkgs and exports a package and NixOS module. The package builds the server and CLI, takes its version from Cargo, and installs shell completions. The module creates a service, user, configuration, state directory, and optional firewall ports for each named instance. The documentation covers local builds, deployment, secrets, and multiple instances. Generated with OpenAI Codex.
bf672b9 to
85338a0
Compare
ix-bitcoin is archived and no longer receives security fixes. Provide
a maintained upstream path for reproducible builds and declarative
NixOS deployment.
The flake pins Nixpkgs and exports a package and NixOS module. The
package builds the server and CLI, takes its version from Cargo, and
installs shell completions. The module creates a service, user,
configuration, state directory, and optional firewall ports for each
named instance. The documentation covers local builds, deployment,
secrets, and multiple instances.