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

@@ -8,7 +8,6 @@
...
}:
let
userConfig = config.users.users.${username};
hmConfig = config.home-manager.users.${username};
themeSwww = lib.meta.getExe (
pkgs.writeShellApplication {
@@ -22,11 +21,12 @@ let
);
in
{
environment.persistence."/cache".users.${username}.directories = [
"${hmConfig.xdg.relativeCacheHome}/swww"
];
home-manager.users.${username} = {
home = {
packages = with pkgs; [ swww ];
persistence."/cache${userConfig.home}".directories = [ "${hmConfig.xdg.relativeCacheHome}/swww" ];
};
home.packages = with pkgs; [ swww ];
systemd.user.services.swww = {
Unit = {