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