<commit_before>{pkgs, ...}:

{
  boot = {
    loader = {
      grub = {
        device = "/dev/sda";
      };
    };
  };

  fileSystems = [
    { mountPoint = "/";
      device = "/dev/sda2";
    }
  ];

  swapDevices = [
    { device = "/dev/sda1"; }
  ];
  
  services = {
    openssh = {
      enable = true;
    };
    
    disnix = {
      enable = true;
    };

    tomcat = {
      enable = true;
      
      commonLibs = [ "${pkgs.mysql_jdbc}/share/java/mysql-connector-java.jar" ];
      
      javaOpts = "-Djava.library.path=${pkgs.libmatthew_java}/lib/jni";
      catalinaOpts = "-Xms64m -Xmx256m";
      sharedLibs = [ "${pkgs.DisnixService}/share/java/DisnixConnection.jar"
                     "${pkgs.dbus_java}/share/java/dbus.jar" ];
      webapps = [ pkgs.DisnixService ];
    };
  };

  environment = {
    systemPackages = [
      pkgs.mc
      pkgs.subversion
      pkgs.lynx
    ];
  };
}<commit_msg>Replaced all DisnixService stuff with services.disnix.useWebServiceInterface<commit_after>{pkgs, ...}:

{
  boot = {
    loader = {
      grub = {
        device = "/dev/sda";
      };
    };
  };

  fileSystems = [
    { mountPoint = "/";
      device = "/dev/sda2";
    }
  ];

  swapDevices = [
    { device = "/dev/sda1"; }
  ];
  
  services = {
    openssh = {
      enable = true;
    };
    
    disnix = {
      enable = true;
      useWebServiceInterface = true;
    };

    tomcat = {
      enable = true;
      commonLibs = [ "${pkgs.mysql_jdbc}/share/java/mysql-connector-java.jar" ];      
      catalinaOpts = "-Xms64m -Xmx256m";
    };
  };

  environment = {
    systemPackages = [
      pkgs.mc
      pkgs.subversion
      pkgs.lynx
    ];
  };
}
{'fraction_non_alphanumeric': 0.16281823564239195, 'fraction_numerical': 0.008288928359976317, 'mean_word_length': 1.653061224489796, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6255825', 'n_tokens_mistral': 646, 'n_tokens_neox': 614, 'n_words': 80}