diff --git a/types.nix b/types.nix index 3eff0b6..871da48 100644 --- a/types.nix +++ b/types.nix @@ -648,8 +648,8 @@ rec { _config = mkOption { internal = true; readOnly = true; - default = dev: - optionalAttrs (!isNull config.content) (config.content._config dev); + default = vg: + optionalAttrs (!isNull config.content) (config.content._config "/dev/${vg}/${config.name}"); }; }; });