mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:48:11 +09:00
14 lines
268 B
Nix
14 lines
268 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.my.features.connect.bluetooth;
|
|
in
|
|
{
|
|
options.my.features.connect.bluetooth = {
|
|
enable = lib.mkEnableOption "Bluetooth support";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
my.system.hardware.bluetooth.enable = true;
|
|
};
|
|
}
|