docs/site: update images attribute

This commit is contained in:
Gabriel Arazas 2023-09-13 17:34:35 +08:00
parent e8677bd6ed
commit 8b6e56fd71
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 1 additions and 3 deletions

View File

@ -12,7 +12,7 @@ For example, you can build my personalized NixOS installer ISO with the followin
[source, shell, subs=attributes]
----
nix build {canonical-flake-url}#images.bootstrap
nix build {canonical-flake-url}#images.x86_64-linux.bootstrap
----
A host metadata has a certain schema which the following example is a complete version of it.
@ -44,7 +44,6 @@ For a complete reference, here are the expected attributes.
- `systems` contains a list of platforms of the host system.
This is mainly used to indicate the platform used for the nixpkgs repository.
Take note if `systems` contains more than one platform, the NixOS configurations will be renamed as `$NAME-$SYSTEM` (e.g., `plover` to `plover-x86_64-linux`, `plover-aarch64-linux`).
- `format` is the image output format for the host.
It expects an accepted value from github:nix-community/nixos-generators[opts=repo] project.

View File

@ -33,7 +33,6 @@ remote-build = true
- `systems` contains a list of platforms of the home-manager user.
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.