From 95d48f2ad6a630cbfd5d3659193c5c5cfba74d83 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas <foodogsquared@foodogsquared.one> Date: Wed, 2 Aug 2023 23:00:09 +0800 Subject: [PATCH] docs/site: update "Declarative user management" settings schema --- .../02-declarative-user-management/index.adoc | 4 ++++ 1 file changed, 4 insertions(+) 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.