Commit Graph

10884 Commits

Author SHA1 Message Date
Jörg Thalheim
9469968851 fix: handle OSError when age keys are too long to be file paths
Prevents "File name too long" errors when users provide age keys directly
to 'clan secrets users add', as Path.is_file() would fail before the key
validation could run.

Fixes: https://git.clan.lol/clan/clan-core/issues/5522
2025-10-14 13:15:54 +01:00
Luis Hebendanz
c2a71fb423 Merge pull request 'docs: add Vaultwarden, Easytier and Nix Cache to community modules' (#5521) from Qubasa/clan-core:add_community_role into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5521
2025-10-14 11:23:50 +00:00
Qubasa
13d3bc9391 docs: add Vaultwarden, Easytier and Nix Cache to community modules 2025-10-14 13:07:18 +02:00
pinpox
3161ab3903 Merge pull request 'Add more community services' (#5517) from doc-community-services-2 into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5517
2025-10-14 10:39:14 +00:00
pinpox
6df67aee00 Add more community services 2025-10-14 12:36:39 +02:00
pinpox
ed9f9c0d9d Merge pull request 'Document community service' (#5515) from doc-community-services into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5515
2025-10-14 10:29:29 +00:00
pinpox
969c17e410 Document community service 2025-10-14 12:27:13 +02:00
Luis Hebendanz
3c7c52e35a Merge pull request 'clan_cli: Add typeAlias support for api.py' (#5509) from Qubasa/clan-core:fix_jsonschema_gen into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5509
2025-10-14 10:21:11 +00:00
pinpox
b0e327e0d1 Merge pull request 'Document community service' (#5513) from doc-community-services into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5513
2025-10-14 10:21:09 +00:00
pinpox
550b374d20 Document community service 2025-10-14 12:17:29 +02:00
Qubasa
23008d1f73 openapi: Add a test for TypeAliasing 2025-10-14 12:06:04 +02:00
hsjobeki
733d80d0b2 Merge pull request 'app: use geist font' (#5508) from fix-font into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5508
2025-10-14 09:48:53 +00:00
Johannes Kirschbauer
9dceddc6c2 app: remove 'condensed' variant 2025-10-14 11:46:28 +02:00
Qubasa
f1747079c8 clan_cli: Add typeAlias support for api.py 2025-10-14 11:30:48 +02:00
Johannes Kirschbauer
ffdcd9b41e app: use geist font
Drop Archivo, ArchivoSemicondensed, CommitMono
in favour of only one
2025-10-14 11:19:57 +02:00
Luis Hebendanz
2ef56aff70 Merge pull request 'Fix sshd docs' (#5492) from Qubasa/clan-core:fix_sshd_docs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5492
2025-10-14 08:56:32 +00:00
pinpox
2ca4abbfef Merge pull request 'wireguard/docs: fix nix code in examples' (#5506) from wg-docs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5506
Reviewed-by: pinpox <clan@pablo.tools>
2025-10-14 07:06:53 +00:00
clan-bot
1344466097 Merge pull request 'Update sops-nix' (#5504) from update-sops-nix into main 2025-10-14 05:04:24 +00:00
DavHau
b1b68c514d wireguard/docs: fix nix code in examples
This was using outdated syntax
2025-10-14 12:02:59 +07:00
clan-bot
08072b3850 Update sops-nix 2025-10-14 05:01:51 +00:00
clan-bot
67637007a2 Merge pull request 'Update nuschtos in devFlake' (#5503) from update-devFlake-nuschtos into main 2025-10-13 20:11:04 +00:00
clan-bot
558dd55058 Update nuschtos in devFlake 2025-10-13 20:02:04 +00:00
Qubasa
63ccbd7ca7 clanServices: improve sshd docs 2025-10-13 19:56:09 +02:00
hsjobeki
d9f6b7e3fb Merge pull request 'api: prepare persistence_attributes' (#5453) from persistence_attributes into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5453
2025-10-13 15:23:03 +00:00
clan-bot
254f9b9c5f Merge pull request 'Update nixpkgs-dev in devFlake' (#5498) from update-devFlake-nixpkgs-dev into main 2025-10-13 15:12:22 +00:00
clan-bot
44ff545436 Merge pull request 'Update sops-nix' (#5496) from update-sops-nix into main 2025-10-13 15:11:34 +00:00
Johannes Kirschbauer
40de60946a api: migrate to use persistence attributes everywhere 2025-10-13 17:04:01 +02:00
clan-bot
f25d17d9c2 Update nixpkgs-dev in devFlake 2025-10-13 15:02:14 +00:00
clan-bot
70233b5e53 Update sops-nix 2025-10-13 15:01:44 +00:00
clan-bot
044d5f1c7d Merge pull request 'Update clan-core-for-checks in devFlake' (#5497) from update-devFlake-clan-core-for-checks into main 2025-10-13 15:01:42 +00:00
clan-bot
389c586a26 Merge pull request 'Update nix-darwin' (#5494) from update-nix-darwin into main 2025-10-13 14:59:12 +00:00
clan-bot
e01a79696b Update clan-core-for-checks in devFlake 2025-10-13 14:30:29 +00:00
clan-bot
aade61b019 Update nix-darwin 2025-10-13 14:29:54 +00:00
Qubasa
6956858d61 clanServices: Fix sshd vars dependency 2025-10-13 16:05:51 +02:00
Michael Hoang
7e7e58eb64 Merge pull request 'Update nixpkgs' (#5211) from update-nixpkgs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5211
2025-10-13 13:19:45 +00:00
Michael Hoang
46f746d09c cli: fix installation test with latest release of nixos-anywhere 2025-10-13 15:06:20 +02:00
clan-bot
56e03d1f25 Update nixpkgs 2025-10-13 14:51:00 +02:00
Kenji Berthold
0343e4b91a Merge branch 'main' into ke-test-extra-packages 2025-10-13 12:31:37 +00:00
a-kenji
137d505c3b lib/test/container-test-driver: Fix extraPythonPackages support
Fix `extraPythonPackages` support in the container test driver.

It triggered the following warning from `nixpkgs`:
```
python3Packages = throw "do not use python3Packages when building Python packages, specify each used package as a separate argument"; # do not remove
```

The following `callPackage` usage triggered the `throw`:

```
hostPackages.python3.pkgs.callPackage
```

The change to a regular `callPackage` i`nvocation fixes this issue.

Added a container test with a popular package to ensure compatibility in the future.

Closes: #5459
2025-10-13 14:19:01 +02:00
DavHau
dd783bdf85 Merge pull request 'vars/sops: stop writing on clan vars check' (#5490) from dave into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5490
2025-10-13 11:51:29 +00:00
DavHau
bf41a9ef00 vars/sops: stop writing on clan vars check
This fixes an issue where check_vars() would add machine keys or authorize machines for shared vars.

These write operations should only ever be done on a `clan vars generate`, which `clan vars check` should be a read-only operation
2025-10-13 18:43:49 +07:00
Qubasa
d8c9508507 Revert "Fix ssh docs"
This reverts commit fe8f7e919e.
2025-10-13 13:09:13 +02:00
pinpox
f313ace19a Merge pull request 'Revert SSH docs' (#5488) from revert-ssh-docs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5488
2025-10-13 10:56:54 +00:00
pinpox
fe8f7e919e Fix ssh docs 2025-10-13 12:51:42 +02:00
hsjobeki
c64276b64e Merge pull request 'lib: remove unused facts utils' (#5480) from fix-b into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5480
2025-10-13 10:06:42 +00:00
hsjobeki
436da16bf9 Merge pull request 'facts: add bigger migration warnings' (#5484) from fix-c into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5484
2025-10-13 08:11:38 +00:00
Johannes Kirschbauer
1c3282bb63 vars: simplify collectFiles 2025-10-13 10:05:53 +02:00
Johannes Kirschbauer
3c4b3e180e facts: add bigger migration warnings 2025-10-13 10:05:53 +02:00
hsjobeki
3953715b48 Merge pull request 'clan-cli: remove unused test fixture' (#5482) from fix-c into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5482
2025-10-12 16:07:44 +00:00
Johannes Kirschbauer
7b95fa039f clan-cli: remove unused test fixture 2025-10-12 18:00:52 +02:00