diff --git a/docs/content/en-US/03-project-specific-setup/02-declarative-user-management/index.adoc b/docs/content/en-US/03-project-specific-setup/02-declarative-user-management/index.adoc index 067b6650..20cfbe71 100644 --- a/docs/content/en-US/03-project-specific-setup/02-declarative-user-management/index.adoc +++ b/docs/content/en-US/03-project-specific-setup/02-declarative-user-management/index.adoc @@ -16,6 +16,7 @@ Here's an example user with complete schema. ---- [foo-dogsquared] systems = [ "x86_64-linux" ] +nixpkgs-channel = "nixos-stable" home-manager-channel = "home-manager-23.05" home-directory = "/home/foo-dogsquared" username = "foodogsquared" @@ -34,6 +35,9 @@ remote-build = true This is mainly used to indicate the platform used for the nixpkgs repository. Take note if there's more than one platforms specified the home environment attribute name will change from `$HOSTNAME` to `$HOSTNAME-$SYSTEM` (e.g., `foo-dogsquared` to `foo-dogsquared-x86_64-linux`). +- `nixpkgs-channel` indicates the branch of the nixpkgs to be used. +By default, this uses the `nixpkgs` which follows the `nixos-unstable` branch. + - `home-manager-channel` contains the home-manager channel to be used. The value should be one of the home-manager channel that is imported into this flake. By default, it sets the home-manager channel at `home-manager` which is pointed at the unstable channel.