modules/image: increase the default boot partition size from 512 MiB -> 1024 MiB
This commit is contained in:
parent
aa0a395353
commit
d75f59ba06
|
@ -18,6 +18,7 @@ in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
sane.image.enable = mkOption {
|
sane.image.enable = mkOption {
|
||||||
|
# TODO: why is this enable option even needed?
|
||||||
default = true;
|
default = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = "whether to enable image targets. even so they won't be built unless you specifically reference the `system.build.img` target.";
|
description = "whether to enable image targets. even so they won't be built unless you specifically reference the `system.build.img` target.";
|
||||||
|
@ -58,8 +59,13 @@ in
|
||||||
type = types.nullOr types.int;
|
type = types.nullOr types.int;
|
||||||
};
|
};
|
||||||
sane.image.bootPartSize = mkOption {
|
sane.image.bootPartSize = mkOption {
|
||||||
default = 512 * 1024 * 1024;
|
default = 1024 * 1024 * 1024;
|
||||||
type = types.int;
|
type = types.int;
|
||||||
|
description = ''
|
||||||
|
size of the boot partition, in bytes.
|
||||||
|
don't skimp on this. nixos kernels are by default HUGE, and restricting this
|
||||||
|
will make kernel tweaking extra painful.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
sane.image.sectorSize = mkOption {
|
sane.image.sectorSize = mkOption {
|
||||||
default = 512;
|
default = 512;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user