cli-docs: add automatic markdown cli docs

This commit is contained in:
Johannes Kirschbauer
2024-05-07 13:23:03 +02:00
parent 7c1852507e
commit d7f3b6a1e0
7 changed files with 173 additions and 35 deletions

View File

@@ -2,9 +2,8 @@
{
options.clan.disk-layouts.singleDiskExt4 = {
device = lib.mkOption {
type = lib.types.nullOr lib.types.str;
type = lib.types.str;
example = "/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S21PNXAGB12345";
default = null;
};
};
config = {
@@ -16,7 +15,6 @@
type = "disk";
device = config.clan.disk-layouts.singleDiskExt4.device;
content = {
device = lib.mkDefault config.clan.diskLayouts.singleDiskExt4.device;
type = "gpt";
partitions = {
boot = {