1
0
forked from clan/clan-core
Commit Graph

72 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
d27e474b66 drop duplicate empty template 2024-07-02 10:41:55 +02:00
26c655ff3c Add settings.json back 2024-06-25 12:23:29 +00:00
e6c78054c4 Template: make inventory disabled by default 2024-06-25 12:23:29 +00:00
7f674e6f63 Remove useless settings.json 2024-06-25 12:23:29 +00:00
6378a96b4d Template: use inventory 2024-06-25 12:23:29 +00:00
39f74c0f52 fix: remove IFD in nix flake show 2024-06-17 15:06:25 +07:00
43e8804eb4
Docs: update machine hardware config instructions 2024-06-15 22:27:46 +02: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
e7995ad344 templates: add minimal clan flake template for (G)UI 2024-06-08 17:00:18 -07:00
d6a9f6d3f9 change clan url to gitea archive url 2024-06-06 11:11:48 +02:00
133f2b705f clan-core: add template to impure tests 2024-05-31 16:26:46 +00:00
83fe58e003 clan-core: add clan meta for ui usage 2024-05-31 16:26:46 +00:00
c0a54f539a consistent rename cLAN -> Clan 2024-05-27 13:58:32 +00:00
7aa85d8aaf documentation: remove references to Icons for introductory material
The icons are not yet used in this path.
This is unneccessary overhead for new users, with no payoff yet.
2024-05-21 11:16:12 +02: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
cd915e171f template: Throw error on missing ssh pub key 2024-05-14 18:29:04 +02:00
8288048682 Renamed machines.md to deploy.md 2024-05-14 15:41:15 +02:00
d574faf253 Heavily improve documentation and flake template 2024-05-14 15:41:15 +02:00
81522c96e5 Fix missing efi and x64 support in template 2024-05-14 15:41:15 +02:00
82fa89b57e Fix template. Improve docu. Add disko as default imported module. 2024-05-10 15:39:46 +02:00
23c9291912 template: fix disko devices 2024-05-07 22:46:15 +02:00
b95d95554a Add description field to function-schema 2024-05-02 16:34:25 +02:00
e0f56c3c6b
template: remove invalid enable option for zerotier 2024-04-30 19:37:03 +02:00
56fad0fd4a
template: use disko module direcly 2024-04-30 19:16:13 +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
b2a1f8571c
format 2024-04-13 16:29:24 +02:00
d021b2fb34
template: remove system 2024-04-13 16:00:01 +02:00
1978aae39f
docs: improve template 2024-04-13 15:53:45 +02:00
996fdd6c9c
templates: makes template working 2024-04-10 12:28:41 +02:00
c4c843ba18 docs: improve tutorials 2024-04-10 09:14:03 +00:00
83346eeff5 template: Fixed incorrect nix code 2024-04-07 15:59:33 +02:00
6d8d211968 Improve documentation 2024-04-06 12:34:49 +02:00
a520116584 Improve documentation 2024-04-06 11:54:34 +02:00
1fc4739ee3 improve starter template 2024-04-05 13:08:32 +02:00
e296a3019d re-format with nixfmt 2024-03-17 19:48:49 +01:00
f4e7828725 switch flake to main branch again 2023-10-31 13:01:16 +01:00
26bfb793b1 Added ref to Qubasa-main in template/new-clan/flake.nix 2023-10-27 19:20:17 +02:00
a71584d9d2 Added clanName argument to clan-core.lib.builClan 2023-10-27 19:20:17 +02:00
56bcd0cf0b template new-clan: set nixosConfigurations and clanInternal 2023-09-21 17:25:32 +02:00
efce138b24 template: do not rely on flake registry for nixpkgs
otherwise we end up downloading nixpkgs twice.
2023-09-03 15:36:00 +02:00
40ce518b7e template/buildClan: use self as directory
paths somehow don't end up in the store for some reason, which breaks sops-nix
2023-09-03 15:35:14 +02:00
414033392e new-clan: update template and add test 2023-09-02 16:12:37 +02:00
e5db26d4b6 set default template 2023-08-30 13:28:21 +02:00
a4e182debf clan template: reduce autogenerate code to a minimum 2023-08-29 13:54:06 +00:00
8ca8816d71 new-clan: drop unused import code 2023-08-29 14:15:45 +02:00
7928e953fa checks-integration: init 2023-08-27 00:24:19 +02:00