cli-docs: add automatic markdown cli docs #1300
@ -2,8 +2,9 @@
|
|||||||
{
|
{
|
||||||
options.clan.disk-layouts.singleDiskExt4 = {
|
options.clan.disk-layouts.singleDiskExt4 = {
|
||||||
device = lib.mkOption {
|
device = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
example = "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S21PNXAGB12345";
|
example = "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S21PNXAGB12345";
|
||||||
|
default = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
@ -15,6 +16,7 @@
|
|||||||
type = "disk";
|
type = "disk";
|
||||||
device = config.clan.disk-layouts.singleDiskExt4.device;
|
device = config.clan.disk-layouts.singleDiskExt4.device;
|
||||||
content = {
|
content = {
|
||||||
|
device = lib.mkDefault config.clan.diskLayouts.singleDiskExt4.device;
|
||||||
type = "gpt";
|
type = "gpt";
|
||||||
partitions = {
|
partitions = {
|
||||||
boot = {
|
boot = {
|
||||||
|
Loading…
Reference in New Issue
Block a user