Files
nix-config/modules/nixos/desktop/security.nix
Sacabambaspis 00b4997a74 Fix typo
2024-01-11 20:04:09 +08:00

22 lines
504 B
Nix

{config, ...}: {
nix.extraOptions = ''
!include ${config.age.secrets.nix-access-tokens.path}
'';
# security with polkit
services.power-profiles-daemon = {
enable = true;
};
security.polkit.enable = true;
# security with gnome-kering
services.gnome.gnome-keyring.enable = true;
security.pam.services.greetd.enableGnomeKeyring = true;
# gpg agent with pinentry
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "curses";
enableSSHSupport = false;
};
}