From c4bd004d9d8981837d958264b809f7edc93d9957 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 10 May 2025 10:20:07 -0500 Subject: [PATCH] flake.nix: expose create-news-entry as a package Easier to `nix run .#create-news-entry` instead of finding the location to run. --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index c7b3847d..f424a938 100644 --- a/flake.nix +++ b/flake.nix @@ -72,6 +72,10 @@ default = hmPkg; home-manager = hmPkg; + create-news-entry = pkgs.writeShellScriptBin "create-news-entry" '' + ./modules/misc/news/create-news-entry.sh + ''; + docs-html = docs.manual.html; docs-htmlOpenTool = docs.manual.htmlOpenTool; docs-json = docs.options.json;