From ac99ffc5834719e71ff045ed21140818f8cc266c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 7 Jan 2022 18:53:44 +0100 Subject: ... --- accounts/gkleen@vidhar.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/accounts/gkleen@vidhar.nix b/accounts/gkleen@vidhar.nix index 73390b47..b0465229 100644 --- a/accounts/gkleen@vidhar.nix +++ b/accounts/gkleen@vidhar.nix @@ -12,6 +12,25 @@ }; home-manager.users.${userName} = { + programs.ssh.matchBlocks = { + "git.ymir" = + { hostname = "ymir.yggdrasil.li"; + user = "gitolite"; + identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub"; + }; + "git.yggdrasil.li" = + { user = "gitolite"; + identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub"; + }; + "git.rheperire.org" = + { user = "gitolite"; + identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub"; + }; + "ymir" = + { hostname = "ymir.yggdrasil.li"; + identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub"; + }; + }; home.file = { ".config/user-tmpfiles.d/gnupg.conf".text = '' d /run/user/${toString config.users.users.${userName}.uid}/gnupg 0700 ${userName} ${config.users.users.${userName}.group} - -- cgit v1.2.3