mirror of https://git.jolheiser.com/dotnix.git
chore: clean up templ queries
Signed-off-by: jolheiser <john.olheiser@gmail.com>teamcity
parent
e58b8bf761
commit
318376ddc5
|
@ -1,12 +1,13 @@
|
|||
{pkgs, ...}: let
|
||||
queries = pkgs.fetchFromGitea {
|
||||
domain = "git.jojodev.com";
|
||||
owner = "jolheiser";
|
||||
repo = "templ-helix";
|
||||
rev = "2a47b9c5af0fd9ae8bba8198fd66abc6d07fdf10";
|
||||
sha256 = "sha256-pTdOX9bPup626t+ko6k3Xq/tprAMAZCUBl+xeIBkhfs=";
|
||||
};
|
||||
query = scm: builtins.readFile (queries + "/queries/templ/${scm}.scm");
|
||||
query = scm:
|
||||
builtins.readFile (pkgs.fetchFromGitea {
|
||||
domain = "git.jojodev.com";
|
||||
owner = "jolheiser";
|
||||
repo = "templ-helix";
|
||||
rev = "2a47b9c5af0fd9ae8bba8198fd66abc6d07fdf10";
|
||||
sha256 = "sha256-pTdOX9bPup626t+ko6k3Xq/tprAMAZCUBl+xeIBkhfs=";
|
||||
}
|
||||
+ "/queries/templ/${scm}.scm");
|
||||
in {
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue