Commit Graph

91 Commits

Author SHA1 Message Date
Jörg Thalheim
7515d54d9e introduce flake parts module for clan nixos tests 2025-06-17 18:38:52 +02:00
Jörg Thalheim
cb04ba7285 garage: make test more reliable 2025-06-17 16:10:38 +02:00
a-kenji
73d626343a clanServices/garage: Enable garage by default 2025-06-17 12:06:41 +02:00
pinpox
6fe4dd2a32 Merge pull request 'Migrate state-version to clanServices' (#3947) from migrate-state-version into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3947
2025-06-16 13:29:20 +00:00
pinpox
faa1bf21e0 Migrate packages module to clanServices 2025-06-16 12:22:24 +02:00
kenji
8435c71da7 Merge pull request 'zerotier: Add a default to the allowedIps controller setting' (#3959) from kenji/zerotier: Add a default to the allowedIps controller setting into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3959
2025-06-16 10:07:11 +00:00
pinpox
d9b3587ed3 migrate state-version 2025-06-16 11:28:35 +02:00
pinpox
84f7f6e277 Merge pull request 'Migrate trusted-nix-caches to clanServices' (#3949) from migrate-nix-caches into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3949
2025-06-16 09:03:08 +00:00
Michael Hoang
46681fa7d7 clanServices/emergency-access: use more descriptive instance name 2025-06-15 13:27:40 +07:00
kenji
974cf0af82 Merge pull request 'clanServices/zerotier: Add eval tests' (#3968) from kenji/clanServices/zerotier: Add eval tests into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3968
2025-06-13 13:21:20 +00:00
a-kenji
a9d662d812 clanServices/zerotier: Add eval tests
Add eval tests to the zerotier clanService module.

The vm module is a stub that acts as an api for the `generate-test-vars`
script, as that currently only works with a vm, not with an eval test.

This checks, if all the peers pick up their respective configuration
correctly. Without running the service itself.
2025-06-13 14:58:27 +02:00
kenji
caefaaf735 Merge pull request 'emergency-access: Don't deploy plaintext passwords' (#3966) from kenji/emergency-access: Don't deploy plaintext passwords into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3966
Reviewed-by: Michael Hoang <enzime@noreply.git.clan.lol>
2025-06-13 11:50:00 +00:00
a-kenji
4db52a2bc0 emergency-access: Don't deploy plaintext passwords
Don't deploy the plaintext emergency password to the target machine.
It doesn't seem to be used anywhere.
2025-06-13 13:30:59 +02:00
a-kenji
e422237342 emergency-access: Use default instead of mylounge instance name
The mylounge instance name seems confusing.
2025-06-13 13:26:19 +02:00
a-kenji
25a0b15053 zerotier: Add a default to the allowedIps controller setting 2025-06-13 11:48:58 +02:00
Michael Hoang
ebd4970947 emergency-access: init service 2025-06-13 14:21:01 +07:00
pinpox
56fef67fd5 migrate trusted-nix-caches 2025-06-12 14:01:51 +02:00
pinpox
39a8374dee migrate clanmodules/{user,root}-password to clanServices/users
Move the functionality of both modules into a new clanService.
root-password was previously just a special case of user-password. This
migrates it into a deduplicated clan service and adds checks
2025-06-12 09:04:26 +02:00
pinpox
774c3ff5dc Merge pull request 'Migrate sshd to clanServices' (#3912) from migrate-sshd into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3912
Reviewed-by: kenji <aks.kenji@protonmail.com>
2025-06-11 16:29:43 +00:00
pinpox
c5341837b4 Migrate sshd to clanServices
- migrate service
- add deprecation notice to old module
- add check
- update docs
2025-06-11 15:43:51 +02:00
a-kenji
316ec8c526 borgbackup: Move tests close to service 2025-06-11 13:47:29 +02:00
a-kenji
025dd0f9b3 clanServices: Move ergochat test to appropriate location
Move the ergochat clanService test to the ergochat clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
a-kenji
7fb182d7be clanServices: Move heisenbridge test to appropriate location
Move the heisenbridge clanService test to the heisenbridge clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
a-kenji
95acdfa4f8 clanServices: Move deltachat test to appropriate location
Move the deltachat clanService test to the deltachat clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
kenji
baeefc8ba1 Merge pull request 'clanServices: Move mycelium test to appropriate location' (#3902) from ke-move-mycelium-check into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3902
2025-06-09 12:04:39 +00:00
kenji
a82244fc29 Merge pull request 'clanServices: Move admin test to appropriate location' (#3905) from ke-move-admin-check into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3905
2025-06-09 11:30:43 +00:00
a-kenji
147cb81ba2 clanServices: Move mycelium test to appropriate location
Move the mycelium clanService test to the mycelium clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 13:17:36 +02:00
a-kenji
8e2f308cc4 clanServices: Move admin test to appropriate location
Move the admin clanService test to the admin clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 13:01:48 +02:00
kenji
8f1a80c778 Merge pull request 'clanServices: Move garage test to appropriate location' (#3901) from ke-move-garage-check into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3901
2025-06-09 10:55:44 +00:00
a-kenji
dd85bcda11 clanServices: Move localsend test to appropriate location
Move the localsend clanService test to the localsend clan service.
2025-06-09 12:38:39 +02:00
a-kenji
fef0225c74 clanServices: Move garage test to appropriate location #3900
Move the garage clanService test to the garage clan service.
2025-06-09 12:37:49 +02:00
lassulus
8ce860f0d3 Revert "clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser"
This reverts commit b1ef5f00bf.
2025-06-09 11:28:15 +02:00
Qubasa
b1ef5f00bf clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser 2025-06-07 00:51:24 +02:00
pinpox
cda2d216c6 Expose all clanServices/<subfolder>/flake-module.nix 2025-06-05 20:28:55 +02:00
pinpox
9663b68eae Expose importer module 2025-06-05 19:57:19 +02:00
a-kenji
e2f8266390 zerotier: Allow the controller to accept external Ips
Allow the controller to accept external zerotier Ips into the network
through declarative settings.

Closes:	#3787
2025-06-05 16:53:46 +00:00
pinpox
5b2f77e06c fix manifest name 2025-06-05 18:37:15 +02:00
pinpox
9bf0d133c8 Add readme for clanServices/importer 2025-06-05 17:49:22 +02:00
pinpox
7f6abbd87d migrate importer module 2025-06-05 17:49:22 +02:00
pinpox
4c42af872b Open port for localsend 2025-06-05 17:19:45 +02:00
a-kenji
be86c31d42 zerotier: Emphasize that moons are optional 2025-06-05 15:56:05 +02:00
kenji
e9bfc562b6 Merge pull request 'zerotier: Add a usage example to the documentation' (#3867) from kenji/clan-core:ke-zerotier-documentation into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3867
2025-06-05 13:47:25 +00:00
a-kenji
ee0891f8f0 zerotier: Add a usage example to the documentation 2025-06-05 15:28:01 +02:00
pinpox
cf4ac219b3 Fix manifest.name 2025-06-05 15:14:15 +02:00
pinpox
fed5613874 Add README 2025-06-05 14:54:27 +02:00
pinpox
38dd90bc62 Migrate localsend to clanServices 2025-06-05 12:49:51 +02:00
a-kenji
41c7a99b6b zerotier: Simplify endpoint configuration for moons 2025-06-04 16:46:39 +02:00
a-kenji
37e473e4ca zerotier: Get settings from the instance 2025-06-04 13:17:46 +00:00
pinpox
8c0107481e Migrate mycelium from clanModule to clanService 2025-06-04 14:10:32 +02:00
kenji
8a9843e7ca Merge pull request 'zerotier: Migrate from clanModule to clanServices' (#3820) from kenji/clan-core:ke-migrate-clan-module-zerotier into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3820
2025-06-04 10:37:35 +00:00