# Common packages
{ config, pkgs, ... }:

{
  # List packages installed in system profile. To search, run:
  # $ nix search wget
  environment.systemPackages = with pkgs; [
    git
    git-crypt
    mosh
    vim
    wget
  ];

  programs.vim.defaultEditor = true; # Modal editing is life
  programs.zsh = {
    enable = true; # Use integrations
    # Disable global compinit when a user config exists
    enableGlobalCompInit = !config.my.home.zsh.enable;
  };

  nixpkgs.config.allowUnfree = true; # Because I don't care *that* much.
}