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:
2024-07-31 09:56:59 +01:00
parent 8988398bff
commit d54df170cd
20 changed files with 102 additions and 194 deletions

View File

@@ -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;
};
}