From 6db577fbf5194b7c61a525d3c2bcf5701391a347 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Mon, 29 Apr 2024 18:46:20 +1200 Subject: [PATCH] refactor(systemModules:ssh): move gnupg.agent to ssh module --- system/modules/networking/ssh/default.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/system/modules/networking/ssh/default.nix b/system/modules/networking/ssh/default.nix index a8bb965..8fb1b4e 100644 --- a/system/modules/networking/ssh/default.nix +++ b/system/modules/networking/ssh/default.nix @@ -27,9 +27,16 @@ in KbdInteractiveAuthentication = mkDefault false; }; }; - programs.ssh = { - knownHosts = { - "192.168.1.36".publicKey = phoneKey; + + programs = { + ssh = { + knownHosts = { + "192.168.1.36".publicKey = phoneKey; + }; + }; + gnupg.agent = { + enable = true; + enableSSHSupport = true; }; }; };