mirror of
https://github.com/nix-community/disko.git
synced 2026-12-06 07:53:28 +01:00
types: fix lvm_lv config device name
This commit is contained in:
1 parent
3a239145b6
commit
527a945c64
1 file changed
+2
-2
@@ -648,8 +648,8 @@ rec {
|
|||||||
_config = mkOption {
|
_config = mkOption {
|
||||||
internal = true;
|
internal = true;
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
default = dev:
|
default = vg:
|
||||||
optionalAttrs (!isNull config.content) (config.content._config dev);
|
optionalAttrs (!isNull config.content) (config.content._config "/dev/${vg}/${config.name}");
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user