Server infrastructure for the clan project
Go to file
Clan Merge Bot 3ad8dfd722
Some checks failed
buildbot/nix-build .#checks.x86_64-linux.package-clan-merge Build done.
buildbot/nix-build .#checks.x86_64-linux.devShell-clan-merge Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-merge Build done.
buildbot/nix-build .#checks.x86_64-linux.package-action-flake-update Build done.
buildbot/nix-build .#checks.x86_64-linux.package-job-flake-update-clan-core Build done.
buildbot/nix-build .#checks.x86_64-linux.package-action-ensure-tea-login Build done.
buildbot/nix-build .#checks.x86_64-linux.package-action-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.package-gitea Build done.
buildbot/nix-build .#checks.x86_64-linux.package-job-flake-update-clan-homepage Build done.
buildbot/nix-build .#checks.x86_64-linux.package-job-flake-update-clan-infra Build done.
buildbot/nix-build .#checks.x86_64-linux.package-action-flake-update-pr-clan Build done.
buildbot/nix-build .#checks.x86_64-linux.treefmt Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-web01 Build done.
buildbot/nix-build .#checks.x86_64-linux.devShell-default Build done.
buildbot/nix-eval Build done.
update flake lock - 2024-06-24T00:00+00:00
Flake lock file updates:

• Updated input 'buildbot-nix':
    'github:Mic92/buildbot-nix/c3b59dac3ee3b4c1dd9cabb2f850e2d8bcfaf417' (2024-06-16)
  → 'github:Mic92/buildbot-nix/619ed4e4360b93bfe91c523a957215dca09be63b' (2024-06-23)
• Updated input 'clan-core':
    'b3123b150f.tar.gz?narHash=sha256-iEpESD8Hywek3lkGgvTjG5C25UTaAAjnqX9R0lIvhSI%3D' (2024-06-20)
  → 'f4283982b3.tar.gz?narHash=sha256-hc%2BzvNzAq9wL30JN6QQh9kwyUcBINu9TzoZYAgu9FLc%3D' (2024-06-21)
• Updated input 'nixos-mailserver':
    'gitlab:simple-nixos-mailserver/nixos-mailserver/29916981e7b3b5782dc5085ad18490113f8ff63b' (2024-06-11)
  → 'gitlab:simple-nixos-mailserver/nixos-mailserver/290a995de5c3d3f08468fa548f0d55ab2efc7b6b' (2024-06-18)
• Removed input 'nixos-mailserver/utils'
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3e6b9369165397184774a4b7c5e8e5e46531b53f' (2024-06-14)
  → 'github:NixOS/nixpkgs/9693852a2070b398ee123a329e68f0dab5526681' (2024-06-22)
• Updated input 'srvos':
    'github:numtide/srvos/c607ffef7c234d88f37ed12d75b2c48de3f4b3fe' (2024-06-17)
  → 'github:numtide/srvos/557ff94aa1b48a723f8fa16eb9e7a2e6de991682' (2024-06-20)
2024-06-24 00:00:23 +00:00
devShells reformat with nixfmt 2024-06-10 12:25:17 +02:00
machines/web01/facts Update facts/secrets for service borgbackup in machine web01 2024-06-10 12:25:17 +02:00
modules rename clanCore -> clan.core 2024-06-20 18:21:06 +02:00
pkgs drop unused renovate 2024-06-10 15:25:52 +02:00
sops Update secret web01-matrix-password-monitoring 2024-06-17 13:56:17 +02:00
targets update terraform state 2024-06-10 15:25:52 +02:00
terraform add dns wildcard for clan.lol 2024-06-10 12:24:16 +02:00
.envrc add envrc 2023-07-05 13:50:48 +02:00
.envrc.private-template .envrc.private-template: remove NETLIFY_TOKEN 2023-07-17 13:38:28 +02:00
.gitignore gitignore: add .pre-commit-config.yaml 2023-07-28 18:45:09 +02:00
.sops.yaml add new baremetal server 2023-07-18 16:21:31 +02:00
flake.lock update flake lock - 2024-06-24T00:00+00:00 2024-06-24 00:00:23 +00:00
flake.nix switch to clan-core main 2024-06-17 13:56:24 +02:00
LICENSE.md add license 2023-07-05 13:50:52 +02:00
README.md README: document CI 2024-05-03 13:01:44 +02:00
renovate.json Add renovate.json 2023-07-14 14:44:19 +02:00

clan-infra

This repository contains nixos modules and terraform code that powers clan.lol. The website and git hosting is currently on hetzner.

Servers

  • web01:
    • Instance type: ex101
    • CPU: Intel Core i9-13900 (24 cores / 32 threads)
    • RAM: 64GB DDR5
    • Drives: 2 x 1.92 TB NVME

To deploy new ssh keys on hcloud:

$ cd ./targets/admins
$ ./tf.sh apply

To deploy a server i.e. web01:

$ cd ./targets/web01
$ ./tf.sh apply

To add a new project to CI

  1. Add the 'buildbot-clan' topic to the repository using the "Manage topics" button below the project description
  2. Go to https://buildbot.clan.lol/#/builders/2 and press "Update projects" after you have logged in.