From ba96db4c9b6f711e57cdfe3d21121ac196493bc6 Mon Sep 17 00:00:00 2001 From: rycee Date: Wed, 17 Apr 2024 21:58:57 +0000 Subject: [PATCH] deploy: f46814ec7cbef9c2aef18ca1cbe89f2bb1e8c394 --- index.xhtml | 6 +++--- options.xhtml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/index.xhtml b/index.xhtml index 4cf5bcd61..3e808c739 100644 --- a/index.xhtml +++ b/index.xhtml @@ -59,7 +59,7 @@ configuration. This allows the user profiles to be built together with the system when running darwin-rebuild. See nix-darwin module for a description of this setup.

Note

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 then please see the instructions in nix flakes.

Table of Contents

Standalone installation
NixOS module
nix-darwin module

Standalone installation

  1. Make sure you have a working Nix installation. Specifically, make sure that your user is able to build and install Nix packages. For @@ -366,7 +366,7 @@ unpacking channels... $ home-manager switch

-

Nix Flakes

Home Manager is compatible with Nix +

Nix Flakes

Home Manager is compatible with Nix Flakes. But please be aware that this support is still experimental and may change in backwards incompatible ways.

Just like in the standard installation you can use the Home Manager @@ -420,7 +420,7 @@ to use the standard nix flake update command for th nix flake lock --update-input <input> can be used.

You can also pass flake-related options such as --recreate-lock-file or --update-input <input> to home-manager when building or switching, and these options will be forwarded to nix build. See the -NixOS Wiki page for details.

+NixOS Wiki page for details.

NixOS module

To use Home Manager as a NixOS module, a bare-minimum flake.nix would be as follows:

{
   description = "NixOS configuration";
diff --git a/options.xhtml b/options.xhtml
index 254d371ee..3e56f2b16 100644
--- a/options.xhtml
+++ b/options.xhtml
@@ -18520,7 +18520,7 @@ previously existing bookmarks!

{ name = "wiki"; tags = [ "wiki" "nix" ]; - url = "https://nixos.wiki/"; + url = "https://wiki.nixos.org/"; } ]; } @@ -18921,8 +18921,8 @@ attribute set of attribute set of (JSON value)

}; "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" ]; }; @@ -38608,7 +38608,7 @@ attribute set of string

Example:

{
   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={}";
 }