at 23.11-pre 883 B view raw
1# Telepathy daemon. 2 3{ config, lib, pkgs, ... }: 4 5with lib; 6 7{ 8 9 meta = { 10 maintainers = teams.gnome.members; 11 }; 12 13 ###### interface 14 15 options = { 16 17 services.telepathy = { 18 19 enable = mkOption { 20 type = types.bool; 21 default = false; 22 description = lib.mdDoc '' 23 Whether to enable Telepathy service, a communications framework 24 that enables real-time communication via pluggable protocol backends. 25 ''; 26 }; 27 28 }; 29 30 }; 31 32 33 ###### implementation 34 35 config = mkIf config.services.telepathy.enable { 36 37 environment.systemPackages = [ pkgs.telepathy-mission-control ]; 38 39 services.dbus.packages = [ pkgs.telepathy-mission-control ]; 40 41 # Enable runtime optional telepathy in gnome-shell 42 services.xserver.desktopManager.gnome.sessionPath = with pkgs; [ 43 telepathy-glib 44 telepathy-logger 45 ]; 46 }; 47 48}