Server infrastructure for the clan project
Go to file
Clan Merge Bot fb8dc9051e
All checks were successful
checks / test (pull_request) Successful in 5m5s
update flake lock - 2024-03-11T00:00+00:00
Flake lock file updates:

• Updated input 'clan-core':
    'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=f166da1621707399416a1dcb09db8a6360291f0d' (2024-02-11)
  → 'git+https://git.clan.lol/clan/clan-core?ref=refs/heads/main&rev=6d76a724c017655c392080d50164da55e00a2d87' (2024-03-10)
• Updated input 'clan-core/disko':
    'github:nix-community/disko/f67ba6552845ea5d7f596a24d57c33a8a9dc8de9' (2024-01-29)
  → 'github:nix-community/disko/0d11aa8d6431326e10b8656420f91085c3bd0b12' (2024-03-05)
• Updated input 'clan-core/nixos-generators':
    'github:nix-community/nixos-generators/896f6589db5b25023b812bbb6c1f5d3a499b1132' (2024-01-24)
  → 'github:nix-community/nixos-generators/f4631dee1a0fd56c0db89860e83e3588a28c7631' (2024-02-22)
• Updated input 'clan-core/nixos-generators/nixlib':
    'github:nix-community/nixpkgs.lib/f5af57d3ef9947a70ac86e42695231ac1ad00c25' (2023-09-03)
  → 'github:nix-community/nixpkgs.lib/e623008d8a46517470e6365505f1a3ce171fa46a' (2024-02-18)
• Updated input 'disko':
    'github:nix-community/disko/d07de570ba05cec2807d058daaa044f6955720c7' (2024-02-10)
  → 'github:nix-community/disko/72818e54ec29427f8d9f9cfa6fc859d01ca6dc66' (2024-03-09)
• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f' (2024-02-01)
  → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f3a93440fbfff8a74350f4791332a19282cc6dc8' (2024-02-11)
  → 'github:NixOS/nixpkgs/d40e866b1f98698d454dad8f592fe7616ff705a4' (2024-03-10)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/2eb7c4ba3aa75e2660fd217eb1ab64d5b793608e' (2024-02-11)
  → 'github:Mic92/sops-nix/f8d5c8baa83fe620a28c0db633be9db3e34474b4' (2024-03-10)
• Updated input 'srvos':
    'github:numtide/srvos/c5df91ddcc76abfefe4adcda30a25ede8b761156' (2024-02-08)
  → 'github:numtide/srvos/434ad8453dffd81b91fddc0d68fb65d9bc5d5059' (2024-03-08)
• Removed input 'srvos/flake-parts'
• Removed input 'srvos/flake-parts/nixpkgs-lib'
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/ac599dab59a66304eb511af07b3883114f061b9d' (2024-02-07)
  → 'github:numtide/treefmt-nix/720322c5352d7b7bd2cb3601a9176b0e91d1de7d' (2024-03-10)
2024-03-11 00:00:14 +00:00
.gitea/workflows only build with nix-fast-build 2023-11-16 15:43:41 +01:00
devShells make terraform hallal 2023-11-03 10:37:57 +01:00
modules web01: add redirect to pad.lassul.us for thaigersprint qr code 2024-02-12 07:26:59 +01: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: deploy for web redirect 2024-02-12 07:28:10 +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-11T00:00+00:00 2024-03-11 00:00:14 +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