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

This commit is contained in:
Erik Arvstedt 2020-02-26 17:11:19 +01:00 committed by Jonas Nick
parent 87d0286498
commit 0c0978c007
No known key found for this signature in database
GPG key ID: 4861DBF262123605
3 changed files with 40 additions and 26 deletions

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 (