Qubasa
0536127044
clan-app: Add gpg to allowed-programs.json
2025-01-11 10:52:22 +07:00
clan-bot
4f416eb32d
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
aa846cb39f
Fix clan state list command
2025-01-11 01:39:41 +01:00
Johannes Kirschbauer
944ac371bd
Disk Templates: Fix invalid toml frontmatter
2025-01-10 12:06:41 +00:00
Johannes Kirschbauer
c6fe4f2625
API/vars: use string based interfaces to get and set vars to avoid state mutations
2025-01-10 12:06:01 +00:00
Qubasa
5b51950e6d
docs: Add debugging.md and repo-layout.md guides
2025-01-09 13:01:49 +00:00
Jörg Thalheim
65680649e0
don't run sops + editor in a pipe
2025-01-07 14:12:54 +01:00
Johannes Kirschbauer
6b209f1008
API/vars: simplify get/set prompts
2025-01-07 11:09:58 +01:00
Johannes Kirschbauer
d5e54d262b
API: Disk templates, persist original values
2025-01-07 10:21:47 +01:00
Qubasa
26ff5aa1e1
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
6f5aadcba5
clan-app: working nix run .#clan-app, working open_file with tkinter
2025-01-06 20:14:28 +01:00
Qubasa
973f8f0489
clan-app: working file dialogue
2025-01-06 20:14:24 +01:00
Qubasa
bed51fc324
clan-app: working js<->python api bridge
2025-01-06 20:14:20 +01:00
Johannes Kirschbauer
96935c61f2
UI: fix button hover state disabled in disabled tsat
2025-01-03 16:33:51 +01:00
Johannes Kirschbauer
88bade7c14
CLI: include command stderr on failures
2025-01-03 16:32:16 +01:00
Johannes Kirschbauer
08f6cdc43f
Serde: fix enum type conversion, ensure roundtrip stability
2025-01-03 16:31:25 +01:00
Johannes Kirschbauer
7b930ab440
CLI: init cmd_with_root
2024-12-30 15:47:21 +01:00
Johannes Kirschbauer
a1c640db3d
UI: fix installer workflow asking for sudo pw in background
2024-12-30 15:47:21 +01:00
Johannes Kirschbauer
4253e50943
API/serde: remove broken list sorting in serializer
2024-12-28 16:18:09 +01:00
Jörg Thalheim
73680d2492
fix spacing in error message
2024-12-25 22:55:03 +01:00
Jörg Thalheim
e0b18c1579
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
bc48ec738b
vars: commit validation hashes
2024-12-25 21:02:52 +01:00
Jörg Thalheim
9fb0e3a1db
vars: fix path to validation hashes
2024-12-25 20:48:59 +01:00
Jörg Thalheim
14fdf2debd
vars/fact: isolate secret generation better from the system
2024-12-25 19:21:51 +00:00
Jörg Thalheim
cc6f344001
backup/list: improve error reporting
2024-12-24 07:11:00 +01:00
Michael Hoang
60ef888636
vars: make populate_dir a method of StoreBase
2024-12-22 05:53:26 +00:00
Michael Hoang
7aa275a5b4
install: upload vars needed for activation for installation
2024-12-22 05:53:26 +00:00
Michael Hoang
27849a61db
machines: don't build on target machine if remote builders can be used
2024-12-21 10:43:17 +11:00
Johannes Kirschbauer
52db0e4e6c
API: Display only local block devices, remote ones should be retrieved from hw-report
2024-12-20 18:09:39 +01:00
DavHau
a5f82fc885
backups: throw error if no provider specified
2024-12-20 20:27:58 +07:00
DavHau
b451d7c3ff
machines update: remove unecessary special handling for non-path flakes
2024-12-20 19:23:25 +07:00
clan-bot
ab44967490
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
d91f653a65
vars: allow setting files as needed for activation
2024-12-19 13:05:05 +01:00
DavHau
ca614af0d4
vars/fix: mention machine in error message for fix
2024-12-19 17:39:02 +07:00
Qubasa
94b99034c9
clan-cli: Fix clan install command and multiple other issues
2024-12-18 15:29:08 +01:00
Michael Hoang
34b2b40222
vars: fix running generators on macOS
2024-12-19 00:16:22 +11:00
a-kenji
1596ecdb3d
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
7466445653
updating groups/machines/users keys now also update vars secrets
2024-12-17 19:24:30 +01:00
Jörg Thalheim
0e455cc77e
machine_logger: increase truncation limit to 20
...
10 was a bit short.
2024-12-17 17:51:47 +01:00
Michael Hoang
abd145aaaa
clan_cli: always use --target-host if specified for machines install
2024-12-18 00:13:17 +11:00
Michael Hoang
0ca2e7f728
clan_cli: fix target_host when running clan machines install
2024-12-18 00:08:10 +11:00
Qubasa
648d95b248
clan-cli: Make clan ssh automatically start tor
2024-12-17 12:13:18 +01:00
DavHau
7b3b1018aa
vars: commit files for clan vars set
...
fixes #2601
2024-12-17 15:56:08 +07:00
Michael Hoang
e7dcabc5c4
clan-cli: don't list non-Clan NixOS configurations
2024-12-17 15:11:38 +11:00
Michael Hoang
a876a5d6f4
facts: don't swallow exceptions when running clan facts generate
2024-12-16 17:06:29 +11:00
lassulus
74cec1d102
cli vars generate: quote generate name
2024-12-15 13:23:11 +01:00
DavHau
907fab455a
ssh: improve parsing of ipv6 hostnames
2024-12-15 17:46:50 +07:00
lassulus
e0f95a7a16
cli vars generate: mount test_store into bwrap
2024-12-14 17:05:27 +01:00
lassulus
c888f01823
vars: eval finalScript lazy
2024-12-14 13:38:51 +01:00
lassulus
a364a5b800
cli nix_build: don't create output symlink if no gcroot is given
2024-12-14 13:38:51 +01:00