diff --git a/index.html b/index.html index 679992343..975eee785 100644 --- a/index.html +++ b/index.html @@ -79,6 +79,10 @@ set that maps user names to Home Manager configurations.

For example, a Ni home-manager.users.eve = { pkgs, ... }: { home.packages = [ pkgs.atool pkgs.httpie ]; programs.bash.enable = true; + + # The state version is required and should stay at the version you + # originally installed. + system.stateVersion = "23.05"; };

and after a sudo nixos-rebuild switch the user eve’s environment should include a basic Bash configuration and the packages atool and httpie.

Note

If nixos-rebuild switch does not result in the environment you expect, you can take a look at the output of the Home Manager activation script output using

$ systemctl status "home-manager-$USER.service"

If you do not plan on having Home Manager manage your shell @@ -113,6 +117,10 @@ that maps user names to Home Manager configurations.

For example, a nix-da home-manager.users.eve = { pkgs, ... }: { home.packages = [ pkgs.atool pkgs.httpie ]; programs.bash.enable = true; + + # The state version is required and should stay at the version you + # originally installed. + system.stateVersion = "23.05"; };

and after a darwin-rebuild switch the user eve’s environment should include a basic Bash configuration and the packages atool and httpie.

If you do not plan on having Home Manager manage your shell