From cddd09919436113eade08efb7f3417fc9c2b27f6 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Mon, 11 Dec 2023 10:40:14 -0600 Subject: [PATCH] chore: get templ from gh flake Signed-off-by: jolheiser --- apps/nogui/default.nix | 2 +- flake.lock | 81 ++++++++++++++++++++++++++++++++++++++++++ flake.nix | 6 ++++ 3 files changed, 88 insertions(+), 1 deletion(-) diff --git a/apps/nogui/default.nix b/apps/nogui/default.nix index 9617a28..417ee10 100644 --- a/apps/nogui/default.nix +++ b/apps/nogui/default.nix @@ -44,8 +44,8 @@ # Flake overlays jolheiser.gist jolheiser.git-age - jolheiser.nur.templ tclip + templ jolheiser.helix ]; activation.report-changes = config.lib.dag.entryAnywhere '' diff --git a/flake.lock b/flake.lock index 5e7bc83..b1a1a31 100644 --- a/flake.lock +++ b/flake.lock @@ -40,6 +40,21 @@ "type": "github" } }, + "flake-utils_2": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "gist": { "inputs": { "nixpkgs": [ @@ -83,6 +98,27 @@ "url": "https://git.jojodev.com/jolheiser/git-age" } }, + "gitignore": { + "inputs": { + "nixpkgs": [ + "templ", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1694102001, + "narHash": "sha256-vky6VPK1n1od6vXbqzOXnekrQpTL4hbPAwUhT5J9c9E=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "9e21c80adf67ebcb077d75bd5e7d724d21eeafd6", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, "golink": { "inputs": { "flake-utils": [ @@ -276,6 +312,7 @@ "nur": "nur", "resume": "resume", "tclip": "tclip", + "templ": "templ", "website": "website" } }, @@ -360,6 +397,28 @@ "type": "github" } }, + "templ": { + "inputs": { + "gitignore": "gitignore", + "nixpkgs": [ + "nixpkgs" + ], + "xc": "xc" + }, + "locked": { + "lastModified": 1702159064, + "narHash": "sha256-9tyQOybmptmDhIfQcuZ8Vq8l3fMLdZfGPw+tjJbWzeQ=", + "owner": "a-h", + "repo": "templ", + "rev": "ddb1610a81627f5c9c524bb66877477f401e4ecd", + "type": "github" + }, + "original": { + "owner": "a-h", + "repo": "templ", + "type": "github" + } + }, "website": { "inputs": { "flake-utils": [ @@ -387,6 +446,28 @@ "type": "git", "url": "https://git.jojodev.com/jolheiser/jolheiser.com" } + }, + "xc": { + "inputs": { + "flake-utils": "flake-utils_2", + "nixpkgs": [ + "templ", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1696495449, + "narHash": "sha256-dthZiJ2FX/eIC0l1mdfefJZXDTVLfwp7L7Arq5rsCWA=", + "owner": "joerdav", + "repo": "xc", + "rev": "c8baab14d679fb276f11c576607010283be21220", + "type": "github" + }, + "original": { + "owner": "joerdav", + "repo": "xc", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 95fda7c..62559f4 100644 --- a/flake.nix +++ b/flake.nix @@ -69,6 +69,10 @@ utils.follows = "flake-utils"; }; }; + templ = { + url = "github:a-h/templ"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { @@ -84,6 +88,7 @@ nixpkgs-py36, golink, tclip, + templ, ... } @ inputs: let overlays = [ @@ -101,6 +106,7 @@ gist = inputs.gist.packages.${prev.system}.default; }; tclip = inputs.tclip.packages.${prev.system}.tclip; + templ = inputs.templ.packages.${prev.system}.templ; }) golink.overlay ];