From 9cfb0b9ce8c021fbf6fe4bdfed2276ce00b7b614 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sun, 14 Oct 2018 18:01:06 +0200 Subject: [PATCH] enable ssh agent --- home/home.nix | 4 ++++ nixos/configuration.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/home/home.nix b/home/home.nix index b321d61..8849daa 100644 --- a/home/home.nix +++ b/home/home.nix @@ -223,4 +223,8 @@ in # { enable = true; # }; + services.gpg-agent = + { enable = true; + enableSshSupport = true; + }; } diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 3c09072..e8b2bdc 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -69,6 +69,8 @@ in { # Enable the OpenSSH daemon. # services.openssh.enable = true; + + programs.ssh.startAgent = true; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ];