summaryrefslogtreecommitdiff
path: root/modules/environment.nix
blob: 07bef00c2f66ef94872be51d9d4416822e5ab4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ config, lib, ... }: {
  environment = {
    # include user channels in NIX_PATH
    shellInit = ''export  NIXPATH="/nix/var/nix/profiles/per-user/$USER/channels:nixos-config=/etc/nixos/machines/zenbook/configuration.nix"'';
    # List packages installed in system profile. To search, run:
    # $ nix search wget
    variables = {
      # PATH = "/home/defin/.local/share/gem/ruby/3.0.0/bin:";
      # PAGER = "sh -c 'col -bx | bat -f'";
      MANPAGER = "sh -c 'col -bx | bat -l man -p'";
      EDITOR = "hx";
      ZEIT_DB = "/home/defin/Documents/zeit";
    };
  };
}