mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-07-08 18:55:00 +02:00
add gpg
This commit is contained in:
parent
f052b6f0ce
commit
bb1cae058f
2 changed files with 16 additions and 0 deletions
|
@ -34,6 +34,7 @@ with lib;
|
|||
./../programs/ssh.nix
|
||||
./../programs/vscode.nix
|
||||
./../programs/zed.nix
|
||||
./../programs/gpg.nix
|
||||
./../../nix.nix
|
||||
./packages.nix
|
||||
];
|
||||
|
|
15
home-manager/programs/gpg.nix
Normal file
15
home-manager/programs/gpg.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
defaultCacheTtl = 43200;
|
||||
maxCacheTtl = 43200;
|
||||
|
||||
pinentry.package = pkgs.pinentry-curses;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue