All checks were successful
deploy-infra / deploy (push) Successful in 2m10s
/ check-pre-commit (push) Successful in 12s
/ check-data-model (push) Successful in 32s
/ check-mastodon (push) Successful in 22s
/ check-peertube (push) Successful in 21s
/ check-panel (push) Successful in 1m30s
/ check-deployment-basic (push) Successful in 35s
/ check-deployment-cli (push) Successful in 44s
/ check-deployment-panel (push) Successful in 1m53s
/ check-resources (push) Successful in 3m53s
Following #478 (comment), here is a PR that plugs the infra's `vmOptions` and `nixosConfigurations` outputs into flake checks, instead of calling random Nix commands from the CI. There is still a bit of magic in the CI, but that's because we don't have yet a Nix-aware CI that exposes one job per flake check. Reviewed-on: #488 Reviewed-by: kiara Grouwstra <kiara@procolix.eu> Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com> Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
39 lines
836 B
Nix
39 lines
836 B
Nix
{
|
|
_class = "nixops4Resource";
|
|
|
|
fediversityVm = {
|
|
name = "vm02187";
|
|
isFediversityVm = false;
|
|
vmId = 2187;
|
|
description = "Wiki";
|
|
|
|
ipv4.address = "185.206.232.187";
|
|
ipv6.address = "2a00:51c0:12:1201::187";
|
|
};
|
|
|
|
nixos.module =
|
|
{ lib, ... }:
|
|
{
|
|
imports = [
|
|
./wiki.nix
|
|
];
|
|
|
|
## NOTE: This VM was created manually, which requires us to override the
|
|
## default disko-based `fileSystems` definition.
|
|
fileSystems = lib.mkForce {
|
|
"/" = {
|
|
device = "/dev/disk/by-uuid/a46a9c46-e32b-4216-a4aa-8819b2cd0d49";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-uuid/6AB5-4FA8";
|
|
fsType = "vfat";
|
|
options = [
|
|
"fmask=0022"
|
|
"dmask=0022"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|