mirror of
https://codeberg.org/mhwombat/nix-book.git
synced 2025-12-27 00:34:58 +08:00
53 lines
1.4 KiB
Text
53 lines
1.4 KiB
Text
= Wombat's Book of Nix
|
|
{authors}
|
|
:doctype: book
|
|
:sectnums:
|
|
:toc: left
|
|
:toclevels: 4
|
|
// :source-highlighter: rouge
|
|
// :rouge-style: monokai
|
|
:source-highlighter: pygments
|
|
:pygments-style: default
|
|
:pygments-linenums-mode: table
|
|
:pygments-css: class
|
|
:!prewrap:
|
|
:icons: font
|
|
:title-logo-image: image::wombat.svg["wombat reclining against a lambda"]
|
|
:xrefstyle: full
|
|
|
|
image::wombat.svg["wombat reclining against a lambda"]
|
|
|
|
This book is available
|
|
https://mhwombat.codeberg.page/nix-book/[online]
|
|
and as a downloadable
|
|
https://codeberg.org/mhwombat/nix-book/raw/branch/pages/wombats-book-of-nix.pdf[PDF].
|
|
|
|
[preface]
|
|
== Acknowledgments
|
|
|
|
I would like to thank the patient people on the
|
|
https://discourse.nixos.org/[NixOS Discourse Forum]
|
|
who answered my many questions,
|
|
especially `cdepillabout`, `FedericoSchonborn`, `tejing` and `smkuehnhold`.
|
|
|
|
include::intro/main.adoc[leveloffset=+1]
|
|
|
|
include::nix-language/main.adoc[leveloffset=+1]
|
|
|
|
include::hello-flake/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::hello-flake-repo/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::flake-structure/main.adoc[leveloffset=+1]
|
|
|
|
include::generic-flake/main.adoc[leveloffset=+1]
|
|
|
|
include::hello-flake-return/main.adoc[leveloffset=+1]
|
|
|
|
include::modify-hello-flake/main-generated.adoc[leveloffset=+1]
|
|
|
|
include::new-flake/main.adoc[leveloffset=+1]
|
|
|
|
include::recipes/main.adoc[leveloffset=+1]
|
|
|
|
// TODO Acknowledge and provide links to nix pills, nix reference manual
|