<commit_before>{ config, pkgs, ... }:

with pkgs.lib;

{
  boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ];
  boot.extraModulePackages = [ pkgs.linuxPackages.virtualbox ];
  environment.systemPackages = [ pkgs.linuxPackages.virtualbox ];

  # ‘VBoxNetAdpCtl’ needs to be setuid root to allow users to create
  # host-only networks (https://www.virtualbox.org/ticket/4014).
  security.setuidOwners = singleton
    { program = "VBoxNetAdpCtl";
      source = "${pkgs.linuxPackages.virtualbox}/virtualbox/VBoxNetAdpCtl";
      owner = "root";<commit_msg>* Virtualbox: use the right set of kernel packages.<commit_after>{ config, pkgs, ... }:

with pkgs.lib;

let virtualbox = config.boot.kernelPackages.virtualbox; in

{
  boot.kernelModules = [ "vboxdrv" "vboxnetadp" "vboxnetflt" ];
  boot.extraModulePackages = [ virtualbox ];
  environment.systemPackages = [ virtualbox ];

  # ‘VBoxNetAdpCtl’ needs to be setuid root to allow users to create
  # host-only networks (https://www.virtualbox.org/ticket/4014).
  security.setuidOwners = singleton
    { program = "VBoxNetAdpCtl";
      source = "${virtualbox}/virtualbox/VBoxNetAdpCtl";
      owner = "root";
{'fraction_non_alphanumeric': 0.1317365269461078, 'fraction_numerical': 0.006843455945252352, 'mean_word_length': 4.109170305676856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '4530618', 'n_tokens_mistral': 416, 'n_tokens_neox': 401, 'n_words': 81}