docs/site: update project structure

This commit is contained in:
Gabriel Arazas 2023-07-14 20:18:57 +08:00
parent 80f0684a55
commit 0402320ab8
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -13,6 +13,7 @@ My NixOS config should look like the following:
[source, tree] [source, tree]
---- ----
nixos-config nixos-config
├── docs/
├── hosts/ ├── hosts/
├── lib/ ├── lib/
├── modules/ ├── modules/
@ -38,6 +39,9 @@ For more details, see xref:../../03-project-specific-setup/02-declarative-user-m
Most of the said folders are related to a flake output attribute, see xref:../03-whats-in-my-flake/index.adoc[What's in my flake?] for more details. Most of the said folders are related to a flake output attribute, see xref:../03-whats-in-my-flake/index.adoc[What's in my flake?] for more details.
* `./docs/` contain the source code for the website.
Currently, it uses link:https://gohugo.io/[Hugo] for statically generating the website.
* `./hosts/` contain machine-specific configuration. * `./hosts/` contain machine-specific configuration.
This usually configures like the hardware setup, timezone, and users. This usually configures like the hardware setup, timezone, and users.
Host configurations are also exported in the flakes in `outputs.nixosConfigurations`. Host configurations are also exported in the flakes in `outputs.nixosConfigurations`.