Server infrastructure for the clan project
Go to file
Clan Merge Bot 4a42397c36
All checks were successful
checks / test (pull_request) Successful in 1m47s
update flake lock - 2024-03-18T00:00+00:00
Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6d76a724c017655c392080d50164da55e00a2d87' (2024-03-10)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=4a5b9cf0f47d60ab36afa40c4a6a76e268000943' (2024-03-17)
• Updated input 'clan-core/disko':
    'github:nix-community/disko/0d11aa8d6431326e10b8656420f91085c3bd0b12' (2024-03-05)
  → 'github:nix-community/disko/fe064a639319ed61cdf12b8f6eded9523abcc498' (2024-03-11)
• Updated input 'clan-core/nixos-generators':
    'github:nix-community/nixos-generators/f4631dee1a0fd56c0db89860e83e3588a28c7631' (2024-02-22)
  → 'github:nix-community/nixos-generators/1d9c8cd24eba7942955f92fdcefba5a6a7543bc6' (2024-03-11)
• Updated input 'clan-core/nixos-generators/nixlib':
    'github:nix-community/nixpkgs.lib/e623008d8a46517470e6365505f1a3ce171fa46a' (2024-02-18)
  → 'github:nix-community/nixpkgs.lib/7873d84a89ae6e4841528ff7f5697ddcb5bdfe6c' (2024-03-03)
• Updated input 'disko':
    'github:nix-community/disko/72818e54ec29427f8d9f9cfa6fc859d01ca6dc66' (2024-03-09)
  → 'github:nix-community/disko/21d89b333ca300bef82c928c856d48b94a9f997c' (2024-03-14)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d40e866b1f98698d454dad8f592fe7616ff705a4' (2024-03-10)
  → 'github:NixOS/nixpkgs/6af7e814afb3b62171eee1edc31989ee61528d25' (2024-03-17)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f8d5c8baa83fe620a28c0db633be9db3e34474b4' (2024-03-10)
  → 'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616' (2024-03-17)
• Updated input 'srvos':
    'github:numtide/srvos/434ad8453dffd81b91fddc0d68fb65d9bc5d5059' (2024-03-08)
  → 'github:numtide/srvos/83eef007bb039bd5dfd7262a0746d02791ef4b6b' (2024-03-17)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/720322c5352d7b7bd2cb3601a9176b0e91d1de7d' (2024-03-10)
  → 'github:numtide/treefmt-nix/35791f76524086ab4b785a33e4abbedfda64bd22' (2024-03-12)
2024-03-18 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 the nginx Content-Security-Policy header to allow embedding the Gitea instance in an iframe on the pad.lassul.us instance. 2024-03-17 18:18:21 +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-18T00:00+00:00 2024-03-18 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