<commit_before>{
  dongler = {config, pkgs, ...}: {
    # Minimal install
    environment.noXlibs = true;
    services.xserver.enable = false;
    i18n.supportedLocales = [ (config.i18n.defaultLocale + "/UTF-8") ];

    # Skip login prompt
    services.mingetty.autologinUser = "root";
    users.motd = ''
      * Plug in the CSR dongle
      * Switch your TB on a free jump slot
      * Run pair.sh
      * Run the make-hid.sh command it outputs. Make sure that is your TextBlade.
      * You can ssh in to have copy/paste available:
        * Choose a password with `passwd`
        * Examine the output of `ip a | grep inet`
          * You probably need a 192.168 address
        * ssh to root@ip
    '';

    #  Bluez 5
    hardware.bluetooth.enable = true;
    nixpkgs.config.packageOverrides = pkgs : {
      bluez = pkgs.bluez5;
      csr-hid2hci = pkgs.callPackage ../src/csr-hid2hci.nix {};
      csr-pairing = pkgs.callPackage ../src/csr-pairing.nix {};
    };

    # CLI packages
    environment.systemPackages = with pkgs; [
      csr-hid2hci csr-pairing
      bluez usbutils bc
    ];
  };
}<commit_msg>Allow root to log in with password<commit_after>{
  dongler = {config, pkgs, ...}: {
    # Minimal install
    environment.noXlibs = true;
    services.xserver.enable = false;
    i18n.supportedLocales = [ (config.i18n.defaultLocale + "/UTF-8") ];

    # Skip login prompt
    services.mingetty.autologinUser = "root";
    users.motd = ''
      * Plug in the CSR dongle
      * Switch your TB on a free jump slot
      * Run pair.sh
      * Run the make-hid.sh command it outputs. Make sure that is your TextBlade.
      * You can ssh in to have copy/paste available:
        * Choose a password with `passwd`
        * Examine the output of `ip a | grep inet`
          * You probably need a 192.168 address
        * ssh to root@ip
    '';
    services.openssh.permitRootLogin="yes";

    #  Bluez 5
    hardware.bluetooth.enable = true;
    nixpkgs.config.packageOverrides = pkgs : {
      bluez = pkgs.bluez5;
      csr-hid2hci = pkgs.callPackage ../src/csr-hid2hci.nix {};
      csr-pairing = pkgs.callPackage ../src/csr-pairing.nix {};
    };

    # CLI packages
    environment.systemPackages = with pkgs; [
      csr-hid2hci csr-pairing
      bluez usbutils bc
    ];
  };
}
{'fraction_non_alphanumeric': 0.11048281861678991, 'fraction_numerical': 0.013919095258808177, 'mean_word_length': 2.23943661971831, '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': '1175966', 'n_tokens_mistral': 815, 'n_tokens_neox': 773, 'n_words': 207}