Server infrastructure for the clan project
Go to file
Clan Merge Bot e7ba8bef91
Some checks failed
build / test (pull_request) Failing after 2s
checks / test (pull_request) Failing after 4s
update flake lock - 2023-09-25T00:00+00:00
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)
2023-09-25 00:00:17 +00:00
.gitea/workflows add ci to the preo 2023-09-19 14:06:26 +02:00
devShells use mkShellNoCC 2023-09-19 14:30:18 +02:00
modules use also buildClan 2023-09-19 14:06:26 +02:00
pkgs change up gitea captcha 2023-08-11 13:36:02 +02:00
sops switch to different hetzner machine 2023-09-05 16:09:52 +02:00
targets use also buildClan 2023-09-19 14:06:26 +02:00
terraform switch to different hetzner machine 2023-09-05 16:09:52 +02:00
.envrc add envrc 2023-07-05 13:50:48 +02:00
.envrc.private-template .envrc.private-template: remove NETLIFY_TOKEN 2023-07-17 13:38:28 +02:00
.gitignore gitignore: add .pre-commit-config.yaml 2023-07-28 18:45:09 +02:00
.sops.yaml add new baremetal server 2023-07-18 16:21:31 +02:00
flake.lock update flake lock - 2023-09-25T00:00+00:00 2023-09-25 00:00:17 +00:00
flake.nix add ci to the preo 2023-09-19 14:06:26 +02:00
LICENSE.md add license 2023-07-05 13:50:52 +02:00
README.md README: update hardware spec 2023-07-20 10:28:40 +02:00
renovate.json Add renovate.json 2023-07-14 14:44:19 +02:00

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