nix/module/desktop/Bluetooth.nix

16 lines
308 B
Nix
Raw Normal View History

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