2024-12-21 10:18:28 -05:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [ ];
|
|
|
|
|
|
2025-10-11 00:08:02 -04:00
|
|
|
options.me.buildingPortable = lib.mkOption {
|
2024-12-21 10:18:28 -05:00
|
|
|
type = lib.types.bool;
|
|
|
|
|
default = false;
|
|
|
|
|
example = true;
|
2025-10-11 00:08:02 -04:00
|
|
|
description = "Whether we are building a portable image (iso/sd). This would disable CPU-specific optimizations and persistent file mounts.";
|
2024-12-21 10:18:28 -05:00
|
|
|
};
|
|
|
|
|
|
2025-10-11 00:08:02 -04:00
|
|
|
options.me.mountPersistence = lib.mkOption {
|
|
|
|
|
type = lib.types.bool;
|
|
|
|
|
default = false;
|
|
|
|
|
example = true;
|
|
|
|
|
description = "Whether we should mount persistent directories.";
|
|
|
|
|
};
|
2024-12-21 10:18:28 -05:00
|
|
|
}
|