Files
eyduh f407ca5800 gotta install alejandra and make omp use it cuz these flake-wide bouts
of reformatting are getting a bit silly...
also added devenv and latest touchosc
2026-09-23 01:37:49 +02:00

64 lines
2.5 KiB
Nix
Executable File

{ self, inputs, ... }:
{
perSystem =
{
self',
lib,
...
}:
{
checks =
lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self'.packages
// lib.mapAttrs' (n: lib.nameValuePair "devShell-${n}") self'.devShells;
clan.nixosTests.searx-local = {
imports = [ ./clanServices/searx/tests/vm/default.nix ];
clan.modules."@eyduh/searx" = import ./clanServices/searx { inherit inputs; };
};
clan.nixosTests.nextcloud-multi = {
imports = [ ./clanServices/nextcloud/tests/vm/default.nix ];
clan.modules."@eyduh/nextcloud" = import ./clanServices/nextcloud;
};
clan.nixosTests.jellyfin-server = {
imports = [ ./clanServices/jellyfin/tests/vm/default.nix ];
clan.modules."@eyduh/jellyfin" = import ./clanServices/jellyfin;
};
clan.nixosTests.arr-stack = {
imports = [ ./clanServices/arr/tests/vm/default.nix ];
clan.modules."@eyduh/arr" = import ./clanServices/arr;
};
clan.nixosTests.disk-encryption-bootstrap = {
imports = [ ./clanServices/disk-encryption/tests/vm/bootstrap.nix ];
clan.modules."@eyduh/disk-encryption" = import ./clanServices/disk-encryption;
};
clan.nixosTests.continuwuity = {
imports = [ ./clanServices/continuwuity/tests/vm/default.nix ];
# The service is a function `{ inputs, ... }` so its nixosModule can
# pull the 26.6.0+ binary from the `continuwuity` flake input on the
# OIDC path; pass the flake's inputs here too.
clan.modules."@eyduh/continuwuity" = import ./clanServices/continuwuity { inherit inputs; };
};
# OIDC-on path: package override from the `continuwuity` flake input +
# generated `[global.oauth.oidc]`/`admins_list` config. Complements the
# bootstrap test above (which covers oidc.enable = false). The two modes
# are mutually exclusive — continuwuity forces compatibility_mode =
# "exclusive" when OIDC is active — so they live in separate checks.
clan.nixosTests.continuwuity-oidc = {
imports = [ ./clanServices/continuwuity/tests/vm/oidc.nix ];
clan.modules."@eyduh/continuwuity" = import ./clanServices/continuwuity { inherit inputs; };
};
# sharkey test broken (settings.url renamed to clanEndpoint) — fix post-proxmox migration
# clan.nixosTests.sharkey-server = {
# imports = [ ./clanServices/sharkey/tests/vm/default.nix ];
# clan.modules."@eyduh/sharkey" = import ./clanServices/sharkey;
# };
};
}