Commit Graph

77 Commits

Author SHA1 Message Date
pinpox
35e5f4a42a Remove clanModules
- Removes clanModules in favor of the new clanServices
- Adds a warning and link to the migration guide
2025-08-14 12:02:40 +02:00
hsjobeki
341f444fa0 revert bd3861c580
revert Merge pull request 'Remove clanModules/*' (#4202) from remove-modules into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202

See: https://git.clan.lol/clan/clan-core/issues/4365

Not all modules are migrated.
If they are not migrated, we need to write migration docs and please display the link to the migration docs
2025-07-15 17:51:36 +00:00
pinpox
8caaaa5b8b wip 2025-07-15 13:17:34 +02:00
pinpox
0e53499f40 Remove clanModules 2025-07-15 11:53:32 +02:00
Johannes Kirschbauer
8f6f06bef3 Revert "Merge pull request 'Make state-version generation an clan option' (#4056) from state-version-option into main"
This reverts commit 8a7b6d13b5, reversing
changes made to 7a4eeb5b16.
2025-07-01 18:15:11 +02:00
pinpox
ef3c22f240 Remove state-version module and service 2025-06-30 12:54:29 +02:00
pinpox
d88ac429cb Make machine ID a option 2025-06-24 10:42:03 +02:00
pinpox
b27046c604 Remove yagna package and golem-provider 2025-06-04 12:55:46 +02:00
pinpox
030519413d Add warning for deprecated admin module 2025-05-14 12:11:41 +02:00
pinpox
cea0d659c3 Remove unnecessary file 2025-05-12 15:54:50 +02:00
Pablo Ovelleiro Corral
8ed186ce55 data-mesher: init module
Co-authored-by: Brian McGee <brian@bmcgee.ie>
2025-03-29 13:49:41 +00:00
Pablo Ovelleiro Corral
66332c1ae6 Add auto-upgrade module 2025-03-04 10:09:37 +01:00
a-kenji
42e0928b55 clanModules/mycelium: init mycelium
This adds a clanModule for `mycelium`.
`Mycelium` is an IPv6 overlay network written in Rust.
Each node that joins the overlay network will receive an overlay network IP in the 400::/7 range.

An example configuration might look like this in the inventory:

```nix
mycelium.default = {
  roles.peer.machines = [
    "berlin"
    "munich"
  ];
  config = {
    topLevelDomain = "m";
    openFirewall = true;
    addHostedPublicNodes = true;
  };
};
```

This will add the machines named `berlin` and `munich` to the `mycelium` vpn.
And will also set the toplevel domain of the mycelium vpn to `m`, meaning the
machines are now reachable via `berlin.m` and `munich.m`.
2025-01-22 11:56:10 +00:00
DavHau
5ce72dd261 tests: reduce unnecessary rebuilds of several tests
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.

This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00
DavHau
32332e8460 wifi: init as experimental module 2024-11-28 15:49:23 +07:00
a-kenji
2389e3f73e clanModules: Fix ordering 2024-11-19 14:14:31 +01:00
a-kenji
4b4b3826c8 clanModules/importer: Init importer inventory module
Initialize the `importer` inventory module.
It is a power user module that allows for convenient, flexible,
structured imports for hosts.

It exposes the `extraModules` functionality of the inventory,
without any added configuration.

Closes: #2356
2024-11-19 14:00:57 +01:00
a-kenji
60d7c5d82c add clanModule for zerotier inventory 2024-11-08 14:10:23 +00:00
Qubasa
60397e0ca4 clanCore: init machine_id_v3 2024-09-13 12:17:49 +02:00
a-kenji
56ce3d625c clanModules/state-version: init state-version
This adds a clanModule that will initialize the `system.stateVersion`
upon deploying the machine for the first time.

If the machine is completely reinstalled, then the state version might be
regenerated. But care should be taken if rebuilding from backups.
2024-09-12 15:47:30 +02:00
a-kenji
b13ed922b1 Revert "Merge pull request 'machine_id_v2' (#2052) from Qubasa/clan-core:machine_id_v2 into main"
This reverts commit 22a11abfe5, reversing
changes made to 208b71ac0e.
2024-09-10 14:01:12 +02:00
Qubasa
5c975a5eef clanCore: init machineId and diskId v2 2024-09-09 15:51:31 +02:00
Jörg Thalheim
535a39cff3 Revert "nixosModules,pkgs: remove installer. clanModules: init installer module"
This reverts commit 1090e36cf1.
2024-09-03 07:04:34 +02:00
Qubasa
1090e36cf1 nixosModules,pkgs: remove installer. clanModules: init installer module 2024-09-03 00:25:16 +02:00
clan-bot
d0e5451155 Merge pull request 'ClanModule: init Admin module' (#1978) from hsjobeki/clan-core:hsjobeki-main into main 2024-08-26 16:57:21 +00:00
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
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
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
Qubasa
e4821a33cb clanModules: Init vaultwarden, the bitwarden server 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
e3d67fe9e1 clanModule: Init dyndns module to update domains pointing to dynamic IPs 2024-08-11 18:49:42 +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
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
e3f7fefa45 clanModules: init packages 2024-07-03 12:31:53 +02:00
Johannes Kirschbauer
e1fd63bca2 clanModules: init single disk 2024-07-03 11:05:00 +02:00
Johannes Kirschbauer
cbb78ca1ae ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +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
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
42f1c52eaa Merge pull request 'init: static-hosts module' (#1385) from a-kenji-init/statix-hosts-module into main 2024-05-19 11:09:54 +00:00
a-kenji
e5f9cb0842 user-password: fix module path
Fixes #1381
2024-05-19 13:03:47 +02:00
a-kenji
29de5a9130 init: static-hosts module 2024-05-19 13:01:37 +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
a60978240c Fix template. Improve docu. Add disko as default imported module. 2024-05-10 15:39:46 +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