From 52d053556a12958e7cdf48aeba7346f478139f2e Mon Sep 17 00:00:00 2001 From: teto <886074+teto@users.noreply.github.com> Date: Thu, 12 Mar 2026 14:47:35 +0100 Subject: [PATCH] create-news-entry.sh: add more examples To make it easier for contributors to customize their entry: it's easier to remove the comments (or not since they wont be seen anyway) then searching for those examples. --- modules/misc/news/create-news-entry.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/misc/news/create-news-entry.sh b/modules/misc/news/create-news-entry.sh index 10cc4e93..9558f66c 100755 --- a/modules/misc/news/create-news-entry.sh +++ b/modules/misc/news/create-news-entry.sh @@ -16,9 +16,13 @@ cd "$DIRNAME" || { } cat - <"$YEAR/$MONTH/$FILENAME_BASE.nix" +{ config, pkgs, ... }: { time = "$DATE"; + # condition = pkgs.stdenv.hostPlatform.isLinux; + # condition = config.programs.neovim.enable; condition = true; + # if behavior changed, explain how to restore previous behavior. message = '' PLACEHOLDER '';