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"); }