nix-conf/modules/nixos/bluetooth/default.nix
2024-04-11 11:13:35 +05:30

20 lines
358 B
Nix

{
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";
};
};
};
};
}