added stuff
This commit is contained in:
parent
e8d9044d2b
commit
9d0ebdfbd0
907 changed files with 70990 additions and 0 deletions
25
nyx/modules/options/device/capabilities.nix
Normal file
25
nyx/modules/options/device/capabilities.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue