2026-01-22 19:05:24 +01:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
2025-12-13 21:41:52 +01:00
|
|
|
options.fireproof = {
|
|
|
|
|
hostname = lib.mkOption {
|
|
|
|
|
type = lib.types.str;
|
|
|
|
|
description = "The hostname of the machine";
|
|
|
|
|
};
|
|
|
|
|
username = lib.mkOption {
|
|
|
|
|
type = lib.types.str;
|
|
|
|
|
description = "The primary username for the machine";
|
|
|
|
|
};
|
2026-01-20 23:55:02 +01:00
|
|
|
work.enable = lib.mkEnableOption "Enable work-related applications and tools";
|
2026-01-22 19:05:24 +01:00
|
|
|
dev = {
|
|
|
|
|
enable = lib.mkEnableOption "Enable development tools and applications";
|
|
|
|
|
intellij.enable = lib.mkOption {
|
|
|
|
|
type = lib.types.bool;
|
|
|
|
|
default = config.fireproof.dev.enable;
|
|
|
|
|
description = "Enable IntelliJ-based IDEs";
|
|
|
|
|
};
|
|
|
|
|
clickhouse.enable = lib.mkOption {
|
|
|
|
|
type = lib.types.bool;
|
|
|
|
|
default = config.fireproof.dev.enable;
|
|
|
|
|
description = "Enable Clickhouse";
|
|
|
|
|
};
|
|
|
|
|
playwright.enable = lib.mkOption {
|
|
|
|
|
type = lib.types.bool;
|
|
|
|
|
default = config.fireproof.dev.enable;
|
|
|
|
|
description = "Enable Playwright";
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-12-27 00:32:56 +01:00
|
|
|
hardware = {
|
|
|
|
|
battery = lib.mkOption {
|
|
|
|
|
type = lib.types.bool;
|
|
|
|
|
default = false;
|
|
|
|
|
description = "Enable battery support (UPower, battery widget, etc.)";
|
|
|
|
|
};
|
|
|
|
|
};
|
2025-12-13 21:41:52 +01:00
|
|
|
};
|
|
|
|
|
}
|