{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; systems.url = "github:nix-systems/default"; devenv.url = "github:cachix/devenv"; }; outputs = { self, nixpkgs, devenv, systems, ... } @ inputs: let forEachSystem = nixpkgs.lib.genAttrs (import systems); in { devShells = forEachSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; in { default = devenv.lib.mkShell { inherit inputs pkgs; modules = [ { # https://devenv.sh/reference/options/ packages = [pkgs.hello pkgs.delta pkgs.difftastic pkgs.alejandra pkgs.nodePackages.bash-language-server]; enterShell = '' hello ''; pre-commit.hooks = { shellcheck.enable = true; black.enable = true; alejandra.enable = true; taplo.enable = true; }; } ]; }; }); }; }