a-kenji
2f0ba0782a
clanServices/zerotier: Make moon configuration optional
...
Make moon configuration optional. Before the `attrNames` evaluated the
attributes eagerly, which in practice meant that you had to set a moon,
if there was a controller configured, which is not on purpose.
2025-07-21 20:43:25 +02:00
Qubasa
ff65dfc883
clanServices: change tor service to have "client" and "server" roles instead of just "default"
...
also improve error message when user forgot to update machine in clan
networking command
2025-07-21 14:25:01 +07:00
Qubasa
4b5273fbc1
clanServices: Fix tor service not exposing SOCKS port
2025-07-21 12:40:49 +07:00
Guilhem Saurel
158b98ee05
clanServices/wifi: fix for multiple instances
...
Without this, `nix build .#checks.x86_64-linux.wifi` fails with:
```
error: The option `nodes.first.systemd.services.NetworkManager-setup-secrets.serviceConfig.ExecStart' has conflicting definition values:
- In `/nix/store/x0…45-source/clanServices/wifi/default.nix, via option mappedServices."self-@clan/wifi".roles.default.perInstance, via option nixosModule': <derivation wifi-secrets>
- In `/nix/store/x0…45-source/clanServices/wifi/default.nix, via option mappedServices."self-@clan/wifi".roles.default.perInstance, via option nixosModule': <derivation wifi-secrets>
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
```
2025-07-17 23:30:50 +02:00
Guilhem Saurel
14d367e50f
clanServices/wifi: update test with a second instance
2025-07-17 23:30:47 +02:00
lassulus
60768cc537
Add networking module
...
This adds a (for now hidden) clan network command that exposes list,
ping, overview subcommands to get informations about configured
networks.
ClanServices can now use the exports to define network specific
information.
This is not the complete feature yet, as we are lacking more tests and
documentation, but merging this now makes it easier to iterate.
2025-07-17 15:23:08 +02:00
Qubasa
70c1648caf
clanServices: users -> remove isNormalUser option, set automatically
...
nix fmt
2025-07-15 17:21:52 +07:00
pinpox
939f724878
Remove clanModules dependencies from admin service
2025-07-14 10:26:35 +02:00
Michael Hoang
4ec435d2fa
users: fix eval when used to manage root
2025-07-13 12:30:16 +10:00
Johannes Kirschbauer
bd833ae2ad
Users: add option for regularUser
2025-07-12 13:44:16 +02:00
Johannes Kirschbauer
b47c85fdaa
Modules/users: add isNormalUser true
...
NormalUsers get:
- Home directory
- Can login
This is expected for users created through this module. We can make it configurable if the use arises
2025-07-11 16:32:16 +02:00
hsjobeki
f7671c8f0b
Merge pull request 'templates/flake-parts: remove importing clanModules' ( #4300 ) from templates-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4300
2025-07-11 13:53:37 +00:00
Johannes Kirschbauer
e5c9fbb16a
modules/user: improce description, drop default groups
2025-07-11 14:35:28 +02:00
Johannes Kirschbauer
3696994941
modules/user: add extraGroups setting with default
2025-07-11 09:13:59 +02:00
Johannes Kirschbauer
c56bb3c37f
docs: fix user module prompt description
2025-07-11 08:46:21 +02:00
pinpox
2d7ee965b4
Add example for data-mesher service usage
2025-07-10 12:54:04 +02:00
pinpox
84b23489f7
Migrate data-mesher to clan service
2025-07-10 12:30:29 +02:00
Michael Hoang
957598e449
docs: set manifest.readme for services to include README in the docs
2025-07-10 12:55:27 +10:00
Jörg Thalheim
833e872ccf
don't rebuild eval tests on each ci run
2025-07-07 20:05:45 +02:00
Jörg Thalheim
bfb9aaaaef
checks/borgbackup: don't rebuild on every pull request
2025-07-07 19:35:48 +02:00
Michael Hoang
ea1df1e9f4
treewide: don't generate SSH keys with builder hostname
2025-07-07 14:39:57 +10:00
Michael Hoang
679359cb24
clanServices/sshd: add README
2025-07-07 13:54:26 +10:00
Michael Hoang
587db8510d
docs: fix highlighting in code block
2025-07-07 13:54:26 +10:00
Michael Hoang
a91756d54a
docs: remove colon from headings
2025-07-07 13:54:26 +10:00
Michael Hoang
2b6fc723cc
clanServices/wifi: fix autoConnect setting not doing anything
2025-07-05 00:05:48 +10:00
pinpox
9a293f790e
Add state-version nixos option
...
This reverts commit 8f6f06bef3 .
2025-07-04 11:54:12 +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
Johannes Kirschbauer
d785169fbf
lib.clan: properly merge self attrs
2025-07-01 14:02:02 +02:00
Johannes Kirschbauer
27a3333c9e
tests: update buildClan args
2025-07-01 13:21:12 +02:00
Johannes Kirschbauer
afd1ba6306
checks: mock self.inputs.self by default
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
667cee0f6e
buildClan: replace all usages by lib.clan
2025-07-01 11:56:31 +02:00
DavHau
e219a636ca
checks: fix some tests not named correctly
2025-06-30 19:50:16 +07:00
pinpox
ef3c22f240
Remove state-version module and service
2025-06-30 12:54:29 +02:00
pinpox
3e882e3578
Merge pull request 'Add example for users service' ( #4150 ) from doc-users into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4150
2025-06-30 10:25:51 +00:00
DavHau
2a3e786cfe
tests: explicitly specify services to be sourced from self
...
See previous commit
2025-06-30 10:13:46 +00:00
pinpox
e01dd8f9e8
Add example
2025-06-30 12:09:29 +02:00
kenji
f0f06f7705
Merge pull request 'modules/zerotier: Fix typo in documentation' ( #4121 ) from kenji/ke-fix-zerotier-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4121
2025-06-27 11:24:28 +00:00
a-kenji
bba75f5f4a
modules/zerotier: Fix typo in documentation
2025-06-27 12:58:59 +02:00
a-kenji
e731a20497
modules/users: Fix the password deployment
...
The password needs to be available prior to logging in,
this is why we need to set `neededFor = users`.
2025-06-27 12:48:15 +02:00
Johannes Kirschbauer
731de62876
docs: rename all references from 'buildClan' to 'lib.clan'
2025-06-27 09:54:23 +02:00
Johannes Kirschbauer
d8d49c9d72
chore: clean up logic around clanInternals
2025-06-26 16:12:35 +02:00
a-kenji
33ccd83df0
importer: Fix the documentation for the importer service
2025-06-23 23:27:37 +02:00
pinpox
27dc5306ad
Remove services and add deprecation warning
2025-06-18 13:18:25 +02:00
a-kenji
afafee8079
clanServices/hello-world: Fix eval-test example formatting
2025-06-18 10:45:59 +02:00
Jörg Thalheim
77382936da
zerotier: migrate to clan.nixosTests module
2025-06-17 21:09:59 +02:00
Jörg Thalheim
8476051512
wifi: migrate to clan.nixosTests module
2025-06-17 20:39:06 +02:00
Jörg Thalheim
845952ab86
users: migrate to clan.nixosTests module
2025-06-17 20:39:06 +02:00
Jörg Thalheim
6e6167ac64
trusted-nix-caches: migrate to clan.nixosTests module
2025-06-17 20:38:31 +02:00
Jörg Thalheim
7f0cb6aeef
state-version: migrate to clan.nixosTests module
2025-06-17 20:38:31 +02:00
Jörg Thalheim
b5bdf4b0c7
sshd: migrate to clan.nixosTests module
2025-06-17 19:32:04 +02:00