1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

chore: use xdg directory in zsh dotDir

This commit is contained in:
oddlama 2025-09-14 00:06:31 +02:00
parent b437f99dec
commit fc4b5a8eac
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -1,4 +1,5 @@
{ {
config,
lib, lib,
pkgs, pkgs,
... ...
@ -12,7 +13,7 @@
envExtra = '' envExtra = ''
umask 077 umask 077
''; '';
dotDir = ".config/zsh"; dotDir = "${config.xdg.configHome}/zsh";
history = { history = {
path = "\${XDG_DATA_HOME-$HOME/.local/share}/zsh/history"; path = "\${XDG_DATA_HOME-$HOME/.local/share}/zsh/history";
save = 1000500; save = 1000500;