From 527a945c64107950b81ac0d714b8ab4920723ad6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 30 Sep 2022 19:50:32 +0200 Subject: types: fix lvm_lv config device name --- types.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}"); }; }; }); -- cgit v1.2.3