{ nixpkgs, devshell, ... }: system: let pkgs = import nixpkgs { inherit system; overlays = [devshell.overlays.default]; }; shell = with pkgs; { name = "devshell template"; packages = [ nil sl ]; commands = [ { package = statix; help = "The nix linter"; } { package = alejandra; help = "The nix formatter"; } { name = "test"; help = "very helpful"; command = "echo hehe"; } ]; env = [ { name = "lol"; value = "lel"; } ]; }; in pkgs.devshell.mkShell shell