Server infrastructure for the clan project
Go to file
Jörg Thalheim 7120e2c7fc
All checks were successful
build / test (pull_request) Successful in 6s
flake.lock: Update
Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=eeb272d8b0777813dccb825d6f5c57f2e83de5d4' (2023-08-09)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=8c00a400a50bd7a96b3157a6a18daf31d89da46a' (2023-08-09)
• Updated input 'disko':
    'github:nix-community/disko/4015740375676402a2ee6adebc3c30ea625b9a94' (2023-07-30)
  → 'github:nix-community/disko/5a9bfa9fa612cc1888a886f6900bf7afcdfd8d92' (2023-08-07)
• Updated input 'nixpkgs':
    'github:Mic92/nixpkgs/ac1d29df2284b3bf62839cc4c503d326305d0f2f' (2023-07-20)
  → 'github:Mic92/nixpkgs/0988551e446fd5863148f8ccef05a73e8688e240' (2023-08-10)
• Updated input 'srvos':
    'github:numtide/srvos/ceed433086a85e5540bd73cff46497af5a09e36f' (2023-07-28)
  → 'github:numtide/srvos/b7407c2dc143402de6f140575398020175f3ae1a' (2023-08-10)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/fab56c8ce88f593300cd8c7351c9f97d10c333c5' (2023-08-01)
  → 'github:numtide/treefmt-nix/7b380d3cce8271b37394790b521ec2f7a6b248ad' (2023-08-08)

flake.lock: Update

Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=8c00a400a50bd7a96b3157a6a18daf31d89da46a' (2023-08-09)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6189ed0e7656babc632c7a43978366d467ab6f88' (2023-08-10)
• Updated input 'clan-core/disko':
    'github:nix-community/disko/493b347d8fffa6912afb8d89b91703cd40ff6038' (2023-08-06)
  → 'github:nix-community/disko/5a9bfa9fa612cc1888a886f6900bf7afcdfd8d92' (2023-08-07)

flake.lock: Update

Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6189ed0e7656babc632c7a43978366d467ab6f88' (2023-08-10)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=0640c1a436c0f2db6532340b9138fcedac258133' (2023-08-10)
2023-08-10 11:35:33 +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 make telegraf visible from the outside 2023-08-09 11:04:31 +02:00
pkgs gitea: switch back to nixpkgs version 2023-08-10 10:55:22 +02:00
sops reencrypt setcrets for web01 machine 2023-08-10 10:55:14 +02:00
targets apply statix 2023-08-08 14:07:04 +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-10 11:35:33 +02:00
flake.nix more simplications 2023-08-08 14:07:41 +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