This commit is contained in:
commit
95a533c876
451 changed files with 18255 additions and 0 deletions
22
modules/nixos/bluetooth/default.nix
Normal file
22
modules/nixos/bluetooth/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
in
|
||||
{
|
||||
hardware.bluetooth.enable = mkDefault true;
|
||||
hardware.bluetooth.powerOnBoot = mkDefault false;
|
||||
hardware.bluetooth.settings.General.Enable = mkDefault "Source,Sink,Media,Socket";
|
||||
hardware.bluetooth.settings.General.Experimental = mkDefault true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
blueman
|
||||
bluez
|
||||
bluez-tools
|
||||
];
|
||||
|
||||
boot.kernelModules = [
|
||||
"btusb"
|
||||
"bluetooth"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue