Server infrastructure for the clan project
Some checks failed
checks / test (pull_request) Failing after 1m58s
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=f166da1621707399416a1dcb09db8a6360291f0d' (2024-02-11) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=36b20f18d4f490f5d1b72a97ea0a7ea187646011' (2024-02-16) • Updated input 'clan-core/disko': 'github:nix-community/disko/f67ba6552845ea5d7f596a24d57c33a8a9dc8de9' (2024-01-29) → 'github:nix-community/disko/d07de570ba05cec2807d058daaa044f6955720c7' (2024-02-10) • Updated input 'clan-core/nixos-generators': 'github:nix-community/nixos-generators/896f6589db5b25023b812bbb6c1f5d3a499b1132' (2024-01-24) → 'github:nix-community/nixos-generators/843e2f04c716092797ffa4ce14c446adce2f09ef' (2024-02-08) • Updated input 'disko': 'github:nix-community/disko/d07de570ba05cec2807d058daaa044f6955720c7' (2024-02-10) → 'github:nix-community/disko/d8a4377cd8eec23668ea3fae07efee9d5782cb91' (2024-02-18) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/f3a93440fbfff8a74350f4791332a19282cc6dc8' (2024-02-11) → 'github:NixOS/nixpkgs/045b51a3ae66f673ed44b5bbd1f4a341d96703bf' (2024-02-18) • Updated input 'sops-nix': 'github:Mic92/sops-nix/2eb7c4ba3aa75e2660fd217eb1ab64d5b793608e' (2024-02-11) → 'github:Mic92/sops-nix/ffed177a9d2c685901781c3c6c9024ae0ffc252b' (2024-02-18) • Updated input 'srvos': 'github:numtide/srvos/c5df91ddcc76abfefe4adcda30a25ede8b761156' (2024-02-08) → 'github:numtide/srvos/e19a0dc562b1df371772d90613f91c2a6b1839b3' (2024-02-15) • Removed input 'srvos/flake-parts' • Removed input 'srvos/flake-parts/nixpkgs-lib' |
||
---|---|---|
.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