Conversation
genebean
commented
Jan 30, 2025
Comment on lines
+12
to
+32
| ./nixpkgs-settings.nix | ||
|
|
||
| inputs.disko.nixosModules.disko | ||
| inputs.nix-bitcoin.nixosModules.default | ||
| inputs.sops-nix.nixosModules.sops # system wide secrets management | ||
|
|
||
| ../modules/hosts/nixos # system-wide stuff | ||
| ../modules/hosts/nixos/${hostname} # host specific stuff | ||
|
|
||
| inputs.home-manager.nixosModules.home-manager { | ||
| home-manager = { | ||
| extraSpecialArgs = { inherit inputs hostname username; }; | ||
| useGlobalPkgs = true; | ||
| useUserPackages = true; | ||
| users.${username}.imports = [ | ||
| ../modules/hosts/common | ||
| ../modules/hosts/common/linux/home.nix | ||
| ../modules/hosts/nixos/${hostname}/home-${username}.nix | ||
| ]; | ||
| }; | ||
| } |
Owner
Author
There was a problem hiding this comment.
This section still needs work - the reason this is in a different file within lib is that it is intended to be paired back and to support the "secure-node preset" from Nix Bitcoin
genebean
commented
Jan 30, 2025
Comment on lines
+7
to
+11
| # Optional: | ||
| # Import the secure-node preset, an opinionated config to enhance security | ||
| # and privacy. | ||
| # | ||
| #(inputs.nix-bitcoin + "/modules/presets/secure-node.nix") |
Owner
Author
There was a problem hiding this comment.
Move this into lib/mkNixBitcoinHost.nix
genebean
commented
Jan 30, 2025
Comment on lines
+89
to
+100
| # Set this to enable nix-bitcoin's own backup service. By default, it | ||
| # uses duplicity to incrementally back up all important files in /var/lib to | ||
| # /var/lib/localBackups once a day. | ||
| backups.enable = true; |
genebean
commented
Jan 30, 2025
Comment on lines
+97
to
+106
| # discover = true; | ||
| # getPublicAddressCmd = ""; |
Owner
Author
There was a problem hiding this comment.
Set to discover via Tailscale exit node
d297976 to
6cf0860
Compare
This includes configuring Nix Bitcoin within my existing flake. The intent is to run Bitcoin Core, LND, Electrs, Mempool, and Alby Hub here instead of via Umbrel. Note, Fulcrum was tried but kept crashing and losing state... which is not okay with me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This includes configuring Nix Bitcoin within my existing flake. The intent is to run Bitcoin Core, LND, Electrs, Mempool, and Alby Hub here instead of via Umbrel.
Note, Fulcrum was tried but kept crashing and losing state... which is not okay with me.