diff options
Diffstat (limited to 'modules/environment.nix')
| -rw-r--r-- | modules/environment.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/environment.nix b/modules/environment.nix new file mode 100644 index 0000000..07bef00 --- /dev/null +++ b/modules/environment.nix @@ -0,0 +1,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"; + }; + }; +} |
