refactor(nixos:host): move module options -> nixos/options/host.nix
This commit is contained in:
parent
20466f95b2
commit
1ac90d7985
11 changed files with 137 additions and 199 deletions
|
|
@ -1,9 +1,3 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) types mkOption;
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
./bluetooth.nix
|
||||
|
|
@ -13,10 +7,4 @@ in
|
|||
./audio.nix
|
||||
./video.nix
|
||||
];
|
||||
|
||||
options.ooknet.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