mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-17 20:52:09 -08:00
feat: add gallium server ssh key to agenix
This commit is contained in:
parent
4f510f7418
commit
2b9bb62e36
4 changed files with 20 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -30,5 +30,9 @@
|
|||
file = ./youwen_dev_ssh_priv_key.age;
|
||||
mode = "600";
|
||||
};
|
||||
gallium_server_ssh = {
|
||||
file = ./gallium_server_ssh.age;
|
||||
mode = "600";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
8
reference/users/youwen/secrets/gallium_server_ssh.age
Normal file
8
reference/users/youwen/secrets/gallium_server_ssh.age
Normal 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
|
||||
XÜ_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Û~Ë4ñɩͤ%ÊçwχqÀ°Ç«˜~® á#ÔÝÓ
…UçÎý0“ý5ÌšGÖ„ðJ›âs
|
||||
çUI›g‘½+ð‡L<E280A1>ì„:6ì\É{±˜Ai˜:ú<>‘ýÚ=ËîíÊMãŒÃ4eKÏ“Š]ç•dš˜ó=0ñ™?N…5^è1áÖ³6°)‹mø÷*ry€½‰Ì¨L_7ÑŠŽð4ÙBC<42>J̽úó9É¡iš}ÕŽÐ8ŒÊÉÊeá«17'3ŸX ©m«8¡Âît¸Y
lfÈ̳Cò±ç0€üJ4èñF/®¤<C2AE>¨ÌÍÂ
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue