Clean up home directory
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -7,6 +7,8 @@ let
|
||||
hmConfig = config.home-manager.users.${username};
|
||||
in
|
||||
{
|
||||
environment.sessionVariables.ZDOTDIR = "$HOME/.config/zsh";
|
||||
|
||||
home-manager.users.${username} = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
@@ -21,8 +23,9 @@ in
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
||||
home.persistence."/persist${userConfig.home}".directories = [
|
||||
"${hmConfig.xdg.relativeDataHome}/zsh"
|
||||
];
|
||||
home = {
|
||||
file.".zshenv".enable = false;
|
||||
persistence."/persist${userConfig.home}".directories = [ "${hmConfig.xdg.relativeDataHome}/zsh" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user