From e641d21f2e5c83f7b2814d57add961bb67bb262b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 2 Nov 2026 13:23:05 -0600 Subject: add /etc/ssh to cgit bindMounts for consistent ssh identity --- hosts/poweredge-pro/cgit.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hosts/poweredge-pro/cgit.nix') diff --git a/hosts/poweredge-pro/cgit.nix b/hosts/poweredge-pro/cgit.nix index 6465265..5157e75 100644 --- a/hosts/poweredge-pro/cgit.nix +++ b/hosts/poweredge-pro/cgit.nix @@ -15,10 +15,16 @@ in { localMacAddress = "02:00:00:00:77:08"; bindMounts = { - ${scanPath} = { + # Repos + "${scanPath}" = { hostPath = "/nix/persist/cgit/srv/git"; isReadOnly = false; }; + # Consistent ssh identity + "/etc/ssh" = { + hostPath = "/nix/persist/cgit/etc/ssh"; + isReadOnly = false; + }; }; config = { pkgs, lib, config, ... }: { -- cgit v1.3.1