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

@ -112,7 +112,7 @@ License
This project is licensed under the terms of the [MIT license](LICENSE). This project is licensed under the terms of the [MIT license](LICENSE).
[#home-manager]: https://webchat.oftc.net/?channels=home-manager [#home-manager]: https://webchat.oftc.net/?channels=home-manager
[Nix Flakes]: https://nixos.wiki/wiki/Flakes [Nix Flakes]: https://wiki.nixos.org/wiki/Flakes
[NixOS]: https://nixos.org/ [NixOS]: https://nixos.org/
[Nix]: https://nixos.org/explore.html [Nix]: https://nixos.org/explore.html
[Nixpkgs]: https://github.com/NixOS/nixpkgs [Nixpkgs]: https://github.com/NixOS/nixpkgs

View file

@ -24,7 +24,7 @@ Home Manager can be used in three primary ways:
:::{.note} :::{.note}
In this chapter we describe how to install Home Manager in the standard In this chapter we describe how to install Home Manager in the standard
way using channels. If you prefer to use [Nix way using channels. If you prefer to use [Nix
Flakes](https://nixos.wiki/wiki/Flakes) then please see the instructions Flakes](https://wiki.nixos.org/wiki/Flakes) then please see the instructions
in [nix flakes](#ch-nix-flakes). in [nix flakes](#ch-nix-flakes).
::: :::

View file

@ -1,7 +1,7 @@
# Nix Flakes {#ch-nix-flakes} # Nix Flakes {#ch-nix-flakes}
Home Manager is compatible with [Nix Home Manager is compatible with [Nix
Flakes](https://nixos.wiki/wiki/Flakes). But please be aware that this Flakes](https://wiki.nixos.org/wiki/Flakes). But please be aware that this
support is still experimental and may change in backwards support is still experimental and may change in backwards
incompatible ways. incompatible ways.

View file

@ -58,5 +58,5 @@ If you only want to update a single flake input, then the command
You can also pass flake-related options such as `--recreate-lock-file` You can also pass flake-related options such as `--recreate-lock-file`
or `--update-input <input>` to `home-manager` when building or or `--update-input <input>` to `home-manager` when building or
switching, and these options will be forwarded to `nix build`. See the switching, and these options will be forwarded to `nix build`. See the
[NixOS Wiki page](https://nixos.wiki/wiki/Flakes) for details. [NixOS Wiki page](https://wiki.nixos.org/wiki/Flakes) for details.
::: :::

View file

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

View file

@ -84,7 +84,7 @@ in {
{ {
w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1"; w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1";
aw = "https://wiki.archlinux.org/?search={}"; 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={}"; g = "https://www.google.com/search?hl=en&q={}";
} }
''; '';

View file

@ -8,18 +8,18 @@
<DL><p> <DL><p>
<DT><H3 ADD_DATE="1" LAST_MODIFIED="1" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3> <DT><H3 ADD_DATE="1" LAST_MODIFIED="1" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
<DL><p> <DL><p>
<DT><A HREF="https://nixos.wiki/wiki/Home_Manager" ADD_DATE="1" LAST_MODIFIED="1">Home Manager</A> <DT><A HREF="https://wiki.nixos.org/wiki/Home_Manager" ADD_DATE="1" LAST_MODIFIED="1">Home Manager</A>
</DL><p> </DL><p>
<DT><A HREF="https://en.wikipedia.org/wiki/Special:Search?search=%s&amp;go=Go" ADD_DATE="1" LAST_MODIFIED="1" SHORTCUTURL="wiki" TAGS="wiki">wikipedia</A> <DT><A HREF="https://en.wikipedia.org/wiki/Special:Search?search=%s&amp;go=Go" ADD_DATE="1" LAST_MODIFIED="1" SHORTCUTURL="wiki" TAGS="wiki">wikipedia</A>
<DT><A HREF="https://www.kernel.org" ADD_DATE="1" LAST_MODIFIED="1">kernel.org</A> <DT><A HREF="https://www.kernel.org" ADD_DATE="1" LAST_MODIFIED="1">kernel.org</A>
<DT><H3 ADD_DATE="1" LAST_MODIFIED="1">Nix sites</H3> <DT><H3 ADD_DATE="1" LAST_MODIFIED="1">Nix sites</H3>
<DL><p> <DL><p>
<DT><A HREF="https://nixos.org/" ADD_DATE="1" LAST_MODIFIED="1">homepage</A> <DT><A HREF="https://nixos.org/" ADD_DATE="1" LAST_MODIFIED="1">homepage</A>
<DT><A HREF="https://nixos.wiki/" ADD_DATE="1" LAST_MODIFIED="1" TAGS="wiki,nix">wiki</A> <DT><A HREF="https://wiki.nixos.org/" ADD_DATE="1" LAST_MODIFIED="1" TAGS="wiki,nix">wiki</A>
<DT><H3 ADD_DATE="1" LAST_MODIFIED="1">Nix sites</H3> <DT><H3 ADD_DATE="1" LAST_MODIFIED="1">Nix sites</H3>
<DL><p> <DL><p>
<DT><A HREF="https://nixos.org/" ADD_DATE="1" LAST_MODIFIED="1">homepage</A> <DT><A HREF="https://nixos.org/" ADD_DATE="1" LAST_MODIFIED="1">homepage</A>
<DT><A HREF="https://nixos.wiki/" ADD_DATE="1" LAST_MODIFIED="1">wiki</A> <DT><A HREF="https://wiki.nixos.org/" ADD_DATE="1" LAST_MODIFIED="1">wiki</A>
</DL><p> </DL><p>
</DL><p> </DL><p>
</DL> </DL>

View file

@ -31,8 +31,8 @@
"_definedAliases": [ "_definedAliases": [
"@nw" "@nw"
], ],
"_iconURL": "https://nixos.wiki/favicon.png", "_iconURL": "https://wiki.nixos.org/favicon.png",
"_iconUpdateURL": "https://nixos.wiki/favicon.png", "_iconUpdateURL": "https://wiki.nixos.org/favicon.png",
"_isAppProvided": false, "_isAppProvided": false,
"_loadPath": "[home-manager]/programs.firefox.profiles.search.search.engines.\"NixOS Wiki\"", "_loadPath": "[home-manager]/programs.firefox.profiles.search.search.engines.\"NixOS Wiki\"",
"_metaData": { "_metaData": {
@ -42,7 +42,7 @@
"_updateInterval": 86400000, "_updateInterval": 86400000,
"_urls": [ "_urls": [
{ {
"template": "https://nixos.wiki/index.php?search={searchTerms}" "template": "https://wiki.nixos.org/index.php?search={searchTerms}"
} }
] ]
}, },

View file

@ -27,7 +27,7 @@
toolbar = true; toolbar = true;
bookmarks = [{ bookmarks = [{
name = "Home Manager"; name = "Home Manager";
url = "https://nixos.wiki/wiki/Home_Manager"; url = "https://wiki.nixos.org/wiki/Home_Manager";
}]; }];
} }
{ {
@ -51,7 +51,7 @@
{ {
name = "wiki"; name = "wiki";
tags = [ "wiki" "nix" ]; tags = [ "wiki" "nix" ];
url = "https://nixos.wiki/"; url = "https://wiki.nixos.org/";
} }
{ {
name = "Nix sites"; name = "Nix sites";
@ -62,7 +62,7 @@
} }
{ {
name = "wiki"; name = "wiki";
url = "https://nixos.wiki/"; url = "https://wiki.nixos.org/";
} }
]; ];
} }
@ -102,9 +102,10 @@
"NixOS Wiki" = { "NixOS Wiki" = {
urls = [{ urls = [{
template = "https://nixos.wiki/index.php?search={searchTerms}"; template =
"https://wiki.nixos.org/index.php?search={searchTerms}";
}]; }];
iconUpdateURL = "https://nixos.wiki/favicon.png"; iconUpdateURL = "https://wiki.nixos.org/favicon.png";
updateInterval = 24 * 60 * 60 * 1000; updateInterval = 24 * 60 * 60 * 1000;
definedAliases = [ "@nw" ]; definedAliases = [ "@nw" ];
}; };