1 { pkgs, config, lib, ... }:
6 cfg = config.programs.zmap;
8 options.programs.zmap = {
9 enable = mkEnableOption (lib.mdDoc "ZMap");
12 config = mkIf cfg.enable {
13 environment.systemPackages = [ pkgs.zmap ];
15 environment.etc."zmap/blacklist.conf".source = "${pkgs.zmap}/etc/zmap/blacklist.conf";
16 environment.etc."zmap/zmap.conf".source = "${pkgs.zmap}/etc/zmap.conf";