forked from clan/clan-infra
Server infrastructure for the clan project
59865d5ab4
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=04378b24e1808982bc543fa4a0b80061d2821c40' (2023-09-03) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=8f467335d28f0b6687975447e8071edb1c24e45d' (2023-09-07) • Updated input 'clan-core/disko': 'github:nix-community/disko/4eed2457b053c4bbad7d90d2b3a1d539c2c9009c' (2023-08-16) → 'github:nix-community/disko/06481a9836c37b7c1aba784092a984c2d2ef5431' (2023-09-02) • Updated input 'disko': 'github:nix-community/disko/06481a9836c37b7c1aba784092a984c2d2ef5431' (2023-09-02) → 'github:nix-community/disko/f9907fcf6df79a76ea7e3a3afe9340a672cb9c6e' (2023-09-09) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d816b5ab44187a2dd84806630ce77a733724f95f' (2023-09-03) → 'github:NixOS/nixpkgs/78058d810644f5ed276804ce7ea9e82d92bee293' (2023-09-10) • Updated input 'sops-nix': 'github:Mic92/sops-nix/d9c5dc41c4b1f74c77f0dbffd0f3a4ebde447b7a' (2023-08-30) → 'github:Mic92/sops-nix/faf21ac162173c2deb54e5fdeed002a9bd6e8623' (2023-09-05) • Updated input 'srvos': 'github:numtide/srvos/b47df74261b0217336b034c03289a10d5191dbca' (2023-09-05) → 'github:numtide/srvos/6a824ca672288a6c8e4b8ade835f01b7b25fca2c' (2023-09-07) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/e3e0f9f6d47f8fc68aff15150eda1224fb46f4d4' (2023-09-02) → 'github:numtide/treefmt-nix/b8d3a059f5487d6767d07c3716386753e3132d9f' (2023-09-04) |
||
---|---|---|
.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