<commit_before>#{ hostName? , ... }:
{
  networking.networkmanager.enable = true;
  networking.networkmanager.dns = "none";
  networking.nameservers = [ "1.1.1.1" ];

  # Open ports in the firewall.
  # networking.firewall.allowedTCPPorts = [ ... ];
  # networking.firewall.allowedUDPPorts = [ ... ];
  # Or disable the firewall altogether.
  # networking.firewall.enable = false;
}<commit_msg>config(nixos/sys/networking): Add `wireguard` config<commit_after>#{ hostName? , ... }:
{
  networking.networkmanager.enable = true;
  networking.networkmanager.dns = "none";
  networking.nameservers = [ "1.1.1.1" ];

  # Open ports in the firewall.
  # networking.firewall.allowedTCPPorts = [ ... ];
  # networking.firewall.allowedUDPPorts = [ ... ];
  # Or disable the firewall altogether.
  # networking.firewall.enable = false;

  networking.wg-quick.interfaces = {
    wg-mlvd = {
      address = [ "10.65.142.200/32" "fc00:bbbb:bbbb:bb01::2:8ec7/128" ];
      dns = [ "172.16.58.3" ];
      privateKeyFile = "/home/zlx/wireguard-keys/private2";
      peers = [
        {
          publicKey = "<KEY>;
          allowedIPs = [ "0.0.0.0/0" "::0/0" ];
          endpoint = "192.168.127.12:51820";
          persistentKeepalive = 15;
        }
      ];
    };
  };

  # networking.wg-quick.interfaces = {
  #   wg-anonine = {
  #     address = [ "10.130.0.23" ];
  #     dns = [ "1.1.1.1" ];
  #     privateKeyFile = "/home/zlx/wireguard-keys/private";
  #     peers = [
  #       {
  #         publicKey = "<KEY>;
  #         allowedIPs = [ "0.0.0.0/0" ];
  #         endpoint = "de-fr.anonine.net:48030";
  #         persistentKeepalive = 15;
  #       }
  #     ];
  #   };
  # };

  # WireGuard demo: http://demo.wireguard.com
  # networking.wireguard.interfaces = {
  #   wg-demo = {
  #     ips = [ "192.168.4.157/24" ];
  #     privateKeyFile = "/home/zlx/wireguard-keys/private";
  #     peers = [
  #       {
  #         publicKey = "<KEY>;
  #         allowedIPs = [ "0.0.0.0/0" ];
  #         endpoint = "demo.wireguard.com:12912";
  #         persistentKeepalive = 25;
  #       }
  #     ];
  #   };
  # };
}
{'fraction_non_alphanumeric': 0.18138875767595655, 'fraction_numerical': 0.05290505432215399, 'mean_word_length': 2.047482014388489, 'pattern_counts': {'":': 1, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 11, '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': '628652', 'n_tokens_mistral': 843, 'n_tokens_neox': 788, 'n_words': 101}