nixos-config/customOptions.nix

23 lines
465 B
Nix
Raw Normal View History

2022-09-13 08:38:10 +00:00
{lib,...}:{
2024-04-04 19:22:58 +00:00
options.my = {
highDPI = lib.mkOption {
description = "If the device has a high DPI screen";
default = true;
type = lib.types.bool;
};
includeTLP = lib.mkOption {
description = "If the device should get TLP";
default = true;
type = lib.types.bool;
};
2024-04-04 19:22:58 +00:00
isLaptop = lib.mkOption {
description = "If the device is a laptop";
default = false;
type = lib.types.bool;
};
};
2022-09-13 08:38:10 +00:00
}