Remove impermanence home-manager module
Too many bugs to deal with unfortunately. Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -3,11 +3,13 @@
|
||||
}:
|
||||
{ config, ... }:
|
||||
let
|
||||
userConfig = config.users.users.${username};
|
||||
hmConfig = config.home-manager.users.${username};
|
||||
in
|
||||
{
|
||||
environment.sessionVariables.ZDOTDIR = "$HOME/.config/zsh";
|
||||
environment = {
|
||||
sessionVariables.ZDOTDIR = "$HOME/.config/zsh";
|
||||
persistence."/persist".users.${username}.directories = [ "${hmConfig.xdg.relativeDataHome}/zsh" ];
|
||||
};
|
||||
|
||||
home-manager.users.${username} = {
|
||||
programs.zsh = {
|
||||
@@ -23,9 +25,6 @@ in
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
||||
home = {
|
||||
file.".zshenv".enable = false;
|
||||
persistence."/persist${userConfig.home}".directories = [ "${hmConfig.xdg.relativeDataHome}/zsh" ];
|
||||
};
|
||||
home.file.".zshenv".enable = false;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user