Add gpg
This commit is contained in:
parent
0624af1db9
commit
974c703031
1 changed files with 10 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
# In order to allow reuse of the iTerm2 shell integrations repo
|
# In order to allow reuse of the iTerm2 shell integrations repo
|
||||||
# for both its utility symlinks and zsh initialization plugin,
|
# for both its utility symlinks and zsh initialization plugin,
|
||||||
|
@ -49,6 +49,15 @@ in {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# GPG
|
||||||
|
programs.gpg.enable = true;
|
||||||
|
home.file.".gnupg/gpg-agent.conf" = lib.mkIf pkgs.stdenv.isDarwin {
|
||||||
|
text = ''
|
||||||
|
pinentry-program "${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
# password-store
|
# password-store
|
||||||
programs.password-store = {
|
programs.password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue