mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-21 11:52:52 +00:00
add bluetooth
This commit is contained in:
parent
157e7143dc
commit
97bd1adc9e
3 changed files with 12 additions and 9 deletions
|
@ -16,15 +16,6 @@
|
|||
];
|
||||
|
||||
# Enable Bluetooth
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
Experimental = "true";
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Allow non-free firmware
|
||||
hardware.firmware = with pkgs; [firmwareLinuxNonfree];
|
||||
|
|
11
modules/nixos/bluetooth/default.nix
Normal file
11
modules/nixos/bluetooth/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
_: {
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
settings = {
|
||||
General = {
|
||||
Experimental = "true";
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{lib, ...}: {
|
||||
imports = [
|
||||
./bluetooth
|
||||
./bootloader
|
||||
./filesystem
|
||||
./kernel
|
||||
|
|
Loading…
Reference in a new issue