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

with lib;

let

  inherit (pkgs) plymouth;
  inherit (pkgs) nixos-icons;

  cfg = config.boot.plymouth;

  nixosBreezePlymouth = pkgs.breeze-plymouth.override {
    logoFile = cfg.logo;
    logoName = "nixos";
    osName = "NixOS";
    osVersion = config.system.nixos.release;
  };

  themesEnv = pkgs.buildEnv {
    name = "plymouth-themes";
    paths = [ plymouth ] ++ cfg.themePackages;
  };

  configFile = pkgs.writeText "plymouthd.conf" ''
    [Daemon]
    ShowDelay=0
    Theme=${cfg.theme}
    ${cfg.extraConfig}
  '';

in<commit_msg>nixos/plymouth: fix eval with aliases disabled<commit_after>{ config, lib, pkgs, ... }:

with lib;

let

  inherit (pkgs) plymouth;
  inherit (pkgs) nixos-icons;

  cfg = config.boot.plymouth;

  nixosBreezePlymouth = pkgs.plasma5.breeze-plymouth.override {
    logoFile = cfg.logo;
    logoName = "nixos";
    osName = "NixOS";
    osVersion = config.system.nixos.release;
  };

  themesEnv = pkgs.buildEnv {
    name = "plymouth-themes";
    paths = [ plymouth ] ++ cfg.themePackages;
  };

  configFile = pkgs.writeText "plymouthd.conf" ''
    [Daemon]
    ShowDelay=0
    Theme=${cfg.theme}
    ${cfg.extraConfig}
  '';

in
{'fraction_non_alphanumeric': 0.1442704039571311, 'fraction_numerical': 0.00247320692497939, 'mean_word_length': 3.046666666666667, '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': '2123684', 'n_tokens_mistral': 485, 'n_tokens_neox': 455, 'n_words': 84}