Commit Graph

833 Commits

Author SHA1 Message Date
Qubasa
285a83ec97 clan_cli: Renamed ClanUrl to FlakeId 2024-03-08 23:47:27 +07:00
Qubasa
1b0f0bdd70 clan-vm-manager: Fix ClanUrl not pickable 2024-03-08 23:23:18 +07:00
Qubasa
93ca333227 clan_cli: Add TimeTable class to cmd.py. Fix bugs in Machine rewrite 2024-03-08 22:01:54 +07:00
Qubasa
fcb7a4b032 clan_vm_manager: Rewrite of Machine Class Part 1 2024-03-08 15:32:12 +07:00
Jörg Thalheim
83cbc18f66 treefmt 2024-03-07 14:13:11 +01:00
Jörg Thalheim
800bfd4653 add flash command 2024-03-07 14:13:11 +01:00
Jörg Thalheim
d84b5e7457 add confirmation prompt when installing 2024-03-07 14:13:11 +01:00
Qubasa
bda7701861 clan_cli: Simplify ClanURI 2024-03-07 19:04:48 +07:00
Qubasa
e640e0d7c3 clan_cli: Rewrite ClanURI 2024-03-07 16:41:37 +07:00
Qubasa
043f2e5061 clan_cli,clan_vm_manager: Moved profiler to clan_cli. Add cmd timer to see how long run commands take 2024-03-06 17:12:20 +07:00
Qubasa
b25a559ff3 clan_vm_manager: Fix switch desync when pressed too fast. Secrets folder shared between build and run. clan_cli: run_vm now can have custom tmpdir location 2024-03-06 16:32:19 +07:00
Jörg Thalheim
c23a878dfd drop meshnamed from repository
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00
clan-bot
c58da9a978 Merge pull request 'clan-cli sops: accept bytes' (#891) from sops_bytes into main 2024-03-06 08:45:44 +00:00
Qubasa
1d72e4baa7 clan_vm_manager: Extracted VMObject to own component 2024-03-04 12:38:20 +07:00
clan-bot
ab3718550c Merge pull request 'clan-vm-manager: Fix incorrect use of all Glib.idle_add uses' (#892) from Qubasa-main into main 2024-03-03 08:49:07 +00:00
lassulus
1d5605fa4a clan-cli sops: accept bytes 2024-03-03 09:25:40 +01:00
lassulus
393db0d6f7 clan_cli secrets generate: fix type in error msg 2024-03-03 08:40:22 +01:00
Qubasa
5de3b9bf44 clan_cli: history_add now returns newly added HistoryEntry. clan-vm-manager: Join now uses signals instead of callbacks. 2024-03-03 12:47:18 +07:00
lassulus
cfdba84d9d fix pyproject syntax, ignore E731 2024-03-03 06:20:08 +01:00
lassulus
cde452f99b clan-cli sops: fix super class interface compliance 2024-03-03 06:20:08 +01:00
lassulus
ed604a7ded clan-cli secrets: actually check if only service needs regeneration 2024-03-03 06:20:08 +01:00
lassulus
9880dede41 clan-cli: add interactive secrets/fact generation 2024-03-03 04:06:18 +01:00
lassulus
e74b586576 outputs: pass secretsData directly 2024-03-02 11:43:20 +01:00
lassulus
1eeaa8eead clan-cli vms run: remove unused vm arg 2024-03-02 11:20:05 +01:00
lassulus
0dce19d031 clan-cli machines: cache machines_func via store 2024-03-02 11:20:05 +01:00
DavHau
148e8b0ac0 devShells: one global python devshell + activation via command
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
DavHau
901e5ca0aa fix formatting 2024-02-26 16:19:30 +07:00
Qubasa
6de8393df1 clan_vm_manager: Fix qmp shutdown command, bad socket error on retried shutdown 2024-02-26 01:18:13 +07:00
Qubasa
e38aa7b73e clan_vm_manager: Improve VM start and stop switch. Switch will be disabled while stopping vm 2024-02-26 01:04:09 +07:00
Jörg Thalheim
79e956b5c3 Also commit files when adding machines/users or removing secrets 2024-02-22 16:12:11 +01:00
Jörg Thalheim
52d357ee42 secrets: commit when renaming secrets 2024-02-22 15:59:12 +01:00
Jörg Thalheim
7e93bc9aa3 print backup archive ids instead of bare objects 2024-02-22 15:26:20 +01:00
Jörg Thalheim
dd98cac94e secret cli: accept a pattern in secrets list 2024-02-22 14:21:53 +01:00
clan-bot
e3d70c7693 Merge pull request 'clan-cli: remove unused flag' (#867) from Mic92-fix-cross-system into main 2024-02-21 10:19:26 +00:00
Jörg Thalheim
458297bc10 clan-cli: remove unused flag 2024-02-21 10:55:53 +01:00
Qubasa
70a1c03989 clan_cli: Add exception handling in logger 2024-02-21 16:20:01 +07:00
Qubasa
aebf960188 clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages 2024-02-21 16:16:58 +07:00
clan-bot
7e9c135b42 Merge pull request 'secret_store: drop update_check and generate_hash as abstract methods' (#863) from Mic92-target_host into main 2024-02-20 18:01:51 +00:00
Jörg Thalheim
5a5e31e890 disable vgpu on non-nixos systems 2024-02-20 18:58:38 +01:00
Jörg Thalheim
a214677da0 secret_store: drop update_check and generate_hash as abstract methods
Only password implements those just now
2024-02-20 18:58:38 +01:00
clan-bot
2dc0d0f6e5 Merge pull request 'secrets: add git support when updating secrets' (#862) from Mic92-target_host into main 2024-02-20 11:45:13 +00:00
Jörg Thalheim
38e5e4f12c secrets: add git support when updating secrets 2024-02-20 12:41:52 +01:00
lassulus
0c457c0b6a clan-cli SecretStore: remove generate_hash from base class 2024-02-20 11:48:13 +01:00
lassulus
a9c11ca42a clan-cli SecretStore: implement update_check in base class 2024-02-20 11:47:53 +01:00
clan-bot
382fb593da Merge pull request 'sops: unbreak edit flags' (#860) from Mic92-target_host into main 2024-02-20 10:18:17 +00:00
Jörg Thalheim
43a8da1485 sops: unbreak edit flags 2024-02-20 11:07:00 +01:00
clan-bot
e023d25b4b Merge pull request 'add option to set defaultGroups for secrets' (#858) from Mic92-target_host into main 2024-02-16 16:29:28 +00:00
Jörg Thalheim
1d1358cdc9 improve error message if group does not exists 2024-02-16 17:26:20 +01:00
Jörg Thalheim
023b9f4257 add option to set defaultGroups for secrets 2024-02-16 17:26:20 +01:00
clan-bot
cbba6d8bf1 Merge pull request 'make secrets stores inherit from an interface' (#857) from Mic92-target_host into main 2024-02-16 14:00:20 +00:00