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

with lib;

let

  cfg = config.my.env;

  dotfiles = pkgs.mkDotfilesIn "${cfg.paths.dotfiles}/config" {
    ".bash_profile"          = "bash/bash_profile.nixos";
    ".bashrc"                = "bash/bashrc";
    ".tmux.conf"             = "multiplexers/tmux.conf";
    ".screenrc"              = "multiplexers/screenrc";
    ".vimrc"                 = "vim/vimrc";
    ".config/git/config"     = "git/config";
    ".config/git/ignore"     = "git/ignore";
    ".ghci"                  = "interpreters/ghci";
    ".editrc"                = "line-editors/editrc";
    ".haskeline"             = "line-editors/haskeline";
    ".inputrc"               = "line-editors/inputrc";
    ".xmonad/xmonad.hs"      = "xmonad/xmonad.hs";
    ".xmobarrc"              = "xmobar/xmobarrc.vm";
  };

in {

  imports = [
    ./pkgs.nix
  ];

  options = {

    my.env.paths.nixpkgs = mkOption {
      type = types.str;
      default = "/cfg/nixpkgs";
    };

    my.env.paths.dotfiles = mkOption {
      type = types.str;
      default = "/cfg/dotfiles";
    };

    my.env.paths.local = mkOption {
      type = types.str;
      default = "/cfg/local";
    };

    my.env.paths.private = mkOption {
      type = types.str;
      default = "/cfg/private";
    };

    my.env.excludedVimPlugins = mkOption {
      type = types.listOf types.str;
      default = [];
    };

  };

  config = {

    nix.nixPath = [
      "nixpkgs=${cfg.paths.nixpkgs}"

      "top=${cfg.paths.dotfiles}/nix"
      "pkgs=${cfg.paths.dotfiles}/nix/path/paths.nix"
      "nixos=${cfg.paths.dotfiles}/nix/path/nixos.nix"
      "nixos-pkgs=${cfg.paths.dotfiles}/nix/path/nixos-pkgs.nix"

      "dotfiles=${cfg.paths.dotfiles}"
      "local=${cfg.paths.local}"
      "private=${cfg.paths.private}"
    ];<commit_msg>fix nix path<commit_after>{ config, lib, pkgs, ... }:

with lib;

let

  cfg = config.my.env;

  dotfiles = pkgs.mkDotfilesIn "${cfg.paths.dotfiles}/config" {
    ".bash_profile"          = "bash/bash_profile.nixos";
    ".bashrc"                = "bash/bashrc";
    ".tmux.conf"             = "multiplexers/tmux.conf";
    ".screenrc"              = "multiplexers/screenrc";
    ".vimrc"                 = "vim/vimrc";
    ".config/git/config"     = "git/config";
    ".config/git/ignore"     = "git/ignore";
    ".ghci"                  = "interpreters/ghci";
    ".editrc"                = "line-editors/editrc";
    ".haskeline"             = "line-editors/haskeline";
    ".inputrc"               = "line-editors/inputrc";
    ".xmonad/xmonad.hs"      = "xmonad/xmonad.hs";
    ".xmobarrc"              = "xmobar/xmobarrc.vm";
  };

in {

  imports = [
    ./pkgs.nix
  ];

  options = {

    my.env.paths.nixpkgs = mkOption {
      type = types.str;
      default = "/cfg/nixpkgs";
    };

    my.env.paths.dotfiles = mkOption {
      type = types.str;
      default = "/cfg/dotfiles";
    };

    my.env.paths.local = mkOption {
      type = types.str;
      default = "/cfg/local";
    };

    my.env.paths.private = mkOption {
      type = types.str;
      default = "/cfg/private";
    };

    my.env.excludedVimPlugins = mkOption {
      type = types.listOf types.str;
      default = [];
    };

  };

  config = {

    nix.nixPath = [
      "nixpkgs=${cfg.paths.nixpkgs}"

      "top=${cfg.paths.dotfiles}/nix"
      "pkgs=${cfg.paths.dotfiles}/nix/path/pkgs.nix"
      "nixos=${cfg.paths.dotfiles}/nix/path/nixos.nix"
      "nixos-pkgs=${cfg.paths.dotfiles}/nix/path/nixos-pkgs.nix"

      "dotfiles=${cfg.paths.dotfiles}"
      "local=${cfg.paths.local}"
      "private=${cfg.paths.private}"
    ];
{'fraction_non_alphanumeric': 0.17861080485115766, 'fraction_numerical': 0.0, 'mean_word_length': 1.8109992254066616, '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': '1976443', 'n_tokens_mistral': 1391, 'n_tokens_neox': 1298, 'n_words': 166}