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=e73299a3065e778cf5488b7e9a08c01634ca83b8' (2023-08-30) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=04378b24e1808982bc543fa4a0b80061d2821c40' (2023-09-03) • Updated input 'disko': 'github:nix-community/disko/00169fe4a6015a88c3799f0bf89689e06a4d4896' (2023-08-28) → 'github:nix-community/disko/06481a9836c37b7c1aba784092a984c2d2ef5431' (2023-09-02) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/59cf3f1447cfc75087e7273b04b31e689a8599fb' (2023-08-01) → 'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a63a64b593dcf2fe05f7c5d666eb395950f36bc9' (2023-08-30) → 'github:NixOS/nixpkgs/d816b5ab44187a2dd84806630ce77a733724f95f' (2023-09-03) • Updated input 'srvos': 'github:numtide/srvos/02555108126833bc35ef85bccc1dad469f8bf5dc' (2023-08-24) → 'github:numtide/srvos/28f5734829676013fe72454df923c50c12077c1c' (2023-08-31) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/6befd3b6b8544952e0261f054cf16769294bacba' (2023-08-28) → 'github:numtide/treefmt-nix/e3e0f9f6d47f8fc68aff15150eda1224fb46f4d4' (2023-09-02) |
||
---|---|---|
.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