28 lines
627 B
Nix
28 lines
627 B
Nix
{lib, ...}: {
|
|
options = {
|
|
has_battery = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = "Whether the system has a battery.";
|
|
};
|
|
|
|
vmGuest = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = "Enable VM guest services.";
|
|
};
|
|
|
|
darkMode = lib.mkOption {
|
|
type = lib.types.bool;
|
|
default = false;
|
|
description = "Enable dark mode for the system.";
|
|
};
|
|
|
|
desktop_scale = lib.mkOption {
|
|
type = lib.types.float;
|
|
default = 1.0;
|
|
description = "HiDpi scale factor for the window manager";
|
|
};
|
|
};
|
|
}
|