clanCore secrets: rename toplevel secret to service
This commit is contained in:
parent
168f86783f
commit
0cc1986974
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user