forked from Fediversity/Fediversity
This PR builds on top of #447 and #448. Since these might be rejected, there will be some changes needed for this PR as well. Let's see how the discussions go in #447.
In the meantime, @fricklerhandwerk, would you mind (in)validating the core idea of this PR? You only need to look at 7cf43c4041
, really.
Reviewed-on: Fediversity/Fediversity#449
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
26 lines
548 B
Nix
26 lines
548 B
Nix
{ inputs, sources, ... }:
|
|
|
|
{
|
|
_class = "flake";
|
|
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
checks = {
|
|
deployment-basic = import ./check/basic {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
|
|
deployment-cli = import ./check/cli {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
|
|
deployment-panel = import ./check/panel {
|
|
inherit (pkgs.testers) runNixOSTest;
|
|
inherit inputs sources;
|
|
};
|
|
};
|
|
};
|
|
}
|