Commit Graph

1779 Commits

Author SHA1 Message Date
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
nixbitcoin d6facee486
Add config.services.liquidd.port 2019-03-18 14:17:38 +01:00
nixbitcoin eacd057963
Fix electrs and add electrs hidden service 2019-03-16 16:11:54 +01:00
nixbitcoin de889d584f
Add proxy and hidden service to liquidd 2019-03-14 11:19:28 +01:00
Jonas Nick 8b9c9bd70a
Merge branch 'nixbitcoin-clightning-tor' 2019-03-07 16:19:02 +00:00
nixbitcoin 132703637c
Tor proxy, always-use-proxy, bind to localhost clightning 2019-03-07 13:37:00 +01:00
Jonas Nick 902455e142
Update nixpkgs-unstable for clightning 0.7.0 2019-03-05 10:05:16 +00:00
Jonas Nick 35165c42d8
Update nixpkgs 2019-03-02 20:23:19 +00:00
Jonas Nick 63a58657e4
Merge pull request #7 from nixbitcoin/documentation
Add own hardware tutorial to README.md
2019-02-26 17:36:50 +00:00
nixbitcoin 8fedbe66c3
Add own hardware tutorial to README.md 2019-02-24 22:19:56 +01:00
Jonas Nick 6005307129
Enable validatepegin in liquid module 2019-02-11 08:02:11 +00:00
Jonas Nick b31a9d3cb3
Add note about how to update IP address for virtualbox deployments 2019-02-11 08:01:31 +00:00
Jonas Nick 5404907e3e
Turn off pruning 2019-02-10 18:46:07 +00:00
Jonas Nick ccd768aec1
Update nixpkgs 2019-02-10 18:45:30 +00:00
Jonas Nick 99e56db674
Add note about PubkeyAuthentication no to README 2019-01-31 13:20:07 +00:00
Jonas Nick e5267bfb0b
update README 2019-01-26 22:19:17 +00:00
Jonas Nick 52b8cae70d
update README 2019-01-26 22:16:26 +00:00
Jonas Nick fa2394b2cc
Add asciicast 2019-01-26 22:11:16 +00:00
Jonas Nick 6da972b8dd
Update README 2019-01-26 18:45:11 +00:00
Jonas Nick 35fd0cdd06
Update README 2019-01-26 18:42:04 +00:00