aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 10cb36bf..9afc2cbc 100644
--- a/flake.nix
+++ b/flake.nix
@@ -28,6 +28,11 @@
nixfmt-rfc-style
nodePackages.prettier
];
+
+ shellHook = ''
+ # Use //:.gitmessage as the commit message template
+ ${pkgs.git}/bin/git config --local commit.template ".gitmessage"
+ '';
};
}
);