Johannes Kirschbauer
0e88b0ff66
feat(flake/select): add apply argument
2025-06-11 20:21:29 +02:00
Johannes Kirschbauer
acc41be9b3
doc(cli/templates): improve help description
2025-06-11 17:00:10 +02:00
Johannes Kirschbauer
e80a3fd2fc
fix(tess/morph): skip creating existing machine
2025-06-11 17:00:10 +02:00
Johannes Kirschbauer
b6a0c6cb38
Docs(cli/machines): improve description of '--template'
2025-06-11 17:00:10 +02:00
Johannes Kirschbauer
b80395af44
Chore(machine/templates): simplify template args for machines command
2025-06-11 17:00:08 +02:00
Johannes Kirschbauer
43bc5f0812
Feat(template_url): substitute local refs
...
To execute the CLI in foreign directories
.#new-machine needs to get tranformed into /path/to/clan#new-machine
Otherwise it might pick-up some random flake that is in scope where the cli started executing
2025-06-11 16:59:32 +02:00
Johannes Kirschbauer
a9c933ac01
Feat(templates): init with_machine_template context handler
2025-06-11 16:52:52 +02:00
Johannes Kirschbauer
4a126fee12
Feat(templates): export clan templates statically
2025-06-11 16:52:52 +02:00
Johannes Kirschbauer
d166f73c00
Feat(templates): add template selector tranformation
2025-06-11 16:52:50 +02:00
renovate[bot]
0e6f8766f7
chore(deps): update sops-nix digest to 50754df
2025-06-10 22:10:12 +00:00
hsjobeki
1414c8e519
Merge pull request 'Chore(templates): move helper functions into a util file' ( #3930 ) from hsjobeki/utils into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3930
2025-06-10 17:52:44 +00:00
hsjobeki
1b411fe8d3
Merge pull request 'Chore(complete_machines): simplify by using inventoryStore' ( #3929 ) from hsjobeki/cleanups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3929
2025-06-10 17:42:55 +00:00
Johannes Kirschbauer
8ca3dc36d7
Chore(templates): move helper functions into a util file
2025-06-10 19:38:10 +02:00
Johannes Kirschbauer
17527082f4
chore(clanInternals): remove unused 'templates' attribute"
2025-06-10 19:26:04 +02:00
Johannes Kirschbauer
7b7e1cf246
feat(clanInternals): dont allow superfluous options
2025-06-10 19:16:26 +02:00
Johannes Kirschbauer
30fe01be7b
Chore(complete_machines): simplify by using inventoryStore
2025-06-10 19:15:07 +02:00
Johannes Kirschbauer
b2785d3b24
Chore(flake.py): remove unused uncached_nix_eval_with_args
2025-06-10 19:15:07 +02:00
hsjobeki
40b8e87659
Merge pull request 'Chore(clanInternals): remove unused attributes' ( #3925 ) from hsjobeki/clanInternals into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3925
2025-06-10 17:12:33 +00:00
Johannes Kirschbauer
b429aed8f4
Fix(tests/buildClan): reduce expected attributes
2025-06-10 19:00:57 +02:00
Johannes Kirschbauer
78563b0544
Fix(clan.nix): create public attributes from 'clan', dont expose them from clanInternals
...
ClanInternals is already exposed at the toplevel the API can access anything
This also deduplicated 'templates' and 'modules' into 'clan.modules' and 'clan.templates' repsectively
Only this one path is its source
2025-06-10 18:51:42 +02:00
Johannes Kirschbauer
e322c92b2e
Chore(clanInternals): remove unused attributes
2025-06-10 18:27:16 +02:00
hsjobeki
0f6731c813
Merge pull request 'Refactor(clanInternals): remove depending on clanInternals.inventory' ( #3928 ) from hsjobeki/no-more-inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3928
2025-06-10 16:00:50 +00:00
Johannes Kirschbauer
0837a8ecd7
Refactor(clanInternals): remove depending on clanInternals.inventory
2025-06-10 17:43:59 +02:00
hsjobeki
b9d7dac65f
Merge pull request 'Refactor(autocompletions): use inventoryStore' ( #3927 ) from hsjobeki/completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3927
2025-06-10 15:39:56 +00:00
Johannes Kirschbauer
3562c17514
Refactor(autocompletions): use inventoryStore
2025-06-10 17:02:16 +02:00
Johannes Kirschbauer
6e5de97a30
Feat(inventoryStore): add get_raw to read all the values unsafe
2025-06-10 17:02:16 +02:00
hsjobeki
585e6b677a
Merge pull request 'Chore(show_clan_meta): use data from inventoryStore' ( #3926 ) from hsjobeki/show_clan_meta into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3926
2025-06-10 14:58:58 +00:00
Johannes Kirschbauer
0f36041054
Chore(show_clan_meta): use data from inventoryStore
2025-06-10 16:46:18 +02:00
hsjobeki
45ef48a245
Merge pull request 'Fix(tests/templates): add narHash to allow local tests execution in devShell' ( #3922 ) from fix-tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3922
2025-06-10 13:50:34 +00:00
Johannes Kirschbauer
55a92f1893
Fix(tests/substitutions): use different substitutions for nix-build and local environment
2025-06-10 15:34:56 +02:00
Johannes Kirschbauer
de32037255
Fix(tests/templates): add narHash to allow local tests execution in devShell
2025-06-10 12:36:58 +02:00
kenji
a4900faf27
Merge pull request 'user-password: Improve prompting documentation' ( #3920 ) from ke-prompt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3920
2025-06-10 09:48:16 +00:00
a-kenji
961e650a85
user-password: Improve prompting documentation
2025-06-10 11:04:22 +02:00
kenji
c3a9cccdd8
Merge pull request 'checks: Disable syncthing test for now' ( #3919 ) from ke-disable-syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3919
2025-06-10 09:00:19 +00:00
a-kenji
992d5cbe46
checks: Disable syncthing test for now
...
Syncthing is currently being migrated and we can look at the test again
once we migrated.
It recently got changes upstream which might explain the spurious test
failures.
2025-06-10 10:46:28 +02:00
Michael Hoang
57a64c9a0b
Merge pull request 'cli: fix clan secrets key update not working when age plugins defined' ( #3916 ) from push-xrynsrlvulmu into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3916
2025-06-10 07:29:35 +00:00
Michael Hoang
11bc2c00c2
cli: fix clan secrets key update not working when age plugins defined
2025-06-10 14:07:10 +07:00
Michael Hoang
1b86f9efca
Merge pull request 'vars: don't use sops.secrets.*.restartUnits on macOS' ( #3917 ) from push-mtooonxozntq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3917
2025-06-10 07:05:53 +00:00
Michael Hoang
213f12ce01
vars: don't expose restartUnits on macOS
2025-06-10 13:48:06 +07:00
Michael Hoang
49bec8536b
vars: don't use sops.secrets.*.restartUnits on macOS
2025-06-10 13:27:15 +07:00
hsjobeki
9b5410a46d
Merge pull request 'chore(api/create_clan): remove unused reponse class' ( #3907 ) from api-narrowing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3907
2025-06-09 19:00:27 +00:00
Johannes Kirschbauer
8360ee58b5
chore(flake): move 'inputs-from' into templates handling
2025-06-09 20:40:20 +02:00
Johannes Kirschbauer
03a2412227
chore(inspect): use simple list_machines
2025-06-09 20:33:17 +02:00
Johannes Kirschbauer
25875422f2
chore(api/create_clan): remove unused reponse class
2025-06-09 20:30:20 +02:00
Luis Hebendanz
94f8e365f9
Merge pull request 'clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser' ( #3914 ) from Qubasa/clan-core:deploy_info2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3914
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-06-09 17:45:30 +00:00
Qubasa
65a0843de7
clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser
2025-06-09 19:27:01 +02:00
Michael Hoang
bd402b99c9
Merge pull request 'testing: fix Nix in Nix when remote building' ( #3911 ) from ninixx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3911
2025-06-09 14:10:35 +00:00
Michael Hoang
f771168b76
testing: fix Nix in Nix when remote building
2025-06-09 20:58:08 +07:00
kenji
eb6880c5ec
Merge pull request 'clanServices: Move service tests to appropriate locations' ( #3909 ) from ke-move-service-checks-to-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3909
2025-06-09 13:26:31 +00:00
a-kenji
4670dbfd6a
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