17 lines
350 B
Nix
17 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;
|
||
|
|
||
|
}
|