treewide: remove AndersonTorres from maintainers (#360012)
[NixPkgs.git] / nixos / modules / programs / zmap.nix
blob4f31d42c4add7fa6fc394484167c584b4d529291
1 { pkgs, config, lib, ... }:
3 let
4   cfg = config.programs.zmap;
5 in {
6   options.programs.zmap = {
7     enable = lib.mkEnableOption "ZMap, a network scanner designed for Internet-wide network surveys";
8   };
10   config = lib.mkIf cfg.enable {
11     environment.systemPackages = [ pkgs.zmap ];
13     environment.etc."zmap/blacklist.conf".source = "${pkgs.zmap}/etc/zmap/blacklist.conf";
14     environment.etc."zmap/zmap.conf".source = "${pkgs.zmap}/etc/zmap.conf";
15   };