<commit_before># Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
let
  unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
  pkgs-unstable = import <nixpkgs-unstable> { config = { allowUnfree = true; }; };
in

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  nixpkgs.config.allowUnfree = true;

  #nixpkgs.config.packageOverrides = pkgs: {
  #  haskellPackages = pkgs.haskellPackages.override {
  #    overrides = self: super: {
  #      async = super.async_2_2_1;
  #      fsnotify = super.fsnotify_0_3_0_1;
  #      hinotify = super.hinotify_0_3_10;
  #      lifted-async = super.lifted-async_0_10_0_2;
  #    };
  #  };
  #};

  # Use the systemd-boot EFI boot loader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  networking.hostName = "timjb-nixos"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.

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

  # Set your time zone.
  time.timeZone = "Europe/Berlin";

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
    exfat

    # CLIs
    fish
    wget
    vim
    git
    pciutils
    cowsay
    fortune
    pandoc
    (ffmpeg-full.override {
      nonfreeLicensing = true;
      nvenc = true;
    })
    psmisc
    xsel # get/set contents of X clipboard
    binutils
    ripgrep
    tree

    tilix # Terminal emulator
    firefox
    chromium
    (unstable.vscode-with-extensions.override {
      vscodeExtensions =
        with unstable.vscode-extensions; [ ms-vscode.cpptools ] ++
        unstable.vscode-utils.extensionsFromVscodeMarketplace [
          {
            name = "vim";
            publisher = "vscodevim";
            version = "0.16.0";
            sha256 = "0rwipcjy8gyf98nskxg7i2hlj96h8djk0838b1fjmc31pv7kbr6x";
          }
          {
            name = "latex-workshop";
            publisher = "James-Yu";
            version = "5.8.2";
            sha256 = "1qx48g73sz1pnl74a1y64hy9pv74qbz431ghpdskcayvhjnngyak";
          }
          {
            name = "fish";
            publisher = "TeddyDD";
            version = "0.0.4";
            sha256 = "1wzixi5wx3dj94174fybis0180jk9mw3c7xyr0sa1awqp4xdwkx6";
          }
          {
            name = "bracket-pair-colorizer";
            publisher = "CoenraadS";
            version = "1.0.59";
            sha256 = "0ljnrbyigch2ih427lbgpz9rjy218nrphzmjx4l9jasc3pqkz2zm";
          }
          {
            name = "agda";
            publisher = "j-mueller";
            version = "0.1.7";
            sha256 = "09ix3pjaagr6aakshc8ybbipgdscr8ymdrqc4xxs6927x552yjsb";
          }
        ];
    })
    #emacs
    pkgs-unstable.seafile-client
    spotify
    tdesktop # Telegram Desktop
    vlc
    gparted
    kdenlive<commit_msg>VSCode (on NixOS): update plugins, add new ones<commit_after># Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
let
  unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
  pkgs-unstable = import <nixpkgs-unstable> { config = { allowUnfree = true; }; };
in

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
    ];

  nixpkgs.config.allowUnfree = true;

  #nixpkgs.config.packageOverrides = pkgs: {
  #  haskellPackages = pkgs.haskellPackages.override {
  #    overrides = self: super: {
  #      async = super.async_2_2_1;
  #      fsnotify = super.fsnotify_0_3_0_1;
  #      hinotify = super.hinotify_0_3_10;
  #      lifted-async = super.lifted-async_0_10_0_2;
  #    };
  #  };
  #};

  # Use the systemd-boot EFI boot loader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  networking.hostName = "timjb-nixos"; # Define your hostname.
  # networking.wireless.enable = true;  # Enables wireless support via wpa_supplicant.

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

  # Set your time zone.
  time.timeZone = "Europe/Berlin";

  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
    exfat

    # CLIs
    fish
    wget
    vim
    git
    pciutils
    cowsay
    fortune
    pandoc
    (ffmpeg-full.override {
      nonfreeLicensing = true;
      nvenc = true;
    })
    psmisc
    xsel # get/set contents of X clipboard
    binutils
    ripgrep
    tree

    tilix # Terminal emulator
    firefox
    chromium
    (unstable.vscode-with-extensions.override {
      vscodeExtensions =
        with unstable.vscode-extensions; [ ms-vscode.cpptools ] ++
        unstable.vscode-utils.extensionsFromVscodeMarketplace [
          {
            name = "vim";
            publisher = "vscodevim";
            version = "0.16.12";
            sha256 = "07j5mm6ghrdbvwnlw3qap7276n74l41ww28xljffkiq0qmbhnr8i";
          }
          {
            name = "latex-workshop";
            publisher = "James-Yu";
            version = "5.16.0";
            sha256 = "0cl4nl9yp54xfclm1gnkrig2i9npnf069ca91gcvy6jzbmdza6jj";
          }
          {
            name = "fish";
            publisher = "TeddyDD";
            version = "0.0.4";
            sha256 = "1wzixi5wx3dj94174fybis0180jk9mw3c7xyr0sa1awqp4xdwkx6";
          }
          {
            name = "bracket-pair-colorizer";
            publisher = "CoenraadS";
            version = "1.0.61";
            sha256 = "0r3bfp8kvhf9zpbiil7acx7zain26grk133f0r0syxqgml12i652";
          }
          {
            name = "agda";
            publisher = "j-mueller";
            version = "0.1.7";
            sha256 = "09ix3pjaagr6aakshc8ybbipgdscr8ymdrqc4xxs6927x552yjsb";
          }
          {
            name = "language-haskell";
            publisher = "justusadam";
            version = "2.5.0";
            sha256 = "10jqj8qw5x6da9l8zhjbra3xcbrwb4cpwc3ygsy29mam5pd8g6b3";
          }
          {
            name = "python";
            publisher = "ms-python";
            version = "2018.12.1";
            sha256 = "1cf3yll2hfililcwq6avscgi35caccv8m8fdsvzqdfrggn5h41h4";
          }
        ];
    })
    #emacs
    pkgs-unstable.seafile-client
    spotify
    tdesktop # Telegram Desktop
    vlc
    gparted
    kdenlive
{'fraction_non_alphanumeric': 0.10126582278481013, 'fraction_numerical': 0.046558998981521896, 'mean_word_length': 2.085278276481149, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2191160', 'n_tokens_mistral': 2620, 'n_tokens_neox': 2440, 'n_words': 444}