mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
docs/site: update "Declarative user management" settings schema
This commit is contained in:
parent
6d58d6a14e
commit
95d48f2ad6
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user