mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-14 00:59:44 +00:00
20 lines
358 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|