docs/site: update more after flake-parts restructuring

This commit is contained in:
Gabriel Arazas 2024-01-17 17:34:50 +08:00
parent 3aedb06a6c
commit 06b67a7010
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 4 additions and 11 deletions

View File

@ -12,8 +12,8 @@ My NixOS config should look like the following:
[source, tree] [source, tree]
---- ----
nixos-config nixos-config
├── configs/
├── docs/ ├── docs/
├── hosts/
├── lib/ ├── lib/
├── modules/ ├── modules/
├── overlays/ ├── overlays/
@ -24,8 +24,6 @@ nixos-config
├── default.nix ├── default.nix
├── flake.lock ├── flake.lock
├── flake.nix ├── flake.nix
├── images.toml
├── users.toml
└── README.adoc └── README.adoc
---- ----
@ -40,9 +38,8 @@ Most of the said folders are related to a flake output attribute, see xref:../03
* `./docs/` contain the source code for the website. * `./docs/` contain the source code for the website.
Currently, it uses link:https://gohugo.io/[Hugo] for statically generating the website. Currently, it uses link:https://gohugo.io/[Hugo] for statically generating the website.
* `./hosts/` contain machine-specific configuration. * `./configs/` contain several configurations for several environments including NixOS, home-manager, and flake-parts.
This usually configures like the hardware setup, timezone, and users. Typically, these are anything that are configured by Nix modules.
Host configurations are also exported in the flakes in `outputs.nixosConfigurations`.
* `./modules/` contain my custom modules including NixOS and home-manager modules. * `./modules/` contain my custom modules including NixOS and home-manager modules.
For more information, see the github:{github-repo}[related documentation, path=./modules/README.adoc, rev=master]. For more information, see the github:{github-repo}[related documentation, path=./modules/README.adoc, rev=master].
@ -58,7 +55,3 @@ Setting this up can bring benefits outside of NixOS (unless you're interacting w
footnote:[Since packages brought from Nix shells can only work with the store, a container might be better at some situations.] footnote:[Since packages brought from Nix shells can only work with the store, a container might be better at some situations.]
* `./templates/` contains my custom templates handy for quickly initializing for various types of projects. * `./templates/` contains my custom templates handy for quickly initializing for various types of projects.
* `./users/` contains my github:nix-community/home-manager[opts=repo] configurations.
It is exported in the flakes at `outputs.homeConfigurations`.
For more information, see the github:{github-repo}[related documentation, path=./users/README.adoc, rev=master].

View File

@ -1,7 +1,7 @@
= Homepage = Homepage
Hey there! Hey there!
This is my NixOS configuration abomination documentation "book" called "foodogsquared's NixOS config" book or "f(a)Nc(y)" config book for short. This is my documentation for my abomination of a NixOS configuration called "foodogsquared's NixOS config" book or "f(a)Nc(y)" config book for short.
.This St. Nixolas's reindeer cosplay is made with a tight budget but it's functionally identical, right? .This St. Nixolas's reindeer cosplay is made with a tight budget but it's functionally identical, right?
image::./nix-snowflake-with-fds.svg[width=256px] image::./nix-snowflake-with-fds.svg[width=256px]