diff --git a/flake.nix b/flake.nix index 9196ec8..25ce941 100644 --- a/flake.nix +++ b/flake.nix @@ -38,12 +38,19 @@ }; perSystem = { + self', config, pkgs, ... }: { - devShells.default = pkgs.mkShell {nativeBuildInputs = [config.packages.nix];}; formatter = pkgs.alejandra; + devShells = { + default = self'.devShells.lsp; + nvim-nix = pkgs.mkShell {nativeBuildInputs = [config.packages.nix];}; + lsp = pkgs.mkShell { + nativeBuildInputs = with pkgs; [nil statix deadnix]; + }; + }; }; };