diff --git a/README.md b/README.md index 796590401..3c3a2460d 100644 --- a/README.md +++ b/README.md @@ -789,7 +789,14 @@ Below is an example: # # Instead, either run `nix flake update` or `nixos-rebuild build` # as the current user, and then run `sudo nixos-rebuild switch`. - ghostty.url = "git+ssh://git@github.com/ghostty-org/ghostty"; + ghostty = { + url = "git+ssh://git@github.com/ghostty-org/ghostty"; + + # NOTE: The below 2 lines are only required on nixos-unstable, + # if you're on stable, they may break your build + inputs.nixpkgs-stable.follows = "nixpkgs"; + inputs.nixpkgs-unstable.follows = "nixpkgs"; + }; }; outputs = { nixpkgs, ghostty, ... }: {