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/af4a31c72fea81abb6317f268f487312680258b7' (2024-05-26) • 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=6e9f1515d3f3a5ffb5a89a2a28d6014ea0022948' (2024-05-26) • Updated input 'clan-core/disko': 'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb' (2024-04-05) → 'github:nix-community/disko/23c63fb09334c3e8958b57e2ddc3870b75b9111d' (2024-05-22) • Added input 'clan-core/git-hooks': 'github:fricklerhandwerk/git-hooks/99a78fcf7dc03ba7b1d5c00af109c1e28ced3490' (2024-05-22) • Updated input 'clan-core/nixos-generators': 'github:nix-community/nixos-generators/0c15e76bed5432d7775a22e8d22059511f59d23a' (2024-04-04) → 'github:nix-community/nixos-generators/a63e0c83dd83fe28cc571b97129e13373436bd82' (2024-05-19) • 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/8c9cab8c44434c12dafc465fbf61a710c5bceb08' (2024-05-19) • Added input 'clan-core/nixos-images/nixos-2311': 'github:NixOS/nixpkgs/95742536dc6debb5a8b8b78b27001c38f369f1e7' (2024-05-16) • 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/7ffc4354dfeb37c8c725ae1465f04a9b45ec8606' (2024-05-23) • 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/e2dd4e18cc1c7314e24154331bae07df76eb582f' (2024-05-26) • Updated input 'sops-nix': 'github:Mic92/sops-nix/f1b0adc27265274e3b0c9b872a8f476a098679bd' (2024-04-23) → 'github:Mic92/sops-nix/962797a8d7f15ed7033031731d0bb77244839960' (2024-05-26) • Updated input 'srvos': 'github:numtide/srvos/b18e74f2245eaae150bc753821079c2512fe1516' (2024-04-30) → 'github:numtide/srvos/1122cd50a23647e09c3e7a679d37ec02113bc412' (2024-05-23) • 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.