lassulus
5ac629f549
clan-cli: use new flake caching for machines
2025-02-23 15:58:03 +01:00
lassulus
3121c5ecdb
machines install: fix installation via tor
2025-02-22 03:39:42 +00:00
Jörg Thalheim
1f3bd09245
fix regex for detecting git+file inputs
2025-02-20 10:00:04 +07:00
Qubasa
03ce74fc74
clan-clI: Improve error message of clan update-hardware-config on non found nixos-facter
2025-02-18 17:40:27 +07:00
Michael Hoang
af228db398
machines: hide morph
2025-02-17 00:22:14 +07:00
Pablo Ovelleiro Corral
b0e7de3c8b
Create directory
2025-02-16 17:08:54 +00:00
Pablo Ovelleiro Corral
014aec9531
Fix output when rebuilding
2025-02-16 17:08:54 +00:00
Michael Hoang
160bbfcb37
cli: add morph command
2025-02-16 21:31:28 +07:00
Michael Hoang
bc53c7a886
cli: make some functions only create commits optionally
2025-02-16 21:14:09 +07:00
Johannes Kirschbauer
153b5560c3
Cli: delete machines bugfix. Dont modify the inventory in other places
2025-02-15 09:03:54 +07:00
Sacha Korban
0eaaabcf63
clan-cli: machines install: add phases option for nixos-anywhere
2025-02-13 17:10:02 +11:00
Johannes Kirschbauer
9b706c148b
Inventory: automatically create emtpy file on write
2025-02-10 09:02:23 +00:00
Johannes Kirschbauer
dee284d669
CLI: machine create use patch inventory for partial updates
2025-02-10 09:02:23 +00:00
lassulus
32748c14f4
clan_cli machines: use Flake instead of FlakeId
2025-02-07 06:26:09 +01:00
Qubasa
decf340258
clan-cli: Fix incorrect input handling in get_templates
2025-02-04 08:10:32 +00:00
Qubasa
0f4cdd31cd
clan-cli: Make clan machines create use templating.py
2025-01-31 18:07:48 +07:00
Qubasa
7545a9a883
clan-cli: Make clan flakes create discover templates from inputs. Add clan flakes list command
2025-01-30 16:24:50 +07:00
a-kenji
ce148c23a5
Fix various typos
2025-01-22 13:19:28 +01:00
Jörg Thalheim
62c6da4c32
clan/update: deploy_machine -> deploy_machines
2025-01-21 15:20:38 +01:00
Michael Hoang
0ec38c7919
vars: support secrets for partitioning the disk
2025-01-21 11:13:51 +00:00
Jörg Thalheim
c5a72f67c3
use nix flake archive in clan machines update for git+file flake inputs
2025-01-20 10:49:25 +01:00
Michael Hoang
01d86b6482
install: support -i flag for specifying SSH private key
2025-01-19 18:53:18 +11:00
Jörg Thalheim
c4a1e3ec95
switch to nixos-facter for hardware-config
2025-01-15 13:59:49 +00:00
Qubasa
5b51950e6d
docs: Add debugging.md and repo-layout.md guides
2025-01-09 13:01:49 +00:00
Johannes Kirschbauer
d5e54d262b
API: Disk templates, persist original values
2025-01-07 10:21:47 +01: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
DavHau
b451d7c3ff
machines update: remove unecessary special handling for non-path flakes
2024-12-20 19:23:25 +07:00
Qubasa
94b99034c9
clan-cli: Fix clan install command and multiple other issues
2024-12-18 15:29:08 +01: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
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
Michael Hoang
e7dcabc5c4
clan-cli: don't list non-Clan NixOS configurations
2024-12-17 15:11:38 +11:00
lassulus
c888f01823
vars: eval finalScript lazy
2024-12-14 13:38:51 +01:00
Qubasa
e490207d12
clan-cli: Rework 'clan ssh' command, improve Tor support.
2024-12-13 00:11:18 +01:00
Qubasa
ec54a6a978
clan-cli: Replace log.info to machine.info if applicable
2024-12-12 15:36:17 +01:00
clan-bot
edc8d0cf0e
Merge pull request 'fix: Calculate a seperate delete delta for removed data' ( #2587 ) from hsjobeki/clan-core:fix/writeable into main
2024-12-10 20:26:45 +00:00
Johannes Kirschbauer
2669d6a2cc
Inventory: init delete patial data
2024-12-10 21:19:04 +01:00
Johannes Kirschbauer
f65e92191a
Inventory: fix persistence
2024-12-10 16:41:40 +01:00
Johannes Kirschbauer
a3423130ed
API: fix create machine should set machine description and other data
2024-12-10 15:17:41 +01:00
lassulus
91118745de
vars: remove intermediate classes
2024-12-10 14:04:31 +01:00
Qubasa
343305c519
clan-cli: Fix missing error propagation in deploy
2024-12-10 00:03:33 +01:00
Qubasa
3cc7511764
clan-cli: Replace HostGroup and MachineGroup with generic AsyncRuntime class. Propagate cmd prefix over thread local. Close threads on CTRL+C
2024-12-09 18:07:23 +01:00
Johannes Kirschbauer
b1ba74a27b
inventory.{cli,api}: use only dictionaries
2024-12-06 18:51:20 +01:00
Qubasa
771b178516
clan-cli: made run_no_stdout runOpts compatible and make time table thread safe
2024-12-06 12:18:28 +01:00
Jörg Thalheim
419e17a999
extract nix_test_store helper for sandbox builds
2024-12-05 11:38:58 +01:00
Johannes Kirschbauer
d07d59a4fc
api: create machine touch only the created machine
2024-12-04 17:44:56 +01:00
Jörg Thalheim
7158f64800
commit file instead of just git adding it
2024-12-04 12:14:32 +01:00
Jörg Thalheim
6b8a9ff0dc
skip writing the empty inventory json
2024-12-04 12:14:32 +01:00
Jörg Thalheim
455c8654a1
clan/update: make build-host overridable in cli
2024-12-03 17:40:12 +01:00