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:
builtins.readFile (pkgs.fetchFromGitea {
domain = "git.jojodev.com"; domain = "git.jojodev.com";
owner = "jolheiser"; owner = "jolheiser";
repo = "templ-helix"; repo = "templ-helix";
rev = "2a47b9c5af0fd9ae8bba8198fd66abc6d07fdf10"; rev = "2a47b9c5af0fd9ae8bba8198fd66abc6d07fdf10";
sha256 = "sha256-pTdOX9bPup626t+ko6k3Xq/tprAMAZCUBl+xeIBkhfs="; 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;