nix/module/Bluetooth.nix

19 lines
322 B
Nix
Raw Permalink Normal View History

{ lib, config, ... }:
with lib;
let
cfg = config.module.desktop.bluetooth;
in
{
options = {
module.desktop.bluetooth.enable = mkEnableOption "Bluetooth.";
};
2024-06-25 04:04:39 +03:00
config = mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
};
services.blueman.enable = true;
};
2024-03-28 12:01:06 +03:00
}