From 57bfd7470ea162d8669e0198caa36e030c13e2aa Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 16 May 2023 22:46:07 +0100 Subject: [PATCH] chore(git): populate .gitmessage Populate the default Git commit message with information about the Conventional Commits specification. See https://www.conventionalcommits.org. --- home-manager/modules/common.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 9ad499a..db89304 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -76,6 +76,23 @@ in home.packages = (import ./home-manager-packages.nix) { inherit pkgs; }; + home.file.".gitmessage".text = '' + type(scope): description + + # type: fix, feat, build, chore, ci, docs, style, refactor, perf, test + # + # Description + # + # - Why is this change necessary? + # - How does it address the issue? + # - What side effects does this change have? + # + # For breaking changes, add an ! after the type/scope, uncomment the following + # line and describe the change: + # + # BREAKING CHANGE: + ''; + home.file."nodemon.json".text = '' { "ignore": [