Fix documentation generation

This commit is contained in:
DashieTM 2025-03-02 16:20:43 +01:00
parent 54174d9a95
commit bf3230ad43
2 changed files with 22 additions and 18 deletions

View file

@ -99,6 +99,8 @@ Here is a minimal required configuration.nix (the TODOs mention a required chang
# };
# }
# ];
# You can also use disko to format your disks on installation.
# Please refer to the Documentation about the drives module for an example.
};
sops.enable = false;
nextcloud.enable = false;

View file

@ -54,23 +54,25 @@
description = ''
Use default drive config.
## Manual variant
This config expects 4 different partitions on a single drive:
- boot partition with "BOOT" label and vfat format (filesystem configurable)
- swap partition with "SWAP" label
- root partition with "ROOT" label and ext4 format (filesystem configurable)
- home partition with "HOME" label and ext4 format (filesystem configurable)
- gpt disk format
NOTE: Any different configuration must be done manually with this turned off.
- Manual variant
This config expects 4 different partitions on a single drive:
- boot partition with BOOT label and vfat format (filesystem configurable)
- swap partition with SWAP label
- root partition with ROOT label and ext4 format (filesystem configurable)
- home partition with HOME label and ext4 format (filesystem configurable)
- gpt disk format
## Disko variant
This config creates 4 different partitions on a single drive:
- boot partition with 1GB size and vfat format
- swap partition with 32GB (size configurable)
- root partition with 30% size and ext4 format (size and filesystem configurable)
- home partition with 70%~ size and ext4 format (size and filesystem configurable)
- gpt disk format
NOTE: Any different configuration must be done manually with this turned off.
NOTE: Any different configuration must be done manually with this turned off.
- Disko variant
This config creates 4 different partitions on a single drive:
- boot partition with 1GB size and vfat format
- swap partition with 32GB (size configurable)
- root partition with 30% size and ext4 format (size and filesystem configurable)
- home partition with 70%~ size and ext4 format (size and filesystem configurable)
- gpt disk format
NOTE: Any different configuration must be done manually with this turned off.
'';
};
};
@ -131,8 +133,8 @@
description = "The name, ID, UUID or similar for the default drive.";
};
rootAmount = lib.mkOption {
default = 70;
example = 60;
default = 30;
example = 40;
type = lib.types.number;
description = "The percentage of the disk for root. (Home will take up the rest) (Only for disko)";
};