Commit Graph

1271 Commits

Author SHA1 Message Date
Qubasa
b1dd5c2832 Add --ssh-pubkey FILE argument 2024-05-14 15:41:15 +02:00
a-kenji
a50aaa34c3 clan-cli(docs): modularize in preparation for manpage generation 2024-05-14 12:18:37 +02:00
Qubasa
a60978240c Fix template. Improve docu. Add disko as default imported module. 2024-05-10 15:39:46 +02:00
clan-bot
72c05a4ba4 Merge pull request 'hsjobeki-main' (#1332) from hsjobeki-main into main 2024-05-08 10:30:16 +00:00
Johannes Kirschbauer
d5cf64c73e vm-manager: hide hidden vm log info 2024-05-08 12:27:16 +02:00
clan-bot
30a82d0a2f Merge pull request 'clan-cli: add --json and --png flags to machine install' (#1320) from a-kenji-feat/clan-install-json into main 2024-05-07 12:52:21 +00:00
a-kenji
c7e662806f clan-cli: add --json and --png flags to machine install
Allow using `clan machines [machine] install` in conjunction with the
`--json` and `--png` flags.

Fixes #1180
2024-05-07 14:47:13 +02:00
Johannes Kirschbauer
d7f3b6a1e0 cli-docs: add automatic markdown cli docs 2024-05-07 13:26:33 +02:00
clan-bot
83c6f3a15d Merge pull request 'Add jsonschema test case' (#1309) from Qubasa-main into main 2024-05-04 12:14:07 +00:00
Qubasa
3d4ba5ad14 moonlight-sunshine-accept: Fix formatting error 2024-05-03 20:38:53 +02:00
Qubasa
fa51b82cfb jsonschema: Filter out 'invisible' options, that are there to throw errors on define 2024-05-03 19:40:42 +02:00
Qubasa
83f07816a3 Add jsonschema test case 2024-05-03 19:40:42 +02:00
Qubasa
142a6036fb Add description field to function-schema 2024-05-02 16:34:25 +02:00
Qubasa
b0336e13b1 Require README.md for every clan module 2024-05-02 16:34:25 +02:00
DavHau
6f82fa3553 qga: add argument 'check' 2024-05-02 15:03:22 +02:00
Qubasa
edcc92c75b Add package function-schema and module-schema. Add check for module jsonschema. 2024-05-01 23:16:17 +02:00
Johannes Kirschbauer
ca6cfca589 add cli docs generator 2024-04-30 19:01:53 +02:00
Johannes Kirschbauer
964625630e add cli docs generator 2024-04-30 18:53:00 +02:00
Jörg Thalheim
4b2c0cbd39 sops: fix setting secret from pipe 2024-04-30 14:04:49 +02:00
Jörg Thalheim
92f96e8a45 sops: also log content type on error 2024-04-30 13:56:07 +02:00
a-kenji
3ebafbfebe clan-cli: add CLAN_DIR environment variable
Add the `CLAN_DIR` environment variable.
With this the user can specify the location of the clan.
2024-04-30 12:00:47 +02:00
a-kenji
a0ee7be07d clan(help): standardise on machine capitalisation 2024-04-26 12:07:09 +02:00
a-kenji
458a27cf1a clan(help): improve install description 2024-04-26 11:42:18 +02:00
Johannes Kirschbauer
90228b5da8 vm-manager: move signals to emitter 2024-04-24 14:41:53 +02:00
DavHau
e09658c817 secrets: ensure all added/deleted files get committed 2024-04-24 17:26:32 +07:00
Johannes Kirschbauer
9c553e967b vm-manager: add empty list screen 2024-04-23 16:18:10 +02:00
Johannes Kirschbauer
ff189dd2b7 vm-manager: add empty list screen 2024-04-23 16:17:09 +02:00
Johannes Kirschbauer
ec17bfb4ba vm-manager: add empty list screen 2024-04-23 16:16:48 +02:00
Johannes Kirschbauer
51a32dd5c6 WIP 2024-04-23 11:16:33 +02:00
lassulus
56d6a124ac installer: fix qr code again 2024-04-22 21:04:41 +02:00
lassulus
b0ade15ba3 installer: make qrcode compatible with nixos-images 2024-04-22 20:49:35 +02:00
lassulus
93957b18c7 clan-cli ssh: fix qr code format 2024-04-22 20:21:44 +02:00
lassulus
b8264f8fd2 clan-cli ssh: --json can be file or str 2024-04-22 20:13:17 +02:00
a-kenji
b30bc64bee clan: clan machines install use verbose flag 2024-04-19 16:38:39 +02:00
a-kenji
971bd7a6db clan: clan ssh fix password login 2024-04-17 21:45:14 +02:00
a-kenji
b3dfaaab04 clan: clan ssh fix for new installer image 2024-04-17 18:20:40 +02:00
a-kenji
f3ee2649d2 pkgs: add metadata
Closes #1151
2024-04-17 13:32:50 +02:00
a-kenji
bd10720e5d clan-cli: fix clan ssh --json and --png
This fixes `clan ssh` with the `--json` and `--png` flags.

It will now correctly use the actual fields that are present in the
generated json.

- probes if the ports are accessible
- if accessible will attempt a single ssh connection with the provided
password, in order to not spam ssh attempts

Fixes #1177
2024-04-17 10:12:37 +00:00
Jörg Thalheim
f7c2228f3f include machine name when generating secrets 2024-04-15 22:17:53 +02:00
Jörg Thalheim
033e5194fb refactor facts command to regenerate facts for all machines 2024-04-15 22:14:54 +02:00
a-kenji
6968ec5cb8 vm-manager: fix typos in error message 2024-04-13 12:18:58 +02:00
a-kenji
80ecdb6370 clan-vm-manager: fix wording in toast 2024-04-13 11:55:58 +02:00
a-kenji
719efee964 clan-cli: fix typos 2024-04-12 17:40:54 +02:00
Jörg Thalheim
448d752db1 fix case when secrets are regenerated during update/install 2024-04-12 14:46:51 +02:00
Qubasa
d06f16bd4a clan-vm-manager: Add install-desktop.sh. Fix incorrect doku link 2024-04-12 11:47:18 +02:00
Johannes Kirschbauer
c9a93d3db7 docs: fix unsupported languages 2024-04-10 18:40:51 +02:00
lassulus
61e9f43eba build iso with nixos-generators 2024-04-10 15:03:55 +02:00
DavHau
e389b86e91 vms/run.py: refactor use kwargs instead of dataclass for function args 2024-04-09 14:30:46 +07:00
Qubasa
f505e0f5db template: Reverted systemd-boot in installer. EF02 partition on wrong second place 2024-04-07 17:09:44 +02:00
Johannes Kirschbauer
8b4f092f68 machine.md: clean up guide 2024-04-07 14:32:23 +02:00