1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

gnome-keyring: add dbus service

This commit is contained in:
Luca Bruno 2014-04-11 00:41:51 +02:00
parent 9d5a06cfe7
commit b0154961ed
3 changed files with 42 additions and 0 deletions

View file

@ -100,6 +100,7 @@
./services/desktops/accountservice.nix ./services/desktops/accountservice.nix
./services/desktops/gnome3/at-spi2-core.nix ./services/desktops/gnome3/at-spi2-core.nix
./services/desktops/gnome3/evolution-data-server.nix ./services/desktops/gnome3/evolution-data-server.nix
./services/desktops/gnome3/gnome-keyring.nix
./services/desktops/gnome3/sushi.nix ./services/desktops/gnome3/sushi.nix
./services/desktops/gnome3/tracker.nix ./services/desktops/gnome3/tracker.nix
./services/desktops/telepathy.nix ./services/desktops/telepathy.nix

View file

@ -0,0 +1,40 @@
# GNOME Keyring daemon.
{ config, pkgs, ... }:
with pkgs.lib;
{
###### interface
options = {
services.gnome3.gnome-keyring = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to enable GNOME Keyring daemon, a service designed to
take care of the user's security credentials,
such as user names and passwordsa search engine.
'';
};
};
};
###### implementation
config = mkIf config.services.gnome3.gnome-keyring.enable {
environment.systemPackages = [ pkgs.gnome3.gnome_keyring ];
services.dbus.packages = [ pkgs.gnome3.gnome_keyring ];
};
}

View file

@ -42,6 +42,7 @@ in {
services.accounts-daemon.enable = true; services.accounts-daemon.enable = true;
services.gnome3.at-spi2-core.enable = true; services.gnome3.at-spi2-core.enable = true;
services.gnome3.evolution-data-server.enable = true; services.gnome3.evolution-data-server.enable = true;
services.gnome3.gnome-keyring.enable = true;
services.gnome3.sushi.enable = mkDefault true; services.gnome3.sushi.enable = mkDefault true;
services.gnome3.tracker.enable = mkDefault true; services.gnome3.tracker.enable = mkDefault true;
services.telepathy.enable = mkDefault true; services.telepathy.enable = mkDefault true;