feat(systemModules): add meta module

This commit is contained in:
ooks-io 2024-04-24 18:30:50 +12:00
parent 7a6f932740
commit 34ad7d3d61
3 changed files with 19 additions and 0 deletions

View file

@ -14,6 +14,7 @@
./security ./security
./services ./services
./audio ./audio
./meta
]; ];

View file

@ -0,0 +1,5 @@
{
imports = [
./device
];
}

View file

@ -0,0 +1,13 @@
{ lib, ... }:
let
inherit (lib) types mkOption;
in
{
options.systemModules.meta.device.type = mkOption {
type = types.enum ["desktop" "server" "phone" "vm"];
default = "desktop";
description = "Meta option to describe what type of device the host is";
};
}