mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
19 lines
485 B
Nix
19 lines
485 B
Nix
{lib, ...}: {
|
|
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";
|
|
};
|
|
hardware = {
|
|
battery = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = "Enable battery support (UPower, battery widget, etc.)";
|
|
};
|
|
};
|
|
};
|
|
}
|