diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 15:24:44 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 16:21:35 +0100 |
commit | 6771b74180157e408edba8071cdcc5f49e8f32b2 (patch) | |
tree | 430f069cb0e70d4a3754738389a942ee5744ea62 /accounts/root@sif.nix | |
parent | b34c74bf38ff1bf073773f03705912e3becc9ef5 (diff) | |
download | nixos-6771b74180157e408edba8071cdcc5f49e8f32b2.tar nixos-6771b74180157e408edba8071cdcc5f49e8f32b2.tar.gz nixos-6771b74180157e408edba8071cdcc5f49e8f32b2.tar.bz2 nixos-6771b74180157e408edba8071cdcc5f49e8f32b2.tar.xz nixos-6771b74180157e408edba8071cdcc5f49e8f32b2.zip |
home-manager tweaks
Diffstat (limited to 'accounts/root@sif.nix')
-rw-r--r-- | accounts/root@sif.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/accounts/root@sif.nix b/accounts/root@sif.nix new file mode 100644 index 00000000..979463ba --- /dev/null +++ b/accounts/root@sif.nix | |||
@@ -0,0 +1,18 @@ | |||
1 | { userName, ... }: | ||
2 | { | ||
3 | home-manager.users.${userName} = { | ||
4 | programs.ssh.matchBlocks = { | ||
5 | "git.yggdrasil.li" = { | ||
6 | user = "gitolite"; | ||
7 | identityFile = "~/.ssh/sysconf"; | ||
8 | }; | ||
9 | "borg.munin" = { | ||
10 | hostname = "u120515.your-storagebox.de"; | ||
11 | user = "u120515"; | ||
12 | identityFile = "~/.ssh/borg.munin"; | ||
13 | identitiesOnly = true; | ||
14 | port = 23; | ||
15 | }; | ||
16 | }; | ||
17 | }; | ||
18 | } | ||