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
a-kenji
ddda609b7c
pkgs/cli: Remove superfluous comment string
2024-11-10 00:35:41 +01:00
clan-bot
13d4b3f8b0
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
Jörg Thalheim
34410c6e17
vars: update message if vars are up-to-date
2024-11-08 15:43:10 +01:00
Jörg Thalheim
62a7f4b43f
don't show stacktrace if update fail
2024-11-08 15:43:10 +01:00
a-kenji
a6f44fd6bd
pkgs/cli: Fix dynamic completions for update-hardware-config and it's flags
...
Fix dynamic completions for `update-hardware-config` and it's flags.
Now `update-hardware-config` correctly suggests machines as well as for
example `--backend` suggests correctly their respective flags.
2024-11-08 14:23:11 +01:00
Johannes Kirschbauer
bdd9497335
Classgen: forward item types for array types
2024-11-08 13:20:45 +01:00
Johannes Kirschbauer
a1acac4b7d
Inventory: init inventory.tags for globally defined static and dynamic tags
2024-11-08 12:48:03 +01:00
a-kenji
f76276cd55
pkgs/cli: Add minimal-flake-parts to create
2024-11-08 12:34:30 +01:00
a-kenji
be1d936e9d
pkgs/cli: Hide clan history subcommand from help output
...
Hide the `clan history` subcommand from the help output.
It is only to be used by *very* advanced users currently and not even
them.
It is confusing in the current help output, because it is not clear what
it does.
This keeps the functionality around - while not confusing new users.
2024-11-05 19:27:43 +01:00
a-kenji
928d26a8cb
pkgs/cli: Apply naming standards to description and help fields
2024-11-05 19:18:44 +01:00
Jörg Thalheim
414c908717
expose an option to generate hardware configuration during installation
2024-11-05 14:33:22 +01:00
Jörg Thalheim
c9760e942e
generate-hardware-config: remove backup file after we are done
2024-11-04 15:05:08 +01:00
Jörg Thalheim
1ec4bb124e
add build-on-remote flag
2024-11-04 13:27:50 +01:00
Jörg Thalheim
aba5ae93ad
fix resource leak in case need_user_terminal is used
2024-10-29 13:54:12 +01:00
Jörg Thalheim
c6a789f0b9
Revert "{facts,vars}/generator: also setup /proc"
...
This reverts commit 943f836997a54f8b0d40665b555034b8ac5a5da4.
This currently fails in nix sandbox builds... figure this out later.
2024-10-29 13:53:58 +01:00
Jörg Thalheim
dec04d21ac
{facts,vars}/generator: also setup /proc
...
some applications fail without proc
2024-10-29 13:53:58 +01:00
DavHau
82b3c901dc
ssh: fix ssh connections failing due to missing stdin
2024-10-28 17:56:12 +07:00
DavHau
7208c6dc82
vars: fix shared dependency was not resolved correctly
2024-10-23 20:43:33 +07:00
DavHau
db0fdba384
cli: set needs_user_terminal for all ssh commands
2024-10-23 19:40:50 +07:00
DavHau
28026a9b92
cmd.run: add needs_user_terminal to unbreak sudo
2024-10-23 17:37:54 +07:00
Jörg Thalheim
4230ae6750
ruff: enable warning lints
2024-10-23 09:06:02 +00:00
Louis Opter
f540ab91a1
vars: add the user and group options on files
...
This changeset forwards the ownership control options from sops-nix.
2024-10-23 09:05:53 +00:00
Johannes Kirschbauer
4b0af71b9d
Serde: fixup & tests after changed serialization
2024-10-18 12:42:35 +02:00
Johannes Kirschbauer
c6eb7545bb
API/Modules-list: List only inventory modules
2024-10-17 10:27:00 +02:00
Johannes Kirschbauer
688671bab8
Serde: improve js-python bridge
2024-10-17 10:26:14 +02:00
DavHau
cc43a46c53
vars: show full var_id when prompting
2024-10-16 13:13:41 +07:00
Qubasa
95cb7d66a7
clan-flash: --keymap option also sets xserver keymap now. renamed 'clan flash apply' to clan 'flash write'
2024-10-11 20:51:59 +02:00
Jörg Thalheim
6140c53de0
use actual performance timer to measure how long a process takes
2024-10-10 17:59:56 +02:00
Jörg Thalheim
71e7ecd49c
improve terminating processes on error
2024-10-10 17:59:26 +02:00
Jörg Thalheim
d97bda9c0d
{vars,facts}/upload: fix ipv6 support
2024-10-10 17:03:32 +02:00
Jörg Thalheim
91d5741c97
properly support verbatim ipv6 addresses
2024-10-10 17:03:32 +02:00
DavHau
d9597dab05
vars,facts: add sops.defaultGroups to new machines
...
Prior to this, when initializing new machines, only the current user had access to it's key which prevents other admin users to deploy this machine later
2024-10-10 19:31:03 +07:00
clan-bot
f821ff74d7
Merge pull request 'vms run: disable waypipe on xorg by default' ( #2239 ) from DavHau/clan-core:DavHau-dave into main
2024-10-10 12:30:17 +00:00
DavHau
ee6954b818
vms run: disable waypipe on xorg by default
2024-10-10 17:06:38 +07:00
clan-bot
9a87ad096d
Merge pull request 'Inventory/schemas: move all schemas to legacyPackages.schemas' ( #2234 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-09 11:44:05 +00:00
Jörg Thalheim
d689709e4b
old json schema code
2024-10-09 13:30:50 +02:00
Johannes Kirschbauer
15974d92fe
Inventory/schemas: move all schemas to legacyPackages
2024-10-09 13:27:09 +02:00
Jörg Thalheim
f18f7ce1d4
drop old settings code
2024-10-09 12:16:00 +02:00
Jörg Thalheim
ff4ae1eb50
remove machine settings.json
2024-10-09 12:08:23 +02:00
Jörg Thalheim
61f0ceeaf5
fixtures_flake: drop unused substitutions
2024-10-09 12:07:58 +02:00
Jörg Thalheim
09d1ccd0fd
vms/run: make portmap a dict to fix serializer
2024-10-08 17:51:55 +00:00
Jörg Thalheim
9e5de5c8f0
vms/run: better defaults for run api
2024-10-08 17:51:55 +00:00
Jörg Thalheim
112d7bf2be
expose the option to run commands in virtual machines
2024-10-08 17:51:55 +00:00
Jörg Thalheim
53bde4f9f7
add a flag to start qemu non-interactive
2024-10-08 17:51:55 +00:00
Jörg Thalheim
ce9b1f923f
vms/run: don't use deprecated clanCore option
2024-10-08 17:51:55 +00:00
Jörg Thalheim
68271b4d12
restore proper error printing
...
Error represenation should be part of the error and we should not repeat
formatting here.
if we are in debug mode also print the stack trace
2024-10-08 17:51:55 +00:00
Jörg Thalheim
36573589ef
{vars,facts}/generate: ensure that args.flake is passed
2024-10-08 17:51:55 +00:00
Jörg Thalheim
1833724124
introduce better vm management abstraction and use it in tests
2024-10-08 17:51:55 +00:00