testing the new config before pushing to main
This commit is contained in:
parent
a545953c2d
commit
c53123d2c5
38 changed files with 370 additions and 198 deletions
21
system/modules/hardware/default.nix
Normal file
21
system/modules/hardware/default.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
./backlight.nix
|
||||
./power.nix
|
||||
];
|
||||
|
||||
options.systemModules.hardware = {
|
||||
bluetooth = {
|
||||
enable = lib.mkEnableOption "Enable bluetooth module";
|
||||
};
|
||||
backlight= {
|
||||
enable = lib.mkEnableOption "Enable backlight module";
|
||||
};
|
||||
power = {
|
||||
enable = lib.mkEnableOption "Enable power module";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue