summaryrefslogtreecommitdiff
path: root/modules/nixos/environment.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/environment.nix')
-rw-r--r--modules/nixos/environment.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/nixos/environment.nix b/modules/nixos/environment.nix
new file mode 100644
index 0000000..225ddda
--- /dev/null
+++ b/modules/nixos/environment.nix
@@ -0,0 +1,18 @@
+{ 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";
+ };
+ 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";
+ };
+ };
+}