Server infrastructure for the clan project
Go to file
Clan Merge Bot dc8790b6f2
All checks were successful
checks / test (pull_request) Successful in 2m41s
update flake lock - 2024-04-08T00:00+00:00
Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=eeb703985e6cf24913cab2ae352937a0b811c5cf' (2024-03-31)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=d89edef9a1943cbf0150fd70cde25015161410a7' (2024-04-07)
• Updated input 'clan-core/disko':
    'github:nix-community/disko/5d2d3e421ade554b19b4dbb0d11a04023378a330' (2024-03-24)
  → 'github:nix-community/disko/502241afa3de2a24865ddcbe4c122f4546e32092' (2024-03-28)
• Updated input 'clan-core/nixos-generators':
    'github:nix-community/nixos-generators/2b3720c7af2271be8cee713cd2f69c5127b0a8e4' (2024-03-25)
  → 'github:nix-community/nixos-generators/63194fceafbfe583a9eb7d16ab499adc0a6c0bc2' (2024-03-28)
• Updated input 'disko':
    'github:nix-community/disko/502241afa3de2a24865ddcbe4c122f4546e32092' (2024-03-28)
  → 'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb' (2024-04-05)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
  → 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/807c549feabce7eddbf259dbdcec9e0600a0660d' (2024-03-29)
  → 'github:NixOS/nixpkgs/efe8ce06ca261f370d672def5b1e0be300c726e1' (2024-04-07)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/99b1e37f9fc0960d064a7862eb7adfb92e64fa10' (2024-03-31)
  → 'github:Mic92/sops-nix/39191e8e6265b106c9a2ba0cfd3a4dafe98a31c6' (2024-04-07)
• Updated input 'srvos':
    'github:numtide/srvos/b3af8aed091d85e180a861695f2d57b3b2d24ba1' (2024-03-28)
  → 'github:numtide/srvos/ddafe2fd3547f63e6bf75b6e1a99ecfa61c59687' (2024-04-04)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/1810d51a015c1730f2fe05a255258649799df416' (2024-03-30)
  → 'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac' (2024-04-01)
2024-04-08 00:00:13 +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 jobs: depend on network-online target 2024-04-03 14:02:30 +02: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-04-08T00:00+00:00 2024-04-08 00:00:13 +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