summaryrefslogtreecommitdiffstats
path: root/modules/security.nix
blob: 9c85577d3893acab7b2e0ec7f14324ae7a07ab74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
    config,
    options,
    lib,
    pkgs,
    ...
}: let

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

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