summaryrefslogtreecommitdiffstats
path: root/kartei/template/default.nix
blob: 2acf78d38de1d9891ece9b556701a14918b8647e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ config, ... }: let
  lib = import ../../lib;
in {
  users.DUMMYUSER = {
    mail = "DUMMYUSER@example.ork";
  };
  hosts.DUMMYHOST = {
    owner = config.krebs.users.DUMMYUSER;
    nets.retiolum = {
      aliases = [ "DUMMYHOST.DUMMYUSER.r" ];
      ip6.addr = (lib.krebs.genipv6 "retiolum" "DUMMYUSER" { hostName = "DUMMYHOST"; }).address;
      tinc.pubkey = ''
        -----BEGIN RSA PUBLIC KEY-----
        DUMMYTINCPUBKEYRSA
        -----END RSA PUBLIC KEY-----
      '';
      tinc.pubkey_ed25519 = "DUMMYTINCPUBKEYED25519";
    };
  };
}