mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
types: fix lvm_lv config device name
This commit is contained in:
parent
3a239145b6
commit
527a945c64
1 changed files with 2 additions and 2 deletions
|
|
@ -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}");
|
||||
};
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue