diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-07 18:53:44 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-07 18:53:44 +0100 |
commit | ac99ffc5834719e71ff045ed21140818f8cc266c (patch) | |
tree | dc0f8a9b9cfd892cbadea9c2df02355a34624840 /accounts/gkleen@vidhar.nix | |
parent | b1ffa9cd7195713e9a7ece36130110dc7dc1a44e (diff) | |
download | nixos-ac99ffc5834719e71ff045ed21140818f8cc266c.tar nixos-ac99ffc5834719e71ff045ed21140818f8cc266c.tar.gz nixos-ac99ffc5834719e71ff045ed21140818f8cc266c.tar.bz2 nixos-ac99ffc5834719e71ff045ed21140818f8cc266c.tar.xz nixos-ac99ffc5834719e71ff045ed21140818f8cc266c.zip |
...
Diffstat (limited to 'accounts/gkleen@vidhar.nix')
-rw-r--r-- | accounts/gkleen@vidhar.nix | 19 |
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} - |