user-interface: use keyring-based ssh agent
Alan Pearce alan@alanpearce.eu
Fri, 18 Oct 2019 12:53:04 +0200
1 files changed, 6 insertions(+), 1 deletions(-)
M system/settings/user-interface.nix → system/settings/user-interface.nix
@@ -70,7 +70,8 @@ night = 3600; }; }; - programs.ssh.startAgent = true; + # use gnome-keyring + programs.ssh.startAgent = false; programs.dconf.enable = true; programs.seahorse.enable = true; @@ -78,6 +79,10 @@ services.gnome3 = { gnome-keyring.enable = true; at-spi2-core.enable = true; }; + services.xserver.displayManager.sessionCommands = '' + eval $(/run/wrappers/bin/gnome-keyring-daemon --start --components=secrets,ssh,pkcs11) + export SSH_AUTH_SOCK + ''; imports = [ ./services/xserver.nix