Server infrastructure for the clan project
Some checks failed
checks / test (pull_request) Failing after 1m16s
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=30c7d61bbdafc4e753b81404a8e1c3e4d6e27807' (2024-01-12) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6adc68a35462bc3d1ddc0ee9e8e56f77f07e3e23' (2024-01-26) • Updated input 'disko': 'github:nix-community/disko/fa5db12d76f9e8ee11e572cdbe021230e48b6afa' (2024-01-11) → 'github:nix-community/disko/f7424625dc1f2e4eceac3009cbd1203d566feebc' (2024-01-26) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/eabe8d3eface69f5bb16c18f8662a702f50c20d5' (2024-01-09) → 'github:NixOS/nixpkgs/160b762eda6d139ac10ae081f8f78d640dd523eb' (2024-01-27) • Updated input 'sops-nix': 'github:Mic92/sops-nix/c0b3a5af90fae3ba95645bbf85d2b64880addd76' (2024-01-10) → 'github:Mic92/sops-nix/73bf36912e31a6b21af6e0f39218e067283c67ef' (2024-01-28) • Updated input 'srvos': 'github:numtide/srvos/905cdf0751894d23ff4d6cb3c0235099a3f2cdf2' (2024-01-11) → 'github:numtide/srvos/0a0f4f441b7bd014e523de33a810badda546e862' (2024-01-25) • Added input 'srvos/flake-parts': 'github:hercules-ci/flake-parts/07f6395285469419cf9d078f59b5b49993198c00' (2024-01-11) • Added input 'srvos/flake-parts/nixpkgs-lib': follows 'srvos/nixpkgs' • Removed input 'srvos/nixos-stable' • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/04f25d7bec9fb29d2c3bacaa48a3304840000d36' (2024-01-07) → 'github:numtide/treefmt-nix/c6153c2a3ff4c38d231e3ae99af29b87f1df5901' (2024-01-28) |
||
---|---|---|
.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