summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@vidhar.nix19
1 files changed, 19 insertions, 0 deletions
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 @@
12 }; 12 };
13 13
14 home-manager.users.${userName} = { 14 home-manager.users.${userName} = {
15 programs.ssh.matchBlocks = {
16 "git.ymir" =
17 { hostname = "ymir.yggdrasil.li";
18 user = "gitolite";
19 identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub";
20 };
21 "git.yggdrasil.li" =
22 { user = "gitolite";
23 identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub";
24 };
25 "git.rheperire.org" =
26 { user = "gitolite";
27 identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub";
28 };
29 "ymir" =
30 { hostname = "ymir.yggdrasil.li";
31 identityFile = "~/.ssh/gkleen@sif.midgard.yggdrasil.pub";
32 };
33 };
15 home.file = { 34 home.file = {
16 ".config/user-tmpfiles.d/gnupg.conf".text = '' 35 ".config/user-tmpfiles.d/gnupg.conf".text = ''
17 d /run/user/${toString config.users.users.${userName}.uid}/gnupg 0700 ${userName} ${config.users.users.${userName}.group} - 36 d /run/user/${toString config.users.users.${userName}.uid}/gnupg 0700 ${userName} ${config.users.users.${userName}.group} -