modules/tested: init
This commit is contained in:
parent
bd5f155e23
commit
5d8dc23cb5
2 changed files with 14 additions and 0 deletions
|
@ -23,6 +23,7 @@ let
|
||||||
sss = import ./sss;
|
sss = import ./sss;
|
||||||
system-info = import ./system-info;
|
system-info = import ./system-info;
|
||||||
system-recovery = import ./system-recovery;
|
system-recovery = import ./system-recovery;
|
||||||
|
tested = import ./tested;
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
modules = aspects;
|
modules = aspects;
|
||||||
|
@ -47,6 +48,7 @@ in rec {
|
||||||
motd
|
motd
|
||||||
nix-config-server
|
nix-config-server
|
||||||
system-recovery
|
system-recovery
|
||||||
|
tested
|
||||||
] ++ base ++ networking;
|
] ++ base ++ networking;
|
||||||
|
|
||||||
container = [
|
container = [
|
||||||
|
|
12
modules/tested/default.nix
Normal file
12
modules/tested/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ config, inputs, lib, pkgs, ... }:
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
options = {
|
||||||
|
tested.requiredChecks = mkOption {
|
||||||
|
type = with types; listOf str;
|
||||||
|
description = "Flake checks to perform.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
config.system.extraDependencies = map (name: inputs.self.checks.${pkgs.system}.${name}) config.tested.requiredChecks;
|
||||||
|
}
|
Loading…
Reference in a new issue