about summary refs log tree commit diff
path: root/home/profiles
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-04 15:19:24 +0900
committersefidel <contact@sefidel.net>2023-02-04 15:19:24 +0900
commit0e89b2a3c1e017b18f9d8a6dbb975a79cfd10856 (patch)
tree4fc7383d5986c3e951f76572edf827c8ca2e24b7 /home/profiles
parent5cc5d6ef91ae5a1e98390742dd8fe5cde207e632 (diff)
downloadnixrc-0e89b2a3c1e017b18f9d8a6dbb975a79cfd10856.tar.gz
nixrc-0e89b2a3c1e017b18f9d8a6dbb975a79cfd10856.zip
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
Diffstat (limited to 'home/profiles')
-rw-r--r--home/profiles/development/default.nix7
1 files changed, 7 insertions, 0 deletions
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 = [