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=175119b72cfa37e252ea862379fe4521266277c5' (2023-09-19) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=01441b1f5abbd13cb56edc27387dc0af856affc3' (2023-09-24) • Updated input 'clan-core/disko': 'github:nix-community/disko/9ab96378f8cf602d5f3ce5a32f2c339509288d8e' (2023-09-17) → 'github:nix-community/disko/26cf7576b85fd0b4070d8bd84475021e01d63814' (2023-09-22) • Updated input 'disko': 'github:nix-community/disko/9f29cedac79d0acf07b6341f9112f46dec3abb8f' (2023-09-18) → 'github:nix-community/disko/98a6ab9b52f8b06db9c3116b1761bbeaf9484408' (2023-09-22) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5148520bfab61f99fd25fb9ff7bfbb50dad3c9db' (2023-09-17) → 'github:NixOS/nixpkgs/e12483116b3b51a185a33a272bf351e357ba9a99' (2023-09-21) • Updated input 'sops-nix': 'github:Mic92/sops-nix/4356a5a0c12c9dc1b6bdde0631c7600d9377ed8b' (2023-09-19) → 'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21) • Updated input 'srvos': 'github:numtide/srvos/879201cbec8ea11e6d654b7ec91f35f061d07b47' (2023-09-18) → 'github:numtide/srvos/72ece75d281bbf9f492caedb2c504593a5a0d3f1' (2023-09-21) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/7a49c388d7a6b63bb551b1ddedfa4efab8f400d8' (2023-09-12) → 'github:numtide/treefmt-nix/e951529be2e7c669487de78f5aef8597bbae5fca' (2023-09-21) |
||
---|---|---|
.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