mirror of
https://github.com/nix-community/home-manager
synced 2024-12-19 16:29:47 +01:00
docs: slight improvement of Flake documentation
This commit is contained in:
parent
693d76eeb8
commit
7b6e507151
2 changed files with 30 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
== Installing Home Manager
|
== Installing Home Manager
|
||||||
|
|
||||||
:nix-darwin: https://github.com/LnL7/nix-darwin/
|
:nix-darwin: https://github.com/LnL7/nix-darwin/
|
||||||
|
:nixos-wiki-flakes: https://nixos.wiki/wiki/Flakes
|
||||||
|
|
||||||
Home Manager can be used in three primary ways:
|
Home Manager can be used in three primary ways:
|
||||||
|
|
||||||
|
@ -22,6 +23,12 @@ This allows the user profiles to be built together with the system
|
||||||
when running `darwin-rebuild`. See <<sec-install-nix-darwin-module>>
|
when running `darwin-rebuild`. See <<sec-install-nix-darwin-module>>
|
||||||
for a description of this setup.
|
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
|
||||||
|
{nixos-wiki-flakes}[Nix Flakes] then please see the instructions in
|
||||||
|
<<ch-nix-flakes>>.
|
||||||
|
|
||||||
[[sec-install-standalone]]
|
[[sec-install-standalone]]
|
||||||
=== Standalone installation
|
=== Standalone installation
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,29 @@
|
||||||
|
|
||||||
:nixos-wiki-flakes: https://nixos.wiki/wiki/Flakes
|
:nixos-wiki-flakes: https://nixos.wiki/wiki/Flakes
|
||||||
|
|
||||||
Home Manager includes a `flake.nix` file for compatibility with {nixos-wiki-flakes}[Nix Flakes].
|
Home Manager is compatible with {nixos-wiki-flakes}[Nix Flakes]. But
|
||||||
The support is still experimental and may change in backwards incompatible ways.
|
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
|
||||||
|
<<sec-flakes-standalone>> 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 <<sec-flakes-nixos-module>> for a description of
|
||||||
|
this setup.
|
||||||
|
|
||||||
|
3. As a module within a {nix-darwin}[nix-darwin] system configuration.
|
||||||
|
This allows the user profiles to be built together with the system
|
||||||
|
when running `darwin-rebuild`. See <<sec-flakes-nix-darwin-module>>
|
||||||
|
for a description of this setup.
|
||||||
|
|
||||||
[[sec-flakes-prerequisites]]
|
[[sec-flakes-prerequisites]]
|
||||||
=== Prerequisites
|
=== Prerequisites
|
||||||
|
|
Loading…
Reference in a new issue