Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended deployment method: Use Flakes, improve performance #556

Open
erikarvstedt opened this issue Oct 16, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@erikarvstedt
Copy link
Collaborator

erikarvstedt commented Oct 16, 2022

Use Flakes for improved extensibility and pure builds.
Switch to a faster deployment scheme.

This requires Nix PR Source tree abstraction to be merged:
nix-bitcoin config flakes potentially include plaintext secrets files. PR Source tree abstraction allows evaluating the flake without copying its source (including secrets) to the store.

Note:
nix-bitcoin configs can already use flakes if they encrypt secrets or store them outside of the repo or if they generate secrets on the target node (nix-bitcoin.generateSecrets = true).

@erikarvstedt erikarvstedt changed the title Use Flakes in recommended deployment method, improve deployment performance Recommended deployment method: Use Flakes, improve performance Oct 16, 2022
@erikarvstedt erikarvstedt added the enhancement New feature or request label Oct 16, 2022
@prusnak
Copy link
Contributor

prusnak commented Dec 7, 2022

This requires Nix PR Source tree abstraction to be merged:

Here is the mentioned Nix PR: NixOS/nix#6530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants