refactor: inputs/ --> {sys,home}/
This commit is contained in:
parent
8f22a24963
commit
f77c627980
225 changed files with 77 additions and 88 deletions
22
sys/modules/base/host/hardware/features/default.nix
Normal file
22
sys/modules/base/host/hardware/features/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) types mkOption;
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
./backlight.nix
|
||||
./battery.nix
|
||||
./ssd.nix
|
||||
./audio.nix
|
||||
./video.nix
|
||||
];
|
||||
|
||||
options.systemModules.host.hardware.features = mkOption {
|
||||
type = with types; listOf (enum ["audio" "video" "bluetooth" "backlight" "battery" "ssd"]);
|
||||
default = [];
|
||||
description = "What extra hardware feature system modules to use";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue