mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-09 23:49:43 +00:00
add bluetooth option
This commit is contained in:
parent
1d63a46291
commit
9177bf6c02
1 changed files with 16 additions and 7 deletions
|
@ -1,10 +1,19 @@
|
||||||
_: {
|
{
|
||||||
hardware.bluetooth = {
|
config,
|
||||||
enable = true;
|
lib,
|
||||||
settings = {
|
...
|
||||||
General = {
|
}: {
|
||||||
Experimental = "true";
|
options = {
|
||||||
Enable = "Source,Sink,Media,Socket";
|
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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue