summaryrefslogtreecommitdiff
path: root/accounts/root@sif.nix
blob: c9e129a0f8bd8d17970bfe08f74b771d27d8d9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ userName, ... }:
{
  home-manager.users.${userName} = {
    home.stateVersion = "20.09";

    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;
      };
    };
  };
}