8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
25 lines
414 B
Nix
25 lines
414 B
Nix
# blueman service
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.services.blueman;
|
|
in {
|
|
###### interface
|
|
options = {
|
|
services.blueman = {
|
|
enable = mkEnableOption "blueman";
|
|
};
|
|
};
|
|
|
|
###### implementation
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = [ pkgs.blueman ];
|
|
|
|
services.dbus.packages = [ pkgs.blueman ];
|
|
|
|
systemd.packages = [ pkgs.blueman ];
|
|
};
|
|
}
|