mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
types: pass parent node to all subTypes
This commit is contained in:
parent
e0179917d8
commit
62f939e213
15 changed files with 79 additions and 27 deletions
|
|
@ -16,7 +16,7 @@
|
|||
type = diskoLib.optionTypes.absolute-pathname; # TODO check if subpath of /dev ? - No! eg: /.swapfile
|
||||
description = "Device path";
|
||||
};
|
||||
content = diskoLib.deviceType;
|
||||
content = diskoLib.deviceType { parent = config; };
|
||||
_meta = lib.mkOption {
|
||||
internal = true;
|
||||
readOnly = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue