From f9c784058ea0d13785ee0037033e27da639d6452 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Fri, 27 Dec 2024 19:34:38 -0800 Subject: [PATCH] feat: add code.youwen.dev ssh to agenix --- reference/users/youwen/hm.nix | 1 + reference/users/youwen/secrets/default.nix | 4 ++++ reference/users/youwen/secrets/secrets.nix | 1 + .../youwen/secrets/youwen_dev_ssh_priv_key.age | Bin 0 -> 3955 bytes 4 files changed, 6 insertions(+) create mode 100644 reference/users/youwen/secrets/youwen_dev_ssh_priv_key.age 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 0000000000000000000000000000000000000000..e7eecaf833c96deb7a8b6bfe8e1d5d0d515e7bd3 GIT binary patch literal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