dotfiles/modules/os/desktop/bluetooth.nix
eriedaberrie 5a4d076d84 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-21 23:21:42 -07:00

20 lines
360 B
Nix

{ config, lib, ... }:
let
cfg = config.my.desktop.bluetooth;
in {
options.my.desktop.bluetooth = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
hardware.bluetooth = {
enable = true;
settings = {
General.Enable = "Source,Sink,Media,Socket";
};
};
services.blueman.enable = true;
};
}