{ options, config, lib, namespace, ... }: let inherit (lib) mkIf types; inherit (lib.wyrdgard) mkBoolOpt; cfg = config.${namespace}.security.keyring; in { options.${namespace}.security.keyring = { enable = mkBoolOpt true "Whether to enable gnome keyring."; }; config = mkIf cfg.enable { services.gnome.gnome-keyring.enable = true; }; }