init: public
This commit is contained in:
19
modules/gpg.nix
Normal file
19
modules/gpg.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.my.makeHomeProgramConfig {
|
||||
inherit config;
|
||||
programName = "gpg";
|
||||
optionPath = [ "gpg" ];
|
||||
extraConfig = {
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
my.persist.homeDirs = [ ".gnupg" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user