diff options
| author | seth <[email protected]> | 2023-11-01 06:42:48 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-01 06:42:48 -0400 |
| commit | 09004f4517eba8f57d37897e34f6ba56ad3653f1 (patch) | |
| tree | 6ae19b13a2694fe852caa6c77665af24ea59fe9e /dev.nix | |
| parent | ca59ebcf3dd17153b90a0ceca86af14db941ac3c (diff) | |
stop using neovim.nix
i had small, but annoying issues here and i don't care for lazy loading much tbh
Diffstat (limited to 'dev.nix')
| -rw-r--r-- | dev.nix | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,31 @@ +{ + perSystem = { + config, + pkgs, + ... + }: { + devShells.default = pkgs.mkShell { + shellHook = config.pre-commit.installationScript; + + packages = with pkgs; [ + actionlint + self'.formatter + deadnix + nil + statix + stylua + ]; + }; + + formatter = pkgs.alejandra; + + pre-commit.settings.hooks = { + actionlint.enable = true; + alejandra.enable = true; + deadnix.enable = true; + nil.enable = true; + statix.enable = true; + stylua.enable = true; + }; + }; +} |
