summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-09-30 19:50:32 +0200
committerlassulus <lassulus@lassul.us>2022-09-30 20:06:19 +0200
commit527a945c64107950b81ac0d714b8ab4920723ad6 (patch)
treec9c2ebc060990ef6d19d7405aada9c1ece12a5cb
parent3a239145b6885d3186f530407d96a24f1e5839fb (diff)
types: fix lvm_lv config device name
-rw-r--r--types.nix4
1 files 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}");
};
};
});