summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-11-02 13:23:05 -0600
committerTim Keller <tjk@tjkeller.xyz>2026-11-02 13:23:05 -0600
commite641d21f2e5c83f7b2814d57add961bb67bb262b (patch)
treecd1a00346635626fafb00ab860e53b5d5e719651 /hosts
parent80a4031786854d700d051c7160d5af111d1a75db (diff)
downloadnixos-e641d21f2e5c83f7b2814d57add961bb67bb262b.tar.xz
nixos-e641d21f2e5c83f7b2814d57add961bb67bb262b.zip
add /etc/ssh to cgit bindMounts for consistent ssh identity
Diffstat (limited to 'hosts')
-rw-r--r--hosts/poweredge-pro/cgit.nix8
1 files changed, 7 insertions, 1 deletions
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, ... }: {