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=6059b262f13f6e1ee120e7fcdfa049a3cbf94045' (2023-10-04) → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=78758319f301261fba6677b6c15b8ac553a09fa8' (2023-10-08) • Updated input 'disko': 'github:nix-community/disko/646ee25c25fffee122a66282861f5f56ad3e0fd9' (2023-10-02) → 'github:nix-community/disko/cde886a1c97ef2399b4f91409db045785020291f' (2023-10-05) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/21928e6758af0a258002647d14363d5ffc85545b' (2023-10-01) → 'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c182df2e68bd97deb32c7e4765adfbbbcaf75b60' (2023-09-29) → 'github:NixOS/nixpkgs/5aabb5780a11c500981993d49ee93cfa6df9307b' (2023-10-08) • Updated input 'sops-nix': 'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21) → 'github:Mic92/sops-nix/d7380c38d407eaf06d111832f4368ba3486b800e' (2023-10-08) • Updated input 'srvos': 'github:numtide/srvos/25cf328a2d83926dde264b6195d82bc6dcfb4b0c' (2023-09-28) → 'github:numtide/srvos/05ecbf3094f5877996f4c21b625544967c19efa1' (2023-10-06) |
||
---|---|---|
.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