1{
2 config,
3 lib,
4 ...
5}: {
6 options.myHardware.hp.theRedOne.enable =
7 lib.mkEnableOption "The Red HP laptop hardware configuration.";
8
9 config = lib.mkIf config.myHardware.hp.theRedOne.enable {
10 myHardware = {
11 intel = {
12 cpu.enable = true;
13 gpu.enable = true;
14 };
15
16 profiles = {
17 base.enable = true;
18 laptop.enable = true;
19 };
20 };
21 };
22}