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=eeb272d8b0777813dccb825d6f5c57f2e83de5d4' (2023-08-09) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=8c00a400a50bd7a96b3157a6a18daf31d89da46a' (2023-08-09) • Updated input 'disko': 'github:nix-community/disko/4015740375676402a2ee6adebc3c30ea625b9a94' (2023-07-30) → 'github:nix-community/disko/5a9bfa9fa612cc1888a886f6900bf7afcdfd8d92' (2023-08-07) • Updated input 'nixpkgs': 'github:Mic92/nixpkgs/ac1d29df2284b3bf62839cc4c503d326305d0f2f' (2023-07-20) → 'github:Mic92/nixpkgs/0988551e446fd5863148f8ccef05a73e8688e240' (2023-08-10) • Updated input 'srvos': 'github:numtide/srvos/ceed433086a85e5540bd73cff46497af5a09e36f' (2023-07-28) → 'github:numtide/srvos/b7407c2dc143402de6f140575398020175f3ae1a' (2023-08-10) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/fab56c8ce88f593300cd8c7351c9f97d10c333c5' (2023-08-01) → 'github:numtide/treefmt-nix/7b380d3cce8271b37394790b521ec2f7a6b248ad' (2023-08-08) flake.lock: Update Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=8c00a400a50bd7a96b3157a6a18daf31d89da46a' (2023-08-09) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6189ed0e7656babc632c7a43978366d467ab6f88' (2023-08-10) • Updated input 'clan-core/disko': 'github:nix-community/disko/493b347d8fffa6912afb8d89b91703cd40ff6038' (2023-08-06) → 'github:nix-community/disko/5a9bfa9fa612cc1888a886f6900bf7afcdfd8d92' (2023-08-07) flake.lock: Update Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6189ed0e7656babc632c7a43978366d467ab6f88' (2023-08-10) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=0640c1a436c0f2db6532340b9138fcedac258133' (2023-08-10) |
||
---|---|---|
.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