mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 12:06:33 +03:00
20 lines
494 B
Nix
20 lines
494 B
Nix
# This is an example network definition for deploying a nix-bitcoin node via NixOps.
|
|
# NixOps deployment is currently untested.
|
|
|
|
{
|
|
network.description = "Bitcoin node";
|
|
|
|
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>";
|
|
};
|
|
}
|