Commit Graph

63 Commits

Author SHA1 Message Date
Valentin Gagarin
b7f877679b docs: move blog to end of navigation
documentation users will be here primarily because of onboarding tutorials and
reference documentation.
2024-07-15 11:03:14 +02:00
Johannes Kirschbauer
d77f722769 Doc: write inventory documentation 2024-07-14 16:42:27 +02:00
Mic92
a3e2b76517 Merge branch 'main' into DavHau-dave 2024-07-09 09:33:11 +00:00
Johannes Kirschbauer
1aec155f15 Doc: add conceptual documentation 2024-07-06 17:22:47 +02:00
DavHau
79d6f8e893 Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
This reverts commit 71009f80d8.

workaround upstream bug: https://github.com/NixOS/nixpkgs/issues/324802
2024-07-05 19:29:01 +07:00
Jörg Thalheim
71009f80d8 Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
This reverts commit 18b64f2d0b.

The old configuration cannot be updated like this:

eve] error:
[eve]        … while calling the 'head' builtin
[eve]          at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/attrsets.nix:1575:11:
[eve]          1574|         || pred here (elemAt values 1) (head values) then
[eve]          1575|           head values
[eve]              |           ^
[eve]          1576|         else
[eve]
[eve]        … while evaluating the attribute 'value'
[eve]          at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/modules.nix:809:9:
[eve]           808|     in warnDeprecation opt //
[eve]           809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
[eve]              |         ^
[eve]           810|         inherit (res.defsFinal') highestPrio;
[eve]
[eve]        … while evaluating the option `system.build.toplevel':
[eve]
[eve]        … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/activation/top-level.nix':
[eve]
[eve]        … while evaluating the option `assertions':
[eve]
[eve]        … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/boot/systemd.nix':
[eve]
[eve]        … while evaluating the option `systemd.services':
[eve]
[eve]        … while evaluating definitions from `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/zerotier':
[eve]
[eve]        … while evaluating the option `clan.core.networking.zerotier.networkId':
[eve]
[eve]        (stack trace truncated; use '--show-trace' to show the full, detailed trace)
[eve]
[eve]        error: A definition for option `clan.core.networking.zerotier.networkId' is not of type `null or string'. Definition values:
[eve]        - In `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/networking.nix':
[eve]            {
[eve]              _type = "override";
[eve]              content = "267efd4a15b69623";
[eve]              priorit
2024-07-05 11:16:05 +02:00
DavHau
18b64f2d0b clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking} 2024-07-04 17:05:37 +07:00
Johannes Kirschbauer
e3f7fefa45 clanModules: init packages 2024-07-03 12:31:53 +02:00
Johannes Kirschbauer
8405b119a5 Fix frontmatter of module 2024-07-03 11:57:15 +02:00
Johannes Kirschbauer
cbb78ca1ae ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00
Johannes Kirschbauer
4bf862eb27 Docs: add inventory module docs 2024-06-25 12:23:29 +00:00
a-kenji
69e826fc17 cli: add command to list state
Add a subcommand to list configured state for a specific machine.

Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
clan-bot
18506310ff Merge pull request 'Expand backup and restore capabilities w.r.t. postgresql.' (#1582) from synapse into main 2024-06-10 13:24:08 +00:00
Johannes Kirschbauer
a4a9bf1318 API: include show into docs 2024-06-08 18:07:41 +02:00
Jörg Thalheim
4822fbc80e add postgresql backup hooks 2024-06-06 13:27:30 +02:00
a-kenji
a439233968 modules/syncthing-static-peers: init 2024-06-06 09:55:57 +02:00
a-kenji
95371d31bb borbackup-static: impl
Implements sane defaults implementing borgbackup

Fixes: #1551
2024-06-05 21:17:24 +00:00
Qubasa
da176909f2 docs: Add meta tags for link preview and fix js loading issue. 2024-06-01 22:19:37 +02:00
Qubasa
3090ce5e28 Change clan favicon to one without text 2024-05-30 21:59:48 +02:00
Johannes Kirschbauer
99fe8ef55f Docs: use offline fonts 2024-05-28 16:58:59 +02:00
Qubasa
5fd02a8c67 blog: Remove pictures. 2024-05-24 15:50:14 +02:00
a-kenji
b5626aae1e documentation: add keys 2024-05-24 13:46:05 +02:00
a-kenji
67ebc38b0b documenation: use monospace font for code blocks
Use monospace font for code blocks.

Fixes: #1337
2024-05-24 13:08:00 +02:00
a-kenji
b440ab3dba modules: init trusted-nix-cache module 2024-05-23 09:29:31 +02:00
a-kenji
f96427fb6f zerotier-static-peers: init module
Init zerotertier-static-peers module.
This module automatically configures the networkId.
It will automatically accept peers based on their zerotier-ips in the
clan flake.
2024-05-22 12:37:13 +02:00
clan-bot
c3be19f3cd Merge pull request 'clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.' (#1389) from Qubasa-main into main 2024-05-20 17:14:24 +00:00
Qubasa
5a804bc327 clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file. 2024-05-20 19:11:12 +02:00
a-kenji
29de5a9130 init: static-hosts module 2024-05-19 13:01:37 +02:00
Qubasa
69d1c792b0 Add bcachefs support. Fix clan flash docu. 2024-05-18 23:18:02 +02:00
Qubasa
f0bc96072d Change favicon. Add socials. Add RSS link. 2024-05-17 16:07:14 +02:00
Qubasa
4639cf70d9 Fix rss plugin warning 2024-05-16 20:39:39 +02:00
Qubasa
9f3c734b48 Working dark theme switcher 2024-05-16 19:32:05 +02:00
Qubasa
908f9af671 Migrated blog to mkdocs 2024-05-16 15:08:24 +02:00
Qubasa
ea31177f67 Fix doc build error 2024-05-14 15:41:15 +02:00
Qubasa
01fa7085de Renamed machines.md to deploy.md 2024-05-14 15:41:15 +02:00
a-kenji
e2616c7eaa docs: remove linenums from every code block
Remove linenums from every single code block.
Makes site considerably less busy and easier to read.
2024-05-14 11:32:30 +02:00
a-kenji
81b534f520 modules: init user-password
Init a user-password module, that allows setting the password for a
single user.

fixes #1351
2024-05-14 10:55:43 +02:00
Qubasa
37c72b8848 Reorder getting started documentation 2024-05-10 22:59:45 +02:00
Qubasa
a60978240c Fix template. Improve docu. Add disko as default imported module. 2024-05-10 15:39:46 +02:00
clan-bot
72c05a4ba4 Merge pull request 'hsjobeki-main' (#1332) from hsjobeki-main into main 2024-05-08 10:30:16 +00:00
Johannes Kirschbauer
bb41d0ebca docs: add faq page 2024-05-08 12:23:04 +02:00
clan-bot
30a82d0a2f Merge pull request 'clan-cli: add --json and --png flags to machine install' (#1320) from a-kenji-feat/clan-install-json into main 2024-05-07 12:52:21 +00:00
a-kenji
c7e662806f clan-cli: add --json and --png flags to machine install
Allow using `clan machines [machine] install` in conjunction with the
`--json` and `--png` flags.

Fixes #1180
2024-05-07 14:47:13 +02:00
Johannes Kirschbauer
d7f3b6a1e0 cli-docs: add automatic markdown cli docs 2024-05-07 13:26:33 +02:00
Qubasa
4baa36a40b Move vm clanModules to lib 2024-05-02 16:34:25 +02:00
Qubasa
142a6036fb Add description field to function-schema 2024-05-02 16:34:25 +02:00
Qubasa
edcc92c75b Add package function-schema and module-schema. Add check for module jsonschema. 2024-05-01 23:16:17 +02:00
Johannes Kirschbauer
3f8e1c85b6 docs: init c4 diagrams 2024-04-24 16:35:27 +02:00
Johannes Kirschbauer
bef1960c9b docs: split clan-core options into sub-pages 2024-04-17 09:39:40 +02:00
Johannes Kirschbauer
805fd18251 docs: generate api docs 2024-04-16 19:07:28 +02:00