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

{
  # Hardware Configuration
  # ======================
  imports =
    [
      ../../../../etc/nixos/hardware-configuration.modified.nix
    ];

  # Examples
  # --------
  # # GRUB:
  # boot.loader.grub.device = "/dev/sda";
  #
  # Or:
  #
  # # Systemd-boot EFI boot loader:
  # boot.loader.systemd-boot.enable = true;
  # boot.loader.efi.canTouchEfiVariables = true;

  # Wireless
  # ========
  networking.hostName = "nixos";
  networking.wireless.enable = true;

  # Internationalisation
  # ====================
  i18n = {
    consoleFont = "Lat2-Terminus16";
    consoleKeyMap = "us";
    defaultLocale = "en_US.UTF-8";
  };

  # Time Zone
  # =========
  time.timeZone = "Australia/Sydney";

  # Nix Packages
  # ============
  nix.nixPath = [
    "nixos-config=/home/u/dots/nixos/config.nix"
    "nixpkgs=/home/u/nixpkgs"
  ];

  nix.useSandbox = true;

  nixpkgs.overlays = [
    (import ./overlays/pkgs.nix)
  ];

  # Fonts
  # -----
  fonts.fonts = with pkgs; [
    # Might be from overlays.
    # eb-garamond12
    inconsolata
    lato
    noto-fonts
    noto-fonts-emoji
  ];

  # Shell
  # -----
  programs.zsh.enable = true;
  programs.zsh.syntaxHighlighting.enable = true;
  programs.zsh.syntaxHighlighting.highlighters = [ "main" "brackets" ];

  # Packages
  # --------
  environment.systemPackages = with pkgs; [
    acpi
    alacritty
    aria
    bibutils
    chromium
    compton
    curl
    deer
    emacs
    entr
    escrotum
    evtest
    fd
    ffmpeg
    file
    firefox
    git
    ghc
    gnumake
    gnupg
    guile
    haskellPackages.hindent
    herbstluftwm
    heroku
    htop
    idris
    imagemagick
    imv
    irssi
    janet
    maim
    mediainfo
    mplayer
    mpv
    # mytexlive
    next
    nix-prefetch-github
    nixUnstable
    nodejs
    nodePackages.typescript
    p7zip
    polybar
    pqiv
    purescript
    racket
    scrot
    setroot
    stack
    stow
    sxhkd
    sxiv
    syncthing
    termite
    tor-browser-bundle-bin
    tree
    udiskie
    udisks
    unzip
    vimHugeX
    vimPlugins.commentary
    vimPlugins.repeat
    vimPlugins.surround
    wget
    xlsfonts
    xorg.mkfontdir
    xorg.mkfontscale
    xorg.xbacklight
    xorg.xev
    xorg.xkill
    xorg.xrdb
    xorg.xset
    xorg.xsetroot
    xsel
    xst
    xvkbd
    xwinwrap
    yarn
    youtube-dl
    zathura
  ];

  # Services
  # ========
  services.openssh.enable = true;
  programs.ssh.askPassword = "";
  services.printing.enable = true;

  # Enable sound.
  sound.enable = true;
  hardware.pulseaudio.enable = true;

  # Interception Tools
  # ------------------
  services.interception-tools.enable = true;
  services.interception-tools.plugins =
    [ pkgs.interception-tools-plugins.personal ];
  services.interception-tools.udevmonConfig =
    ../interception-tools/udevmon.yaml;

  # X Windows
  # ---------
  services.xserver.enable = true;
  services.xserver.layout = "us";

  # Display Manager
  # ---------------
  services.xserver.displayManager.startx.enable = true;

  # Put in a separate file so you don't have to do `nixos-rebuild' everytime
  # you change the session commands.
  # services.xserver.displayManager.sessionCommands = ". ~/dots/x/init";
  # services.xserver.displayManager.slim = {
  #   enable = true;
  #   # Removes ugly "Session: [...]" text by placing it out of screen.
  #   extraConfig = "session_y 110%";
  #   theme = pkgs.fetchFromGitHub {
  #     owner = "naglis";
  #     repo = "slim-minimal";
  #     rev = "65759e026e8de1f957889e81ca6faf3b8c2167a7";
  #     sha256 = "0ggkxgx5bdf3yvgfhs594v1h6nkjq6df4kfg5d51jpga0989c28y";
  #   };
  # };

  # Touchpad
  # --------
  services.xserver.synaptics = {
    enable = true;
    twoFingerScroll = true;
    horizontalScroll = true;
    horizTwoFingerScroll = true;
    vertTwoFingerScroll = true;
  };

  # Window Manager
  # --------------
  # services.xserver.windowManager.herbstluftwm.enable = true;

  # Users
  # =====
  users.defaultUserShell = pkgs.zsh;
  users.extraUsers.u = {
    extraGroups = [ "wheel" ];
    isNormalUser = true;
    uid = 1000;
  };
}
<commit_msg>⚙ nixos: switch to ormolu from hindent<commit_after>{ config, pkgs, ... }:

{
  # Hardware Configuration
  # ======================
  imports =
    [
      ../../../../etc/nixos/hardware-configuration.modified.nix
    ];

  # Examples
  # --------
  # # GRUB:
  # boot.loader.grub.device = "/dev/sda";
  #
  # Or:
  #
  # # Systemd-boot EFI boot loader:
  # boot.loader.systemd-boot.enable = true;
  # boot.loader.efi.canTouchEfiVariables = true;

  # Wireless
  # ========
  networking.hostName = "nixos";
  networking.wireless.enable = true;

  # Internationalisation
  # ====================
  i18n = {
    consoleFont = "Lat2-Terminus16";
    consoleKeyMap = "us";
    defaultLocale = "en_US.UTF-8";
  };

  # Time Zone
  # =========
  time.timeZone = "Australia/Sydney";

  # Nix Packages
  # ============
  nix.nixPath = [
    "nixos-config=/home/u/dots/nixos/config.nix"
    "nixpkgs=/home/u/nixpkgs"
  ];

  nix.useSandbox = true;

  nixpkgs.overlays = [
    (import ./overlays/pkgs.nix)
  ];

  # Fonts
  # -----
  fonts.fonts = with pkgs; [
    # Might be from overlays.
    # eb-garamond12
    inconsolata
    lato
    noto-fonts
    noto-fonts-emoji
  ];

  # Shell
  # -----
  programs.zsh.enable = true;
  programs.zsh.syntaxHighlighting.enable = true;
  programs.zsh.syntaxHighlighting.highlighters = [ "main" "brackets" ];

  # Packages
  # --------
  environment.systemPackages = with pkgs; [
    acpi
    alacritty
    aria
    bibutils
    chromium
    compton
    curl
    deer
    emacs
    entr
    escrotum
    evtest
    fd
    ffmpeg
    file
    firefox
    git
    ghc
    gnumake
    gnupg
    guile
    herbstluftwm
    heroku
    htop
    idris
    imagemagick
    imv
    irssi
    janet
    maim
    mediainfo
    mplayer
    mpv
    # mytexlive
    next
    nix-prefetch-github
    nixUnstable
    nodejs
    nodePackages.typescript
    ormolu
    p7zip
    polybar
    pqiv
    purescript
    racket
    scrot
    setroot
    stack
    stow
    sxhkd
    sxiv
    syncthing
    termite
    tor-browser-bundle-bin
    tree
    udiskie
    udisks
    unzip
    vimHugeX
    vimPlugins.commentary
    vimPlugins.repeat
    vimPlugins.surround
    wget
    xlsfonts
    xorg.mkfontdir
    xorg.mkfontscale
    xorg.xbacklight
    xorg.xev
    xorg.xkill
    xorg.xrdb
    xorg.xset
    xorg.xsetroot
    xsel
    xst
    xvkbd
    xwinwrap
    yarn
    youtube-dl
    zathura
  ];

  # Services
  # ========
  services.openssh.enable = true;
  programs.ssh.askPassword = "";
  services.printing.enable = true;

  # Enable sound.
  sound.enable = true;
  hardware.pulseaudio.enable = true;

  # Interception Tools
  # ------------------
  services.interception-tools.enable = true;
  services.interception-tools.plugins =
    [ pkgs.interception-tools-plugins.personal ];
  services.interception-tools.udevmonConfig =
    ../interception-tools/udevmon.yaml;

  # X Windows
  # ---------
  services.xserver.enable = true;
  services.xserver.layout = "us";

  # Display Manager
  # ---------------
  services.xserver.displayManager.startx.enable = true;

  # Put in a separate file so you don't have to do `nixos-rebuild' everytime
  # you change the session commands.
  # services.xserver.displayManager.sessionCommands = ". ~/dots/x/init";
  # services.xserver.displayManager.slim = {
  #   enable = true;
  #   # Removes ugly "Session: [...]" text by placing it out of screen.
  #   extraConfig = "session_y 110%";
  #   theme = pkgs.fetchFromGitHub {
  #     owner = "naglis";
  #     repo = "slim-minimal";
  #     rev = "65759e026e8de1f957889e81ca6faf3b8c2167a7";
  #     sha256 = "0ggkxgx5bdf3yvgfhs594v1h6nkjq6df4kfg5d51jpga0989c28y";
  #   };
  # };

  # Touchpad
  # --------
  services.xserver.synaptics = {
    enable = true;
    twoFingerScroll = true;
    horizontalScroll = true;
    horizTwoFingerScroll = true;
    vertTwoFingerScroll = true;
  };

  # Window Manager
  # --------------
  # services.xserver.windowManager.herbstluftwm.enable = true;

  # Users
  # =====
  users.defaultUserShell = pkgs.zsh;
  users.extraUsers.u = {
    extraGroups = [ "wheel" ];
    isNormalUser = true;
    uid = 1000;
  };
}

{'fraction_non_alphanumeric': 0.14173892100192678, 'fraction_numerical': 0.015414258188824663, 'mean_word_length': 2.172268907563025, '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': '716682', 'n_tokens_mistral': 3242, 'n_tokens_neox': 3023, 'n_words': 512}