Commit Graph

415 Commits

Author SHA1 Message Date
Johannes Kirschbauer
7b1325a232 ClanModules: add admin module 2024-08-26 18:33:47 +02:00
Qubasa
1a376ffc83 clanModules: Init heisenbridge matrix <-> IRC bridge 2024-08-26 16:59:53 +02:00
DavHau
61e1fd7f85 remove clanDir default
The default value for clanDir did not make sense, as it pointed to the directory of the module definition

Also, we should not have a default at this level as all.
2024-08-26 15:41:52 +02:00
Qubasa
ca60743b2b docs: Improve iwd, vaultwarden, dyndns, disk-encryption and installer documentation 2024-08-24 13:10:22 +02:00
Qubasa
3e2b7f95a4 clanModules: Add vaultwarden module. Add nginx module. Make matrix-synapse subdomain configurable 2024-08-23 18:15:48 +02:00
Jörg Thalheim
30bbb142e2 Merge remote-tracking branch 'origin/main' into rework-installation 2024-08-21 13:38:04 +02:00
Jörg Thalheim
3c04199447 Revert "Merge pull request 'clanModules: Init nginx module. matrix-synapse: don't assume domain names' (#1906) from Qubasa/clan-core:Qubasa-new-main into main"
This reverts commit 88d3223ac0, reversing
changes made to f8c20fcbe1.

Apparently this breaks assumptions about matrix: https://git.clan.lol/clan/clan-core/pulls/1906#issuecomment-13184
2024-08-21 10:03:13 +02:00
a-kenji
3c916fc4ad clanModules/mumble: prefer str instead of string 2024-08-20 15:15:19 +02:00
Qubasa
4bf31c2cf6 clanModules: Add acme secret prompt for nginx 2024-08-19 12:53:15 +02:00
Qubasa
e4821a33cb clanModules: Init vaultwarden, the bitwarden server 2024-08-19 12:00:35 +02:00
Qubasa
efd0a0f056 clanModules: Init nginx module. matrix-synapse: don't assume domain names 2024-08-19 12:00:35 +02:00
DavHau
57a19550a0 golem: add golem-provider clan module 2024-08-19 11:50:04 +02:00
a-kenji
f12c268110 clanModules: add garage module
The garage module sets up backups for metadata automatically and
generates keys needed for deployment automatically.

What is still needed in a distributed deployment is sharing of the
generated rpc keys with other garage instances.
2024-08-14 16:01:13 +02:00
Qubasa
50210708c5 clanModule: Extend dyndns support for most dns hosters. Improve security. 2024-08-12 22:27:54 +02:00
Qubasa
e3d67fe9e1 clanModule: Init dyndns module to update domains pointing to dynamic IPs 2024-08-11 18:49:42 +02:00
Qubasa
fb0ae0c22d clanModules: Fix iwd module 2024-08-09 22:17:46 +02:00
Qubasa
64afc0da53 docs: Fix missing nav link to iwd clan module 2024-08-07 16:04:46 +02:00
Qubasa
9d8d2bc61e clanModule: Init wifi iwd clan module, with which you can predefine wifi network credentials 2024-08-07 15:50:30 +02:00
a-kenji
86093c7150 mumble: remove traces 2024-08-06 11:53:26 +02:00
a-kenji
e37a6366d8 mumble: init clan-module
This adds the `mumble` clan-module.

This allows for voice chatting in a true peer-to-peer network.
Every machine that has the module enabled is a potential host and
client - every participant has the same role.

It doesn't matter who in the network is online - as long as one of the
machines is up, one server is up and people can start their voice chat.
2024-07-30 10:55:08 +02:00
Johannes Kirschbauer
a8886e9e2f Python Inventory classes: Auto-update 2024-07-24 10:37:19 +02:00
Jörg Thalheim
4025e87843 user-password: improve prompt message 2024-07-22 16:09:15 +02:00
Jörg Thalheim
32876a5d5d borgbackup: add exclude option 2024-07-21 22:58:34 +02:00
Jörg Thalheim
49a07fc50f also fix user-password with password-store 2024-07-21 21:18:38 +02:00
Jörg Thalheim
afffbec98b borgbackup: add exclude option 2024-07-21 19:08:26 +02:00
Jörg Thalheim
d59185bdf5 also fix user-password with password-store 2024-07-21 18:21:37 +02:00
Jörg Thalheim
16d25ab6e8 root-password: fix password-store support 2024-07-21 17:59:11 +02:00
Johannes Kirschbauer
fbe27bfa0a Classgen: add mapped keys and more stuff 2024-07-18 21:58:36 +02:00
Jörg Thalheim
842748cc17 borgbackup/server: warning if a machine does not have a secret generated yet. 2024-07-17 16:00:07 +02:00
clan-bot
d5df368cf6 Merge pull request 'sshd: remove cve workaround again' (#1738) from Mic92-debug-facts into main 2024-07-13 06:24:08 +00:00
Jörg Thalheim
2e1ed9946f sshd: remove cve workaround again 2024-07-13 08:19:09 +02:00
Johannes Kirschbauer
fe99b79c63 UI: improve open clan from directory & list machines 2024-07-10 11:08:03 +02:00
Mic92
a3e2b76517 Merge branch 'main' into DavHau-dave 2024-07-09 09:33:11 +00:00
Jörg Thalheim
ed93140b27 matrix-synapse: remove obsolete patches 2024-07-08 15:59:54 +02:00
a-kenji
c4365c22a7 zerotier-static-peers: add external devices
Allow the `zerotier-auto-accept` service to add external devices through
their respective `zerotierID`, or their `zerotierIP` in a stateless way.

This is useful to either add mobile phones, that can't be managed
through clan yet, or to add devices of other peoples clans, to connect
them together.
2024-07-08 07:40:09 +00: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
DavHau
97bc973969 reference docs: add missing description fields and enforce it from now on 2024-07-04 13:34:55 +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
e1fd63bca2 clanModules: init single disk 2024-07-03 11:05:00 +02:00
a-kenji
d44c28b8e4 zerotier-static: halalify all packages 2024-07-02 13:14:26 +02:00
a-kenji
3aec89806e zerotier-peers: use halalified package 2024-07-02 10:24:07 +00:00
Johannes Kirschbauer
2996ab5941 api: clan Modules add readme content 2024-07-02 11:45:48 +02:00
Jörg Thalheim
118becc744 sshd: workaround for CVE-2024-6387 2024-07-01 14:01:40 +02:00
Johannes Kirschbauer
17532e999f API: add clanModules list and details test 2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
cbb78ca1ae ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00
Johannes Kirschbauer
25024aba95 Add settings.json back 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4bf862eb27 Docs: add inventory module docs 2024-06-25 12:23:29 +00:00