Commit Graph

2555 Commits

Author SHA1 Message Date
a-kenji
6438e77519 pkgs/cli: Fix target_host for machines install
Use the correct `target_host`, if a user is defined.

Before the change:

```console
$ clan machines install
$ Install jon to 49.13.232.197? [y/N]
```

After the change:

```console
$ clan machines install
$ Install jon to root@49.13.232.197? [y/N]
```

Because root is the configured user for `target_host`, this is the
correct behavior.
2024-12-17 22:29:54 +01:00
clan-bot
1627745901 Merge pull request 'updating groups/machines/users keys now also update vars secrets' (#2630) from shrink-vars-tests into main 2024-12-17 19:55:56 +00:00
clan-bot
8be3e41663 Merge pull request 'UI/chore: init typography xxs body' (#2627) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-17 18:43:06 +00:00
Johannes Kirschbauer
f7ddc4c26d UI: replace TextInput with simple Layout of InputBase, InputLabel, ErrorMessage 2024-12-17 19:37:07 +01:00
Jörg Thalheim
f2856cb773 updating groups/machines/users keys now also update vars secrets 2024-12-17 19:24:30 +01:00
Jörg Thalheim
09c30b4d10 machine_logger: increase truncation limit to 20
10 was a bit short.
2024-12-17 17:51:47 +01:00
Jörg Thalheim
e978bfdf9a vars/tests: merge test_build_scripts_for_correct_system into test_generate_secret_for_multiple_machines 2024-12-17 17:39:27 +01:00
Jörg Thalheim
792aa8033b merge three prompt type tests into one 2024-12-17 17:39:19 +01:00
Jörg Thalheim
33aa638338 vars: remove duplicate test 2024-12-17 17:21:10 +01:00
Jörg Thalheim
e6addcc879 var: merge migration tests into one 2024-12-17 17:21:10 +01:00
Jörg Thalheim
4f7bd8e485 vars: delete duplicate shared flag test 2024-12-17 17:21:01 +01:00
Jörg Thalheim
047a6722eb clan_cli: merge four var tests into one 2024-12-17 17:21:01 +01:00
Johannes Kirschbauer
f2a2c1d0d7 UI: init {InputBase,InputLabel} 2024-12-17 16:58:06 +01:00
Johannes Kirschbauer
4709d07a88 UI/chore: init typography xxs body 2024-12-17 16:56:17 +01:00
clan-bot
3b22494e82 Merge pull request 'clan_cli: improve target_host handling for clan machines install' (#2626) from Enzime/clan-core:push-pplrtxtyoyks into main 2024-12-17 13:52:43 +00:00
Michael Hoang
7e16a1a268 clan_cli: always use --target-host if specified for machines install 2024-12-18 00:13:17 +11:00
Michael Hoang
a7f8613878 clan_cli: fix target_host when running clan machines install 2024-12-18 00:08:10 +11:00
Johannes Kirschbauer
e64adf7431 UI/chore: consistent color utils 2024-12-17 13:44:46 +01:00
Johannes Kirschbauer
0330ee39a3 UI: init label typography 2024-12-17 13:43:25 +01:00
Qubasa
fee5cf6c06 clan-cli: Make clan ssh automatically start tor 2024-12-17 12:13:18 +01:00
DavHau
b64422679e vars: commit files for clan vars set
fixes #2601
2024-12-17 15:56:08 +07:00
Michael Hoang
60c2ca726a clan-cli: don't list non-Clan NixOS configurations 2024-12-17 15:11:38 +11:00
Michael Hoang
2ead8a8da8 clan-cli: fix PATH not correctly including runtime dependencies 2024-12-17 13:05:25 +11:00
Michael Hoang
13ab00cd55 clan-cli: fix nix run clan-core failing inside direnv 2024-12-17 10:55:36 +11:00
DavHau
1cbba05055 build-clan: fix bug where vars generator scripts are built for target system instead of local system 2024-12-16 19:20:17 +07:00
Michael Hoang
57966ec91a facts: don't swallow exceptions when running clan facts generate 2024-12-16 17:06:29 +11:00
lassulus
0cfb43bada cli vars generate: quote generate name 2024-12-15 13:23:11 +01:00
DavHau
49ee32f610 ssh: improve parsing of ipv6 hostnames 2024-12-15 17:46:50 +07:00
lassulus
b3f87d1f40 cli vars generate: mount test_store into bwrap 2024-12-14 17:05:27 +01:00
lassulus
f184128433 cli test_vars: make output check less sensible to nix output 2024-12-14 13:42:31 +01:00
lassulus
9cc3bdbc9f vars: eval finalScript lazy 2024-12-14 13:38:51 +01:00
lassulus
83a38909c0 cli nix_build: don't create output symlink if no gcroot is given 2024-12-14 13:38:51 +01:00
Johannes Kirschbauer
9e79807e61 UI: sidebar add icons to sections 2024-12-13 11:48:00 +01:00
Qubasa
6b784f8623 clan-cli: Rework 'clan ssh' command, improve Tor support. 2024-12-13 00:11:18 +01:00
Qubasa
b9091beff9 clan-cli: Replace log.info to machine.info if applicable 2024-12-12 15:36:17 +01:00
Jörg Thalheim
cabdca4cd7 vms: don't leak vsock sockets in error case 2024-12-11 17:44:09 +00:00
Jörg Thalheim
11bb853015 remove clanCore in comment 2024-12-11 17:44:09 +00:00
clan-bot
26e02e711d Merge pull request 'pkgs/cli: Deprecate clanCore usage in favor of clan.core in clan state list' (#2597) from kenji/clan-core:kenji-clan-core-state into main 2024-12-11 15:56:59 +00:00
a-kenji
e23a0e765f pkgs/cli: Deprecate clanCore usage in favor of clan.core in clan state list 2024-12-11 16:45:47 +01:00
Jörg Thalheim
9ad4e4d041 fix clan vars for public vars 2024-12-11 16:39:54 +01:00
Jörg Thalheim
e52e7ef3a0 improve error message if sops secret contains unknown key 2024-12-11 16:18:18 +01:00
Jörg Thalheim
91dbafd174 run clang-format 2024-12-11 14:38:36 +00:00
Jörg Thalheim
012969cb68 prettier: also format json 2024-12-11 14:38:36 +00:00
Jörg Thalheim
96773c3ccc waypipe: only supported on Linux 2024-12-11 14:38:36 +00:00
Johannes Kirschbauer
03364c61e3 UI: machine details layout consistent 2024-12-11 11:34:02 +01:00
Johannes Kirschbauer
cad9d717e5 UI: flash installer layout consistent 2024-12-11 11:33:37 +01:00
Johannes Kirschbauer
2088f92e6d UI: switch some icons 2024-12-11 11:33:28 +01:00
Johannes Kirschbauer
7bb8c10943 UI: add back button to header 2024-12-11 11:33:15 +01:00
Johannes Kirschbauer
91d713e5ee UI: fix typography not beeing reponsive 2024-12-11 11:33:04 +01:00
Johannes Kirschbauer
2e80b76e9f UI: module list toggle {list,grid} view 2024-12-11 11:32:51 +01:00