Clan Merge Bot
7202010608
update flake lock - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/511388d837178979de66d14ca4a2ebd5f7991cd3' (2024-08-29)
→ 'github:nix-community/disko/e55f9a8678adc02024a4877c2a403e3f6daf24fe' (2024-09-03)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/55088bf19810d23ca7cb86fb71516c95d97f035b' (2024-08-26)
→ 'github:numtide/nixos-facter-modules/a389bf16ed7db1f7e6a5e9dc4b5547e927498803' (2024-09-03)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/b733f0680a42cc01d6ad53896fb5ca40a66d5e79' (2024-08-19)
→ 'github:nix-community/nixos-images/51c98a9f328e7aad81d8aa048f38e4e5c86d3389' (2024-09-07)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8da188f8e754473cb2f5a922bef75a734bfa0fd6' (2024-08-25)
→ 'github:NixOS/nixpkgs/61ddb09cfaa7424d7fc8e3040ccd5c8c6f875b15' (2024-09-08)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/5db5921e40ae382d6716dce591ea23b0a39d96f7' (2024-09-01)
→ 'github:Mic92/sops-nix/b68757cd2c3fa66d6ccaa0d046ce42a9324e0070' (2024-09-08)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/23c2b0d953710939487ec878d70495d73b2c9bb3' (2024-09-02)
→ 'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
2024-09-09 00:00:44 +00:00
clan-bot
f54513d216
Merge pull request 'revert machine_id pull request' ( #2051 ) from Qubasa/clan-core:Qubasa-revert-machine-id into main
2024-09-06 19:45:05 +00:00
clan-bot
720f7b2181
Merge pull request 'vars: improve generator pipeline' ( #2050 ) from DavHau/clan-core:DavHau-dave into main
2024-09-06 19:39:53 +00:00
Qubasa
2efa096d29
revert machine_id pull request
2024-09-06 21:38:50 +02:00
DavHau
803f43dfd1
vars: improve generator pipeline
...
Compute the whole closure of to-be-executed generators upfront before executing anything
Properly compute closures for the 4 different scenarios:
1. full_closure: run all generators for a selected machine in topological order
2. all_missing_closure: run just the missing generators including their dependents
3. requested_closure: run only a selected list of generators including their missing dependencies and their dependents
4. minimal_closure: Run just enough to ensure that the list of selected generators are in a consistent state. Don't execute anything if nothing is missing.
2024-09-06 21:32:17 +02:00
clan-bot
9590125849
Merge pull request 'clanCore: Init machine.id and idShort' ( #2045 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-06 17:00:34 +00:00
Qubasa
67bc66164c
templates: Rename diskIdShort to diskId
2024-09-06 18:55:00 +02:00
Qubasa
2568002611
clan-cli: Make run_vm_in_thread fail fast. Fix generate_flake to support machine_id
2024-09-06 18:53:02 +02:00
Qubasa
4171d5ea4e
clanCore: init machine_id.nix with clan.core.machine.{id,diskId}
2024-09-06 18:05:40 +02:00
clan-bot
bab7084246
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
6bb93d087c
vars: refactor - ask prompts before running any generators
2024-09-06 16:08:46 +02:00
clan-bot
fdfb135315
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
16845cae3c
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
8b2af03230
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
3089296328
clan-cli: fix cyclic import problem
2024-09-06 15:38:12 +02:00
DavHau
5cd9960ed4
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
f4fb9ea96c
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
a57525d5c6
vars: add api endpoint set_prompts
2024-09-04 18:06:11 +02:00
clan-bot
3d9e5f525f
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
ed1738c0cd
vars: add get_prompts api endpoint
...
vars: add test for api endpoint get_prompts
2024-09-04 17:36:50 +02:00
clan-bot
bcad534a88
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
dc4fcb7329
vars: new option prompts.<name>.createFile
2024-09-04 15:48:10 +02:00
clan-bot
a100d74a8c
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
ebd7aa8422
API: add sops keyfile checks
2024-09-04 15:29:06 +02:00
clan-bot
ab1f6b95b2
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
5da72f65c0
UI/iwd: wifi machine module
2024-09-04 15:22:34 +02:00
clan-bot
87d47c7c31
Merge pull request 'apply TRY lint' ( #2035 ) from joerg-ci into main
2024-09-04 13:20:11 +00:00
clan-bot
5fc2d9b082
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
3f23ad4f79
vars: set vars via cli; improve getting vars via cli;
2024-09-04 14:48:42 +02:00
clan-bot
6d41a2e29c
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
9d1c963c03
UI/refactor: unify clan details and edit
2024-09-04 10:16:08 +02:00
clan-bot
f6b393f12c
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
59593c2e39
vars: add 'get' command to cli
2024-09-03 19:19:20 +02:00
Jörg Thalheim
5ac3ac63c2
get rid of ValueError
2024-09-03 18:14:31 +02:00
Jörg Thalheim
29909e49d3
apply TRY lint
2024-09-03 18:13:46 +02:00
Jörg Thalheim
850bb3314a
classgen: use own Exception type
2024-09-03 18:13:18 +02:00
Jörg Thalheim
d3afda4d6c
container-driver: use own Exception
2024-09-03 18:13:18 +02:00
clan-bot
1d5ba9816c
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
caad48682d
serde/fix: round trip string sanitizing
2024-09-03 18:03:13 +02:00
clan-bot
7da49a1538
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
e4f077f2e2
Fix cyclic imports: __init__.py are automatically imported
2024-09-03 17:24:31 +02:00
Johannes Kirschbauer
facc0bd226
UI: Init iwd service for single wifi
2024-09-03 17:24:31 +02:00
clan-bot
c9836d162e
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
924f5e41c6
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
e05d09ee55
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
76ea69556a
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
4f80fab225
UI: Admin shh module
2024-09-03 10:57:01 +02:00
Jörg Thalheim
aa564f47a9
flash: rename FileNotFoundError -> ClanError
2024-09-03 10:53:17 +02:00
Jörg Thalheim
ddd2a1a4f7
only accept eval/build for nix command
2024-09-03 10:49:53 +02:00
clan-bot
022bcffabc
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