treewide: prefer the official wiki

This commit is contained in:
a-kenji 2024-04-17 23:58:16 +02:00 committed by GitHub
parent 93b917d49f
commit f46814ec7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 20 additions and 19 deletions

View file

@ -459,7 +459,7 @@ in {
{
name = "wiki";
tags = [ "wiki" "nix" ];
url = "https://nixos.wiki/";
url = "https://wiki.nixos.org/";
}
];
}
@ -545,8 +545,8 @@ in {
};
"NixOS Wiki" = {
urls = [{ template = "https://nixos.wiki/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://nixos.wiki/favicon.png";
urls = [{ template = "https://wiki.nixos.org/index.php?search={searchTerms}"; }];
iconUpdateURL = "https://wiki.nixos.org/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@nw" ];
};

View file

@ -84,7 +84,7 @@ in {
{
w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1";
aw = "https://wiki.archlinux.org/?search={}";
nw = "https://nixos.wiki/index.php?search={}";
nw = "https://wiki.nixos.org/index.php?search={}";
g = "https://www.google.com/search?hl=en&q={}";
}
'';