Make hostName and secretPath configurable through NIX_PATH.
This commit is contained in:
parent
29c876ce83
commit
21b2170e67
2 changed files with 4 additions and 2 deletions
|
@ -36,7 +36,7 @@ with lib;
|
|||
};
|
||||
secretPath = mkOption {
|
||||
type = types.str;
|
||||
default = "/secret";
|
||||
default = (findFirst (elem: elem.prefix == "secretPath") { path = "/secret"; } builtins.nixPath).path;
|
||||
description = ''
|
||||
Path to you systems secret folder containing files with sensitive information.
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue