extract module 'deployment/nixops.nix', add option 'deployment.secretsDir'

This commit is contained in:
Erik Arvstedt
2020-03-24 21:43:21 +00:00
committed by Jonas Nick
parent 87d0286498
commit 0c0978c007
3 changed files with 40 additions and 26 deletions
+7
View File
@@ -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 (