Commit Graph

2146 Commits

Author SHA1 Message Date
a-kenji
c7ad5e1928 pkgs/cli: Remove superfluous comment string 2024-11-10 00:35:41 +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
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
Jörg Thalheim
94f0d86432 zerotier-members: improve ux of console output 2024-11-08 14:10:23 +00:00
Jörg Thalheim
91ff83c3c0 zerotier-members: make output better 2024-11-08 14:10:23 +00:00
a-kenji
60d7c5d82c add clanModule for zerotier inventory 2024-11-08 14:10:23 +00:00
a-kenji
e0cebd005a 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
16b0592d0f Classgen: forward item types for array types 2024-11-08 13:20:45 +01:00
Johannes Kirschbauer
4994b5acb5 Inventory: init inventory.tags for globally defined static and dynamic tags 2024-11-08 12:48:03 +01:00
a-kenji
552fb7e54a pkgs/cli: Add minimal-flake-parts to create 2024-11-08 12:34:30 +01:00
Johannes Kirschbauer
9561103610 Icon Update: logo, icon. 2024-11-06 13:25:30 +01:00
Johannes Kirschbauer
a5fdb3ecf3 Icon Update: shellcheck 2024-11-06 12:11:48 +00:00
Johannes Kirschbauer
c3133f7ecd Icons: init figma icon sync & optimizer 2024-11-06 12:11:48 +00:00
a-kenji
fd3f2d1691 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
a195971749 pkgs/cli: Apply naming standards to description and help fields 2024-11-05 19:18:44 +01:00
Johannes Kirschbauer
c87e88af6e UI/details: return early in error case 2024-11-05 16:04:09 +01:00
Jörg Thalheim
2b05f90239 expose an option to generate hardware configuration during installation 2024-11-05 14:33:22 +01:00
Jörg Thalheim
86d8992046 generate-hardware-config: remove backup file after we are done 2024-11-04 15:05:08 +01:00
Jörg Thalheim
2f3369cca5 add build-on-remote flag 2024-11-04 13:27:50 +01:00
Jörg Thalheim
c02ecc2f67 tests/command: also wait for exit status 2024-11-04 12:57:07 +01:00
clan-bot
532a3d1009 Merge pull request 'Add nixos-facter, vars fixes and remove git from base system' (#2292) from vars into main 2024-10-29 13:00:38 +00:00
Jörg Thalheim
8b2b82ab74 remove vendored nixos-facter package 2024-10-29 13:54:12 +01:00
Jörg Thalheim
b3d2be1f28 fix resource leak in case need_user_terminal is used 2024-10-29 13:54:12 +01:00
Jörg Thalheim
825fb1b6d6 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
5feb248e8f {facts,vars}/generator: also setup /proc
some applications fail without proc
2024-10-29 13:53:58 +01:00
danjujan
75ffb4436e pkgs: fix typos 2024-10-29 12:37:34 +00:00
DavHau
21d08ad780 ssh: fix ssh connections failing due to missing stdin 2024-10-28 17:56:12 +07:00
DavHau
33d049915c vars: fix shared dependency was not resolved correctly 2024-10-23 20:43:33 +07:00
DavHau
08fb34aa01 cli: set needs_user_terminal for all ssh commands 2024-10-23 19:40:50 +07:00
DavHau
4c6acf2301 cmd.run: add needs_user_terminal to unbreak sudo 2024-10-23 17:37:54 +07:00
Jörg Thalheim
4af1954abf ruff: enable warning lints 2024-10-23 09:06:02 +00:00
Louis Opter
4effc0c50e 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
Jörg Thalheim
eb481d6cff test_modules: add missing check argument 2024-10-23 09:50:08 +02:00
Jörg Thalheim
76b80304ca tests/command: also wait for processes to avoid leaks 2024-10-23 09:48:50 +02:00
Johannes Kirschbauer
fd55eae143 UI: improve dynamic module interface rendering 2024-10-22 13:30:33 +00:00
Mic92
e8838d309c Merge branch 'main' into amunsen-main 2024-10-22 11:00:26 +00:00
Jörg Thalheim
3bdb932cc2 clan-vm-manager: fix typing error 2024-10-22 12:47:56 +02:00
Jörg Thalheim
eb0643f920 fix nixpkgs command with latest nix version 2024-10-22 12:46:56 +02:00
Johannes Kirschbauer
dbb9668e74 UI: Init dynamic rendering of module config 2024-10-18 17:15:33 +02:00
Johannes Kirschbauer
3bc2991903 Serde: fixup & tests after changed serialization 2024-10-18 12:42:35 +02:00
Timo
0e2da5530b ui/machinelistitem: changes background-color on card 2024-10-18 12:02:00 +02:00
Johannes Kirschbauer
60174a9399 UI: Init modules list view, details view 2024-10-17 10:27:39 +02:00
Johannes Kirschbauer
fe65362bb2 API/Modules-list: List only inventory modules 2024-10-17 10:27:00 +02:00
Johannes Kirschbauer
3cb2396d66 Serde: improve js-python bridge 2024-10-17 10:26:14 +02:00
DavHau
b379bffeea vars: show full var_id when prompting 2024-10-16 13:13:41 +07:00
Qubasa
02e148d2ea 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
5b1070e7a7 use actual performance timer to measure how long a process takes 2024-10-10 17:59:56 +02:00
Jörg Thalheim
6122839f90 improve terminating processes on error 2024-10-10 17:59:26 +02:00