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=28d18ee50139be5ff883d8d5fef9415d31b84540' (2023-11-29) • Updated input 'clan-core/disko': 'github:nix-community/disko/944d338d24a9d043a3f7461c30ee6cfe4f9cca30' (2023-10-27) → 'github:nix-community/disko/3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22' (2023-11-25) • Added input 'clan-core/nixpkgs-for-deal': 'github:Luis-Hebendanz/nixpkgs/32ea44ece77a5bad662685acf4652cc984e2df3f' (2023-11-20) • Updated input 'disko': 'github:nix-community/disko/548962c50b8afad7b8c820c1d6e21dc8394d6e65' (2023-11-04) → 'github:nix-community/disko/3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22' (2023-11-25) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a0b3b06b7a82c965ae0bb1d59f6e386fe755001d' (2023-11-05) → 'github:NixOS/nixpkgs/010c7296f3b19a58b206fdf7d68d75a5b0a09e9e' (2023-11-28) • Updated input 'sops-nix': 'github:Mic92/sops-nix/5bc2cde6e53241e7df0e8f5df5872223983efa72' (2023-11-05) → 'github:Mic92/sops-nix/b1edbf5c0464b4cced90a3ba6f999e671f0af631' (2023-11-27) • Updated input 'srvos': 'github:numtide/srvos/d725309c965ccad663c16f141ccedecd64317b96' (2023-11-04) → 'github:numtide/srvos/7cfe944f7b24a0fd11d7b8e029705064931577ed' (2023-11-27) • Added input 'srvos/nixos-23_05': 'github:NixOS/nixpkgs/1216a5ba22a93a4a3a3bfdb4bff0f4727c576fcc' (2023-11-24) • 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