Commit Graph

647 Commits

Author SHA1 Message Date
Jörg Thalheim
c69a9e05a6 backups: skip preRestore and postRestore if not specified by a service 2024-03-20 09:32:01 +01:00
Jörg Thalheim
fa94ee4b96 backups: no longer interpret backup interface as bash commands 2024-03-20 09:32:01 +01:00
Jörg Thalheim
56760f0e8d rework backup interface to no longer need to list backups to restore them 2024-03-20 09:32:01 +01:00
Jörg Thalheim
1136c2e16a backups: don't export all local environment over ssh 2024-03-20 08:29:05 +00:00
Jörg Thalheim
8abc7acf60 make backup provider more generic 2024-03-20 08:29:05 +00:00
Jörg Thalheim
f9241448c5 nixos-install: also respect port 2024-03-17 22:18:22 +01:00
Jörg Thalheim
7412ae027e allow to debug nixos-anywhere 2024-03-17 21:36:22 +01:00
Jörg Thalheim
36b788853a drop secret store logging from install command 2024-03-17 21:32:23 +01:00
Jörg Thalheim
6bcddae692 allow multi-line interactive secrets 2024-03-13 11:18:56 +01:00
Qubasa
38699a8311 clan-cli: Add py.typed to make mypy work when used as library in clan-vm-manager 2024-03-10 15:18:18 +07:00
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
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
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
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