Commit Graph

998 Commits

Author SHA1 Message Date
Jonas Nick
f0b78ee411
Update nixpkgs 2019-04-08 13:47:52 +00:00
Jonas Nick
f00a0fa2d3
Merge branch 'faster-banlist' 2019-04-08 08:37:06 +00:00
Jonas Nick
0b364718d3
Make deployment faster by importing banlist in background instead of waiting for it to finish 2019-04-08 08:36:28 +00:00
Jonas Nick
28f7bfee7e
Merge branch 'nixbitcoin-documentation' 2019-04-07 17:34:56 +00:00
Jonas Nick
9395e10ecf
Merge branch 'documentation' of https://github.com/nixbitcoin/nix-bitcoin into nixbitcoin-documentation 2019-04-07 17:34:32 +00:00
Jonas Nick
18ef9e20ab
Merge branch 'nixbitcoin-fix-typo' 2019-04-07 17:31:04 +00:00
nixbitcoin
8b9972f078
Fix typo "ngninx" in nix-bitcoin.nix services.onion-chef.access.operator 2019-04-06 18:56:58 +02:00
nixbitcoin
be3d4ed925
Document connecting to ssh Tor Hidden Service 2019-04-06 16:18:37 +02:00
Jonas Nick
910311d0f8
Merge branch 'nixbitcoin-documentation' 2019-04-05 10:46:30 +00:00
Jonas Nick
9d0ffcb9ae
Merge branch 'documentation' of https://github.com/nixbitcoin/nix-bitcoin into nixbitcoin-documentation 2019-04-05 10:46:13 +00:00
nixbitcoin
a7eb091776
Update Nix to 2.2.1 and add sandbox fix 2019-04-05 12:09:26 +02:00
Jonas Nick
5548cd5e8c
Merge branch 'nixbitcoin-electrum-server' 2019-04-02 15:35:19 +00:00
Jonas Nick
c440dfba9f
Merge branch 'electrum-server' of https://github.com/nixbitcoin/nix-bitcoin into nixbitcoin-electrum-server 2019-04-02 15:35:09 +00:00
Jonas Nick
be7e84e509
Merge branch 'fix-qrcode' 2019-04-02 15:11:01 +00:00
Jonas Nick
0d5c67c1cf
Fix spark wallet QR code display by providing the onion hostname as public url 2019-04-02 15:10:21 +00:00
Jonas Nick
fe23ced5ec
Merge branch 'onion-manager' 2019-04-02 15:04:14 +00:00
Jonas Nick
aba1b7dfc2
Give operator access to onion hostnames through new onion-manager module 2019-04-02 15:02:31 +00:00
Jonas Nick
9201af2342
Merge branch 'clefru-libvirtd' 2019-04-02 14:39:41 +00:00
nixbitcoin
4000829002
Use rust stable 1.31 instead of rust nightly for electrs, update electrs, specify electrum-rpc 2019-04-01 17:43:07 +02:00
Clemens Fruhwirth
927587ec10 Add network-libvirtd.nix for libvirtd environments. 2019-03-29 14:24:28 +01:00
Jonas Nick
8c4e09dfa3
Merge branch 'clefru-nurify' 2019-03-29 11:11:05 +00:00
Clemens Fruhwirth
687bf8017d Make repository importable as NUR (including an overlay)
https://github.com/nix-community/NUR is a Nix community project that
aims to make out of tree derivations more easily discoverable and
accessible to Nix users. Converting the nix-bitcoin repo to conform to
that style is a minor change and enhances reusability of its
components. For instance, I could slap on the clightning module more
easily onto my existing bitcoin node without having to redeploy the
whole as nixops driven installation. Having the repo in NUR style
would make that easier.
2019-03-29 11:12:05 +01:00
Clemens Fruhwirth
95b42b62a8 Give pkgs their own directory and convert everything to callPackage. 2019-03-29 11:12:05 +01:00
Jonas Nick
ba387907db
Merge branch 'fix-banlist' 2019-03-29 09:48:33 +00:00
Jonas Nick
bf184c17e0
fix making banlist importer wait for bitcoind to start up 2019-03-29 09:44:30 +00:00
Jonas Nick
d50b37f560
Merge branch 'faster-banlist-abort' 2019-03-28 12:52:28 +00:00
Jonas Nick
1bc678b6d6
Merge branch 'master' into faster-banlist-abort 2019-03-28 12:51:09 +00:00
Jonas Nick
e2f3f38876
Import bitcoind banlist in separate service 2019-03-27 10:46:36 +00:00
Jonas Nick
1d628346d3
Merge branch 'clefru-nixos-fixes' 2019-03-27 00:54:01 +00:00
Clemens Fruhwirth
a0b4d5b932 node2nix packages: Regenerate node2nix output. 2019-03-26 14:31:07 +01:00
Clemens Fruhwirth
ed0903b9cc node2nix packages: Style-fix 2019-03-26 14:31:04 +01:00
Clemens Fruhwirth
d569d1bb59 node2nix packages: Remove unnecessary node-pre-gyp 2019-03-26 14:31:02 +01:00
Clemens Fruhwirth
2250644f82 node2nix packages: Replace tgz reference with symbolic one.
This is almost equivalent except that with symbolic reference node2nix
consults the NPM registry for package.json information instead of the
package.json in the tgz file. The registry canonicalizes the
"dependencies" attribute in that it adds all "optionalDependencies",
which the npm binary would do for local package.json files, but
node2nix does not.

For spark-wallet optionalDependencies are not listed in the tgz
distributed package.json, hence node2nix misses them. This leads to a
missing qrcode-terminal package and spark-wallet dying when called
with -Q.
2019-03-26 14:30:58 +01:00
Jonas Nick
b3e0315d8e
Merge branch 'clefru-nixos-fixes' 2019-03-26 08:58:53 +00:00
Jonas Nick
4752d0fde0
Merge branch 'nixos-fixes' of https://github.com/clefru/nix-bitcoin into clefru-nixos-fixes 2019-03-26 08:58:40 +00:00
Clemens Fruhwirth
66d9650f48 Create /var/lib/bitcoind/blocks
Otherwise:
Mar 25 13:33:22 nix-bitcoin systemd[1]: Starting Bitcoin daemon...
Mar 25 13:33:22 nix-bitcoin f3ickn20fqrz5gd0zm7hgm247b9ajdl8-unit-script-bitcoind-pre-start[1883]: chmod: cannot access '/var/lib/bitcoind/blocks': No such fi>
Mar 25 13:33:22 nix-bitcoin systemd[1]: bitcoind.service: Control process exited, code=exited status=1
Mar 25 13:33:22 nix-bitcoin systemd[1]: bitcoind.service: Failed with result 'exit-code'.
2019-03-25 14:59:36 +01:00
Clemens Fruhwirth
0115d612e1 Use plain /bin/sh as /bin/bash does not exist under NixOS. 2019-03-25 14:34:27 +01:00
Clemens Fruhwirth
316b493cda chmod $out not $src as this fails under NixOS. 2019-03-25 14:34:27 +01:00
Clemens Fruhwirth
5e40066c7f nanopos, lightning-charge and spark-wallet: Package via node2nix
The strategy of invoking node2nix inside a derivation (installPhase in
this case) does not work, as under NixOS installations there is no
network traffic allowed during a derivation build. Hence, we move
node2nix outside and rewrite the packaging into the modules.

Also switch to callPackage instead of plain imports. This could
probably be done on all other imported packages inside of
nix-bitcoin-pkgs.nix.
2019-03-25 14:32:55 +01:00
Jonas Nick
d24c5416ed
Update nixpkgs 2019-03-24 21:21:36 +00:00
Jonas Nick
60b8a9eef4
Merge branch '10-fixes' 2019-03-24 20:48:42 +00:00
Jonas Nick
0c83f87233
Don't include electrs in 'all' profile 2019-03-24 20:46:33 +00:00
Jonas Nick
d39a253d20
Fix definition of high memory systems 2019-03-24 20:46:29 +00:00
Jonas Nick
7145d0dca9
Merge branch 'nixbitcoin-electrum-server' 2019-03-24 20:45:39 +00:00
Jonas Nick
7eed67278d
Merge branch 'electrum-server' of https://github.com/nixbitcoin/nix-bitcoin into nixbitcoin-electrum-server 2019-03-24 20:45:26 +00:00
nixbitcoin
eb4968d292
Add high-memory description 2019-03-24 11:38:37 +01:00
Jonas Nick
7414af1569
Merge branch 'nixbitcoin-banlist' 2019-03-21 22:16:43 +00:00
nixbitcoin
fca4af59ac
Remove mentions of electrs in the bitcoind module, set sysperms & disablewallet only when electrs is enabled, electrs enabled in "all" setting, remove
unnecessary newline, make sysperms & disablewallet optional
2019-03-21 11:27:28 +01:00
nixbitcoin
fbc78ce6ed
Add Greg Maxwell's banlist to bitcoind postStart 2019-03-21 10:11:18 +01:00
Jonas Nick
022ba88450
Merge branch 'nixbitcoin-liquid-tor' 2019-03-18 15:21:01 +00:00