feat: add gallium server ssh key to agenix

This commit is contained in:
Youwen Wu 2024-12-27 20:41:02 -08:00
parent 4f510f7418
commit 2b9bb62e36
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 20 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ config, osConfig, ... }:
{ config, ... }:
{
imports = [
@ -29,13 +29,18 @@
matchBlocks = {
"code.youwen.dev" = {
host = "code.youwen.dev";
port = 222;
# port = 222;
identityFile = config.age.secrets.youwen_dev_ssh_priv_key.path;
};
"github" = {
host = "github.com";
identityFile = config.age.secrets.github_ssh_priv_key.path;
};
"gallium" = {
host = "gallium";
port = 222;
identityFile = config.age.secrets.gallium_server_ssh.path;
};
};
};
}

View file

@ -30,5 +30,9 @@
file = ./youwen_dev_ssh_priv_key.age;
mode = "600";
};
gallium_server_ssh = {
file = ./gallium_server_ssh.age;
mode = "600";
};
};
}

View file

@ -0,0 +1,8 @@
age-encryption.org/v1
-> ssh-ed25519 ouRmYQ zPThVCSFosrujQq83MdObSK7a+k24PelaN0b1X3DB1I
yQTI6QNsvQO4BiT/R+CqpT9kuCjS5ih2LoI7gDy1fXQ
-> ssh-ed25519 lpWvhA 9vd886Uq7Vficuy33CRiQAsWbya0aw4r48A39D1HPgE
tTd4M+TlUsMhihlhuDEx4KcQI5csMLmrnb+6RaIbKuk
--- GMLjb4BMaA602iE8HJ6aFSIe3JS5QrVVX5ncX6n2ctE
_u”m±„WÌ,õÉšÃ2ïÝÙRwO¬év;lü½îåµùàCÿü¶PŒßX$ÿö¼×qláû×l¯ã„Š¿qâÖòQÿõõ …¶Ü°ƒõv;<3B><19>|þ<„Å ô)6üHQgÐœwY|`>}B]õû›¤ÄÎJÁÁv{FÚ+‘Ç$iPó:£R2éˆâ÷qß÷óÛ5<>°)Û"[ÈzœúÕÕB'©wÔíGó¥GE[mr{Á´¬ww&|žcuŸ<E280B9>,ãÃù2þwŽ—çpÈhß:NMI¦cŠWR 6Ðbê]‚Ô&T~·ºŸGu-*a3"zoÛ~Ëɩͤ%ÊçwχqÀ°Ç«˜~® á#ÔÝÓ …UçÎ ý0“ý5ÌšGÖ„ðJâs
çUIg½+ð‡L<E280A1>ì„:6ì\É{±˜Ai˜<>ýÚ=ËîíÊMãŒÃ4eKÏ“Š]ç•dš˜ó=0ñ™?N…5^è1áÖ³6°)mø÷*ry€½‰Ì¨L_7ÑŠŽð BC<42>J̽úó9É¡iš}ÕŽÐ8ŒÊÉÊeá«17'3Ÿ X ©m«8¡Âît¸Y lfÈ̳Cò±ç0€üJ4èñF/®¤<C2AE>¨ÌÍÂ

View file

@ -10,4 +10,5 @@ in
"github_cli_secret_config.age".publicKeys = users;
"github_ssh_priv_key.age".publicKeys = users;
"youwen_dev_ssh_priv_key.age".publicKeys = users;
"gallium_server_ssh.age".publicKeys = users;
}