docs: fix the nixos install instructions

Not updating inputs resulted in a crash for me, this fixed it.

Relevant link from discord:
https://discord.com/channels/1005603569187160125/1301217629268213770
This commit is contained in:
Nico Elbers
2024-11-05 18:29:40 +01:00
parent f9199a4611
commit 34c3da4302

View File

@ -789,7 +789,14 @@ Below is an example:
# #
# Instead, either run `nix flake update` or `nixos-rebuild build` # Instead, either run `nix flake update` or `nixos-rebuild build`
# as the current user, and then run `sudo nixos-rebuild switch`. # 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, ... }: { outputs = { nixpkgs, ghostty, ... }: {