Fix documentation generation
This commit is contained in:
parent
54174d9a95
commit
bf3230ad43
2 changed files with 22 additions and 18 deletions
|
|
@ -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;
|
sops.enable = false;
|
||||||
nextcloud.enable = false;
|
nextcloud.enable = false;
|
||||||
|
|
|
||||||
|
|
@ -54,23 +54,25 @@
|
||||||
description = ''
|
description = ''
|
||||||
Use default drive config.
|
Use default drive config.
|
||||||
|
|
||||||
## Manual variant
|
- Manual variant
|
||||||
This config expects 4 different partitions on a single drive:
|
This config expects 4 different partitions on a single drive:
|
||||||
- boot partition with "BOOT" label and vfat format (filesystem configurable)
|
- boot partition with BOOT label and vfat format (filesystem configurable)
|
||||||
- swap partition with "SWAP" label
|
- swap partition with SWAP label
|
||||||
- root partition with "ROOT" label and ext4 format (filesystem configurable)
|
- root partition with ROOT label and ext4 format (filesystem configurable)
|
||||||
- home partition with "HOME" label and ext4 format (filesystem configurable)
|
- home partition with HOME label and ext4 format (filesystem configurable)
|
||||||
- gpt disk format
|
- gpt disk format
|
||||||
NOTE: Any different configuration must be done manually with this turned off.
|
|
||||||
|
|
||||||
## Disko variant
|
NOTE: Any different configuration must be done manually with this turned off.
|
||||||
This config creates 4 different partitions on a single drive:
|
|
||||||
- boot partition with 1GB size and vfat format
|
- Disko variant
|
||||||
- swap partition with 32GB (size configurable)
|
This config creates 4 different partitions on a single drive:
|
||||||
- root partition with 30% size and ext4 format (size and filesystem configurable)
|
- boot partition with 1GB size and vfat format
|
||||||
- home partition with 70%~ size and ext4 format (size and filesystem configurable)
|
- swap partition with 32GB (size configurable)
|
||||||
- gpt disk format
|
- root partition with 30% size and ext4 format (size and filesystem configurable)
|
||||||
NOTE: Any different configuration must be done manually with this turned off.
|
- 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.";
|
description = "The name, ID, UUID or similar for the default drive.";
|
||||||
};
|
};
|
||||||
rootAmount = lib.mkOption {
|
rootAmount = lib.mkOption {
|
||||||
default = 70;
|
default = 30;
|
||||||
example = 60;
|
example = 40;
|
||||||
type = lib.types.number;
|
type = lib.types.number;
|
||||||
description = "The percentage of the disk for root. (Home will take up the rest) (Only for disko)";
|
description = "The percentage of the disk for root. (Home will take up the rest) (Only for disko)";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue