From 87dc63c0d658a53e5a6274fb1afdc08786041ea8 Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Thu, 22 Jul 2021 12:23:32 +0200 Subject: [PATCH 1/2] Add mdbook structure --- docs/.gitignore | 1 + docs/README.md | 1 + docs/book.toml | 6 + docs/index.html | 205 +++++++++++++++++++++++++++++++++ docs/src/SUMMARY.md | 23 ++++ docs/src/add_host.md | 1 + docs/src/backup.md | 1 + docs/src/cache.md | 1 + docs/src/chapter_1.md | 1 + docs/src/deployment.md | 1 + docs/src/documentation.md | 1 + docs/src/home_manager.md | 1 + docs/src/hosts.md | 1 + docs/src/modules.md | 1 + docs/src/monitoring.md | 1 + docs/src/network.md | 1 + docs/src/overlay.md | 1 + docs/src/secrets.md | 1 + docs/src/structure.md | 1 + docs/src/structure/hosts.md | 1 + docs/src/structure/modules.md | 1 + docs/src/structure/overlay.md | 1 + docs/src/structure/users.md | 1 + docs/src/tasks/add_host.md | 1 + docs/src/tasks/add_package.md | 1 + docs/src/tasks/main.md | 1 + docs/src/users.md | 1 + docs/src/users/home_manager.md | 1 + docs/src/users/keys.md | 1 + docs/src/users/main.md | 1 + 30 files changed, 261 insertions(+) create mode 100644 docs/.gitignore create mode 100644 docs/README.md create mode 100644 docs/book.toml create mode 100644 docs/index.html create mode 100644 docs/src/SUMMARY.md create mode 100644 docs/src/add_host.md create mode 100644 docs/src/backup.md create mode 100644 docs/src/cache.md create mode 100644 docs/src/chapter_1.md create mode 100644 docs/src/deployment.md create mode 100644 docs/src/documentation.md create mode 100644 docs/src/home_manager.md create mode 100644 docs/src/hosts.md create mode 100644 docs/src/modules.md create mode 100644 docs/src/monitoring.md create mode 100644 docs/src/network.md create mode 100644 docs/src/overlay.md create mode 100644 docs/src/secrets.md create mode 100644 docs/src/structure.md create mode 100644 docs/src/structure/hosts.md create mode 100644 docs/src/structure/modules.md create mode 100644 docs/src/structure/overlay.md create mode 100644 docs/src/structure/users.md create mode 100644 docs/src/tasks/add_host.md create mode 100644 docs/src/tasks/add_package.md create mode 100644 docs/src/tasks/main.md create mode 100644 docs/src/users.md create mode 100644 docs/src/users/home_manager.md create mode 100644 docs/src/users/keys.md create mode 100644 docs/src/users/main.md diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 00000000..7585238e --- /dev/null +++ b/docs/.gitignore @@ -0,0 +1 @@ +book diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000..dd6ddbec --- /dev/null +++ b/docs/README.md @@ -0,0 +1 @@ +# A Prefix Chapter diff --git a/docs/book.toml b/docs/book.toml new file mode 100644 index 00000000..9d32e5f4 --- /dev/null +++ b/docs/book.toml @@ -0,0 +1,6 @@ +[book] +authors = ["Pablo Ovelleiro Corral"] +language = "en" +multilingual = false +src = "src" +title = "NixOS Configuration" diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..7d515263 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,205 @@ + + + + + + A Prefix Chapter - NixOS Configuration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + +
+
+

A Prefix Chapter

+ +
+ + +
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md new file mode 100644 index 00000000..2b6b8c0c --- /dev/null +++ b/docs/src/SUMMARY.md @@ -0,0 +1,23 @@ +# Summary + + +[Readme](../../README.md) + +- [Repository Structure](./structure.md) + - [Hosts](./structure/hosts.md) + - [Modules](./structure/modules.md) + - [Users Profiles](./structure/users.md) + - [Custom Packages](./structure/overlay.md) +- [Deployment](./deployment.md) +- [Secrets](./secrets.md) +- [Networking](./network.md) +- [User Configuration](./users/main.md) + - [Home-Manager](./users/home_manager.md) + - [Keys](./users/keys.md) +- [Monitoring](./monitoring.md) +- [Backup Stategy](./backup.md) +- [Cache](./cache.md) +- [Common Tasks](./tasks/main.md) + - [Adding Hosts](./tasks/add_host.md) + - [Adding/Modifying Packages](./tasks/add_package.md) +- [Documentation](./documentation.md) diff --git a/docs/src/add_host.md b/docs/src/add_host.md new file mode 100644 index 00000000..d17c62b0 --- /dev/null +++ b/docs/src/add_host.md @@ -0,0 +1 @@ +# Adding Hosts diff --git a/docs/src/backup.md b/docs/src/backup.md new file mode 100644 index 00000000..65f8b755 --- /dev/null +++ b/docs/src/backup.md @@ -0,0 +1 @@ +# Backup Stategy diff --git a/docs/src/cache.md b/docs/src/cache.md new file mode 100644 index 00000000..d423f065 --- /dev/null +++ b/docs/src/cache.md @@ -0,0 +1 @@ +# Cache diff --git a/docs/src/chapter_1.md b/docs/src/chapter_1.md new file mode 100644 index 00000000..b743fda3 --- /dev/null +++ b/docs/src/chapter_1.md @@ -0,0 +1 @@ +# Chapter 1 diff --git a/docs/src/deployment.md b/docs/src/deployment.md new file mode 100644 index 00000000..d36c65e5 --- /dev/null +++ b/docs/src/deployment.md @@ -0,0 +1 @@ +# Deployment diff --git a/docs/src/documentation.md b/docs/src/documentation.md new file mode 100644 index 00000000..25f8d456 --- /dev/null +++ b/docs/src/documentation.md @@ -0,0 +1 @@ +# Documentation diff --git a/docs/src/home_manager.md b/docs/src/home_manager.md new file mode 100644 index 00000000..53df9f9d --- /dev/null +++ b/docs/src/home_manager.md @@ -0,0 +1 @@ +# Home-Manager diff --git a/docs/src/hosts.md b/docs/src/hosts.md new file mode 100644 index 00000000..b00803fc --- /dev/null +++ b/docs/src/hosts.md @@ -0,0 +1 @@ +# Hosts diff --git a/docs/src/modules.md b/docs/src/modules.md new file mode 100644 index 00000000..0b6e7d49 --- /dev/null +++ b/docs/src/modules.md @@ -0,0 +1 @@ +# Other Modules diff --git a/docs/src/monitoring.md b/docs/src/monitoring.md new file mode 100644 index 00000000..31b5a704 --- /dev/null +++ b/docs/src/monitoring.md @@ -0,0 +1 @@ +# Monitoring diff --git a/docs/src/network.md b/docs/src/network.md new file mode 100644 index 00000000..048579a4 --- /dev/null +++ b/docs/src/network.md @@ -0,0 +1 @@ +# Networking diff --git a/docs/src/overlay.md b/docs/src/overlay.md new file mode 100644 index 00000000..d3a0d72e --- /dev/null +++ b/docs/src/overlay.md @@ -0,0 +1 @@ +# Custom Packages diff --git a/docs/src/secrets.md b/docs/src/secrets.md new file mode 100644 index 00000000..3e96db43 --- /dev/null +++ b/docs/src/secrets.md @@ -0,0 +1 @@ +# Secrets diff --git a/docs/src/structure.md b/docs/src/structure.md new file mode 100644 index 00000000..6ff2abe2 --- /dev/null +++ b/docs/src/structure.md @@ -0,0 +1 @@ +# Structure diff --git a/docs/src/structure/hosts.md b/docs/src/structure/hosts.md new file mode 100644 index 00000000..b00803fc --- /dev/null +++ b/docs/src/structure/hosts.md @@ -0,0 +1 @@ +# Hosts diff --git a/docs/src/structure/modules.md b/docs/src/structure/modules.md new file mode 100644 index 00000000..a55ecc05 --- /dev/null +++ b/docs/src/structure/modules.md @@ -0,0 +1 @@ +# Modules diff --git a/docs/src/structure/overlay.md b/docs/src/structure/overlay.md new file mode 100644 index 00000000..d3a0d72e --- /dev/null +++ b/docs/src/structure/overlay.md @@ -0,0 +1 @@ +# Custom Packages diff --git a/docs/src/structure/users.md b/docs/src/structure/users.md new file mode 100644 index 00000000..4a21152a --- /dev/null +++ b/docs/src/structure/users.md @@ -0,0 +1 @@ +# Users Profiles diff --git a/docs/src/tasks/add_host.md b/docs/src/tasks/add_host.md new file mode 100644 index 00000000..d17c62b0 --- /dev/null +++ b/docs/src/tasks/add_host.md @@ -0,0 +1 @@ +# Adding Hosts diff --git a/docs/src/tasks/add_package.md b/docs/src/tasks/add_package.md new file mode 100644 index 00000000..fc0f7fca --- /dev/null +++ b/docs/src/tasks/add_package.md @@ -0,0 +1 @@ +# Adding/Modifying Packages diff --git a/docs/src/tasks/main.md b/docs/src/tasks/main.md new file mode 100644 index 00000000..72b34f39 --- /dev/null +++ b/docs/src/tasks/main.md @@ -0,0 +1 @@ +# Common Tasks diff --git a/docs/src/users.md b/docs/src/users.md new file mode 100644 index 00000000..76e7c236 --- /dev/null +++ b/docs/src/users.md @@ -0,0 +1 @@ +# Users diff --git a/docs/src/users/home_manager.md b/docs/src/users/home_manager.md new file mode 100644 index 00000000..53df9f9d --- /dev/null +++ b/docs/src/users/home_manager.md @@ -0,0 +1 @@ +# Home-Manager diff --git a/docs/src/users/keys.md b/docs/src/users/keys.md new file mode 100644 index 00000000..e4087a56 --- /dev/null +++ b/docs/src/users/keys.md @@ -0,0 +1 @@ +# Keys diff --git a/docs/src/users/main.md b/docs/src/users/main.md new file mode 100644 index 00000000..7d6b613e --- /dev/null +++ b/docs/src/users/main.md @@ -0,0 +1 @@ +# User Configuration From 18510f8a15f45316a9ca46d8b064e2e7f943cdef Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Sun, 25 Jul 2021 15:04:31 +0200 Subject: [PATCH 2/2] Add backup chapters --- docs/src/SUMMARY.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index 2b6b8c0c..01c9d295 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -1,6 +1,5 @@ # Summary - [Readme](../../README.md) - [Repository Structure](./structure.md) @@ -16,6 +15,9 @@ - [Keys](./users/keys.md) - [Monitoring](./monitoring.md) - [Backup Stategy](./backup.md) + - [Initialize Repository](./backup/init_repo.md) + - [Includes and Excludes](./backup/paths.md) + - [Monitoring Reports](./backup/reports.md) - [Cache](./cache.md) - [Common Tasks](./tasks/main.md) - [Adding Hosts](./tasks/add_host.md)