aboutsummaryrefslogtreecommitdiff
path: root/users/ryan/home.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/ryan/home.nix')
-rw-r--r--users/ryan/home.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/users/ryan/home.nix b/users/ryan/home.nix
index a83257b..5542baa 100644
--- a/users/ryan/home.nix
+++ b/users/ryan/home.nix
@@ -89,10 +89,18 @@
89 }; 89 };
90 90
91 services.gpg-agent = { 91 services.gpg-agent = {
92 enable = true; 92 enable = pkgs.stdenv.isLinux;
93 enableSshSupport = true; 93 enableSshSupport = true;
94 }; 94 };
95 95
96 # Need special config for gpg-agent on macOS
97 home.file.".gnupg/gpg-agent.conf" = lib.mkIf pkgs.stdenv.isDarwin {
98 text = ''
99 pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac
100 enable-ssh-support
101 '';
102 };
103
96 programs.zsh = { 104 programs.zsh = {
97 enable = true; 105 enable = true;
98 initContent = let 106 initContent = let