flakes/modules/nixos/hardware/bluetooth/default.nix
Chinmay D. Pai 3a3a8afe30
feat: add nixos configuration based on snowfall-lib
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2024-09-02 18:31:19 +05:30

19 lines
480 B
Nix

{ config, lib, ... }:
{
options.snowflake.hardware.bluetooth.enable = lib.mkEnableOption "Enable bluetooth hardware support";
config = lib.mkIf config.snowflake.hardware.bluetooth.enable {
# Enable bluetooth hardware.
hardware.bluetooth = {
enable = true;
settings = {
General = {
# Enable battery charge levels for bluetooth devices.
Experimental = true;
KernelExperimental = true;
};
};
};
};
}