Why Nostr? What is Njump?
2024-09-03 21:29:54

pleblee on Nostr: Just installed my first nix flake. It's nix-bitcoin! And no krops either. Total ...

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";
};
}
];
};
};
}
```
Author Public Key
npub1dxs2pygtfxsah77yuncsmu3ttqr274qr5g5zva3c7t5s3jtgy2xszsn4st