-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
b574cb0 examples: add deploy-container-minimal.sh (Erik Arvstedt) e634042 deploy-container.sh: fix sudo (Erik Arvstedt) c19f7eb examples: add option --interactive|-i (Erik Arvstedt) 33ff8d8 examples: fix running outside of examples dir (Erik Arvstedt) Pull request description: ACKs for top commit: nixbitcoin: ACK b574cb0 Tree-SHA512: 1cf73206af950b157c87476a205e035311416ebb801f90f573868a8c0b8437f900e8b5b85e45e3bacbd3235972b4d3d311de394c63dd93fe4c222919d3364851
- Loading branch information
Showing
7 changed files
with
95 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
exec "${BASH_SOURCE[0]%/*}/deploy-container.sh" --minimal-config "$@" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ config, pkgs, lib, ... }: { | ||
imports = [ | ||
<nix-bitcoin/modules/nix-bitcoin.nix> | ||
<nix-bitcoin/modules/secrets/generate-secrets.nix> | ||
]; | ||
|
||
services.bitcoind.enable = true; | ||
services.clightning.enable = true; | ||
|
||
# When using nix-bitcoin as part of a larger NixOS configuration, set the following to enable | ||
# interactive access to nix-bitcoin features (like bitcoin-cli) for your system's main user | ||
nix-bitcoin.operator = { | ||
enable = true; | ||
name = "main"; # Set this to your system's main user | ||
}; | ||
|
||
# The system's main unprivileged user | ||
users.users.main = { | ||
isNormalUser = true; | ||
password = "a"; | ||
}; | ||
} |
This file contains 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