2024-03-31 14:23:04 +00:00
|
|
|
{pkgs, ...}: {
|
2023-05-16 19:10:41 +00:00
|
|
|
# enable polkit
|
|
|
|
security.polkit.enable = true;
|
|
|
|
|
|
|
|
# enable gpg agent
|
|
|
|
programs.gnupg.agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSSHSupport = true;
|
2024-03-31 14:23:04 +00:00
|
|
|
pinentryPackage = pkgs.pinentry-gnome3;
|
2023-05-16 19:10:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# secrets keyring
|
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
|
|
|
|
|
|
# allow swaylock to use pam
|
2023-12-15 15:18:36 +00:00
|
|
|
security.pam.services.swaylock = {};
|
2023-05-16 19:10:41 +00:00
|
|
|
}
|