mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 02:09:26 +08:00
modules.system.sops: fix
This commit is contained in:
@@ -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; };
|
||||||
|
|||||||
Reference in New Issue
Block a user