···7788To do so we add the following snippet taken from [modules/base/nix/overlays/default.nix](https://github.com/isabelroses/dotfiles/blob/463e509725f610d802c483fdc00ce0b77cd778c2/modules/base/nixpkgs/overlays/default.nix#L13-L25).
99What this does is use lix where possible rather than nix.
1010-1111-```nix
1212-_: prev: {
1313- # in order to reduce our closure size, we can override these packages to
1414- # use the nix package that we have installed, this will trigget a rebuild
1515- # of the packages that depend on them so hopefully its worth it for that
1616- # system space
1717- nixVersions = prev.nixVersions // {
1818- stable = config.nix.package;
1919- };
2020-}
2121-```