about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--home-manager/config/zsh/default.nix7
-rw-r--r--home-manager/default.nix7
2 files changed, 5 insertions, 9 deletions
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index e7cd98a1..533c8b17 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -76,13 +76,6 @@
       yarn = "yarn --use-yarnrc ${config.xdg.configHome}/yarn/config";
     };
     sessionVariables = {
-      # managed by home-manager xdg
-      #      XDG_DATA_HOME = "$HOME/.local/share";
-      #      XDG_STATE_HOME = "$HOME/.local/state";
-      #      XDG_CACHE_HOME = "$HOME/.cache";
-      #      XDG_CONFIG_HOME = "$HOME/.config";
-      #      XDG_BIN_HOME = "\${HOME}/.local/bin";
-
       # 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";
diff --git a/home-manager/default.nix b/home-manager/default.nix
index bfe3859a..abd541aa 100644
--- a/home-manager/default.nix
+++ b/home-manager/default.nix
@@ -12,8 +12,12 @@
   username = "soispha";
   homeDirectory = "/home/${username}";
 
+  # xdg
   configHome = "${homeDirectory}/.config";
   dataHome = "${homeDirectory}/.local/share";
+  stateHome = "${homeDirectory}/.local/state";
+  cacheHome = "${homeDirectory}/.cache";
+  binHome = "${homeDirectory}/.local/bin";
 in {
   imports = [
     # inputs.impermanence.nixosModules.home-manager.impermanence
@@ -32,13 +36,12 @@ in {
 
     # TODO
     sessionVariables = {
-      DISPLAY = ":0";
       EDITOR = "nvim";
     };
     packages = [];
   };
   xdg = {
-    inherit configHome dataHome;
+    inherit configHome dataHome stateHome cacheHome binHome;
     enable = true;
   };
 }