Commit Graph

4089 Commits

Author SHA1 Message Date
Johannes Kirschbauer
04457f1731 UI: fix breakage in disk id api 2024-09-13 16:44:35 +02:00
Johannes Kirschbauer
60e4196bb6 UI: migrate admin service api bindings 2024-09-13 16:11:10 +02:00
Johannes Kirschbauer
813172119e API: rename set_inventory 2024-09-13 16:11:10 +02:00
Johannes Kirschbauer
ba548de2bf Serde: support deserialise Any typed values 2024-09-13 16:11:10 +02:00
clan-bot
3301b7a16a Merge pull request 'flash: Use f2fs for installer' (#2092) from Qubasa/clan-core:Qubasa-flash_id_v3 into main 2024-09-13 13:54:50 +00:00
kenji
d5231da872 Merge pull request 'clanModules/state-version: use echo -n' (#2088) from kenji/clan-core:state-version-echo into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2088
2024-09-13 13:54:21 +00:00
a-kenji
b3cec07cb4 clanModules/state-version: use echo -n 2024-09-13 13:54:21 +00:00
Qubasa
392d16843f flash: Use f2fs for installer 2024-09-13 15:48:57 +02:00
clan-bot
253156574e Merge pull request 'docs: Fix line highlighting, add warning to single-disk' (#2091) from Qubasa/clan-core:Qubasa-main into main 2024-09-13 13:07:15 +00:00
Qubasa
edc879b276 docs: Fix line highlighting, add warning to single-disk 2024-09-13 15:01:29 +02:00
clan-bot
b62b034e41 Merge pull request 'clanCore: init machine_id_v3' (#2085) from Qubasa/clan-core:machine_id_v3 into main 2024-09-13 10:22:09 +00:00
Qubasa
60397e0ca4 clanCore: init machine_id_v3 2024-09-13 12:17:49 +02:00
clan-bot
a56b603c7b Merge pull request 'templates: add stateVersion clanModule to new-clan template' (#2089) from kenji/clan-core:kenji-template/add into main 2024-09-13 09:54:30 +00:00
a-kenji
b5f42a4cf9 templates: add stateVersion clanModule to new-clan template 2024-09-13 11:38:54 +02:00
clan-bot
0b73b339b9 Merge pull request 'vars/sops/shared: add machines key on demand' (#2086) from DavHau/clan-core:DavHau-dave into main 2024-09-12 18:23:15 +00:00
DavHau
81cb28b6c0 vars/sops/shared: add machines key on demand 2024-09-12 20:17:05 +02:00
clan-bot
65a1a1a3b8 Merge pull request 'API: remove all python dataclasses for clanModules (services)' (#2080) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-12 16:37:51 +00:00
Johannes Kirschbauer
b951d97ea7 UI: update gitignore 2024-09-12 18:33:47 +02:00
Johannes Kirschbauer
406c88907d UI: include inventory schema and generated types 2024-09-12 18:22:46 +02:00
clan-bot
a02bc9bbf3 Merge pull request 'vars/list: display '<not set>' also for secrets' (#2084) from DavHau/clan-core:DavHau-dave into main 2024-09-12 15:29:39 +00:00
DavHau
eafcb0f870 vars/list: display '<not set>' also for secrets 2024-09-12 17:24:29 +02:00
clan-bot
4686ba8740 Merge pull request 'vars: get rid of meta.json' (#2082) from DavHau/clan-core:DavHau-dave into main 2024-09-12 14:57:51 +00:00
DavHau
85477d51f6 vars: get rid of meta.json 2024-09-12 16:52:44 +02:00
clan-bot
78b0eb1a68 Merge pull request 'vars/sops: load sops info from nix instead of filesystem' (#2081) from DavHau/clan-core:DavHau-dave into main 2024-09-12 14:35:40 +00:00
DavHau
e905407989 vars/sops: load sops info from nix instead of filesystem 2024-09-12 16:30:21 +02:00
Johannes Kirschbauer
e3d85fc2b8 API: type all services with dict[str,Any] in python to reduce complexity. 2024-09-12 16:19:51 +02:00
Johannes Kirschbauer
1a81c1f84b API: remove all python dataclasses for clanModules (services) 2024-09-12 16:19:51 +02:00
kenji
9771948eaa Merge pull request 'clanModules/state-version: init state-version' (#2077) from kenji/clan-core:state-version into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2077
2024-09-12 13:53:21 +00:00
a-kenji
56ce3d625c clanModules/state-version: init state-version
This adds a clanModule that will initialize the `system.stateVersion`
upon deploying the machine for the first time.

If the machine is completely reinstalled, then the state version might be
regenerated. But care should be taken if rebuilding from backups.
2024-09-12 15:47:30 +02:00
Luis Hebendanz
64d03c73a0 Merge pull request 'Blogpost: interfaces blogpost' (#2072) from hsjobeki/clan-core:hsjobeki-blogpost into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2072
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-09-12 10:32:20 +00:00
a-kenji
a67e13a9f7 blog: interop fix some nits 2024-09-12 10:32:20 +00:00
Johannes Kirschbauer
876540ef87 Blogpost: interfaces blogpost 2024-09-12 10:32:20 +00:00
clan-bot
d7829e38e2 Merge pull request 'clanModules: revert single-disk to oldest version' (#2074) from Qubasa/clan-core:Qubasa-main into main 2024-09-12 10:16:15 +00:00
Qubasa
1d3c4a1b92 clanModules: revert single-disk to oldest version 2024-09-12 12:12:07 +02:00
clan-bot
6c3bf4a74b Merge pull request 'clanModules: Set lib.mkDefault isNormalUser for user-password' (#2073) from Qubasa/clan-core:Qubasa-main into main 2024-09-12 10:05:45 +00:00
Qubasa
ca5b1a138d clanModules: Set lib.mkDefault isNormalUser for user-password 2024-09-12 12:00:51 +02:00
clan-bot
3ccdcbb8e8 Merge pull request 'Classgen: support literal enums' (#2068) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-12 07:33:27 +00:00
Johannes Kirschbauer
a559a01fb7 Clan-cli: update import in classes 2024-09-12 09:28:58 +02:00
Johannes Kirschbauer
be9a398ae3 Clan-cli: fix class update instruction 2024-09-12 09:28:16 +02:00
clan-bot
c3c5ba4fc5 Merge pull request 'vars: use correct paths for value accesses' (#2071) from kenji/clan-core:kenji-vars/fix/values into main 2024-09-11 17:10:50 +00:00
a-kenji
6dd1a7395f vars: use correct paths for value accesses
Use correct paths for value accesses of vars under:

- `per-machine`
- `shared`
2024-09-11 19:02:43 +02:00
Johannes Kirschbauer
42b92132a7 Classgen: support literal enums 2024-09-11 15:14:02 +02:00
clan-bot
cdfda2547b Merge pull request 'clanModules.nginx: replace acme fact with concrete value' (#2067) from nginx into main 2024-09-11 09:58:23 +00:00
Jörg Thalheim
a1e2a0513c clanModules.nginx: replace acme fact with concrete value
We shouldn't abuse prompts to require a user to set an option. Instead
our NixOS modules should expose which option need to be specified by the
user.
2024-09-11 11:45:23 +02:00
clan-bot
cac5e95758 Merge pull request 'Revert "Merge pull request 'machine_id_v2' (#2052) from Qubasa/clan-core:machine_id_v2 into main"' (#2066) from kenji/clan-core:kenji-revert/diskId_v2 into main 2024-09-10 12:20:35 +00:00
a-kenji
b13ed922b1 Revert "Merge pull request 'machine_id_v2' (#2052) from Qubasa/clan-core:machine_id_v2 into main"
This reverts commit 22a11abfe5, reversing
changes made to 208b71ac0e.
2024-09-10 14:01:12 +02:00
clan-bot
b0e8ae7adb Merge pull request 'vars/password-store: implement upload and hashing' (#2063) from DavHau/clan-core:DavHau-dave into main 2024-09-09 20:19:30 +00:00
DavHau
a79ec63720 vars/password-store: implement upload and hashing 2024-09-09 22:13:16 +02:00
clan-bot
a10fb9fc36 Merge pull request 'merge-after-ci: unstash only if stashed' (#2062) from DavHau/clan-core:DavHau-dave into main 2024-09-09 20:10:42 +00:00
DavHau
f2f9075b88 merge-after-ci: unstash only if stashed 2024-09-09 22:05:49 +02:00