test(nginx): Add simple tests to assert nginx features work

This commit is contained in:
Tristan Daniël Maat 2025-11-13 05:20:09 +08:00
parent 9de8071b9b
commit 2058665de0
Signed by: tlater
GPG key ID: 02E935006CF2E8E7
8 changed files with 191 additions and 11 deletions

View file

@ -0,0 +1,20 @@
/**
Module to make writing service-specific tests easy.
*/
{ lib, ... }:
let
inherit (lib) mkOption types;
in
{
options = {
serviceTests = mkOption {
type = types.attrsOf types.package;
description = ''
NixOS tests to run.
'';
default = { };
};
};
}