Commit Graph

4346 Commits

Author SHA1 Message Date
clan-bot
f93cd4ecde Merge pull request 'clanModules/state-version: initalize with currently set stateVersion' (#2098) from kenji/clan-core:kenji-improve/state-version into main 2024-09-14 17:33:50 +00:00
clan-bot
abbca2fb32 Merge pull request 'flash: Fix gnome automounting bug' (#2097) from Qubasa/clan-core:Qubasa-main into main 2024-09-14 17:28:37 +00:00
a-kenji
342734073b clanModules/state-version: initalize with currently set stateVersion
The `state-version` module will now initialize the `stateVersion` from
the currently set version.

This makes migrating to the `state-version` module seamless.
2024-09-14 19:25:20 +02:00
Qubasa
6e9121a881 flash: Fix gnome automounting bug 2024-09-14 18:11:41 +02:00
clan-bot
924f5ee182 Merge pull request 'ClanModules: make all module available to inventory' (#2095) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-13 15:25:11 +00:00
Johannes Kirschbauer
7c0d87c5b1 ClanModules: make all module available to inventory 2024-09-13 17:18:20 +02:00
clan-bot
e561a7cbb7 Merge pull request 'UI,API: migrate admin service api bindings' (#2093) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-13 14:49:01 +00:00
Johannes Kirschbauer
2953aefe9d UI: fix breakage in disk id api 2024-09-13 16:44:35 +02:00
Johannes Kirschbauer
95f587d652 UI: migrate admin service api bindings 2024-09-13 16:11:10 +02:00
Johannes Kirschbauer
91a9fb23be API: rename set_inventory 2024-09-13 16:11:10 +02:00
Johannes Kirschbauer
fd15bf4f5c Serde: support deserialise Any typed values 2024-09-13 16:11:10 +02:00
clan-bot
315b3940c0 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
13a4ac4243 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
b477c85f82 clanModules/state-version: use echo -n 2024-09-13 13:54:21 +00:00
Qubasa
8c3bfd498d flash: Use f2fs for installer 2024-09-13 15:48:57 +02:00
clan-bot
9e27ee7f64 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
7709958fa1 docs: Fix line highlighting, add warning to single-disk 2024-09-13 15:01:29 +02:00
clan-bot
f48e1f2918 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
787599ebb6 clanCore: init machine_id_v3 2024-09-13 12:17:49 +02:00
clan-bot
1a438d6a40 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
702d50dd93 templates: add stateVersion clanModule to new-clan template 2024-09-13 11:38:54 +02:00
clan-bot
755010df8b 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
a1dd10f502 vars/sops/shared: add machines key on demand 2024-09-12 20:17:05 +02:00
clan-bot
2fc5572ff7 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
e1eaf44ae5 UI: update gitignore 2024-09-12 18:33:47 +02:00
Johannes Kirschbauer
c554d7ddfb UI: include inventory schema and generated types 2024-09-12 18:22:46 +02:00
clan-bot
be4537e3c8 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
067d287398 vars/list: display '<not set>' also for secrets 2024-09-12 17:24:29 +02:00
clan-bot
90a70d536d 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
53592837a9 vars: get rid of meta.json 2024-09-12 16:52:44 +02:00
clan-bot
8c13c30fa1 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
3c27cc31e9 vars/sops: load sops info from nix instead of filesystem 2024-09-12 16:30:21 +02:00
Johannes Kirschbauer
f2a2b8e893 API: type all services with dict[str,Any] in python to reduce complexity. 2024-09-12 16:19:51 +02:00
Johannes Kirschbauer
39518d302b API: remove all python dataclasses for clanModules (services) 2024-09-12 16:19:51 +02:00
kenji
46602b508c 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
66c0517dfe 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
7c7a8f40e4 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
612c10bcd9 blog: interop fix some nits 2024-09-12 10:32:20 +00:00
Johannes Kirschbauer
bbd72438be Blogpost: interfaces blogpost 2024-09-12 10:32:20 +00:00
clan-bot
4dd9117e1f 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
08d03e7dde clanModules: revert single-disk to oldest version 2024-09-12 12:12:07 +02:00
clan-bot
404e2f2df8 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
716e5ff91d clanModules: Set lib.mkDefault isNormalUser for user-password 2024-09-12 12:00:51 +02:00
clan-bot
5f10c5fc81 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
4b56605340 Clan-cli: update import in classes 2024-09-12 09:28:58 +02:00
Johannes Kirschbauer
6a4c9e988b Clan-cli: fix class update instruction 2024-09-12 09:28:16 +02:00
clan-bot
f5b1fe88b2 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
4d2ad709ad 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
ef18b3e2e9 Classgen: support literal enums 2024-09-11 15:14:02 +02:00
clan-bot
8d27e0412d Merge pull request 'clanModules.nginx: replace acme fact with concrete value' (#2067) from nginx into main 2024-09-11 09:58:23 +00:00