Server infrastructure for the clan project
Go to file
Jörg Thalheim 3d47eb57f3 flake.lock: Update
Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=f626c6e81577509b72469a7312054cd3c55fa8f1' (2023-08-11)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=7365df338bb75782703be633976ca6add6002e88' (2023-08-23)
• Updated input 'clan-core/disko':
    'github:nix-community/disko/241c878d4b542fea7c61ed4421e9224af054ff56' (2023-08-11)
  → 'github:nix-community/disko/4eed2457b053c4bbad7d90d2b3a1d539c2c9009c' (2023-08-16)
• Added input 'clan-core/sops-nix':
    'github:Mic92/sops-nix/1b7b3a32d65dbcd69c217d7735fdf0a6b2184f45' (2023-08-22)
• Added input 'clan-core/sops-nix/nixpkgs':
    follows 'clan-core/sops-nix'
• Added input 'clan-core/sops-nix/nixpkgs-stable':
    follows 'clan-core'
• Updated input 'disko':
    'github:nix-community/disko/241c878d4b542fea7c61ed4421e9224af054ff56' (2023-08-11)
  → 'github:nix-community/disko/4eed2457b053c4bbad7d90d2b3a1d539c2c9009c' (2023-08-16)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0b07d4957ee1bd7fd3bdfd12db5f361bd70175a6' (2023-08-20)
  → 'github:NixOS/nixpkgs/9d757ec498666cc1dcc6f2be26db4fd3e1e9ab37' (2023-08-22)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/c36df4fe4bf4bb87759b1891cab21e7a05219500' (2023-07-24)
  → 'github:Mic92/sops-nix/1b7b3a32d65dbcd69c217d7735fdf0a6b2184f45' (2023-08-22)
• Updated input 'srvos':
    'github:numtide/srvos/b7407c2dc143402de6f140575398020175f3ae1a' (2023-08-10)
  → 'github:numtide/srvos/1fdce805f65f8d44856b5af1340de0fd6d0811a9' (2023-08-22)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/7b380d3cce8271b37394790b521ec2f7a6b248ad' (2023-08-08)
  → 'github:numtide/treefmt-nix/e2761d701581d8dcc4e0e88aecfde317ddf6f0cd' (2023-08-20)

flake.lock: Update

Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=7365df338bb75782703be633976ca6add6002e88' (2023-08-23)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=a642ecfda5e3472af521bfd6f4f466201f4f3ccb' (2023-08-23)
• Updated input 'srvos':
    'github:numtide/srvos/1fdce805f65f8d44856b5af1340de0fd6d0811a9' (2023-08-22)
  → 'github:numtide/srvos/46145a1cc93d00ced71c903ec3f9d492af857e2e' (2023-08-23)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/e2761d701581d8dcc4e0e88aecfde317ddf6f0cd' (2023-08-20)
  → 'github:numtide/treefmt-nix/b070c28bf9d7d3ef93084aa47c01b4b6c16cdce4' (2023-08-23)
2023-08-23 15:06:45 +02:00
.gitea/workflows ci: check pr merge instead of pr branch 2023-08-08 13:54:28 +02:00
devShells import clan-cli into devshell 2023-08-08 14:22:00 +02:00
modules hetzner-ex101: add boot.swraid.enable option 2023-08-11 17:35:30 +02:00
pkgs change up gitea captcha 2023-08-11 13:36:02 +02:00
sops reencrypt setcrets for web01 machine 2023-08-10 09:41:56 +00:00
targets web01: switch to clan-update command 2023-08-11 17:35:30 +02:00
terraform drop web01-old 2023-07-20 10:31:49 +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 flake.lock: Update 2023-08-23 15:06:45 +02:00
flake.nix flake.lock: Update 2023-08-23 14:05:51 +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