Commit Graph

4640 Commits

Author SHA1 Message Date
Qubasa
382e27a20b clan: Remove pkgsForSystem 2024-11-11 14:08:12 +00:00
clan-bot
c1880a3624 Merge pull request 'pkgs/cli: Add dynamic completer for tags' (#2372) from kenji/clan-core:kenji-cli/2360/tag-completions into main 2024-11-11 12:54:45 +00:00
a-kenji
5d6ac539bc pkgs/cli: Complete --tags flag 2024-11-11 13:48:00 +01:00
a-kenji
43bc09eb2e pkgs/cli: Add dynamic completer for tags
Add a dynamic completer for `tags`.

Queries tag information from:
- the keys of the computed/static tags (inventory tags)
- the services tags
- the machines tags
2024-11-11 13:48:00 +01:00
Mic92
96c634e2ad Merge pull request 'waypipe: fix basic eval' (#2369) from waypipe into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2369
2024-11-11 12:00:49 +00:00
Jörg Thalheim
8cede9fda7 waypipe: fix basic eval 2024-11-11 12:52:55 +01:00
Mic92
f3b6f73691 Merge pull request 'pkgs/cli: Unclutter help output slightly' (#2338) from kenji/clan-core:kenji-pkgs-help into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2338
2024-11-11 11:28:51 +00:00
a-kenji
431bb21c10 pkgs/cli: Unclutter help output slightly 2024-11-11 11:28:51 +00:00
Mic92
e1994a52c3 Merge pull request 'vms/qemu: do not always use waypipe graphic options' (#2363) from danjujan/clan-core:main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2363
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-11-11 11:28:00 +00:00
Jörg Thalheim
71593604e5 HistoryEntry: add cleaner typesafe json deserialization 2024-11-11 11:36:17 +01:00
danjujan
c2b455c750 vms/qemu: do not always use waypipe graphic options 2024-11-11 10:41:26 +01:00
clan-bot
5c43d8176a Merge pull request 'Automatic flake update - sops-nix - 2024-11-11T00:00+00:00' (#2368) from flake-update-sops-nix-2024-11-11 into main 2024-11-11 00:21:22 +00:00
clan-bot
7a124738ad Merge pull request 'Automatic flake update - disko - 2024-11-11T00:00+00:00' (#2364) from flake-update-disko-2024-11-11 into main 2024-11-11 00:16:41 +00:00
clan-bot
4907ffb760 Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-11-11T00:00+00:00' (#2365) from flake-update-nixos-facter-modules-2024-11-11 into main 2024-11-11 00:16:41 +00:00
Clan Merge Bot
365c236ee5 update flake lock - sops-nix - 2024-11-11T00:00+00:00
Flake lock file updates:

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760?narHash=sha256-1NveNAMLHbxOg0BpBMSVuZ2yW2PpDnZLbZ25wV50PMc%3D' (2024-11-03)
  → 'github:Mic92/sops-nix/f1675e3b0e1e663a4af49be67ecbc9e749f85eb7?narHash=sha256-jR8i6nFLmSmm0cIoeRQ8Q4EBARa3oGaAtEER/OMMxus%3D' (2024-11-10)
2024-11-11 00:00:25 +00:00
Clan Merge Bot
6851340440 update flake lock - nixos-facter-modules - 2024-11-11T00:00+00:00
Flake lock file updates:

• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/15b6531d44aa6f0bbd2fd8309cd2a6d7f183ba32?narHash=sha256-AzP%2BtrH/ykBJGTx3twkpuwbkhFSmsY1PJDQtRmK4k4c%3D' (2024-10-27)
  → 'github:numtide/nixos-facter-modules/d0e205eafca7091caad3925ff82a46fea08351e1?narHash=sha256-2KexAe17KRg2191SdBxVXqJKwV6MxKzlE35DDcAX%2BDs%3D' (2024-11-05)
2024-11-11 00:00:03 +00:00
Clan Merge Bot
65e9f345a3 update flake lock - disko - 2024-11-11T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/380847d94ff0fedee8b50ee4baddb162c06678df?narHash=sha256-Mhqz3p/HEiI/zxBJWO57LYQf6gGlJB0tci6fiVXLjd8%3D' (2024-11-03)
  → 'github:nix-community/disko/486250f404f4a4f4f33f8f669d83ca5f6e6b7dfc?narHash=sha256-cZ0QMpv5p2a6WEE%2Bo9uu0a4ma6RzQDOQTbm7PbixWz8%3D' (2024-11-10)
2024-11-11 00:00:01 +00:00
clan-bot
8a1da8dfa1 Merge pull request 'pkgs/cli: Add dynamic completer for target-host' (#2362) from kenji/clan-core:kenji-complete-deployment-address into main 2024-11-10 18:37:22 +00:00
a-kenji
7a17edc0d6 pkgs/cli: Complete --target-host flag 2024-11-10 19:12:54 +01:00
a-kenji
3ca6c4afac pkgs/cli: Add dynamic completer for target-host 2024-11-10 19:12:01 +01:00
clan-bot
75d70b2c31 Merge pull request 'pkgs/cli: Query target-host for machines install from configuration' (#2359) from kenji/clan-core:kenji-cli/2309/machines-install into main 2024-11-10 17:24:55 +00:00
a-kenji
9414bcc1fd docs: Update documentation for clan machines install --target-host 2024-11-10 18:18:51 +01:00
a-kenji
23d0e2f115 pkgs/cli: Query target-host for machines install from configuration
Query `target-host` for `clan machines install` from the nixos
configuration (deployment.json), if possible.

Remove `TARGET_HOST` option and introduce `--target-host` command
line flag.

This brings the installation subcommand in line with the update
subcommand - improving consistency and usability.

Closes: #2309
2024-11-10 18:18:51 +01:00
clan-bot
f76a5cacc5 Merge pull request 'pkgs/cli: Group dynamic completer with the correct parser for clarity' (#2354) from kenji/clan-core:kenji-group-completer into main 2024-11-10 14:56:18 +00:00
clan-bot
d8f0770cb3 Merge pull request 'pkgs/cli: Improve error message on clan machines update' (#2353) from kenji/clan-core:kenji-improve-error-message-cli into main 2024-11-10 14:54:41 +00:00
a-kenji
3e1bbd53d2 pkgs/cli: Group dynamic completer with the correct parser for clarity 2024-11-10 15:48:41 +01:00
a-kenji
4b67d9fa71 pkgs/cli: Improve error message on clan machines update 2024-11-10 15:47:21 +01:00
clan-bot
f00d6b8a94 Merge pull request 'pkgs/cli: Apply naming standards to help strings in clan machines update' (#2352) from kenji/clan-core:kenji-cli-fix-help into main 2024-11-10 14:42:58 +00:00
a-kenji
96f66a3810 pkgs/cli: Apply naming standards to help strings in clan machines update 2024-11-10 15:37:41 +01:00
clan-bot
e8f6786d95 Merge pull request 'pkgs/cli: Fix help string of clan machines create' (#2350) from kenji/clan-core:kenji-fix-naming-create into main 2024-11-10 13:21:53 +00:00
clan-bot
4156df78d0 Merge pull request 'pkgs/cli: Add --target-host to clan machines create' (#2349) from kenji/clan-core:kenji-add-deploy into main 2024-11-10 13:20:30 +00:00
a-kenji
aa1ca9ba59 pkgs/cli: Fix help string of clan machines create 2024-11-10 14:15:34 +01:00
a-kenji
0c7f18da12 pkgs/cli: Add --target-host to clan machines create
Add the `--target-host` flag to `clan machines create`.
This allows setting the `deploy.targetHost` for the newly created
machine via the inventory.

Closes: #2339
2024-11-10 14:13:39 +01:00
clan-bot
c7927d3a25 Merge pull request 'pkgs/cli: Improve tense of message in machines create' (#2348) from kenji/clan-core:kenji-improve-confusing-message into main 2024-11-10 00:25:05 +00:00
a-kenji
182ea02c46 pkgs/cli: Improve tense of message in machines create
Change the log message tense from present to continuous for improved clarity.
The message "Add file" has been changed to "Adding file" to provide a clear
indication that the file addition is an ongoing process, not a
command (for the user).
2024-11-10 01:14:40 +01:00
clan-bot
855161088f Merge pull request 'pkgs/cli: Fix grammar in inventory doc comment' (#2344) from kenji/clan-core:kenji-fix-grammar into main 2024-11-09 23:57:08 +00:00
a-kenji
f96020809c pkgs/cli: Improve grammar in inventory doc comment 2024-11-10 00:51:21 +01:00
a-kenji
8eab08be8b pkgs/cli: Fix grammar in inventory doc comment 2024-11-10 00:48:54 +01:00
clan-bot
49c95a40c8 Merge pull request 'pkgs/cli: Remove superfluous comment string' (#2343) from kenji/clan-core:kenji-remove-superfluous-comment into main 2024-11-09 23:40:57 +00:00
a-kenji
c7ad5e1928 pkgs/cli: Remove superfluous comment string 2024-11-10 00:35:41 +01:00
clan-bot
df20c16174 Merge pull request 'templates/minimal-flake-parts: add formatter' (#2342) from kenji/clan-core:kenji-add-formatter into main 2024-11-09 22:13:59 +00:00
a-kenji
acf97df754 templates/minimal-flake-parts: add formatter 2024-11-09 23:08:14 +01:00
clan-bot
06724b4ab4 Merge pull request 'flake/inputs: Group inputs together' (#2341) from kenji/clan-core:kenji-flake/inputs-group into main 2024-11-09 19:21:23 +00:00
a-kenji
689b2e7560 flake/inputs: Group inputs together 2024-11-09 20:13:15 +01:00
clan-bot
4110404f30 Merge pull request 'Inventory: init inventory.tags for globally defined static and dynamic tags' (#2328) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-08 15:01:07 +00:00
Johannes Kirschbauer
46836496aa Clan-ts-api: filter out reserved tags from typescript, library generates invalid types 2024-11-08 15:55:37 +01:00
clan-bot
4e26b74a9b Merge pull request 'don't show stacktrace if an update fail' (#2333) from deployment into main 2024-11-08 14:48:57 +00:00
Jörg Thalheim
eb1daad08d vars: update message if vars are up-to-date 2024-11-08 15:43:10 +01:00
Jörg Thalheim
d3abedafa9 don't show stacktrace if update fail 2024-11-08 15:43:10 +01:00
Mic92
4da648bf0a Merge pull request 'Add inventory module for zerotier' (#2108) from init/zerotier-inventory into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2108
2024-11-08 14:10:23 +00:00