refactor(hardware): add options to module file
This commit is contained in:
parent
a9f0e4317a
commit
776f44f0bb
4 changed files with 26 additions and 25 deletions
|
|
@ -1,17 +1,7 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
./backlight.nix
|
||||
./bluetooth
|
||||
./backlight
|
||||
./ssd
|
||||
];
|
||||
|
||||
options.systemModules.hardware = {
|
||||
bluetooth = {
|
||||
enable = lib.mkEnableOption "Enable bluetooth module";
|
||||
};
|
||||
backlight= {
|
||||
enable = lib.mkEnableOption "Enable backlight module";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue