summaryrefslogtreecommitdiff
path: root/accounts/root@sif.nix
blob: 979463ba6bcff1f9de29c9f51a1f415541ce5673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ userName, ... }:
{
  home-manager.users.${userName} = {
    programs.ssh.matchBlocks = {
      "git.yggdrasil.li" = {
        user = "gitolite";
        identityFile = "~/.ssh/sysconf";
      };
      "borg.munin" = {
        hostname = "u120515.your-storagebox.de";
        user = "u120515";
        identityFile = "~/.ssh/borg.munin";
        identitiesOnly = true;
        port = 23;
      };
    };
  };
}