diff --git a/modules/hardware/bluetooth/default.nix b/modules/hardware/bluetooth/default.nix new file mode 100644 index 0000000..69bc0c7 --- /dev/null +++ b/modules/hardware/bluetooth/default.nix @@ -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; + }; +} + diff --git a/systems/x86_64-linux/gospel/default.nix b/systems/x86_64-linux/gospel/default.nix index 6d8d825..c09729b 100644 --- a/systems/x86_64-linux/gospel/default.nix +++ b/systems/x86_64-linux/gospel/default.nix @@ -33,6 +33,7 @@ }; hardware.audio.enable = true; + hardware.bluetooth.enable = true; hardware.logitech.enable = true; system.zfs.enable = true;