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,10 +8,13 @@
...
}:
let
userConfig = config.users.users.${username};
hmConfig = config.home-manager.users.${username};
in
{
environment.persistence."/cache".users.${username}.directories = [
"${hmConfig.xdg.relativeCacheHome}/rofi"
];
home-manager.users.${username} = {
programs.rofi = {
enable = true;
@@ -19,10 +22,6 @@ in
font = builtins.head hmConfig.theme.font.monospace.names;
};
home.persistence."/cache${userConfig.home}".directories = [
"${hmConfig.xdg.relativeCacheHome}/rofi"
];
wayland.windowManager.hyprland.settings.bind = [
"$mod, r, exec, ${lib.meta.getExe pkgs.rofi-wayland} -cache-dir ${hmConfig.xdg.cacheHome}/rofi -show drun"
];