feat(update): add auto updates of package.json

This commit is contained in:
matt1432 2024-11-30 17:59:44 -05:00
parent f52293ffe3
commit 2c94bc9809
6 changed files with 183 additions and 109 deletions
nixosModules/ags

View file

@ -0,0 +1,3 @@
{
npmDepsHash = "sha256-XNvj59XfO6f+04PatCOZ93tkkZ1K7jReZPqLGJL2Ojo=";
}

View file

@ -98,7 +98,7 @@ in {
})
// {
"${cfg.configDir}/node_modules".source =
buildNodeModules ./config "sha256-XNvj59XfO6f+04PatCOZ93tkkZ1K7jReZPqLGJL2Ojo=";
buildNodeModules ./config (import ./config).npmDepsHash;
"${cfg.configDir}/tsconfig.json".source = let
inherit (ags.packages.${pkgs.system}) gjs;