Server infrastructure for the clan project
Go to file
Mic92 4bd83a8f11
All checks were successful
build / test (push) Successful in 8s
Merge pull request 'actions-runner: apply systemd hardening' (#5) from test into main
Reviewed-on: #5
2023-07-13 12:46:06 +00:00
.gitea/workflows make ci check a bit less verbose 2023-07-13 11:37:15 +02:00
modules actions-runner: apply systemd hardening 2023-07-13 14:44:48 +02:00
pkgs switch to native nix gitea action 2023-07-13 14:01:44 +02:00
targets actions-runner: apply systemd hardening 2023-07-13 14:44:48 +02:00
terraform treefmt 2023-07-13 11:29:21 +02:00
.envrc add envrc 2023-07-05 13:50:48 +02:00
.envrc.private-template first commit 2023-07-04 17:52:06 +02:00
.gitignore first commit 2023-07-04 17:52:06 +02:00
.sops.yaml add sops-nix 2023-07-05 17:19:22 +02:00
flake.lock switch to native nix gitea action 2023-07-13 14:01:44 +02:00
flake.nix switch to native nix gitea action 2023-07-13 14:01:44 +02:00
LICENSE.md add license 2023-07-05 13:50:52 +02:00
README.md README: minor update 2023-07-13 11:19:48 +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:
    • soon to be replaced by baremetal hardware
    • Instance type: CPX42
    • CPU: 8 vCPUs on AMD
    • RAM: 16GB
    • Drives: 80GB SSD

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

To update the website

$ cd ./targets/web01
$ nix flake lock --update-input homepage --commit-lock-file
$ ./tf.sh apply