chore: clean up templ queries

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2023-09-15 12:14:50 -05:00
parent e58b8bf761
commit 318376ddc5
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 9 additions and 8 deletions

View File

@ -1,12 +1,13 @@
{pkgs, ...}: let {pkgs, ...}: let
queries = pkgs.fetchFromGitea { query = scm:
domain = "git.jojodev.com"; builtins.readFile (pkgs.fetchFromGitea {
owner = "jolheiser"; domain = "git.jojodev.com";
repo = "templ-helix"; owner = "jolheiser";
rev = "2a47b9c5af0fd9ae8bba8198fd66abc6d07fdf10"; repo = "templ-helix";
sha256 = "sha256-pTdOX9bPup626t+ko6k3Xq/tprAMAZCUBl+xeIBkhfs="; rev = "2a47b9c5af0fd9ae8bba8198fd66abc6d07fdf10";
}; sha256 = "sha256-pTdOX9bPup626t+ko6k3Xq/tprAMAZCUBl+xeIBkhfs=";
query = scm: builtins.readFile (queries + "/queries/templ/${scm}.scm"); }
+ "/queries/templ/${scm}.scm");
in { in {
programs.helix = { programs.helix = {
enable = true; enable = true;