mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
docs/site: update more after flake-parts restructuring
This commit is contained in:
parent
3aedb06a6c
commit
06b67a7010
@ -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].
|
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user