diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2014-04-11 00:41:51 +0200 |
---|---|---|
committer | Luca Bruno <lucabru@src.gnome.org> | 2014-04-14 09:58:03 +0200 |
commit | b0154961ed7765ae11dd857a4699e18a0a36015b (patch) | |
tree | 86029a0638126a78f9487dc8b955f767420ce4bd /nixos/modules/services/desktops/gnome3 | |
parent | 9d5a06cfe7160db895962815fb60d989e3705d4b (diff) | |
download | nixlib-b0154961ed7765ae11dd857a4699e18a0a36015b.tar nixlib-b0154961ed7765ae11dd857a4699e18a0a36015b.tar.gz nixlib-b0154961ed7765ae11dd857a4699e18a0a36015b.tar.bz2 nixlib-b0154961ed7765ae11dd857a4699e18a0a36015b.tar.lz nixlib-b0154961ed7765ae11dd857a4699e18a0a36015b.tar.xz nixlib-b0154961ed7765ae11dd857a4699e18a0a36015b.tar.zst nixlib-b0154961ed7765ae11dd857a4699e18a0a36015b.zip |
gnome-keyring: add dbus service
Diffstat (limited to 'nixos/modules/services/desktops/gnome3')
-rw-r--r-- | nixos/modules/services/desktops/gnome3/gnome-keyring.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/nixos/modules/services/desktops/gnome3/gnome-keyring.nix b/nixos/modules/services/desktops/gnome3/gnome-keyring.nix new file mode 100644 index 000000000000..447fd783f148 --- /dev/null +++ b/nixos/modules/services/desktops/gnome3/gnome-keyring.nix @@ -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 ]; + + }; + +} |