nix/nixos/hosts/framework-server/bitcoin.nix
2024-05-02 10:41:56 +09:00

16 lines
350 B
Nix

{ 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;
}