Server infrastructure for the clan project
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=c47e59d32dc821f80d9354be9ebb58f2fcd3aa02' (2023-11-05) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=eec22d7d39f11b7cde4cbdfebaf512d8893d9e7f' (2023-11-11) • Added input 'clan-core/nixpkgs-for-deal': 'github:Luis-Hebendanz/nixpkgs/842a157b727ad9712d41a80d1e1564e4e6bbe697' (2023-11-08) • Updated input 'disko': 'github:nix-community/disko/548962c50b8afad7b8c820c1d6e21dc8394d6e65' (2023-11-04) → 'github:nix-community/disko/2d7d77878c5d70f66f3d676ff66708d8d4f9d7df' (2023-11-12) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a0b3b06b7a82c965ae0bb1d59f6e386fe755001d' (2023-11-05) → 'github:NixOS/nixpkgs/911ad1e67f458b6bcf0278fa85e33bb9924fed7e' (2023-11-11) • Updated input 'sops-nix': 'github:Mic92/sops-nix/5bc2cde6e53241e7df0e8f5df5872223983efa72' (2023-11-05) → 'github:Mic92/sops-nix/2fc3c9edc3029ed396ec917f39a7253acc3d8999' (2023-11-12) • Updated input 'srvos': 'github:numtide/srvos/d725309c965ccad663c16f141ccedecd64317b96' (2023-11-04) → 'github:numtide/srvos/6cdb43f8f1db183b04a633526d14daad9210a70a' (2023-11-12) • Added input 'srvos/nixos-23_05': 'github:NixOS/nixpkgs/41de143fda10e33be0f47eab2bfe08a50f234267' (2023-11-06) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27) → 'github:numtide/treefmt-nix/e82f32aa7f06bbbd56d7b12186d555223dc399d1' (2023-11-12) |
||
---|---|---|
.gitea/workflows | ||
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