extract module 'deployment/nixops.nix', add option 'deployment.secretsDir'
This commit is contained in:
parent
87d0286498
commit
0c0978c007
3 changed files with 40 additions and 26 deletions
|
|
@ -15,6 +15,13 @@ in
|
|||
description = "Directory to store secrets";
|
||||
};
|
||||
|
||||
deployment.secretsDir = mkOption {
|
||||
type = types.path;
|
||||
description = ''
|
||||
Directory of local secrets that are transfered to the nix-bitcoin node on deployment
|
||||
'';
|
||||
};
|
||||
|
||||
secrets = mkOption {
|
||||
default = {};
|
||||
type = with types; attrsOf (submodule (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue