forked from clan/clan-infra
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=28d18ee50139be5ff883d8d5fef9415d31b84540' (2023-11-29) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=354291440abaf042d109a87f5c03acff3d1f0185' (2023-12-03) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01) → 'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/010c7296f3b19a58b206fdf7d68d75a5b0a09e9e' (2023-11-28) → 'github:NixOS/nixpkgs/ec04772e7516b6d58d98b491e68b329b7558b14d' (2023-12-03) • Updated input 'sops-nix': 'github:Mic92/sops-nix/b1edbf5c0464b4cced90a3ba6f999e671f0af631' (2023-11-27) → 'github:Mic92/sops-nix/8bca48cb9a12bbd8766f359ad00336924e91b7f7' (2023-12-03) • Updated input 'srvos': 'github:numtide/srvos/7cfe944f7b24a0fd11d7b8e029705064931577ed' (2023-11-27) → 'github:numtide/srvos/3d589b35735e97d9bdc02fe46272725636ee68d6' (2023-11-30) • Updated input 'srvos/nixos-23_05': 'github:NixOS/nixpkgs/1216a5ba22a93a4a3a3bfdb4bff0f4727c576fcc' (2023-11-24) → 'github:NixOS/nixpkgs/5b528f99f73c4fad127118a8c1126b5e003b01a9' (2023-11-27) |
||
---|---|---|
.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