@@ -4,7 +4,12 @@
|
||||
}:
|
||||
{ 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} = {
|
||||
imports = [ ./options.nix ];
|
||||
@@ -33,9 +38,6 @@
|
||||
'';
|
||||
};
|
||||
|
||||
home = {
|
||||
file.".zshenv".enable = false;
|
||||
sessionVariables.ZDOTDIR = "${home}/.config/zsh";
|
||||
};
|
||||
home.file.".zshenv".enable = false;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user