chore: rebuild devenv
This commit is contained in:
parent
7e8901c7bf
commit
a9a6888958
4 changed files with 17 additions and 29 deletions
14
devenv.nix
14
devenv.nix
|
@ -1,7 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
git-hooks.hooks = {
|
||||
git-hooks = {
|
||||
hooks = {
|
||||
check-case-conflicts.enable = true;
|
||||
check-merge-conflicts.enable = true;
|
||||
commitizen.enable = true;
|
||||
|
@ -10,4 +11,13 @@
|
|||
markdownlint.enable = true;
|
||||
mdformat.enable = true;
|
||||
};
|
||||
|
||||
hooks.home-manager-check = {
|
||||
enable = true;
|
||||
name = "Home Manager Config Check";
|
||||
entry = "home-manager switch --dry-run";
|
||||
pass_filenames = false;
|
||||
excludes = [ "^docs/" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue