nixos-config/nix/verify/module.nix
Ingolf Wagner f49730a0a9
🚚 renaming
2024-09-13 14:36:17 +07:00

25 lines
521 B
Nix

{ lib, ... }:
with lib;
with types;
{
options.verify.closed = mkOption {
default = { };
type = attrsOf (submodule {
options = {
domain = mkOption {
type = str;
description = ''
domain to scan
'';
};
# todo: make this an attrs so I know why port xyz should be closed.
ports = mkOption {
type = listOf int;
description = ''
ports that should be closed
'';
};
};
});
};
}