This commit is contained in:
GTrunSec 2022-04-02 12:40:35 -07:00
parent a0ce293db8
commit 60592d3096
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0
55 changed files with 23668 additions and 30925 deletions

View file

@ -1,11 +1,12 @@
{ lib, config, pkgs, ... }:
with lib;
let
cfg = config.test;
in
{
lib,
config,
pkgs,
...
}:
with lib; let
cfg = config.test;
in {
options.test = {
name = mkOption {
description = "Test name";
@ -38,8 +39,13 @@ in
};
};
});
default = [ ];
example = [{ assertion = false; message = "you can't enable this for some reason"; }];
default = [];
example = [
{
assertion = false;
message = "you can't enable this for some reason";
}
];
description = ''
This option allows modules to express conditions that must
hold for the evaluation of the system configuration to
@ -52,6 +58,5 @@ in
type = types.nullOr (types.either types.lines types.path);
default = null;
};
};
}