added stuff

This commit is contained in:
vali 2024-04-09 23:11:33 +02:00
commit 7d4f626b7d
907 changed files with 70990 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{lib, ...}: let
inherit (lib) mkOption types;
in {
options.modules.device = {
# bluetooth is an insecure protocol if left unchedked, so while this defaults to true
# but the bluetooth.enable option does and should not.
hasBluetooth = mkOption {
type = types.bool;
default = true;
description = "Whether or not the system has bluetooth support";
};
hasSound = mkOption {
type = types.bool;
default = true;
description = "Whether the system has sound support (usually true except for servers)";
};
hasTPM = mkOption {
type = types.bool;
default = false;
description = "Whether the system has tpm support";
};
};
}