587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
25 lines
435 B
Nix
25 lines
435 B
Nix
# blueman service
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.services.blueman;
|
|
in {
|
|
###### interface
|
|
options = {
|
|
services.blueman = {
|
|
enable = mkEnableOption "blueman, a bluetooth manager";
|
|
};
|
|
};
|
|
|
|
###### implementation
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = [ pkgs.blueman ];
|
|
|
|
services.dbus.packages = [ pkgs.blueman ];
|
|
|
|
systemd.packages = [ pkgs.blueman ];
|
|
};
|
|
}
|