From df2ca3dc720076cb5fe2fd2c6b52b1dc4c5670f6 Mon Sep 17 00:00:00 2001 From: rycee Date: Sun, 26 Feb 2023 18:44:53 +0000 Subject: [PATCH] deploy: fc3432bac27d0dd3ffd8625d2724c41f86b8ad10 --- index.html | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 1e1ca6ba..2098e3ab 100644 --- a/index.html +++ b/index.html @@ -33,7 +33,10 @@ As a module within a darwin-rebuild. See Section 1.3, “nix-darwin module” for a description of this setup. -

1.1. Standalone installation

  1. +

Note

In this chapter we describe how to install Home Manager in the +standard way using channels. If you prefer to use +Nix Flakes then please see the instructions in +Chapter 3, Nix Flakes.

1.1. 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 example, you should be able to successfully run a command like @@ -241,8 +244,26 @@ then updating Home Manager is done by first updating the channel. You can then switch to the updated Home Manager environment.

    $ nix-channel --update
     …
     unpacking channels...
    -$ home-manager switch

Chapter 3. Nix Flakes

Home Manager includes a flake.nix file for compatibility with Nix Flakes. -The support is still experimental and may change in backwards incompatible ways.

3.1. Prerequisites

  • +$ home-manager switch

Chapter 3. Nix Flakes

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

Just like in the standard installation you can use the Home Manager +flake in three ways:

  1. +Using the standalone home-manager tool. For platforms other than +NixOS and Darwin, this is the only available choice. It is also +recommended for people on NixOS or Darwin that want to manage their +home directory independently of the system as a whole. See +Section 3.2, “Standalone setup” for instructions on how to perform this +installation. +
  2. +As a module within a NixOS system configuration. This allows the +user profiles to be built together with the system when running +nixos-rebuild. See Section 3.3, “NixOS module” for a description of +this setup. +
  3. +This allows the user profiles to be built together with the system +when running darwin-rebuild. See Section 3.4, “nix-darwin module” +for a description of this setup. +

3.1. Prerequisites

  • Install Nix 2.4 or later, or have it in nix-shell.
  • Enable experimental features nix-command and flakes.