Commit Graph

4970 Commits

Author SHA1 Message Date
Johannes Kirschbauer
301027ded1 Docs/modules: add guide for exposing options 2024-11-21 17:02:34 +01:00
Johannes Kirschbauer
de4c6caf30 Ext/modules: expose module schemas 2024-11-21 17:02:34 +01:00
hsjobeki
ec48be6e54 Merge pull request 'Inventory: init external modules support' (#2466) from hsjobeki/clan-core:inventory-modules into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2466
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
aaaabafdf1 inventory/eval.-tests: add explicit modules 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
6808f0a59f jsonschema: dont export defaultText as default 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
28f907cc85 Clan-cli: update inventory classes.py 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
36d094501d Docs/inventory: ad-hoc loading of user modules 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
d6b8716e00 Inventory/constraints: improve assertion messages 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
db5350d3dc Inventory: improve check service message 2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
25fb899f64 Inventory: init external modules support 2024-11-21 15:38:17 +00:00
clan-bot
604c16c30f Merge pull request 'clan-cli: Refactor ssh folder part 1' (#2468) from Qubasa/clan-core:Qubasa-main into main 2024-11-21 12:08:18 +00:00
Qubasa
4104374b76 clan-cli: Refactor ssh folder part 1 2024-11-21 13:02:22 +01:00
clan-bot
8682e17012 Merge pull request 'treefmt: Apply directory naming fix' (#2467) from Qubasa/clan-core:Qubasa-main into main 2024-11-21 10:56:20 +00:00
Qubasa
c7901485e1 treefmt: Apply directory naming fix 2024-11-21 11:50:08 +01:00
clan-bot
e70d305f5d Merge pull request 'UI: Improvements' (#2457) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-20 18:03:36 +00:00
Johannes Kirschbauer
9cafd26f3b UI/components/button: fixup invalid test file name 2024-11-20 18:57:25 +01:00
Johannes Kirschbauer
4f8e3a631e UI/machine/thumbnail: init random image generator for default thumbnail 2024-11-20 18:55:54 +01:00
Johannes Kirschbauer
8ea73b4db2 UI/tailwind/theme: add color definition mapping for light mode 2024-11-20 18:55:03 +01:00
Johannes Kirschbauer
7c4a02e114 UI/components/button: init button component 2024-11-20 16:48:01 +01:00
Johannes Kirschbauer
94a8bd765c UI/theme/config: remove unneccessary rgb wrapper 2024-11-20 16:48:01 +01:00
clan-bot
85442ab6f6 Merge pull request 'pkgs/cli: Fix generation of hardware configuration for machines install' (#2456) from kenji/clan-core:kenji-cli/install/nixos-facter into main 2024-11-20 15:39:34 +00:00
a-kenji
cc36247f22 pkgs/cli: Fix generation of hardware configuration for machines install
Correctly use the `value` of the `enum`, which is expected by
`nixos-anywhere`.
2024-11-20 16:15:45 +01:00
clan-bot
f6bd5e8282 Merge pull request 'pkgs/cli: Fix tag creation for clan machines create' (#2453) from kenji/clan-core:kenji-cli/fix/create-tags into main 2024-11-20 14:17:20 +00:00
a-kenji
1bc0b71155 pkgs/cli: Fix tag creation for clan machines create 2024-11-20 15:12:05 +01:00
clan-bot
5a1a6d3caf Merge pull request 'Docs/modules: move frontmatter into supmenu with overview' (#2452) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-20 12:26:33 +00:00
Johannes Kirschbauer
9874ae9322 Docs/modules: move frontmatter into supmenu with overview 2024-11-20 13:21:00 +01:00
clan-bot
5a39e31786 Merge pull request 'Docs/modules: add missing heading for empty role options' (#2450) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-20 11:30:44 +00:00
Johannes Kirschbauer
200cffe4ee Docs/modules: add missing heading for empty role options 2024-11-20 12:25:04 +01:00
clan-bot
233c1bf16e Merge pull request 'Docs/modules: add usage example' (#2449) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-20 10:48:20 +00:00
Johannes Kirschbauer
25e2307ecc Docs/modules: add usage example 2024-11-20 11:42:02 +01:00
clan-bot
a229771aa7 Merge pull request 'Docs/modules: add usage example' (#2448) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-20 10:41:42 +00:00
Johannes Kirschbauer
60df1b2d3a Docs/modules: add usage example 2024-11-20 11:35:43 +01:00
Mic92
cb47df5de8 Merge pull request 'vms/qemu: fix opengl detection' (#2422) from danjujan/clan-core:main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2422
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-11-20 10:20:30 +00:00
danjujan
434ce7aeb4 vms/qemu: fix opengl detection 2024-11-20 10:20:30 +00:00
Mic92
32e3b78e20 Merge pull request 'vars: add VarStatus dataclass to make return type more readable' (#2446) from Mic92-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2446
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-11-20 10:20:06 +00:00
Jörg Thalheim
5bf2afdf0e vars: add VarStatus dataclass to make return type more readable 2024-11-20 10:20:06 +00:00
clan-bot
8609e90edc Merge pull request 'Docs/modules: seperate out inventory,role specific interface' (#2447) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-20 10:07:58 +00:00
Johannes Kirschbauer
6e61db7f83 Docs/modules: seperate out inventory,role specific interface 2024-11-20 11:01:28 +01:00
clan-bot
3975abe11d Merge pull request 'vars: implement invalidation mechanism' (#2445) from DavHau/clan-core:DavHau-dave into main 2024-11-20 09:33:09 +00:00
DavHau
3f62e143ec vars: implement invalidation mechanism
This adds options `invalidationData` to generators.

`invalidationData` can be used by an author of a generator to signal if a re-generation is required after updating the logic.

Whenever a generator with invalidation data is executed, a hash of that data is stored by the respective public and/or secret backends.

The stored hashes will be checked on future deployments, and a re-generation is triggered whenever a hash doesn't match what's defined in nix.
2024-11-20 16:27:22 +07:00
clan-bot
adff2c8460 Merge pull request 'chore(packages/schema): remove unused validation' (#2444) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-19 17:05:06 +00:00
Johannes Kirschbauer
ba85a8fc88 chore(packages/schema): remove unused validation 2024-11-19 17:59:30 +01:00
hsjobeki
c0f25bd80c Merge pull request 'modules: add more categories' (#2438) from hsjobeki/clan-core:hsjobeki-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2438
2024-11-19 15:59:23 +00:00
Johannes Kirschbauer
f08aae04d3 UI/Modules: individual roles members 2024-11-19 15:59:23 +00:00
Johannes Kirschbauer
1c4c10f339 Modules/matter: add more categories 2024-11-19 15:59:23 +00:00
clan-bot
1cb383c14b Merge pull request 'theme-ui' (#2443) from hsjobeki/clan-core:theme-ui into main 2024-11-19 14:39:24 +00:00
Johannes Kirschbauer
71140de04c UI/fonts: migrate all text-* classes 2024-11-19 15:33:30 +01:00
Johannes Kirschbauer
edc3f847c7 UI/layout: clean up imports 2024-11-19 14:50:07 +01:00
Johannes Kirschbauer
7b587d4b76 UI/sidebar: rework tailwind theme and classes 2024-11-19 14:47:36 +01:00
clan-bot
9ea8db3064 Merge pull request 'clanModules: Fix ordering' (#2442) from kenji/clan-core:kenji-clan-modules/fix-order into main 2024-11-19 13:21:10 +00:00