Commit Graph

854 Commits

Author SHA1 Message Date
Jörg Thalheim
c59d9466b6 switch back to upstream waypipe 2024-03-25 13:34:02 +01:00
Jörg Thalheim
00704e9e55 re-encrypt secrets after rotating users/machines keys 2024-03-25 12:34:29 +01:00
Jörg Thalheim
a395d4a8fb add hint to use --force when a key already exists 2024-03-25 11:06:20 +01:00
Qubasa
240af17c2f select-shell: Fix breakage with previous shell.nix change 2024-03-25 00:32:03 +01:00
Qubasa
8dd6dc79cf clan-vm-manager: devshell doesn't require clan-cli derivation 2024-03-24 23:52:30 +01:00
clan-bot
e737b4c56d Merge pull request 'clan-vm-manager: Basic pytest framework established' (#1026) from Qubasa-main into main 2024-03-24 22:41:07 +00:00
Qubasa
d6d8a88549 clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself 2024-03-24 23:36:00 +01:00
lassulus
8d34c51df2 refactor secrets & facts -> secret_facts & public_facts 2024-03-23 05:46:54 +01:00
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
ede4d3f6e5 re-format with nixfmt 2024-03-17 19:48:49 +01:00
Jörg Thalheim
6bcddae692 allow multi-line interactive secrets 2024-03-13 11:18:56 +01:00
a-kenji
dd0b5c0ae7 fix: typo 2024-03-12 17:37:19 +01:00
Qubasa
883c46bcaa clan-cli: Readd mypy ignore clan_cli because of treefmt complaining 2024-03-10 16:06:03 +07: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
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