nixpkgs/nixos/modules/services/desktops/telepathy.nix
2025-04-20 14:51:18 +02:00

48 lines
860 B
Nix

# Telepathy daemon.
{
config,
lib,
pkgs,
...
}:
{
meta = {
maintainers = lib.teams.gnome.members;
};
###### interface
options = {
services.telepathy = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Whether to enable Telepathy service, a communications framework
that enables real-time communication via pluggable protocol backends.
'';
};
};
};
###### implementation
config = lib.mkIf config.services.telepathy.enable {
environment.systemPackages = [ pkgs.telepathy-mission-control ];
services.dbus.packages = [ pkgs.telepathy-mission-control ];
# Enable runtime optional telepathy in gnome-shell
services.xserver.desktopManager.gnome.sessionPath = with pkgs; [
telepathy-glib
];
};
}