summary refs log tree commit diff stats
path: root/system/settings/base.nix
diff options
context:
space:
mode:
authorAlan Pearce2020-07-20 12:47:30 +0200
committerAlan Pearce2020-07-20 12:47:30 +0200
commite386f0d1b26b18a93d5c657c0d37cc811117fcdd (patch)
tree0311b86351c799e812cc21161a8062a78f546cb1 /system/settings/base.nix
parentfd37bf9d5f4ae3609bb07986958b13b1d645aeb4 (diff)
downloadnixfiles-e386f0d1b26b18a93d5c657c0d37cc811117fcdd.tar.lz
nixfiles-e386f0d1b26b18a93d5c657c0d37cc811117fcdd.tar.zst
nixfiles-e386f0d1b26b18a93d5c657c0d37cc811117fcdd.zip
Set ZSH history file globally
Diffstat (limited to 'system/settings/base.nix')
-rw-r--r--system/settings/base.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/settings/base.nix b/system/settings/base.nix
index 8f0c32b2..f784b6f1 100644
--- a/system/settings/base.nix
+++ b/system/settings/base.nix
@@ -10,6 +10,10 @@
     nix-index
   ];
 
+  programs.zsh = {
+    histFile = "\${XDG_DATA_HOME}/zsh/history";
+  };
+
   networking.nextdns = {
     enable = true;
     configID = "abd6e5";