Commit Graph

4011 Commits

Author SHA1 Message Date
Qubasa
b16a53f510 clanCore: init machine_id.nix with clan.core.machine.{id,diskId} 2024-09-06 18:05:40 +02:00
clan-bot
0d83a59d8e Merge pull request 'vars: refactor - ask prompts before running any generators' (#2048) from DavHau/clan-core:DavHau-dave into main 2024-09-06 14:16:06 +00:00
DavHau
f5e65b5d0e vars: refactor - ask prompts before running any generators 2024-09-06 16:08:46 +02:00
clan-bot
675e4c5931 Merge pull request 'tea-create-pr: get rid of runtime nix eval' (#2047) from DavHau/clan-core:DavHau-dave into main 2024-09-06 13:51:49 +00:00
DavHau
b13081a84c tea-create-pr: get rid of runtime nix eval
...instead use our treefmt wrapper derivation which is exactly the same
but doesn't require an eval at runtime
2024-09-06 15:46:15 +02:00
clan-bot
c94bec68f0 Merge pull request 'vars: improve generator execution pipeline' (#2046) from DavHau/clan-core:DavHau-dave into main 2024-09-06 13:43:03 +00:00
DavHau
9d86c5474f clan-cli: fix cyclic import problem 2024-09-06 15:38:12 +02:00
DavHau
f161c7ca58 vars: improve generator execution pipeline
- ensure all dependents are re-generated as well
- refactor: separate out computation of generator update closure
2024-09-06 14:30:49 +02:00
clan-bot
2990e0f5a5 Merge pull request 'vars: add api endpoint set_prompts' (#2044) from DavHau/clan-core:DavHau-dave into main 2024-09-04 16:11:12 +00:00
DavHau
1254b80a52 vars: add api endpoint set_prompts 2024-09-04 18:06:11 +02:00
clan-bot
afaa3a7831 Merge pull request 'vars: add get_prompts api endpoint' (#2043) from DavHau/clan-core:DavHau-dave into main 2024-09-04 15:42:17 +00:00
DavHau
112982a7fb vars: add get_prompts api endpoint
vars: add test for api endpoint get_prompts
2024-09-04 17:36:50 +02:00
clan-bot
0b9bd3dbe4 Merge pull request 'vars: new option prompts.<name>.createFile' (#2042) from DavHau/clan-core:DavHau-dave into main 2024-09-04 13:52:48 +00:00
DavHau
bd554ca392 vars: new option prompts.<name>.createFile 2024-09-04 15:48:10 +02:00
clan-bot
6597e9adf8 Merge pull request 'API: add sops keyfile checks' (#2041) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-04 13:34:06 +00:00
Johannes Kirschbauer
3b0d694a07 API: add sops keyfile checks 2024-09-04 15:29:06 +02:00
clan-bot
3ecd59b322 Merge pull request 'UI/iwd: wifi machine module' (#2040) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-04 13:27:05 +00:00
Johannes Kirschbauer
035344e47c UI/iwd: wifi machine module 2024-09-04 15:22:34 +02:00
clan-bot
87c5ded6a2 Merge pull request 'apply TRY lint' (#2035) from joerg-ci into main 2024-09-04 13:20:11 +00:00
clan-bot
3737fa1464 Merge pull request 'vars: set vars via cli; improve getting vars via cli;' (#2039) from DavHau/clan-core:DavHau-dave into main 2024-09-04 12:53:08 +00:00
DavHau
570aadf065 vars: set vars via cli; improve getting vars via cli; 2024-09-04 14:48:42 +02:00
clan-bot
888efd85df Merge pull request 'UI/refactor: unify clan details and edit' (#2038) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-04 08:22:21 +00:00
Johannes Kirschbauer
ace1598977 UI/refactor: unify clan details and edit 2024-09-04 10:16:08 +02:00
clan-bot
7da164a5d1 Merge pull request 'vars: add 'get' command to cli' (#2036) from DavHau/clan-core:DavHau-dave into main 2024-09-03 17:24:44 +00:00
DavHau
e3280e2b1d vars: add 'get' command to cli 2024-09-03 19:19:20 +02:00
Jörg Thalheim
f18771364c get rid of ValueError 2024-09-03 18:14:31 +02:00
Jörg Thalheim
403b9cf2cc apply TRY lint 2024-09-03 18:13:46 +02:00
Jörg Thalheim
68d777166a classgen: use own Exception type 2024-09-03 18:13:18 +02:00
Jörg Thalheim
8c29c9ad4d container-driver: use own Exception 2024-09-03 18:13:18 +02:00
clan-bot
004a1ba45a Merge pull request 'serde/fix: round trip string sanitizing' (#2034) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-03 16:09:46 +00:00
Johannes Kirschbauer
5defa9d49d serde/fix: round trip string sanitizing 2024-09-03 18:03:13 +02:00
clan-bot
6e6bc22128 Merge pull request 'UI: Init iwd service for single wifi' (#2033) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-03 15:30:05 +00:00
Johannes Kirschbauer
c9b3775f72 Fix cyclic imports: __init__.py are automatically imported 2024-09-03 17:24:31 +02:00
Johannes Kirschbauer
6e595c3f60 UI: Init iwd service for single wifi 2024-09-03 17:24:31 +02:00
clan-bot
f5e6bba637 Merge pull request 'vars: global metadata paths for all store backends' (#2032) from DavHau/clan-core:DavHau-dave into main 2024-09-03 14:34:22 +00:00
DavHau
8efcd65bed vars: global metadata paths for all store backends
This also changes the paths where sops stores teh secret -> all sops secrets will have to be re-generated
2024-09-03 16:30:01 +02:00
clan-bot
027e704534 Merge pull request 'UI: Admin shh module' (#2031) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-03 09:03:42 +00:00
clan-bot
3bb1efe479 Merge pull request 'only accept eval/build for nix command' (#2030) from Mic92-type-checking into main 2024-09-03 08:59:11 +00:00
Johannes Kirschbauer
2e4aca9c40 UI: Admin shh module 2024-09-03 10:57:01 +02:00
Jörg Thalheim
e6ae896ba1 flash: rename FileNotFoundError -> ClanError 2024-09-03 10:53:17 +02:00
Jörg Thalheim
44813d2fcc only accept eval/build for nix command 2024-09-03 10:49:53 +02:00
clan-bot
71705f8a51 Merge pull request 'don't put hostnames into into disko labels' (#2029) from Mic92-type-checking into main 2024-09-03 08:20:54 +00:00
Jörg Thalheim
11e6c1b17f don't put hostnames into into disko labels
I believe there are length limits on this.
It's also very surprising if the system no longer boot after changing
the hostname.
2024-09-03 10:11:03 +02:00
clan-bot
7960fb295c Merge pull request 'UI: improve machine details' (#2028) from hsjobeki/clan-core:hsjobeki-main into main 2024-09-03 06:40:50 +00:00
Johannes Kirschbauer
12616359d5 UI: improve machine details 2024-09-03 08:35:33 +02:00
clan-bot
dd13aab85e Merge pull request 'Revert "nixosModules,pkgs: remove installer. clanModules: init installer module"' (#2027) from Mic92-type-checking into main 2024-09-03 05:09:00 +00:00
Jörg Thalheim
696fd73711 Revert "nixosModules,pkgs: remove installer. clanModules: init installer module"
This reverts commit 29a7f0312b.
2024-09-03 07:04:34 +02:00
clan-bot
e87a8ade5d Merge pull request 'nixosModules,pkgs: remove installer. clanModules: init installer module' (#2026) from Qubasa/clan-core:Qubasa-main into main 2024-09-02 22:30:13 +00:00
Qubasa
29a7f0312b nixosModules,pkgs: remove installer. clanModules: init installer module 2024-09-03 00:25:16 +02:00
clan-bot
3cc7b0ce84 Merge pull request 'remove dead nix code' (#2025) from Qubasa/clan-core:Qubasa-main into main 2024-09-02 22:15:04 +00:00