diff --git a/reference/users/youwen/hm.nix b/reference/users/youwen/hm.nix index 2679674..abca147 100644 --- a/reference/users/youwen/hm.nix +++ b/reference/users/youwen/hm.nix @@ -30,6 +30,7 @@ "code.youwen.dev" = { host = "code.youwen.dev"; port = 222; + identityFile = config.age.secrets.youwen_dev_ssh_priv_key.path; }; "github" = { host = "github.com"; diff --git a/reference/users/youwen/secrets/default.nix b/reference/users/youwen/secrets/default.nix index 9cb685e..ec468ee 100644 --- a/reference/users/youwen/secrets/default.nix +++ b/reference/users/youwen/secrets/default.nix @@ -26,5 +26,9 @@ file = ./github_ssh_priv_key.age; mode = "600"; }; + youwen_dev_ssh_priv_key = { + file = ./youwen_dev_ssh_priv_key.age; + mode = "600"; + }; }; } diff --git a/reference/users/youwen/secrets/secrets.nix b/reference/users/youwen/secrets/secrets.nix index 99bb449..d92319b 100644 --- a/reference/users/youwen/secrets/secrets.nix +++ b/reference/users/youwen/secrets/secrets.nix @@ -12,4 +12,5 @@ in "tincan_app_password.age".publicKeys = users ++ systems; "github_cli_secret_config.age".publicKeys = users ++ systems; "github_ssh_priv_key.age".publicKeys = users ++ systems; + "youwen_dev_ssh_priv_key.age".publicKeys = users ++ systems; } diff --git a/reference/users/youwen/secrets/youwen_dev_ssh_priv_key.age b/reference/users/youwen/secrets/youwen_dev_ssh_priv_key.age new file mode 100644 index 0000000..e7eecaf Binary files /dev/null and b/reference/users/youwen/secrets/youwen_dev_ssh_priv_key.age differ