refactor(system): flatten
This commit is contained in:
parent
ef1482a65a
commit
8298fc375a
42 changed files with 239 additions and 89 deletions
13
inputs/system/modules/base/host/role.nix
Normal file
13
inputs/system/modules/base/host/role.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) types mkOption;
|
||||
in
|
||||
|
||||
{
|
||||
options.systemModules.host.function = mkOption {
|
||||
type = with types; listOf (enum ["gaming" "workstation" "media-server"]);
|
||||
default = [];
|
||||
description = "Host's primary function/s";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue