Server infrastructure for the clan project
Some checks failed
checks / test (pull_request) Failing after 1m14s
Flake lock file updates: • Updated input 'clan-core': 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=30c7d61bbdafc4e753b81404a8e1c3e4d6e27807' (2024-01-12) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=07a0e1db0981c0db3ca6f7cbd8a68d86b2245eff' (2024-01-12) • Updated input 'disko': 'github:nix-community/disko/fa5db12d76f9e8ee11e572cdbe021230e48b6afa' (2024-01-11) → 'github:nix-community/disko/036d480ae895afff54da5034331950827a7f317a' (2024-01-14) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/eabe8d3eface69f5bb16c18f8662a702f50c20d5' (2024-01-09) → 'github:NixOS/nixpkgs/dd5621df6dcb90122b50da5ec31c411a0de3e538' (2024-01-14) • Updated input 'sops-nix': 'github:Mic92/sops-nix/c0b3a5af90fae3ba95645bbf85d2b64880addd76' (2024-01-10) → 'github:Mic92/sops-nix/70dd0d521f7849338e487a219c1a07c429a66d77' (2024-01-14) • Updated input 'srvos': 'github:numtide/srvos/905cdf0751894d23ff4d6cb3c0235099a3f2cdf2' (2024-01-11) → 'github:numtide/srvos/bd28160bd011354edcca7f29614f6fcb848a9661' (2024-01-14) • Added input 'srvos/flake-parts': 'github:hercules-ci/flake-parts/07f6395285469419cf9d078f59b5b49993198c00' (2024-01-11) • Added input 'srvos/flake-parts/nixpkgs-lib': follows 'srvos/nixpkgs' • Removed input 'srvos/nixos-stable' |
||
---|---|---|
.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