vars: init

- init eval tests
- init basic interface
This commit is contained in:
DavHau
2024-06-27 21:09:42 +07:00
parent 5686f041be
commit dfcf4d8309
7 changed files with 206 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
{ lib, ... }:
{
options.clan.core.vars = lib.mkOption {
internal = true;
description = ''
Generated Variables
Define generators that prompt for or generate variables like facts and secrets to store, deploy, and rotate them easily.
For example, generators can be used to:
- prompt the user for input, like passwords or host names
- generate secrets like private keys automatically when they are needed
- output multiple values like private and public keys simultaneously
'';
type = lib.types.submoduleWith { modules = [ ./interface.nix ]; };
};
}