Home Gen491 @ 2025-04-06-22:41

This commit is contained in:
2025-04-06 22:41:35 +02:00
parent 2f1b912aa3
commit 4e7d3f4321
2 changed files with 9 additions and 22 deletions

View File

@@ -1,14 +1,9 @@
{config, ...}: let
sshKeys = name: {
"ssh/id_rsa_${name}.pub" = {
"ssh/id_${name}" = {
sopsFile = ../../secrets/jonas/ssh.yaml;
key = "keys/${name}/pub";
path = "${config.home.homeDirectory}/.ssh/id_rsa_${name}.pub";
};
"ssh/id_rsa_${name}" = {
sopsFile = ../../secrets/jonas/ssh.yaml;
key = "keys/${name}/priv";
path = "${config.home.homeDirectory}/.ssh/id_rsa_${name}";
key = "keys/${name}";
path = "${config.home.homeDirectory}/.ssh/id_${name}";
};
};
in {
@@ -21,6 +16,5 @@ in {
};
}
// (sshKeys "borg")
// (sshKeys "passgit")
// (sshKeys "ansible");
// (sshKeys "passgit");
}