home: add gpg
Configures both `gpg` and `gpg-agent`
This commit is contained in:
parent
461937cc4b
commit
13f90dfcfa
2 changed files with 15 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./documentation.nix
|
./documentation.nix
|
||||||
./git
|
./git
|
||||||
|
./gpg.nix
|
||||||
./htop.nix
|
./htop.nix
|
||||||
./jq.nix
|
./jq.nix
|
||||||
./packages.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…
Add table
Add a link
Reference in a new issue