-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: add deploy-container-minimal.sh
- Loading branch information
1 parent
e634042
commit 5d32218
Showing
4 changed files
with
71 additions
and
21 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
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 the system's main user | ||
nix-bitcoin.operator = { | ||
enable = true; | ||
name = "main"; | ||
}; | ||
|
||
# The system's main unprivileged user | ||
users.users.main = { | ||
isNormalUser = true; | ||
password = "a"; | ||
}; | ||
} |