Added bluetooth support
This commit is contained in:
parent
f81caab06b
commit
3eb39f90ec
20
modules/hardware/bluetooth/default.nix
Normal file
20
modules/hardware/bluetooth/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
options,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.aa.hardware.bluetooth;
|
||||
in {
|
||||
options.aa.hardware.bluetooth = with types; {
|
||||
enable = mkEnableOption "bluetooth";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -33,6 +33,7 @@
|
|||
};
|
||||
|
||||
hardware.audio.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.logitech.enable = true;
|
||||
|
||||
system.zfs.enable = true;
|
||||
|
|
Loading…
Reference in a new issue