Server/ssh: write ssh keys to correct locations

This commit is contained in:
Toast 2025-12-09 19:17:41 +01:00
parent b668212daf
commit 4e9a1dae72

View file

@ -34,8 +34,8 @@
in { in {
sops.secrets = { sops.secrets = {
discordWebhook = {}; discordWebhook = {};
"hostKey/private".path = "${hostKeyPath}.pub"; "hostKey/public".path = "${hostKeyPath}.pub";
"hostKey/public".path = hostKeyPath; "hostKey/private".path = hostKeyPath;
}; };
users.users.toast.openssh.authorizedKeys.keys = [ users.users.toast.openssh.authorizedKeys.keys = [