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=ad31cdb43a80439e3b27963417cbc9873d8ef50d' (2023-08-10) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=12aab14ea59ed979098b485562f9a7392cfe5640' (2023-08-10) • Updated input 'disko': 'github:nix-community/disko/5a9bfa9fa612cc1888a886f6900bf7afcdfd8d92' (2023-08-07) → 'github:nix-community/disko/241c878d4b542fea7c61ed4421e9224af054ff56' (2023-08-11) • Updated input 'nixpkgs': 'github:Mic92/nixpkgs/0988551e446fd5863148f8ccef05a73e8688e240' (2023-08-10) → 'github:Mic92/nixpkgs/63a1eb18ef9cc551894c248755668e835b806563' (2023-08-11) flake.lock: Update Flake lock file updates: • Updated input 'nixpkgs': 'github:Mic92/nixpkgs/63a1eb18ef9cc551894c248755668e835b806563' (2023-08-11) → 'github:Mic92/nixpkgs/2e2b8d64da2e6d3b72a4518834b99bcfa7a0154f' (2023-08-11) |
||
---|---|---|
.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