1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 12:49:48 +01:00
home-manager/modules
John Ericson 4367119ca3
local gpg-agent acting as ssh-agent should yield (#667) (#2253)
* gpg-agent: local agent acting as ssh-agent should yield

This happens commonly if someone using home manager with gpg-agent
acting as ssh-agent on both machines.

@rycee brought up how gpg-itself has some support for agents on both
ends, but in that case one is forwarding the gpg-agent socket rather
than forwardning the gpg-agent-as-ssh-agent socket. There is no need to
forward both.

So I think this is a good default:

 - Forward just gpg-agent socket and this doesn't matter.

 - Forward just the ssh-agent socket and this does the right thing.

 - Forward both sockets and now the ssh one takes priority instead, but
   forwarding both was always a silly thing to do.

Fix #667

* Update modules/services/gpg-agent.nix

Co-authored-by: Nicolas Berbiche <nic.berbiche@gmail.com>

Co-authored-by: Nicolas Berbiche <nic.berbiche@gmail.com>
2021-08-21 01:43:41 -04:00
..
accounts email: allow null certificatesFile 2021-08-10 00:12:13 +02:00
config Move platform check into modules 2021-07-18 20:43:22 +02:00
i18n/input-method Move platform check into modules 2021-07-18 20:43:22 +02:00
lib htop: add self as maintainer 2021-08-16 23:20:30 +02:00
lib-bash home-environment: use declare -gr in activation init 2021-07-27 23:50:33 +02:00
misc git-sync: add module 2021-08-17 00:00:38 +02:00
programs neomutt: Allow named mailboxes (#2212) 2021-08-19 00:33:53 -04:00
services local gpg-agent acting as ssh-agent should yield (#667) (#2253) 2021-08-21 01:43:41 -04:00
targets Move platform check into modules 2021-07-18 20:43:22 +02:00
default.nix modules: don't reference deprecated stdenv.lib (#1770) 2021-02-01 09:52:05 -05:00
files.nix files: move dry run logic out of onChange hooks 2021-08-17 22:14:32 +02:00
home-environment.nix nixos: add nix package to activation script path 2021-07-23 23:18:15 +02:00
manual.nix docs: rename "doc" directory to "docs" 2021-08-17 19:35:11 +02:00
modules.nix git-sync: add module 2021-08-17 00:00:38 +02:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix Remove a few format exceptions 2021-07-18 23:34:50 +02:00
xcursor.nix Move platform check into modules 2021-07-18 20:43:22 +02:00
xresources.nix files: move dry run logic out of onChange hooks 2021-08-17 22:14:32 +02:00
xsession.nix xsession: set default value of windowManager.command to handle display manager parameter (#2123) 2021-08-17 21:44:23 -04:00