nix-bitcoin/examples/nixops/node.nix

20 lines
494 B
Nix
Raw Permalink Normal View History

# This is an example network definition for deploying a nix-bitcoin node via NixOps.
# NixOps deployment is currently untested.
{
network.description = "Bitcoin node";
2018-11-13 15:44:54 -08:00
bitcoin-node = { config, pkgs, lib, ... }: {
imports = [
../configuration.nix
<nix-bitcoin/modules/deployment/nixops.nix>
];
nix-bitcoin.deployment.secretsDir = toString ../secrets;
#FIXME:
# Set `deployment.*` options like
# deployment.targetHost = "<address_or_hostname>";
};
2018-11-13 15:44:54 -08:00
}