Merge #141: Fix secrets setup
ad23b508e3
{generate,setup}-secrets: remove process hardening (Erik Arvstedt)89f9bedb9d
generate-secrets.nix: fix indentation (Erik Arvstedt) Pull request description: ACKs for top commit: jonasnick: ACKad23b508e3
Tree-SHA512: 1cb031f9dbfd3150316e4d4f365d37cb7f591910412ee3c70e01beda3498dbf514d4b620f257f32f64c6dcc4845659f45f69f5839e0b7401997320140530d2a0
This commit is contained in:
commit
ea8d29d96f
@ -14,7 +14,7 @@ with lib;
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
} // config.nix-bitcoin-services.defaultHardening;
|
||||
};
|
||||
script = ''
|
||||
mkdir -p "${config.nix-bitcoin.secretsDir}"
|
||||
cd "${config.nix-bitcoin.secretsDir}"
|
||||
|
@ -56,7 +56,7 @@ in
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
} // config.nix-bitcoin-services.defaultHardening;
|
||||
};
|
||||
script = ''
|
||||
setupSecret() {
|
||||
file="$1"
|
||||
|
Loading…
Reference in New Issue
Block a user