DavHau
4a9ae3a45f
vars: rename createFile -> persist
2025-01-11 04:19:46 +00:00
Qubasa
06a85faca6
clan-app: Add gpg to allowed-programs.json
2025-01-11 10:52:22 +07:00
clan-bot
e3b54e62de
Merge pull request 'Fix clan state list command' ( #2716 ) from pinpox/clan-core:fix-state-list-command into main
2025-01-11 00:45:39 +00:00
Pablo Ovelleiro Corral
fd13e14c15
Fix clan state list command
2025-01-11 01:39:41 +01:00
Johannes Kirschbauer
fbaf9065bf
Disk Templates: Fix invalid toml frontmatter
2025-01-10 12:06:41 +00:00
Johannes Kirschbauer
06869a4d27
API/vars: use string based interfaces to get and set vars to avoid state mutations
2025-01-10 12:06:01 +00:00
Qubasa
3d0b2948f3
docs: Add debugging.md and repo-layout.md guides
2025-01-09 13:01:49 +00:00
Jörg Thalheim
84086b75a6
don't run sops + editor in a pipe
2025-01-07 14:12:54 +01:00
Johannes Kirschbauer
ecf37e02f8
API/vars: simplify get/set prompts
2025-01-07 11:09:58 +01:00
Johannes Kirschbauer
6403b42bb2
API: Disk templates, persist original values
2025-01-07 10:21:47 +01:00
Qubasa
63331a2a44
clan-cli: Ignore new type hints in api/serde.py
...
clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py
2025-01-06 20:14:28 +01:00
Qubasa
1b1fa8c71b
clan-app: working nix run .#clan-app, working open_file with tkinter
2025-01-06 20:14:28 +01:00
Qubasa
06879c1d34
clan-app: working file dialogue
2025-01-06 20:14:24 +01:00
Qubasa
0123fcd3a5
clan-app: working js<->python api bridge
2025-01-06 20:14:20 +01:00
Johannes Kirschbauer
1e72f72f3c
UI: fix button hover state disabled in disabled tsat
2025-01-03 16:33:51 +01:00
Johannes Kirschbauer
507b3372d6
CLI: include command stderr on failures
2025-01-03 16:32:16 +01:00
Johannes Kirschbauer
a42c758ab5
Serde: fix enum type conversion, ensure roundtrip stability
2025-01-03 16:31:25 +01:00
Johannes Kirschbauer
207865ac12
CLI: init cmd_with_root
2024-12-30 15:47:21 +01:00
Johannes Kirschbauer
87c9d1b941
UI: fix installer workflow asking for sudo pw in background
2024-12-30 15:47:21 +01:00
Johannes Kirschbauer
7d3b56d949
API/serde: remove broken list sorting in serializer
2024-12-28 16:18:09 +01:00
Jörg Thalheim
00a4f714ca
fix spacing in error message
2024-12-25 22:55:03 +01:00
Jörg Thalheim
6dac0cfe42
fix committing in git worktree
...
fixes https://git.clan.lol/clan/clan-core/issues/2636
2024-12-25 22:51:53 +01:00
Jörg Thalheim
5e43571140
vars: commit validation hashes
2024-12-25 21:02:52 +01:00
Jörg Thalheim
64fa29d058
vars: fix path to validation hashes
2024-12-25 20:48:59 +01:00
Jörg Thalheim
7b3efcec06
vars/fact: isolate secret generation better from the system
2024-12-25 19:21:51 +00:00
Jörg Thalheim
de761d688b
backup/list: improve error reporting
2024-12-24 07:11:00 +01:00
Michael Hoang
0bf701de63
vars: make populate_dir a method of StoreBase
2024-12-22 05:53:26 +00:00
Michael Hoang
1d7e0c1c02
install: upload vars needed for activation for installation
2024-12-22 05:53:26 +00:00
Michael Hoang
da4d7fa365
machines: don't build on target machine if remote builders can be used
2024-12-21 10:43:17 +11:00
Johannes Kirschbauer
6a6e9c1c2c
API: Display only local block devices, remote ones should be retrieved from hw-report
2024-12-20 18:09:39 +01:00
DavHau
e8edec65d6
backups: throw error if no provider specified
2024-12-20 20:27:58 +07:00
DavHau
90a6d28f6c
machines update: remove unecessary special handling for non-path flakes
2024-12-20 19:23:25 +07:00
clan-bot
5020f47a9b
Merge pull request 'vars: allow setting files as needed for activation' ( #2633 ) from vars-needed_activation into main
2024-12-19 12:26:58 +00:00
lassulus
70ff7fcc2f
vars: allow setting files as needed for activation
2024-12-19 13:05:05 +01:00
DavHau
ad9fde4b41
vars/fix: mention machine in error message for fix
2024-12-19 17:39:02 +07:00
Qubasa
a452cc1a02
clan-cli: Fix clan install command and multiple other issues
2024-12-18 15:29:08 +01:00
Michael Hoang
67b9357ce4
vars: fix running generators on macOS
2024-12-19 00:16:22 +11:00
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
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
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
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
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
9cc3bdbc9f
vars: eval finalScript lazy
2024-12-14 13:38:51 +01:00