diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-11-02 13:23:05 -0600 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-11-02 13:23:05 -0600 |
| commit | e641d21f2e5c83f7b2814d57add961bb67bb262b (patch) | |
| tree | cd1a00346635626fafb00ab860e53b5d5e719651 /hosts/poweredge-pro/cgit.nix | |
| parent | 80a4031786854d700d051c7160d5af111d1a75db (diff) | |
| download | nixos-e641d21f2e5c83f7b2814d57add961bb67bb262b.tar.xz nixos-e641d21f2e5c83f7b2814d57add961bb67bb262b.zip | |
add /etc/ssh to cgit bindMounts for consistent ssh identity
Diffstat (limited to 'hosts/poweredge-pro/cgit.nix')
| -rw-r--r-- | hosts/poweredge-pro/cgit.nix | 8 |
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, ... }: { |
