mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
docs/site: update images
attribute
This commit is contained in:
parent
e8677bd6ed
commit
8b6e56fd71
@ -12,7 +12,7 @@ For example, you can build my personalized NixOS installer ISO with the followin
|
|||||||
|
|
||||||
[source, shell, subs=attributes]
|
[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.
|
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.
|
- `systems` contains a list of platforms of the host system.
|
||||||
This is mainly used to indicate the platform used for the nixpkgs repository.
|
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.
|
- `format` is the image output format for the host.
|
||||||
It expects an accepted value from github:nix-community/nixos-generators[opts=repo] project.
|
It expects an accepted value from github:nix-community/nixos-generators[opts=repo] project.
|
||||||
|
@ -33,7 +33,6 @@ remote-build = true
|
|||||||
|
|
||||||
- `systems` contains a list of platforms of the home-manager user.
|
- `systems` contains a list of platforms of the home-manager user.
|
||||||
This is mainly used to indicate the platform used for the nixpkgs repository.
|
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.
|
- `nixpkgs-channel` indicates the branch of the nixpkgs to be used.
|
||||||
By default, this uses the `nixpkgs` which follows the `nixos-unstable` branch.
|
By default, this uses the `nixpkgs` which follows the `nixos-unstable` branch.
|
||||||
|
Loading…
Reference in New Issue
Block a user