diff --git a/index.html b/index.html index ec264ae99..a97d06bf5 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ -
ca.desrt.dconf
?+
ca.desrt.dconf
?This manual will eventually describes how to install, use, and extend Home Manager.
@@ -95,7 +95,11 @@ or an unstable channel, you can run
# nix # nix-channel --update
and if you follow a Nixpkgs version 21.05 channel, you can run
# nix-channel --add https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz home-manager # nix-channel --update
It is then possible to add
imports = [ <home-manager/nix-darwin> ];
to your nix-darwin configuration.nix
file, which will introduce a
new NixOS option called home-manager
whose type is an attribute set
-that maps user names to Home Manager configurations.
For example, a nix-darwin configuration may include the lines
home-manager.users.eve = { pkgs, ... }: { +that maps user names to Home Manager configurations.For example, a nix-darwin configuration may include the lines
user.users.eve = { + name = "eve"; + home = "/Users/eve"; +} +home-manager.users.eve = { pkgs, ... }: { home.packages = [ pkgs.atool pkgs.httpie ]; programs.bash.enable = true; };and after a
darwin-rebuild switch
the user eve’s environment diff --git a/tools.html b/tools.html index cf63b577c..a7705837c 100644 --- a/tools.html +++ b/tools.html @@ -1,6 +1,6 @@ -Appendix D. Tools
- home-manager - — reconfigure a user environment
Name
home-manager +
Appendix D. Tools
- home-manager + — reconfigure a user environment
Name
home-manager — reconfigure a user environment
Synopsis
home-manager
{ build | @@ -78,7 +78,7 @@ | --verbose } - ]Description
This command updates the user environment so that it corresponds to the configuration specified in
~/.config/nixpkgs/home.nix
or~/.config/nixpkgs/flake.nix
.@@ -147,7 +147,7 @@ available for immediate garbage collection.
-
Options
The tool accepts the options
-A
@@ -246,15 +246,15 @@attrPath
--verbose
Activates verbose output. -