summaryrefslogtreecommitdiff
path: root/os/common/modules/environment.nix
blob: 38446f2578babec933967e5a0c02fed6901aea1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ pkgs, lib, ... }: {
  environment = {
    binsh = lib.getExe pkgs.dash;
    systemPackages = with pkgs; [
      dash
      neovim
    ];

    variables = {
      EDITOR = "nvim";
      VISUAL = "nvim";
    };

    shellAliases = {
      grep = "grep --color=auto";
      ls = "ls --color=auto --group-directories-first";
    };
  };
}