Build bat cache on home manager rebuild.

This commit is contained in:
Martin Larsson 2025-02-14 12:45:06 +00:00
parent 9be43da63a
commit 1e166c632b

View file

@ -1,6 +1,7 @@
{ {
pkgs, pkgs,
config, config,
lib,
neovim-flake, neovim-flake,
... ...
}: }:
@ -112,5 +113,8 @@ in
]; ];
file = symlinkFiles; file = symlinkFiles;
activation.batCache = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
run ${pkgs.bat}/bin/bat cache --build
'';
}; };
} }