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=17a2f19532662f584e42ecab285300dbc09165a1' (2023-08-01) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=7f54a64c0a8d538381207ef19c2b1185343628b0' (2023-08-02) • Added input 'clan-core/nix-unit': 'github:adisbladis/nix-unit/a9d6f33e50d4dcd9cfc0c92253340437bbae282b' (2023-07-25) • Added input 'clan-core/nix-unit/flake-parts': follows 'clan-core/flake-parts' • Added input 'clan-core/nix-unit/nix-github-actions': 'github:nix-community/nix-github-actions/165b1650b753316aa7f1787f3005a8d2da0f5301' (2023-07-09) • Added input 'clan-core/nix-unit/nix-github-actions/nixpkgs': follows 'clan-core/nix-unit/nixpkgs' • Added input 'clan-core/nix-unit/nixpkgs': follows 'clan-core/nixpkgs' • Added input 'clan-core/nix-unit/treefmt-nix': follows 'clan-core/treefmt-nix' |
||
---|---|---|
.gitea/workflows | ||
flake-parts | ||
modules | ||
pkgs | ||
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