about summary refs log tree commit diff stats
path: root/home-manager/config/zsh
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-05-08 19:13:27 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:33:36 +0200
commit101fe3bcbda29e278ec6b120167493dcb5ac6df9 (patch)
treec49200ad9903d090bad2b8e169733613a9813062 /home-manager/config/zsh
parentFix(hm/conf/zsh): Remove unneeded aliases (diff)
downloadnixos-config-101fe3bcbda29e278ec6b120167493dcb5ac6df9.tar.gz
nixos-config-101fe3bcbda29e278ec6b120167493dcb5ac6df9.zip
Fix(hm/conf/zsh): Remove unneeded environment variables
Diffstat (limited to 'home-manager/config/zsh')
-rw-r--r--home-manager/config/zsh/default.nix49
1 files changed, 23 insertions, 26 deletions
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index f066be76..49a8663a 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -79,10 +79,6 @@
       hisea = "history 0 | grep";
     };
     sessionVariables = {
-      # HISTSIZE = "9000000"; # This Should already be set by the shell
-      TIMEFMT = "'$fg[green]%J$reset_color' time: $fg[blue]%*Es$reset_color, cpu: $fg[blue]%P$reset_color"; # no idea what this does or why it is needed
-      REPORTTIME = "10";
-
       EDITOR = "nvim";
       IVIEWER = "imv";
       READER = "zathura";
@@ -96,37 +92,38 @@
       WALLPAPER = "${config.home.homeDirectory}/media/pictures/wallpaper";
 
       # FUNCNEST for more functions in functions
-      FUNCNEST = "2000";
+      #FUNCNEST = "2000";
 
       WALLPAPERDIR = "$HOME/media/pictures/wallpapers/";
       LESS = "R";
       MANPAGER = "less -R --use-color -Dd+r -Du+b";
-      LIBVIRT_DEFAULT_URI = "qemu:///system";
+      #LIBVIRT_DEFAULT_URI = "qemu:///system";
+
       BEMENU_SCALE = "1.5";
       BEMENU_BACKEND = "wayland";
       BEMENU_OPTS = "--fn 'Source Code Pro 10' -c -l 30 -B 1 -W 0.9 --hf #ffffff";
 
       # Clean the home dir {{{
-      _JAVA_OPTIONS = lib.concatStringsSep " " [
-        ''-Djava.util.prefs.userRoot="${config.xdg.configHome}/java"''
-        ''-Djavafx.cachedir="${config.xdg.cacheHome}/openjfx"''
-      ];
-      GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle";
-      CARGO_HOME = "${config.xdg.dataHome}/cargo";
-      GOPATH = "${config.xdg.dataHome}/go";
-      GTK2_RC_FILES = "${config.xdg.configHome}/gtk-2.0/gtkrc";
-      LESSHISFILE = "${config.xdg.cacheHome}/less/history";
-      # LESSKEYIN = "${config.xdg.configHome}/less/lesskey";
-      RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
-      NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
-      NUGET_PACKAGES = "${config.xdg.cacheHome}/NuGetPackages";
-      PYTHONSTARTUP = "${config.xdg.configHome}/python/pythonrc";
-      XAUTHORITY = "${config.xdg.stateHome}/Xauthority";
-      COMPDUMPFILE = "${config.xdg.dataHome}/zsh/.zcompdump}";
-      IPYTHONDIR = "${config.xdg.configHome}/ipython";
-      PARALLEL_HOME = "${config.xdg.configHome}/parallel";
-      STACK_XDG = "1";
-      WINEPREFIX = "${config.xdg.dataHome}/wine";
+      #_JAVA_OPTIONS = lib.concatStringsSep " " [
+      #        ''-Djava.util.prefs.userRoot="${config.xdg.configHome}/java"''
+      #        ''-Djavafx.cachedir="${config.xdg.cacheHome}/openjfx"''
+      #      ];
+      #      GRADLE_USER_HOME = "${config.xdg.dataHome}/gradle";
+      #      CARGO_HOME = "${config.xdg.dataHome}/cargo";
+      #      GOPATH = "${config.xdg.dataHome}/go";
+      #      GTK2_RC_FILES = "${config.xdg.configHome}/gtk-2.0/gtkrc";
+      #      LESSHISFILE = "${config.xdg.cacheHome}/less/history";
+      #      # LESSKEYIN = "${config.xdg.configHome}/less/lesskey";
+      #      RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
+      #      NPM_CONFIG_USERCONFIG = "${config.xdg.configHome}/npm/npmrc";
+      #      NUGET_PACKAGES = "${config.xdg.cacheHome}/NuGetPackages";
+      #      PYTHONSTARTUP = "${config.xdg.configHome}/python/pythonrc";
+      #      XAUTHORITY = "${config.xdg.stateHome}/Xauthority";
+      #      COMPDUMPFILE = "${config.xdg.dataHome}/zsh/.zcompdump}";
+      #      IPYTHONDIR = "${config.xdg.configHome}/ipython";
+      #      PARALLEL_HOME = "${config.xdg.configHome}/parallel";
+      #      STACK_XDG = "1";
+      #      WINEPREFIX = "${config.xdg.dataHome}/wine";
       # }}}
 
       # Export Wayland env Vars {{{