1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-23 03:32:08 +01:00
github.com-tboerger-nixos-c.../profiles/services/blueman.nix

29 lines
453 B
Nix

{ pkgs, lib, config, options, ... }:
with lib;
let
cfg = config.profile.services.blueman;
in
{
options = {
profile = {
services = {
blueman = {
enable = mkEnableOption "Blueman";
};
};
};
};
config = mkIf cfg.enable {
home-manager.users."${config.profile.username}" = { config, ... }: {
services = {
blueman-applet = {
enable = true;
};
};
};
};
}