Skip to content

nix-bitcoin configuration for nixbitcoin.org

License

Notifications You must be signed in to change notification settings

erikarvstedt/nixbitcoin.org

 
 

Repository files navigation

nix-bitcoin configuration for nixbitcoin.org

Requirements

Nix >= 2.9, with flakes enabled.

Usage

Run nix develop to enter a dev shell (defined in lib/dev-env.nix) which provides deployment and development commands (like running the node in a container or VM).

You can also directly run a command like so:

nix develop -c <cmd>
nix develop -c help
nix develop -c deploy

./run-test runs the test. Requires root permissions because the test starts a container.

Branches

Branch deployed always contains the configuration that is currently deployed.

Deployment

To increase deployment speed, add a ControlMaster to your nixbitcoin.org config in ~/.ssh/config:

Host nixbitcoin.org
# ...
ControlMaster auto
ControlPath /tmp/ssh-connection-%r@%k-%p
ControlPersist 5m

See also

About

nix-bitcoin configuration for nixbitcoin.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 56.1%
  • Shell 37.8%
  • HTML 4.5%
  • CSS 1.6%