Move ZDOTDIR to the general zsh home file
This commit is contained in:
parent
ab4d5ad874
commit
0fc69ef8d3
3 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue