Home

dotnix @1b0a387fccc59c7e39ef4b73688f1ebc5e9d60a3 - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / apps / gpg.nix
- raw
 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
{pkgs, ...}: let
  key = "0xB853ADA5DA7BBF7A";
in {
  home.packages = with pkgs; [pinentry];
  programs.gpg = {
    enable = true;
    settings = {
      default-key = key;
      trusted-key = key;
      no-comments = true;
      no-greeting = true;
      no-emit-version = true;
      keyid-format = "0xlong";
      list-options = "show-uid-validity";
      verify-options = "show-uid-validity";
      with-fingerprint = true;
      with-key-origin = true;
    };
  };
  services.gpg-agent = {
    enable = true;
    enableExtraSocket = true;
    enableSshSupport = true;
    pinentryFlavor = "gnome3";
  };
}