anchor.diff:      steven_black =
         "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts";
     };
  +
  +  beats_port = 9515;
  +  dnsmasq_port = 53;
  +  syslog_port = 9514;
  +
  +  ip_ap = "10.0.0.3";
  +  ip_imac_wifi = "10.0.10.1";
  +  ip_imac_eth = "10.0.10.2";
  +  ip_ux305c = "10.0.10.3";
   in {
  -  imports = [ ./6910p-hardware.nix ./6910p-secrets.nix ./modules/telegraf.nix ./nixos/docker.nix ];
  +  imports = [ ./6910p-hardware.nix ./6910p-secrets.nix ];
   
     boot = {
       cleanTmpDir = true;
  
positive.code:       enable = true;
        systemCronJobs = [
          "0 0 * * * root reboot"
          "* * * * * nequi /home/nequi/stats/mikrotik-stats/start.sh"
        ];
      };
  
  
negative.code:         cache-size=2000
          local-ttl=3600
          min-cache-ttl=3600
          port=${toString dnsmasq_port}
        '';
        servers = [ "127.0.0.1#5300" ];
      };
  
      elasticsearch = {
        enable = true;
        package = pkgs.elasticsearch7-oss;
      };
  
      elasticsearch-curator = {
        actionYAML = ''
          ---
          actions:
            1:
              action: delete_indices
              options:
                allow_ilm_indices: true
                ignore_empty_list: True
                disable_action: False
              filters:
              - filtertype: pattern
                kind: prefix
                value: nequi-
              - filtertype: age
                source: name
                direction: older
                timestring: '%Y.%m.%d'
                unit: days
                unit_count: 180
        '';
        enable = true;
      };
  
      journalbeat = {
        enable = true;
        extraConfig = ''
          logging.metrics.enabled: false
  
          journalbeat.inputs:
            - paths: []
  
          output.elasticsearch:
            hosts: ["http://localhost:${toString config.services.elasticsearch.port}"]
        '';
        package = pkgs.journalbeat7;
      };
  
      kibana = {
        elasticsearch.hosts = [ "http://localhost:${toString config.services.elasticsearch.port}" ];
        enable = true;
        listenAddress = "0.0.0.0";
        package = pkgs.kibana7-oss;
      };
  
      locate.enable = true;
  
      logind.extraConfig = "HandleLidSwitch=ignore";
  
      logstash = {
        enable = true;
  
        inputConfig = ''
          syslog {
            port => ${toString syslog_port}
            type => syslog
          }
          beats {
            port => ${toString beats_port}
          }
        '';
  
        filterConfig = ''
          if [@metadata][beat] {
            mutate { add_field => { "type" => "%{[@metadata][beat]}" } }
          }
        '';
  
        outputConfig = ''
          elasticsearch {
            hosts => ["localhost:${toString config.services.elasticsearch.port}"]
            index => "%{type}-%{+YYYY.MM.dd}"
          }
        '';
  
        package = pkgs.logstash7-oss;
      };
  
      ntp = {
        enable = true;
  