summaryrefslogblamecommitdiffstats
path: root/modules/security.nix
blob: c88fe0ca3152630481af04b770cc042213da39e1 (plain) (tree)



























                                                               
{
    config,
    options,
    lib,
    pkgs,
    ...
}: let

in {
    config = {
        security.polkit.enable = true;
        services.pcscd.enable = true;
        
        programs.gnupg.agent = {
            enable = true;
            enableSSHSupport = true;
        };

        environment.systemPackages = [
            pkgs.pinentry-curses
        ];

        home.packages = [
            (pkgs.pass.withExtensions (exts: [exts.pass-otp ]))
            pkgs.pinentry-qt
        ];
    };
}