diff --git a/reference/users/youwen/hm.nix b/reference/users/youwen/hm.nix index abca147..fa15bd3 100644 --- a/reference/users/youwen/hm.nix +++ b/reference/users/youwen/hm.nix @@ -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; + }; }; }; } diff --git a/reference/users/youwen/secrets/default.nix b/reference/users/youwen/secrets/default.nix index ec468ee..499081d 100644 --- a/reference/users/youwen/secrets/default.nix +++ b/reference/users/youwen/secrets/default.nix @@ -30,5 +30,9 @@ file = ./youwen_dev_ssh_priv_key.age; mode = "600"; }; + gallium_server_ssh = { + file = ./gallium_server_ssh.age; + mode = "600"; + }; }; } diff --git a/reference/users/youwen/secrets/gallium_server_ssh.age b/reference/users/youwen/secrets/gallium_server_ssh.age new file mode 100644 index 0000000..c85afdd --- /dev/null +++ b/reference/users/youwen/secrets/gallium_server_ssh.age @@ -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 _umW,ɚ2RwOv;lCPX$qllㄊqQ ܰv;|< )6HQgМwY|`>}B]Jv{F+$iP:R2q5)"[zB'wGGE[mr{ww&|cu,2wph:NMI{cWR 6b]&T~Gu-*a3"zo~4ɩͤ%wχqǫ~ # U 05̚GքJs +UIg+L:6\{Ai:=M4eKϓ]d=0?N5^1ֳ6)m*ry̨L_7ъ 4BCJ̽9ɡi}Վ8e17'3 X m8tY lf̳C0J4F/ \ No newline at end of file diff --git a/reference/users/youwen/secrets/secrets.nix b/reference/users/youwen/secrets/secrets.nix index 1706e94..131d2a4 100644 --- a/reference/users/youwen/secrets/secrets.nix +++ b/reference/users/youwen/secrets/secrets.nix @@ -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; }