Files
nixos/modules/options/laptop.nix
T
2026-05-08 12:57:02 -05:00

30 lines
635 B
Nix

{ lib
, pkgs
, config
, ...
}:
with lib; let
cfg = config.simmer.gui;
in
{
options.simmer.laptop = {
enable = mkOption {
description = "Whether to enable laptop specific setting";
type = types.bool;
default = false;
};
backlight.enable = mkOption {
description = "Whether to enable backlight control";
type = types.bool;
default = false;
};
powersave.enable = mkOption {
description = "Whether to enable powersaving programs";
type = types.bool;
default = false;
};
};
}