2022-04-25 18:26:16 +00:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.nki.services.pam;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.nki.services.pam.enableGnomeKeyring = mkEnableOption "Enable gnome-keyring on login";
|
|
|
|
config = mkIf cfg.enableGnomeKeyring {
|
|
|
|
security.pam.services.login.enableGnomeKeyring = true;
|
2022-09-12 18:31:15 +00:00
|
|
|
# security.pam.services.login.gnupg.enable = true;
|
2022-04-25 18:26:16 +00:00
|
|
|
};
|
|
|
|
}
|