Commit Graph

840 Commits

Author SHA1 Message Date
9f25f47298 allow to debug nixos-anywhere
All checks were successful
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m51s
checks / checks (pull_request) Successful in 4m6s
2024-03-17 21:36:22 +01:00
dd0ad2683b drop secret store logging from install command
All checks were successful
checks / checks (pull_request) Successful in 2m5s
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m53s
2024-03-17 21:32:23 +01:00
e296a3019d re-format with nixfmt
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m23s
2024-03-17 19:48:49 +01:00
a9fc8de2d0 allow multi-line interactive secrets
All checks were successful
checks / check-links (pull_request) Successful in 20s
checks / checks-impure (pull_request) Successful in 1m52s
checks / checks (pull_request) Successful in 4m15s
2024-03-13 11:18:56 +01:00
4044e42e58 fix: typo
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks (pull_request) Successful in 36s
checks / checks-impure (pull_request) Successful in 1m51s
2024-03-12 17:37:19 +01:00
129a1516f6 clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m1s
checks / checks (pull_request) Successful in 3m48s
2024-03-10 16:06:03 +07:00
167f7f4eb3 clan-cli: Add py.typed to make mypy work when used as library in clan-vm-manager
Some checks failed
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m15s
checks / checks (pull_request) Failing after 4m15s
2024-03-10 15:18:18 +07:00
372e212c0c clan_cli: Renamed ClanUrl to FlakeId
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Successful in 3m47s
2024-03-08 23:47:27 +07:00
f4f3176374 clan-vm-manager: Fix ClanUrl not pickable
Some checks failed
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Failing after 4m7s
2024-03-08 23:23:18 +07:00
e4896814f2 clan_cli: Add TimeTable class to cmd.py. Fix bugs in Machine rewrite
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m1s
checks / checks (pull_request) Successful in 3m51s
2024-03-08 22:01:54 +07:00
068f89e453 clan_vm_manager: Rewrite of Machine Class Part 1
Some checks failed
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Failing after 1m30s
checks / checks (pull_request) Successful in 3m49s
2024-03-08 15:32:12 +07:00
26dd962799 treefmt 2024-03-07 14:13:11 +01:00
f599243cbd add flash command 2024-03-07 14:13:11 +01:00
ab2defa9e4 add confirmation prompt when installing 2024-03-07 14:13:11 +01:00
442e5b45ba clan_cli: Simplify ClanURI
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m48s
2024-03-07 19:04:48 +07:00
93c868a3b7 clan_cli: Rewrite ClanURI 2024-03-07 16:41:37 +07:00
a6f652bdfc clan_cli,clan_vm_manager: Moved profiler to clan_cli. Add cmd timer to see how long run commands take
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m57s
checks / checks (pull_request) Successful in 2m45s
2024-03-06 17:12:20 +07:00
0e8622c491 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
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m45s
2024-03-06 16:32:19 +07:00
0481746198 drop meshnamed from repository
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m47s
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
cee9beb8a9 Merge pull request 'clan-cli sops: accept bytes' (#891) from sops_bytes into main
All checks were successful
checks / check-links (push) Successful in 22s
checks / checks-impure (push) Successful in 1m56s
checks / checks (push) Successful in 2m45s
2024-03-06 08:45:44 +00:00
31190ed8e5 clan_vm_manager: Extracted VMObject to own component 2024-03-04 12:38:20 +07:00
a1af14db57 Merge pull request 'clan-vm-manager: Fix incorrect use of all Glib.idle_add uses' (#892) from Qubasa-main into main
All checks were successful
checks / check-links (push) Successful in 22s
checks / checks-impure (push) Successful in 1m56s
checks / checks (push) Successful in 2m46s
2024-03-03 08:49:07 +00:00
11bf0b8b9e clan-cli sops: accept bytes
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Successful in 2m46s
2024-03-03 09:25:40 +01:00
3478dea8b2 clan_cli secrets generate: fix type in error msg
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Successful in 2m44s
2024-03-03 08:40:22 +01:00
127009b303 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
ed653fa8b9 fix pyproject syntax, ignore E731
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m58s
checks / checks (pull_request) Successful in 2m54s
2024-03-03 06:20:08 +01:00
b8da149453 clan-cli sops: fix super class interface compliance 2024-03-03 06:20:08 +01:00
a23c251b09 clan-cli secrets: actually check if only service needs regeneration 2024-03-03 06:20:08 +01:00
a1dcddf9b4 clan-cli: add interactive secrets/fact generation 2024-03-03 04:06:18 +01:00
4cfd580447 outputs: pass secretsData directly 2024-03-02 11:43:20 +01:00
b1a4b4de96 clan-cli vms run: remove unused vm arg 2024-03-02 11:20:05 +01:00
108a37b0a3 clan-cli machines: cache machines_func via store 2024-03-02 11:20:05 +01:00
d1e8b1ed96 devShells: one global python devshell + activation via command
All checks were successful
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m45s
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
d12019d290 fix formatting
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m46s
2024-02-26 16:19:30 +07:00
183c1f4235 clan_vm_manager: Fix qmp shutdown command, bad socket error on retried shutdown
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 1m55s
checks / checks (pull_request) Successful in 2m58s
2024-02-26 01:18:13 +07:00
27b9c8915b clan_vm_manager: Improve VM start and stop switch. Switch will be disabled while stopping vm
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m0s
checks / checks (pull_request) Successful in 2m57s
2024-02-26 01:04:09 +07:00
52fcc91479 Also commit files when adding machines/users or removing secrets
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m10s
checks / checks (pull_request) Successful in 2m56s
2024-02-22 16:12:11 +01:00
65d2a4e081 secrets: commit when renaming secrets 2024-02-22 15:59:12 +01:00
12ce8238f1 print backup archive ids instead of bare objects
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m9s
checks / checks (pull_request) Successful in 3m6s
2024-02-22 15:26:20 +01:00
a1e2a4f64a secret cli: accept a pattern in secrets list
All checks were successful
checks / check-links (pull_request) Successful in 22s
checks / checks-impure (pull_request) Successful in 2m11s
checks / checks (pull_request) Successful in 2m53s
2024-02-22 14:21:53 +01:00
0aa876a06c Merge pull request 'clan-cli: remove unused flag' (#867) from Mic92-fix-cross-system into main
All checks were successful
checks-impure / test (push) Successful in 1m53s
checks / test (push) Successful in 2m45s
2024-02-21 10:19:26 +00:00
457e45d989 clan-cli: remove unused flag
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m20s
2024-02-21 10:55:53 +01:00
6c17fa648f clan_cli: Add exception handling in logger
All checks were successful
checks-impure / test (pull_request) Successful in 1m53s
checks / test (pull_request) Successful in 2m51s
2024-02-21 16:20:01 +07:00
51b087f7ae clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages
Some checks failed
checks / test (pull_request) Failing after 1m8s
checks-impure / test (pull_request) Failing after 10m22s
2024-02-21 16:16:58 +07:00
ff3a1dc928 Merge pull request 'secret_store: drop update_check and generate_hash as abstract methods' (#863) from Mic92-target_host into main
All checks were successful
checks-impure / test (push) Successful in 1m55s
checks / test (push) Successful in 2m42s
2024-02-20 18:01:51 +00:00
3695a5adf2 disable vgpu on non-nixos systems
All checks were successful
checks-impure / test (pull_request) Successful in 1m56s
checks / test (pull_request) Successful in 2m47s
2024-02-20 18:58:38 +01:00
4d404cfc50 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
7091b09fa7 Merge pull request 'secrets: add git support when updating secrets' (#862) from Mic92-target_host into main
All checks were successful
checks-impure / test (push) Successful in 1m55s
checks / test (push) Successful in 2m47s
2024-02-20 11:45:13 +00:00
77c84e7471 secrets: add git support when updating secrets
All checks were successful
checks-impure / test (pull_request) Successful in 2m11s
checks / test (pull_request) Successful in 3m5s
2024-02-20 12:41:52 +01:00
3b975ed993 clan-cli SecretStore: remove generate_hash from base class
All checks were successful
checks-impure / test (pull_request) Successful in 1m54s
checks / test (pull_request) Successful in 2m43s
2024-02-20 11:48:13 +01:00