Added bluetooth support

This commit is contained in:
Alejandro Angulo 2023-07-13 18:36:01 -07:00
parent f81caab06b
commit 3eb39f90ec
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 21 additions and 0 deletions

View 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;
};
}

View file

@ -33,6 +33,7 @@
}; };
hardware.audio.enable = true; hardware.audio.enable = true;
hardware.bluetooth.enable = true;
hardware.logitech.enable = true; hardware.logitech.enable = true;
system.zfs.enable = true; system.zfs.enable = true;