nix-conf/modules/nixos/bluetooth/default.nix

21 lines
358 B
Nix
Raw Normal View History

2024-04-11 05:43:35 +00:00
{
config,
lib,
...
}: {
options = {
bluetooth.enable = lib.mkEnableOption "enable bluetooth";
};
config = lib.mkIf config.bluetooth.enable {
hardware.bluetooth = {
enable = true;
settings = {
General = {
Experimental = "true";
Enable = "Source,Sink,Media,Socket";
};
2024-04-10 17:27:06 +00:00
};
};
};
}