From 0e89b2a3c1e017b18f9d8a6dbb975a79cfd10856 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 4 Feb 2023 15:19:24 +0900 Subject: feat(home/development): create 'vhost' for gitolite management Previous git.sefidel.com entry forces ssh to authenticate with the fallback key only. On admin repository, authentication with gpg subkey is needed --- home/profiles/development/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'home/profiles/development') diff --git a/home/profiles/development/default.nix b/home/profiles/development/default.nix index 098f935..9961afb 100644 --- a/home/profiles/development/default.nix +++ b/home/profiles/development/default.nix @@ -88,6 +88,13 @@ in Port 22 IdentityFile ~/.ssh/id_ed25519 IdentitiesOnly true + + Host git-admin.vhosts.sefidel.com + HostName git.sefidel.com + User git + Port 22 + IdentityFile ~/.ssh/sefidel.pub + IdentitiesOnly true ''; home.packages = [ -- cgit 1.4.1