modules.system.sops: fix

This commit is contained in:
2025-07-17 10:30:03 +08:00
parent 5385eb7b7a
commit 377a1a9011

View File

@@ -9,7 +9,7 @@ inputs:
path = mkOption path = mkOption
{ {
type = types.path; type = types.path;
default = inputs.config.sops.secrets.${submoduleInputs.config.key}.path; default = inputs.config.sops.secrets.${submoduleInputs.config._module.args.name}.path;
readOnly = true; readOnly = true;
}; };
key = mkOption { type = types.str; default = submoduleInputs.config._module.args.name; }; key = mkOption { type = types.str; default = submoduleInputs.config._module.args.name; };