2019-09-03 08:26:37 +00:00
|
|
|
# blueman service
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.services.blueman;
|
|
|
|
in {
|
|
|
|
###### interface
|
|
|
|
options = {
|
|
|
|
services.blueman = {
|
2022-08-28 19:18:44 +00:00
|
|
|
enable = mkEnableOption (lib.mdDoc "blueman");
|
2019-09-03 08:26:37 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
###### implementation
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.blueman ];
|
|
|
|
|
|
|
|
services.dbus.packages = [ pkgs.blueman ];
|
|
|
|
|
|
|
|
systemd.packages = [ pkgs.blueman ];
|
|
|
|
};
|
|
|
|
}
|