nixos-config/nix/scan/module.nix
Ingolf Wagner 7ef34db19b
Some checks failed
Build all NixOS Configurations / nix build (push) Has been cancelled
🚧 poc of rustscan script generator
2024-09-13 14:32:10 +07:00

25 lines
445 B
Nix

{ 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
'';
};
};
});
};
}