mirror of
https://github.com/nix-community/disko.git
synced 2024-11-04 05:44:29 +03:00
types: add default types for topLevel children
This commit is contained in:
parent
daf5fe8e9b
commit
bfa2318ca5
@ -834,6 +834,7 @@ rec {
|
||||
};
|
||||
type = mkOption {
|
||||
type = types.enum [ "zpool" ];
|
||||
default = "zpool";
|
||||
internal = true;
|
||||
};
|
||||
mode = mkOption {
|
||||
@ -1212,6 +1213,8 @@ rec {
|
||||
};
|
||||
type = mkOption {
|
||||
type = types.enum [ "disk" ];
|
||||
default = "disk";
|
||||
internal = true;
|
||||
};
|
||||
device = mkOption {
|
||||
type = optionTypes.absolute-pathname; # TODO check if subpath of /dev ? - No! eg: /.swapfile
|
||||
|
Loading…
Reference in New Issue
Block a user