mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat: enable zoxide, nix-index-database, comma and a deadnix check
This commit is contained in:
parent
ecd7eece1f
commit
905ea34de9
10 changed files with 50 additions and 15 deletions
|
@ -35,6 +35,11 @@
|
|||
flake = false;
|
||||
};
|
||||
|
||||
nix-index-database = {
|
||||
url = "github:Mic92/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
|
||||
nixos-generators = {
|
||||
|
@ -188,8 +193,11 @@
|
|||
checks.pre-commit-hooks = pre-commit-hooks.lib.${system}.run {
|
||||
src = lib.cleanSource ./.;
|
||||
hooks = {
|
||||
# Nix
|
||||
alejandra.enable = true;
|
||||
deadnix.enable = true;
|
||||
statix.enable = true;
|
||||
# Lua (for neovim)
|
||||
luacheck.enable = true;
|
||||
stylua.enable = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue