diff --git a/flake.nix b/flake.nix index e00bd60..6394ddf 100644 --- a/flake.nix +++ b/flake.nix @@ -78,9 +78,15 @@ }; flakeTools = { self }: flake-utils.lib.eachDefaultSystem (system: let - pkgs = import nixpkgs (nixpkgsConfig // { - inherit system; - }); + pkgs = import nixpkgs + (nixpkgsConfig // { + inherit system; + # We do an overlay here so nixos-rebuild and other use lix. + # We don't do an overlay for the whole system because lix is not binary compatible. + overlays = [ + (self: super: { nix = super.lix; }) + ]; + }); in { apps = {