From fa9beb8b1c411137c8e9e5aaee28f9fdc93e2fb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Wed, 17 Apr 2024 21:16:00 +0200 Subject: [PATCH] 31 current 2024-04-17 21:15:51 23.11.20240405.72da83d 6.1.84 * --- home/jonas/ssh.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/home/jonas/ssh.nix b/home/jonas/ssh.nix index b698902..db2406d 100644 --- a/home/jonas/ssh.nix +++ b/home/jonas/ssh.nix @@ -4,26 +4,26 @@ ... }: let sshKeys = name: { - secrets."ssh/id_rsa_${name}.pub" = { + "ssh/id_rsa_${name}.pub" = { sopsFile = ../../secrets/jonas/ssh.yaml; key = "keys/${name}/pub"; path = "${config.home.homeDirectory}/.ssh/id_rsa_${name}.pub"; }; - secrets."ssh/id_rsa_${name}" = { + "ssh/id_rsa_${name}" = { sopsFile = ../../secrets/jonas/ssh.yaml; key = "keys/${name}/priv"; path = "${config.home.homeDirectory}/.ssh/id_rsa_${name}"; }; }; in { - sops = + sops.secrets = { - secrets."ssh/config" = { + "ssh/config" = { sopsFile = ../../secrets/jonas/ssh.yaml; key = "config"; path = "${config.home.homeDirectory}/.ssh/config"; }; } - // (sshKeys "passgit") - // (sshKeys "borg"); + // (sshKeys "borg") + // (sshKeys "passgit"); }