clanCore secrets: rename toplevel secret to service

This commit is contained in:
lassulus 2024-03-02 10:25:10 +01:00
parent 4cfd580447
commit f500aee786

View File

@ -35,13 +35,13 @@
options.clanCore.secrets = lib.mkOption { options.clanCore.secrets = lib.mkOption {
default = { }; default = { };
type = lib.types.attrsOf type = lib.types.attrsOf
(lib.types.submodule (secret: { (lib.types.submodule (service: {
options = { options = {
name = lib.mkOption { name = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = secret.config._module.args.name; default = service.config._module.args.name;
description = '' description = ''
Namespace of the secret Namespace of the service
''; '';
}; };
generator = lib.mkOption { generator = lib.mkOption {