aboutsummaryrefslogtreecommitdiff
path: root/machines/fra01/default.nix
blob: 059e0827158d103f0b94c6d2ebccd04a6b3d6cb1 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
{ config, lib, pkgs, ... }:

let endpoint = "95.179.243.82";
in
{
  networking = {
    domain = "ns.vapor.systems";
    hostName = "fra01";
  };

  pubKey =
    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB9rBu7L0ktMFpYOqvKyjDoO8a5Y0CfqnCJCGEdE6cOV";

  kubernetes = {
    role = "agent";
    externalIP = {
      v4 = endpoint;
      v6 = "2001:19f0:6c01:28e5:5400:3ff:fed7:7a2a";
    };
  };

  wireguard = {
    enable = true;
    inherit endpoint;
    v4 = { address = "10.10.0.3"; };
    v6 = { address = "3"; };
    publicKey = "jw3hiRczS0kQoOYlgofFp23/YZq8mzDaPRto+qVz7iE=";
    allowedIPs = [ "10.102.5.0/24" "fd15:3d8c:d429:102:500::/72" ];
  };

  _module.args.nixinate = {
    host = endpoint;
    buildOn = "local";
    substituteOnTarget = true;
    hermetic = true;
  };
}
it/commit/secrets?id=66cf1b61a8e274a9283dedd36ec2530a2a6c066f&follow=1'>add hydra secretsMax Audron-0/+0 2024-03-29add hydra secretsMax Audron-5/+35 2024-03-19extend postgresql hpa for podman ipsMax Audron-1/+1 2024-03-02update authentikMax Audron-8/+6 2024-03-02setup gitea oidcMax Audron-5/+18 2024-02-28add giteaMax Audron-2/+39 2024-02-28remove gitlab moduleMax Audron-25/+0 2024-02-26update d3fus phone wg pubkeyMarcin Maselko-1/+1 2024-02-26added d3fus nass to wg configMarcin Maselko-0/+9 2024-02-21set minecraft memoryMax Audron-0/+1 2024-02-21add minecraft server and move palworld to games moduleMax Audron-3/+56 2024-02-21set network manually for ns serversMax Audron-0/+51 2024-02-20update nixpkgs-unstableMax Audron-3/+3 2024-02-19update d3fus fritzbox wg portMarcin Maselko-1/+1 2024-02-19add xonotic serverMax Audron-1/+10