telepathy-mission-control: add dbus service, enabled by default on gnome3
This commit is contained in:
parent
f88597d6e4
commit
8553993887
@ -99,6 +99,7 @@
|
|||||||
./services/desktops/accountservice.nix
|
./services/desktops/accountservice.nix
|
||||||
./services/desktops/gnome3/evolution-data-server.nix
|
./services/desktops/gnome3/evolution-data-server.nix
|
||||||
./services/desktops/gnome3/sushi.nix
|
./services/desktops/gnome3/sushi.nix
|
||||||
|
./services/desktops/telepathy.nix
|
||||||
./services/games/ghost-one.nix
|
./services/games/ghost-one.nix
|
||||||
./services/games/minecraft-server.nix
|
./services/games/minecraft-server.nix
|
||||||
./services/hardware/acpid.nix
|
./services/hardware/acpid.nix
|
||||||
|
39
nixos/modules/services/desktops/telepathy.nix
Normal file
39
nixos/modules/services/desktops/telepathy.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Telepathy daemon.
|
||||||
|
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
with pkgs.lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
###### interface
|
||||||
|
|
||||||
|
options = {
|
||||||
|
|
||||||
|
services.telepathy = {
|
||||||
|
|
||||||
|
enable = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Whether to enable Telepathy service, a communications framework
|
||||||
|
that enables real-time communication via pluggable protocol backends.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
###### implementation
|
||||||
|
|
||||||
|
config = mkIf config.services.telepathy.enable {
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.telepathy_mission_control ];
|
||||||
|
|
||||||
|
services.dbus.packages = [ pkgs.telepathy_mission_control ];
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -25,6 +25,7 @@ in {
|
|||||||
services.accounts-daemon.enable = true;
|
services.accounts-daemon.enable = true;
|
||||||
services.gnome3.evolution-data-server.enable = true;
|
services.gnome3.evolution-data-server.enable = true;
|
||||||
services.gnome3.sushi.enable = true;
|
services.gnome3.sushi.enable = true;
|
||||||
|
services.telepathy.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
services.upower.enable = config.powerManagement.enable;
|
services.upower.enable = config.powerManagement.enable;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt }:
|
{ stdenv, fetchurl, pkgconfig, telepathy_glib, libxslt, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-5.16.0";
|
name = "${pname}-5.16.0";
|
||||||
@ -9,7 +9,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1l61w6j04mbrjsbcfrlc0safh9nlsjnj0z6lszal64r9bhkcghzd";
|
sha256 = "1l61w6j04mbrjsbcfrlc0safh9nlsjnj0z6lszal64r9bhkcghzd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ telepathy_glib ];
|
buildInputs = [ telepathy_glib makeWrapper ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig libxslt ];
|
nativeBuildInputs = [ pkgconfig libxslt ];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
wrapProgram "$out/libexec/mission-control-5" \
|
||||||
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user