summaryrefslogtreecommitdiff
path: root/modules/nixos/environment.nix
blob: 77331233106a9460e4aa5abebc8592808b8c2795 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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
    sessionVariables = {
      NIXOS_OZONE_WL = "1";
      NIXPKGS_ALLOW_INSECURE = "1";
    };
    variables = {
      # PATH = "/home/defin/.local/share/gem/ruby/3.0.0/bin:";
      # PAGER = "sh -c 'col -bx | bat -f'";
      SSH_AGENT_PID = "";
      SSH_AUTH_SOCK = "\${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh";
      MANPAGER = "sh -c 'col -bx | bat -l man -p'";
      EDITOR = "hx";
      ZEIT_DB = "/home/defin/Documents/zeit";
      NIXPKGS_ALLOW_INSECURE = "1";
      MANROFFOPT = "-c";
      SYSTEMD_LESS = "FRSXM";
      SYSTEMD_PAGER = "less -FRSXM";
    };
  };
}