depot/third_party/nixpkgs/nixos/modules/services/desktops/blueman.nix

26 lines
426 B
Nix
Raw Normal View History

# blueman service
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.blueman;
in {
###### interface
options = {
services.blueman = {
enable = mkEnableOption (lib.mdDoc "blueman");
};
};
###### implementation
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.blueman ];
services.dbus.packages = [ pkgs.blueman ];
systemd.packages = [ pkgs.blueman ];
};
}