too lazy to think of a message, so enjoy this pointless text. Good luck future me...

This commit is contained in:
Chris Kruining 2025-09-23 22:01:52 +02:00
parent 36629f6d02
commit ad2b96180f
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
6 changed files with 49 additions and 6 deletions

View file

@ -0,0 +1,22 @@
{
pkgs,
nixosLib,
clan-core,
...
}:
nixosLib.runTest (
{ ... }:
{
imports = [
clan-core.modules.nixosTest.clanTest
];
hostPkgs = pkgs;
name = "service-customer-portal";
testScript = ''
start_all()
'';
}
)

15
checks/flake-module.nix Normal file
View file

@ -0,0 +1,15 @@
{ self, ... }:
let
nixosLib = import (self.inputs.nixpkgs + "/nixos/lib") { };
in
{
perSystem = { pkgs, lib, ... }:
{
checks = {
service-customer-portal-test = import ./customer-portal {
inherit pkgs lib nixosLib self;
inherit (self.inputs) clan-core;
};
};
};
}