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.
This commit is contained in:
teto 2026-03-12 14:47:35 +01:00 committed by Matthieu Coudron
parent f9482fd109
commit 52d053556a

View file

@ -16,9 +16,13 @@ cd "$DIRNAME" || {
}
cat - <<EOF >"$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
'';