1
0
forked from clan/clan-core
Commit Graph

59 Commits

Author SHA1 Message Date
4cde2d96be Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
This reverts commit 9778444706.

workaround upstream bug: https://github.com/NixOS/nixpkgs/issues/324802
2024-07-05 19:29:01 +07:00
9778444706 Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
This reverts commit afbd4a984d.

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
afbd4a984d clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking} 2024-07-04 17:05:37 +07:00
dc583ece4f
clanModules: init packages 2024-07-03 12:31:53 +02:00
fc31d1aae7
Fix frontmatter of module 2024-07-03 11:57:15 +02:00
9b0e2a87e8
ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00
712ed3f738 Docs: add inventory module docs 2024-06-25 12:23:29 +00:00
3bcaeda737 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
a1acf0b05d 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
8ff00fd8fe
API: include show into docs 2024-06-08 18:07:41 +02:00
6dec2a9222 add postgresql backup hooks 2024-06-06 13:27:30 +02:00
d25eaa48d0 modules/syncthing-static-peers: init 2024-06-06 09:55:57 +02:00
193d54153d borbackup-static: impl
Implements sane defaults implementing borgbackup

Fixes: #1551
2024-06-05 21:17:24 +00:00
55f4dcc460 docs: Add meta tags for link preview and fix js loading issue. 2024-06-01 22:19:37 +02:00
b18d7bfeac Change clan favicon to one without text 2024-05-30 21:59:48 +02:00
4befa80eb8
Docs: use offline fonts 2024-05-28 16:58:59 +02:00
083e30f468 blog: Remove pictures. 2024-05-24 15:50:14 +02:00
97928801f9 documentation: add keys 2024-05-24 13:46:05 +02:00
508a26d68d documenation: use monospace font for code blocks
Use monospace font for code blocks.

Fixes: #1337
2024-05-24 13:08:00 +02:00
3eba6e85cc modules: init trusted-nix-cache module 2024-05-23 09:29:31 +02:00
396caeff39 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
6ebfd29c87 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
c8456f7d68 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
e39d8cb909 init: static-hosts module 2024-05-19 13:01:37 +02:00
64a98281f0 Add bcachefs support. Fix clan flash docu. 2024-05-18 23:18:02 +02:00
f9b32cbd09 Change favicon. Add socials. Add RSS link. 2024-05-17 16:07:14 +02:00
473c236214 Fix rss plugin warning 2024-05-16 20:39:39 +02:00
f6efd11eae Working dark theme switcher 2024-05-16 19:32:05 +02:00
8762ee4420 Migrated blog to mkdocs 2024-05-16 15:08:24 +02:00
ac8162a08d Fix doc build error 2024-05-14 15:41:15 +02:00
1476619515 Renamed machines.md to deploy.md 2024-05-14 15:41:15 +02:00
59c558ffc6 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
cd0b360b49 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
86ae7cbbfb Reorder getting started documentation 2024-05-10 22:59:45 +02:00
82fa89b57e Fix template. Improve docu. Add disko as default imported module. 2024-05-10 15:39:46 +02:00
aad130166f Merge pull request 'hsjobeki-main' (#1332) from hsjobeki-main into main 2024-05-08 10:30:16 +00:00
2acd06c9fa
docs: add faq page 2024-05-08 12:23:04 +02:00
f2a3415e2c 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
2e821c4525 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
15dd4ea25f
cli-docs: add automatic markdown cli docs 2024-05-07 13:26:33 +02:00
ee552d3020 Move vm clanModules to lib 2024-05-02 16:34:25 +02:00
b95d95554a Add description field to function-schema 2024-05-02 16:34:25 +02:00
a48df5b993 Add package function-schema and module-schema. Add check for module jsonschema. 2024-05-01 23:16:17 +02:00
fc1bf17b9c
docs: init c4 diagrams 2024-04-24 16:35:27 +02:00
5e33a0b3b8
docs: split clan-core options into sub-pages 2024-04-17 09:39:40 +02:00
9a3f27ea08
docs: generate api docs 2024-04-16 19:07:28 +02:00
581b48b518
docs: improve flake-parts configuration 2024-04-16 12:02:44 +02:00
3a9c84cb45 docs: decompose configuration guide 2024-04-13 15:46:38 +00:00
babf7e3d12
docs: clean up directory structure 2024-04-13 14:48:26 +02:00
a9347f4ed9 Merge pull request 'docs: move hardware / cloud computers behind tab selection' (#1197) from hsjobeki-tutorials into main 2024-04-13 12:03:57 +00:00