Better hooks
This commit is contained in:
parent
2e96c60b85
commit
a813238c55
1 changed files with 7 additions and 8 deletions
15
flake.nix
15
flake.nix
|
|
@ -31,10 +31,7 @@
|
|||
ragenix = { url = "github:yaxitech/ragenix"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||
|
||||
# Desktop environment theming and rice configuration
|
||||
nix-rice = {
|
||||
url = "github:bertof/nix-rice/modules";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-rice = { url = "github:bertof/nix-rice/modules"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||
|
||||
# Generate NixOS system images (ISO, VM, etc.)
|
||||
nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||
|
|
@ -53,10 +50,7 @@
|
|||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
# Git pre-commit hooks for code quality
|
||||
git-hooks = {
|
||||
url = "github:cachix/git-hooks.nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
git-hooks = { url = "github:cachix/git-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||
|
||||
# TODO: Additional tools to evaluate
|
||||
# agenix-shell.url = "github:aciceri/agenix-shell"; # TODO
|
||||
|
|
@ -99,6 +93,11 @@
|
|||
deadnix.enable = true; # Remove dead code from Nix expressions
|
||||
nixpkgs-fmt.enable = true; # Format Nix code
|
||||
statix.enable = true; # Lint Nix code for best practices
|
||||
flake-checker.enable = true;
|
||||
|
||||
# Markdown
|
||||
mdformat.enable = true;
|
||||
markdownlint.enable = true;
|
||||
};
|
||||
|
||||
# Default development shell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue