diff --git a/flake.nix b/flake.nix index 468cef7..e1c419c 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,7 @@ packagesSharedByAll = with pkgs; [ diff-so-fancy + pre-commit ]; scripts = { @@ -141,6 +142,10 @@ (pkgs.lib.attrsets.mapAttrs (name: value: pkgs.mkShell (pkgs.lib.recursiveUpdate value { packages = value.packages ++ packagesSharedByAll; + shellHook = '' + echo -e 1>&2 "\n\n Welcome to the development shell!\n\n" + ${pkgs.onefetch}/bin/onefetch + ''; })) shells) // { @@ -149,6 +154,7 @@ shellHook = '' echo -e 1>&2 "\n\n Welcome to the development shell!\n\n" ${config.pre-commit.installationScript} + ${pkgs.onefetch}/bin/onefetch ''; }); };