about summary refs log tree commit diff stats
path: root/home-manager/config/gpg/default.nix
blob: 9457e171fa6e30180c0c421931161b98206229b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  config,
  pkgs,
  ...
}: {
  programs.gpg = {
    enable = true;
    homedir = "${config.xdg.dataHome}/gnupg/onlykey";
    #mutableKeys = false;
    #mutableTrust = false;
    settings = {
      # Hardware-based GPG configuration
      agent-program = "/home/soispha/.local/share/gnupg/onlykey/run-agent.sh";
      default-key = "Soispha <soispha@vhack.eu>";
      # TODO add more
    };
  };
}
# vim: ts=2