summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sys/environment/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/environment/default.nix b/sys/environment/default.nix
index 8f58641..ddd7fe5 100644
--- a/sys/environment/default.nix
+++ b/sys/environment/default.nix
@@ -1,5 +1,5 @@
 {...}: {
-  environment.sessionVariables = rec {
+  environment.sessionVariables = {
     XDG_CACHE_HOME = "\${HOME}/.cache";
     XDG_CONFIG_HOME = "\${HOME}/.config";
     XDG_BIN_HOME = "\${HOME}/.local/bin";
@@ -17,6 +17,8 @@
     EDITOR = "nvim";
     GOPATH = "\${HOME}/.local/share/go";
     XCOMPOSECACHE = "\${HOME}/.cache/X11/xcompose";
+    CDPATH = ".:\${HOME}:\${HOME}/repos/:\${HOME}/srv";
+
     #PYTHONSTARTUP="/etc/python/pythonrc";
 
     PATH = [