diff options
author | tv <tv@krebsco.de> | 2020-08-04 20:28:04 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-08-05 11:01:30 +0200 |
commit | 532c0c90ad6213b151c44abcf0e23b8c4ca7537f (patch) | |
tree | 78e28d7489dd09dcc7631f693303d547ff1df177 /lib | |
parent | 84b8511effb5caaffbce4e79de541c3255126f5c (diff) |
types.secret-file: add service option
Diffstat (limited to 'lib')
-rw-r--r-- | lib/types.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/types.nix b/lib/types.nix index 16ccb14..82e184b 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -256,6 +256,10 @@ rec { type = str; default = "root"; }; + service = mkOption { + type = filename; + default = "secret.service"; + }; source-path = mkOption { type = str; default = toString <secrets> + "/${config.name}"; |