nixpkgs/nixos/modules/services/desktops/telepathy.nix
Jan Tojnar a7485af7d5 nixos/telepathy: Remove GNOME remnants
GNOME Shell 46 dropped the telepathy support so we no longer need to add the typelib to session path.
c5ec3e45e4

Looking at Debian code search, no packages other than Polari should need the typelib from path anyway, and Polari already gets it from a wrapper:
https://codesearch.debian.net/search?q=TelepathyGLib+-package%3Atelepathy-glib+-package%3Asugar+-path%3Avala&literal=0

Also unmaintain as it is no longer used by GNOME.

The daemon components are needed by lomiri and polari:
https://codesearch.debian.net/search?q=org.freedesktop.Telepathy.MissionControl5%7Corg.freedesktop.Telepathy.AccountManager%7C%5Cbmc-tool%5Cb%7Cmc-wait-for-name&literal=0
2025-05-27 18:15:07 +02:00

43 lines
687 B
Nix

# Telepathy daemon.
{
config,
lib,
pkgs,
...
}:
{
meta = {
maintainers = [ ];
};
###### 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 ];
};
}