Server infrastructure for the clan project
Go to file
Clan Merge Bot da352058dc
All checks were successful
checks / test (pull_request) Successful in 5m7s
update flake lock - 2024-03-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=4a5b9cf0f47d60ab36afa40c4a6a76e268000943' (2024-03-17)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=b07490ca60982ade15338d7c90dc8abc0754f4b7' (2024-03-24)
• Updated input 'clan-core/disko':
    'github:nix-community/disko/fe064a639319ed61cdf12b8f6eded9523abcc498' (2024-03-11)
  → 'github:nix-community/disko/21d89b333ca300bef82c928c856d48b94a9f997c' (2024-03-14)
• Updated input 'clan-core/nixos-generators':
    'github:nix-community/nixos-generators/1d9c8cd24eba7942955f92fdcefba5a6a7543bc6' (2024-03-11)
  → 'github:nix-community/nixos-generators/efd4e38532b5abfaa5c9fc95c5a913157dc20ccb' (2024-03-14)
• Updated input 'clan-core/nixos-generators/nixlib':
    'github:nix-community/nixpkgs.lib/7873d84a89ae6e4841528ff7f5697ddcb5bdfe6c' (2024-03-03)
  → 'github:nix-community/nixpkgs.lib/630ebdc047ca96d8126e16bb664c7730dc52f6e6' (2024-03-10)
• Updated input 'disko':
    'github:nix-community/disko/21d89b333ca300bef82c928c856d48b94a9f997c' (2024-03-14)
  → 'github:nix-community/disko/5d2d3e421ade554b19b4dbb0d11a04023378a330' (2024-03-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6af7e814afb3b62171eee1edc31989ee61528d25' (2024-03-17)
  → 'github:NixOS/nixpkgs/e1d501922fd7351da4200e1275dfcf5faaad1220' (2024-03-23)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616' (2024-03-17)
  → 'github:Mic92/sops-nix/405987a66cce9a4a82f321f11b205982a7127c88' (2024-03-24)
• Updated input 'srvos':
    'github:numtide/srvos/83eef007bb039bd5dfd7262a0746d02791ef4b6b' (2024-03-17)
  → 'github:numtide/srvos/918e2ad35a9ce4071e9bc72e82ad97a65c8b861b' (2024-03-21)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/35791f76524086ab4b785a33e4abbedfda64bd22' (2024-03-12)
  → 'github:numtide/treefmt-nix/7ee5aaac63c30d3c97a8c56efe89f3b2aa9ae564' (2024-03-18)
2024-03-25 00:00:12 +00:00
.gitea/workflows limit eval worker 2024-03-12 17:33:43 +01:00
devShells switch to tofu from terraform 2024-03-12 11:33:06 +01:00
modules Set cache to expire after one hour on clan.lol 2024-03-19 13:11:43 +07:00
pkgs update gitea 2024-02-08 15:51:02 +00:00
sops rotate bot tokens 2023-11-16 15:43:41 +01:00
targets web01: set targetHost 2024-03-12 17:01:23 +01:00
terraform web01: point to current nixos-anywhere location 2024-02-12 07:27:55 +01: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 - 2024-03-25T00:00+00:00 2024-03-25 00:00:12 +00:00
flake.nix drop unused flake url 2023-11-29 12:12:36 +01: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