summary refs log tree commit diff
path: root/nixos/modules/services/desktops/blueman.nix
blob: fad2f21bce5bd092b567924f2729b541a0e3671a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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 ];
  };
}