diff --git a/home/default.nix b/home/default.nix index ab9e4f0..65018d0 100644 --- a/home/default.nix +++ b/home/default.nix @@ -5,6 +5,7 @@ ./direnv.nix ./documentation.nix ./git + ./gpg.nix ./htop.nix ./jq.nix ./packages.nix diff --git a/home/gpg.nix b/home/gpg.nix new file mode 100644 index 0000000..69fdc3e --- /dev/null +++ b/home/gpg.nix @@ -0,0 +1,14 @@ +{ ... }: +{ + programs.gpg = { + enable = true; + }; + + services.gpg-agent = { + enable = true; + enableSshSupport = true; # One agent to rule them all + extraConfig = '' + allow-loopback-pinentry + ''; + }; +}