We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93262b6 commit c572304Copy full SHA for c572304
1 file changed
modules/common/programs/terminal/tools/ssh/default.nix
@@ -32,7 +32,7 @@ let
32
remote-user-id = if remote.system == "darwin" then "501" else "1000";
33
34
forward-gpg =
35
- lib.optionalString (config.programs.gnupg.agent.enable && remote.gpgAgent)
+ lib.optionalString (config.programs.gnupg.agent.enable && (remote.gpgAgent or false))
36
" RemoteForward /run/user/${remote-user-id}/gnupg/S.gpg-agent /run/user/${user-id}/gnupg/S.gpg-agent.extra\n RemoteForward /run/user/${remote-user-id}/gnupg/S.gpg-agent.ssh /run/user/${user-id}/gnupg/S.gpg-agent.ssh";
37
port-expr = lib.optionalString (remote.system == "nixos") " Port ${toString cfg.port}";
38
0 commit comments