Commit Graph

11 Commits

Author SHA1 Message Date
Jonas Nick
44ccbb91d0 Clean up development shell.nix 2020-03-30 10:49:15 +02:00
Jonas Nick
87d0286498 Change the nix-bitcoin deployment from forking this repo to importing the module
Instead of forking this repo, it is now recommended that users simply import the
nix-bitcoin module. This commit adds an example directory that contains the
network/ examples and a shell.nix for deployment with nixops.
2020-03-24 21:43:17 +00:00
Erik Arvstedt
b1e13e9415 simplify secrets file format
Each secret file to be deployed is now backed by one local file.
This simplifies 'setup-secrets' and the secret definitions.
Also, with the old format it was not possible to add new secrets
to secrets.nix in a simple way.

Old secrets are automatically converted to the new format when running
nix-shell.

Using the new option 'nix-bitcoin.secrets', secrets are now directly
defined by the services that use them.
2020-01-13 00:25:11 +01:00
Erik Arvstedt
6447694214 add generate-secrets pkg
generate-secrets.sh will also be used in generate-secrets.nix, so DRY
its dependency definitions.
2020-01-12 20:02:01 +01:00
Erik Arvstedt
9d14d5ba64 generate_secrets.sh: write secrets to working directory
Write to $PWD instead to ./secrets.
1. Simplifies the code
2. Easier to use in generate-secrets.service (introduced in a later commit)
2020-01-12 20:02:01 +01:00
Erik Arvstedt
cfafcb5d32 Fix virtualbox deployment for 19.09
Without this, starting the virtualbox guest service fails during machine activation.
This is due to an incompatible NixOS machine base image.
Fix this by using an updated version of nixops.
2019-11-10 21:06:17 +01:00
nixbitcoin
37b71d87b8 electrs ssl 2019-04-26 23:41:55 +02:00
Jonas Nick
1d020a7ca8 move nixpkgs-pinned.nix 2019-01-26 18:12:08 +00:00
Jonas Nick
61ee3a36f7 fix ssh-agent issue and added new file where pinned nixpkgs are specified 2019-01-26 13:26:33 +00:00
Jonas Nick
0df59113f4 Update stable nixpkgs 2019-01-13 20:58:30 +00:00
Jonas Nick
04aafd218f Rename env.nix to shell.nix 2019-01-04 11:09:35 +00:00