1
Fork 0

Move ZDOTDIR to the general zsh home file

This commit is contained in:
caem 2024-06-09 22:46:31 +02:00
parent ab4d5ad874
commit 0fc69ef8d3
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 6 additions and 3 deletions

View file

@ -11,6 +11,10 @@
thefuck thefuck
]; ];
home.sessionVariables = {
ZDOTDIR = "${config.xdg.configHome}/zsh";
};
home.file."${config.xdg.configHome}/zsh/conf.d" = { home.file."${config.xdg.configHome}/zsh/conf.d" = {
source = ./config/conf.d; source = ./config/conf.d;
recursive = true; recursive = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { ... }:
{ {
programs.zsh.enable = true; programs.zsh.enable = true;

View file

@ -1,4 +1,4 @@
{ config, ... }: { ... }:
{ {
home.username = "i"; home.username = "i";
@ -11,7 +11,6 @@
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
ZDOTDIR = "${config.xdg.configHome}/zsh";
}; };
imports = [ imports = [