Just installed my first nix flake. It's nix-bitcoin! And no krops either. Total standalone machine.
I'm copying over blocks now and next will fiddle with settings, then try activating secure mode (had it on previously when I installed via krops, so the config should work).
```
{
description = "NixOS configuration with nix-bitcoin";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nix-bitcoin.url = "github:fort-nix/nix-bitcoin/release";
nix-bitcoin.inputs.nixpkgs.follows = "nixpkgs";
# nixpkgs.follows = "nix-bitcoin/nixpkgs";
# nixpkgs-unstable.follows = "nix-bitcoin/nixpkgs-unstable";
};
outputs = { self, nixpkgs, nix-bitcoin }: {
nixosConfigurations.quilladin = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
nix-bitcoin.nixosModules.default
# Optional:
# Import the secure-node preset, an opinionated config to enhance security
# and privacy.
#
# (nix-bitcoin + "/modules/presets/secure-node.nix")
{
nix-bitcoin.generateSecrets = true;
services.bitcoind.enable = true;
nix-bitcoin.operator = {
enable = true;
name = "fiatjaf";
};
}
];
};
};
}
```