1
1
Fork 1
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:
oddlama 2023-09-18 02:10:44 +02:00
parent ecd7eece1f
commit 905ea34de9
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
10 changed files with 50 additions and 15 deletions

View file

@ -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;
};