# Infra This directory contains the definition of the VMs that host our infrastructure. ## NixOps4 Their configuration can be updated via NixOps4. Run ```sh nixops4 deployments list ``` to see the available deployments. This should be done from the root of the repository, otherwise NixOps4 will fail with something like: ``` nixops4 error: evaluation: error: … while calling the 'getFlake' builtin error: path '/nix/store/05nn7krhvi8wkcyl6bsysznlv60g5rrf-source/flake.nix' does not exist, evaluation: error: … while calling the 'getFlake' builtin error: path '/nix/store/05nn7krhvi8wkcyl6bsysznlv60g5rrf-source/flake.nix' does not exist ``` Then, given a deployment (eg. `git`), run ```sh nixops4 apply ``` Alternatively, to run the `default` deployment, run ```sh nixops4 apply ``` ## Deployments default : Contains everything `git` : Machines hosting our Git infrastructure, eg. Forgejo and its actions runners `web` : Machines hosting our online content, eg. the website or the wiki `other` : Machines without a specific purpose ## Machines These machines are hosted on the Procolix Proxmox instance, to which non-Procolix members of the project do not have access. They host our stable infrastructure. Machine Proxmox Description Deployment --------- ------------- ------------------------ ------------ vm02116 Procolix Forgejo `git` vm02179 Procolix *unused* `other` vm02186 Procolix *unused* `other` vm02187 Procolix Wiki `web` fedi300 Fediversity Forgejo actions runner `git`