home: add gpg
Configures both `gpg` and `gpg-agent`
This commit is contained in:
parent
461937cc4b
commit
13f90dfcfa
|
@ -5,6 +5,7 @@
|
|||
./direnv.nix
|
||||
./documentation.nix
|
||||
./git
|
||||
./gpg.nix
|
||||
./htop.nix
|
||||
./jq.nix
|
||||
./packages.nix
|
||||
|
|
14
home/gpg.nix
Normal file
14
home/gpg.nix
Normal file
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue