ooknet/nixos/modules/services/dbus.nix
2024-06-11 22:37:17 +12:00

16 lines
268 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf;
cfg = config.ooknet.services.dbus;
in
{
config = mkIf cfg.enable {
services.dbus = {
enable = true;
packages = with pkgs; [ dconf gcr udisks2 ];
implementation = "broker";
};
};
}