mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
flake.nix: expose create-news-entry as a package
Easier to `nix run .#create-news-entry` instead of finding the location to run.
This commit is contained in:
parent
e95a7c5b6f
commit
c4bd004d9d
1 changed files with 4 additions and 0 deletions
|
|
@ -72,6 +72,10 @@
|
||||||
default = hmPkg;
|
default = hmPkg;
|
||||||
home-manager = 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-html = docs.manual.html;
|
||||||
docs-htmlOpenTool = docs.manual.htmlOpenTool;
|
docs-htmlOpenTool = docs.manual.htmlOpenTool;
|
||||||
docs-json = docs.options.json;
|
docs-json = docs.options.json;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue