summaryrefslogtreecommitdiff
path: root/accounts/root@sif.nix
blob: bb8162300fd4013deb2b53476ce6e8fdef0aaf7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ flake, userName, ... }:
{
  imports = with flake.nixosModules.userProfiles.${userName}; [
    zsh tmux
  ];

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