From 377a1a9011e3f1592c6f5d1a12ff5446aa05c36e Mon Sep 17 00:00:00 2001 From: chn Date: Thu, 17 Jul 2025 10:30:03 +0800 Subject: [PATCH] modules.system.sops: fix --- modules/system/sops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/sops.nix b/modules/system/sops.nix index d7273615..3d3f3766 100644 --- a/modules/system/sops.nix +++ b/modules/system/sops.nix @@ -9,7 +9,7 @@ inputs: path = mkOption { 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; }; key = mkOption { type = types.str; default = submoduleInputs.config._module.args.name; };