Server infrastructure for the clan project
Flake lock file updates: • Updated input 'buildbot-nix': 'github:Mic92/buildbot-nix/22885edd30aa5c1be2998213996596fe2536c7ea' (2024-05-03) → 'github:Mic92/buildbot-nix/1530a714e9427a7965d7e728d7c1f85afc78499e' (2024-05-19) • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=480bb396ed2a080472df5ba6887b5b91a278a7a5' (2024-04-30) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=43b56e21b295edc247fbe28bf084820c4da8d0fa' (2024-05-19) • Updated input 'clan-core/disko': 'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb' (2024-04-05) → 'github:Qubasa/disko/58785136b8c37aeb2f67081387b48f663b166331' (2024-04-29) • Added input 'clan-core/dream2nix': 'github:nix-community/dream2nix/995e831dac8c2c843f1289d15dfec526cb84afdd' (2024-05-14) • Added input 'clan-core/dream2nix/nixpkgs': follows 'clan-core/nixpkgs' • Added input 'clan-core/dream2nix/purescript-overlay': 'github:thomashoneyman/purescript-overlay/047c7933abd6da8aa239904422e22d190ce55ead' (2023-09-29) • Added input 'clan-core/dream2nix/purescript-overlay/nixpkgs': follows 'clan-core/dream2nix/nixpkgs' • Added input 'clan-core/dream2nix/purescript-overlay/slimlock': 'github:thomashoneyman/slimlock/b5c6cdcaf636ebbebd0a1f32520929394493f1a6' (2023-07-06) • Added input 'clan-core/dream2nix/purescript-overlay/slimlock/nixpkgs': follows 'clan-core/dream2nix/purescript-overlay/nixpkgs' • Added input 'clan-core/dream2nix/pyproject-nix': 'github:davhau/pyproject.nix/5a06a2697b228c04dd2f35659b4b659ca74f7aeb' (2023-12-13) • Updated input 'clan-core/nixos-generators': 'github:nix-community/nixos-generators/0c15e76bed5432d7775a22e8d22059511f59d23a' (2024-04-04) → 'github:nix-community/nixos-generators/722b512eb7e6915882f39fff0e4c9dd44f42b77e' (2024-04-22) • Updated input 'clan-core/nixos-generators/nixlib': 'github:nix-community/nixpkgs.lib/90b1a963ff84dc532db92f678296ff2499a60a87' (2024-03-31) → 'github:nix-community/nixpkgs.lib/3c62b6a12571c9a7f65ab037173ee153d539905f' (2024-04-07) • Added input 'clan-core/nixos-images': 'github:nix-community/nixos-images/81e709ca1da9c5c31b65cc8f82a97181f78ec076' (2024-05-13) • Added input 'clan-core/nixos-images/nixos-2311': 'github:NixOS/nixpkgs/6eccabe980dcb2048aab7f97f862fb6d79b98abe' (2024-05-12) • Added input 'clan-core/nixos-images/nixos-unstable': follows 'clan-core/nixpkgs' • Updated input 'disko': 'github:nix-community/disko/5eaf747af38dd272e1ab28a8ec4bd972424b07cf' (2024-04-29) → 'github:nix-community/disko/601be8412d2ab72f752448766fe0fb2f00d5c40c' (2024-05-19) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01) → 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/cf8cc1201be8bc71b7cbbbdaf349b22f4f99c7ae' (2024-04-28) → 'github:NixOS/nixpkgs/f9256de8281f2ccd04985ac5c30d8f69aefadbe8' (2024-05-19) • Updated input 'sops-nix': 'github:Mic92/sops-nix/f1b0adc27265274e3b0c9b872a8f476a098679bd' (2024-04-23) → 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5' (2024-05-19) • Updated input 'srvos': 'github:numtide/srvos/b18e74f2245eaae150bc753821079c2512fe1516' (2024-04-30) → 'github:numtide/srvos/7a140951a5b5db5c05d359ccd53c3f7bd06f317b' (2024-05-16) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25) → 'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17) |
||
---|---|---|
devShells | ||
modules | ||
pkgs | ||
sops | ||
targets | ||
terraform | ||
.envrc | ||
.envrc.private-template | ||
.gitignore | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
LICENSE.md | ||
README.md | ||
renovate.json |
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
- Add the 'buildbot-clan' topic to the repository using the "Manage topics" button below the project description
- Go to https://buildbot.clan.lol/#/builders/2 and press "Update projects" after you have logged in.