1# GNOME Keyring daemon.
2
3{ config, pkgs, lib, ... }:
4
5with lib;
6
7{
8
9 ###### interface
10
11 options = {
12
13 services.gnome3.gnome-keyring = {
14
15 enable = mkOption {
16 type = types.bool;
17 default = false;
18 description = ''
19 Whether to enable GNOME Keyring daemon, a service designed to
20 take care of the user's security credentials,
21 such as user names and passwords.
22 '';
23 };
24
25 };
26
27 };
28
29
30 ###### implementation
31
32 config = mkIf config.services.gnome3.gnome-keyring.enable {
33
34 environment.systemPackages = [ pkgs.gnome3.gnome-keyring ];
35
36 services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gnome3.gcr ];
37
38 };
39
40}