nixos-config/nix/scan/module.nix

25 lines
445 B
Nix
Raw Normal View History

{ lib, ... }:
with lib;
with types;
{
options.verify.closed = mkOption {
default = { };
type = attrsOf (submodule {
options = {
domain = mkOption {
type = str;
description = ''
domain to scan
'';
};
ports = mkOption {
type = listOf int;
description = ''
ports that should be closed
'';
};
};
});
};
}