Commit Graph

4650 Commits

Author SHA1 Message Date
Mic92
23845c7d6d Merge pull request 'simplify reading hostPlaform.system from nixos' (#2377) from simplify-system into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2377
2024-11-11 15:33:14 +00:00
Jörg Thalheim
7cb296e717 simplify reading hostPlaform.system from nixos 2024-11-11 16:17:54 +01:00
clan-bot
cd6d585bea Merge pull request 'Revert "clan: Remove pkgsForSystem"' (#2376) from Qubasa/clan-core:Qubasa-main into main 2024-11-11 14:58:15 +00:00
Qubasa
49296133af Revert "clan: Remove pkgsForSystem"
This reverts commit 724913be90.
2024-11-11 21:50:25 +07:00
clan-bot
60b0ff04df Merge pull request 'clan-cli: Improved --debug output by indenting commands, add TRACE_DEPTH environment variable' (#2375) from Qubasa/clan-core:Qubasa-main into main 2024-11-11 14:36:56 +00:00
Qubasa
2df1179666 clan-cli: Improved --debug output by indenting commands, add TRACE_DEPTH environment variable 2024-11-11 21:23:53 +07:00
Luis Hebendanz
df2aa78745 Merge pull request 'Fixes for aarch64 support' (#2293) from Qubasa/clan-core:Qubasa-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2293
2024-11-11 14:08:12 +00:00
Qubasa
5d7b626ede clan-cli: Simplify hostPlatform and just use 'system' 2024-11-11 14:08:12 +00:00
Qubasa
fd9759d67a module.nix: add better explanation 2024-11-11 14:08:12 +00:00
Qubasa
a60a8ba6a4 clan-cli: Fix nixos-anywhere for systems that can not be build locally 2024-11-11 14:08:12 +00:00
Qubasa
724913be90 clan: Remove pkgsForSystem 2024-11-11 14:08:12 +00:00
clan-bot
97fa3a79e8 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
464fb64f5f pkgs/cli: Complete --tags flag 2024-11-11 13:48:00 +01:00
a-kenji
c9ec772f1d 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
e08f2bf3e1 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
1dc0692472 waypipe: fix basic eval 2024-11-11 12:52:55 +01:00
Mic92
42453b27f4 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
3adc67967f pkgs/cli: Unclutter help output slightly 2024-11-11 11:28:51 +00:00
Mic92
3151e344c5 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
cd13bfe6ed HistoryEntry: add cleaner typesafe json deserialization 2024-11-11 11:36:17 +01:00
danjujan
1243358e74 vms/qemu: do not always use waypipe graphic options 2024-11-11 10:41:26 +01:00
clan-bot
c4a5810f52 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
4534472b5d 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
053473fa55 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
9d5b11cfb3 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
49267d84f3 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
476864ad84 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
f6e8158909 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
7ab1707ab9 pkgs/cli: Complete --target-host flag 2024-11-10 19:12:54 +01:00
a-kenji
81d39e00e1 pkgs/cli: Add dynamic completer for target-host 2024-11-10 19:12:01 +01:00
clan-bot
63532904b9 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
29c8cc2125 docs: Update documentation for clan machines install --target-host 2024-11-10 18:18:51 +01:00
a-kenji
d689dd8f6c 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
9723e9c210 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
78650ff446 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
995986e2cd pkgs/cli: Group dynamic completer with the correct parser for clarity 2024-11-10 15:48:41 +01:00
a-kenji
8bf7eeda4c pkgs/cli: Improve error message on clan machines update 2024-11-10 15:47:21 +01:00
clan-bot
aaab408b79 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
a9dc71f6ad pkgs/cli: Apply naming standards to help strings in clan machines update 2024-11-10 15:37:41 +01:00
clan-bot
8c44d52d18 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
ada4d05f0d 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
767859f3bf pkgs/cli: Fix help string of clan machines create 2024-11-10 14:15:34 +01:00
a-kenji
ccb62254f2 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
7729afa0ff 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
eb1cf50def 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
04a737009f 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
1a9e9246be pkgs/cli: Improve grammar in inventory doc comment 2024-11-10 00:51:21 +01:00
a-kenji
767244301a pkgs/cli: Fix grammar in inventory doc comment 2024-11-10 00:48:54 +01:00
clan-bot
4787b7777d 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
ddda609b7c pkgs/cli: Remove superfluous comment string 2024-11-10 00:35:41 +01:00