mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
docs/site: update project structure
This commit is contained in:
parent
80f0684a55
commit
0402320ab8
@ -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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user