diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-11 21:04:40 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-11 21:04:40 +0200 |
| commit | 5d401580d016d90a36d979fd0d7f2a83ccb49cc3 (patch) | |
| tree | 2260afda70587414f555323215afbc01b7c9d298 | |
| parent | 661d4964d99a0a5cbab358643c6a271422e0d001 (diff) | |
Fix tofi config activation
| -rw-r--r-- | share/cfg/tofi.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/cfg/tofi.nix b/share/cfg/tofi.nix index e4f2ff9..5c008b6 100644 --- a/share/cfg/tofi.nix +++ b/share/cfg/tofi.nix @@ -6,7 +6,7 @@ # Tofi's cache seems to get messed up sometimes, so we regenerate it when # building the system. # https://github.com/philj56/tofi/issues/115#issuecomment-1701748297 - home.activation = { + home.activation = lib.mkIf config.programs.tofi.enable { regenerateTofiCache = lib.hm.dag.entryAfter [ "writeBoundary" ] '' tofi_cache=${config.xdg.cacheHome}/tofi-drun [[ -f "$tofi_cache" ]] && rm "$tofi_cache" |
