nix/nixos/hosts/framework-server/bitcoin.nix

17 lines
350 B
Nix
Raw Normal View History

2024-05-02 03:41:56 +02:00
{ inputs, config, pkgs, username, ... }: {
import = [
inputs.nix-bitcoin.nixosModules.default
# Secure defaults
(inputs.nix-bitcoin + "/modules/presets/secure-node.nix")
];
nix-bitcoin = {
enable = true;
operator = username;
};
services.bitcoind.dataDir = "/Storage/bitcoind";
services.bitcoind.txindex = true;
}