quatquatt / nixos

My NixOS config with home-manager, flakes, and readable code
1 stars 0 forks source link

Update redirector to always use latest version of nix.dev #19

Closed quatquatt closed 1 month ago

quatquatt commented 1 month ago

nix.dev has multiple versions of the Nix reference manual, depending on the version. Some older links use a specific version, which is unhelpful for finding the latest info on something. To fix this, links should be redirected to the latest stable version. Here's how this can be done:

Old link:

https://nix.dev/manual/nix/2.12/installation/multi-user

New link:

https://nix.dev/manual/nix/latest/installation/multi-user

Ideally, this would automatically fail if the new link didn't exist. I'm not sure if Redirector supports this, though.

quatquatt commented 1 month ago

Done with this file: Redirector.json