about summary refs log tree commit diff
path: root/profiles/bluetooth/default.nix
blob: ffd05b4c67f36e3ef147e1689776526ec182cf3e (plain) (blame)
1
2
3
4
5
6
7
8
9
{ config, lib, ... }:
let cfg = config.my.profiles.bluetooth;
in {
  options.my.profiles.bluetooth = with lib; {
    enable = mkEnableOption "bluetooth profile";
  };

  config = lib.mkIf cfg.enable { my.hardware.bluetooth.enable = true; };
}