ooknet/system/modules/host/function/default.nix
ooks-io 7a74befde3 feat(systemModules:host): add initial host configuration module
used to define general host configuration, including:

- hardware
- name
- admin
- type
- role
2024-04-29 18:48:18 +12:00

19 lines
328 B
Nix

{ lib, ... }:
let
inherit (lib) types mkOption;
in
{
imports = [
./gaming
./workstation
./media-server
];
options.systemModules.host.function = mkOption {
type = with types; listOf (enum ["gaming" "workstation" "media-server"]);
default = [];
description = "Host's primary function/s";
};
}