refactor(git): move .gitmessage text

This commit is contained in:
Oliver Davies 2023-05-16 22:49:11 +01:00
parent 57bfd7470e
commit 0bad33a035
2 changed files with 17 additions and 17 deletions

View file

@ -76,23 +76,6 @@ 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": [

View file

@ -1,4 +1,21 @@
{ config, pkgs, lib, libs, ... }: {
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:
'';
programs.git = {
enable = true;
userName = "Oliver Davies";