refactor(nixos:host): move module options -> nixos/options/host.nix

This commit is contained in:
ooks-io 2024-06-10 13:23:53 +12:00
parent 20466f95b2
commit 1ac90d7985
11 changed files with 137 additions and 199 deletions

View file

@ -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";
};
}