@@ -4,7 +4,12 @@
|
|||||||
}:
|
}:
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.persistence."/persist"."${home}/.local/share/zsh" = { };
|
environment = {
|
||||||
|
persistence."/persist"."${home}/.local/share/zsh" = { };
|
||||||
|
# If we set this under home-manager.users.${user}.home.sessionVariables,
|
||||||
|
# it runs too late in the init process and zsh fails.
|
||||||
|
sessionVariables.ZDOTDIR = "$HOME/.config/zsh";
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.${user} = {
|
home-manager.users.${user} = {
|
||||||
imports = [ ./options.nix ];
|
imports = [ ./options.nix ];
|
||||||
@@ -33,9 +38,6 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home.file.".zshenv".enable = false;
|
||||||
file.".zshenv".enable = false;
|
|
||||||
sessionVariables.ZDOTDIR = "${home}/.config/zsh";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user