From 097f3ab77a7a426ee50da48b7844493c4c836759 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 27 Nov 2021 11:52:45 +0100 Subject: have gpg-agent manage ssh keys --- home/config/environment.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'home/config') diff --git a/home/config/environment.nix b/home/config/environment.nix index e09dbc4..82b6a18 100644 --- a/home/config/environment.nix +++ b/home/config/environment.nix @@ -35,7 +35,8 @@ shellAliases = let nix-code-path = "~/code/nix"; in { amimullvad = "curl -Ls https://am.i.mullvad.net/connected"; - nixos-update-config = "sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/"; + nixos-update-config = + "sudo cp -rf ${nix-code-path}/latitude-7490/nixos/ /etc/"; rm = "rm -f"; ssh = "TERM=xterm-256color ssh"; mkenv = '' @@ -59,7 +60,10 @@ nix-direnv.enable = true; }; - services.gpg-agent.enable = true; + services.gpg-agent = { + enable = true; + enableSshSupport = true; + }; home.file.".config/latexmkrc".source = ./dotfiles/latexmkrc; } -- cgit v1.2.3