summaryrefslogtreecommitdiffstats
path: root/kartei/lass/ignavia.nix
blob: 228be1912383b14fe8080b39ac9d72d4a615a59c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ r6, w6, ... }:
{
  ci = false;
  nets = {
    retiolum = {
      ip4.addr = "10.243.0.25";
      ip6.addr = r6 "16a2";
      aliases = [
        "ignavia.r"
      ];
      tinc = {
        pubkey = builtins.readFile ./ignavia/retiolum.rsa_key.pub;
        pubkey_ed25519 = builtins.replaceStrings [ "Ed25519PublicKey = " ] [ "" ] (builtins.readFile ./ignavia/retiolum.ed25519_key.pub);
      };
    };
  };
  ssh.pubkey = builtins.readFile ./ignavia/ssh.id_ed25519.pub;
  syncthing.id = builtins.readFile ./ignavia/syncthing.pub;
}