Kenji Berthold
29ec9dbe26
Merge pull request 'pkgs/clan/lib: Handle basecase of directory functionality' ( #4654 ) from kenji/ke-add-directory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4654
2025-08-09 11:12:23 +00:00
a-kenji
a1874c940e
pkgs/cli/lib: Fix api test
2025-08-09 12:48:13 +02:00
a-kenji
d115705cb4
pkgs/clan/lib/directory: Improve error message formatting
2025-08-09 12:32:18 +02:00
a-kenji
eceb6eb999
pkgs/clan/lib: Handle basecase of directory functionality
2025-08-09 12:30:28 +02:00
hsjobeki
d25cace522
Merge pull request 'Host: convert to proctocol to avoid forced inheritance' ( #4647 ) from host-protocol into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4647
2025-08-09 09:29:09 +00:00
Johannes Kirschbauer
628e45293e
Update: avoid mutating and shadowing arguments
2025-08-09 11:18:50 +02:00
a-kenji
b6bccd218a
templates(flake-parts-minimal): Fix erroneous removal
2025-08-09 00:56:21 +02:00
Johannes Kirschbauer
1df9b6e97d
Remote: set default for commance_prefix
2025-08-08 22:48:19 +02:00
Johannes Kirschbauer
58fa7ac32b
Host: convert to proctocol to avoid forced inheritance
2025-08-08 22:33:05 +02:00
hsjobeki
110d1d4921
Merge pull request 'UI/Install workflow: integrate api until hardware report' ( #4646 ) from ui-more into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4646
2025-08-08 19:23:00 +00:00
Johannes Kirschbauer
1eb567682c
API/ts: fix empty object is not nullish
2025-08-08 21:03:03 +02:00
Johannes Kirschbauer
3cf8f605d5
flash: default keymap and lang
2025-08-08 20:56:45 +02:00
Johannes Kirschbauer
cc07e0ea44
update hw config: add nixos-facter as default
2025-08-08 20:56:15 +02:00
Johannes Kirschbauer
ccb9340478
Host: add None as default to command_prefix
2025-08-08 20:55:54 +02:00
Jeremy Fleischman
1129862293
machines update: support --target-host localhost
...
This is basically
<af7ce9b8ed >,
but with support for deploying locally.
This failed to install secrets to `/var/lib/sops-nix`. That's because
our `LocalHost` didn't have support for sudo yet. I fixed that.
2025-08-08 12:42:26 +00:00
hsjobeki
c0f2bcf751
Merge pull request 'API/Machine: refactor api returns readonly' ( #4627 ) from readonly into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4627
2025-08-08 08:54:49 +00:00
Johannes Kirschbauer
20c23fa64b
API/Machine: refactor api returns readonly
2025-08-08 10:44:32 +02:00
clan-bot
10e43a8884
Merge pull request 'Update nixpkgs' ( #4443 ) from update-nixpkgs into main
2025-08-08 05:57:37 +00:00
Michael Hoang
a71a5880c1
treewide: reformat
2025-08-08 15:28:37 +10:00
Michael Hoang
2f2f3b6898
cli: fix missing newline in error message
2025-08-08 15:19:19 +10:00
hsjobeki
d0ebc75135
Merge pull request 'ui/install: hook up stepper store and api' ( #4626 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4626
2025-08-07 14:21:21 +00:00
Johannes Kirschbauer
40503306d1
cli/flash: fixup types
2025-08-07 16:09:36 +02:00
Johannes Kirschbauer
915178765b
Vars: rename classmethod to get_machine_generators
2025-08-07 15:31:17 +02:00
Johannes Kirschbauer
4536a5b4f5
clan/flash: provide defaults for verbose flash options
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
a9cfda9acb
dirs: add local path to clan_core flake in dirs
2025-08-07 13:46:07 +02:00
DavHau
8bafbcb295
machines update: use 'localhost' for local build
2025-08-06 19:06:20 +07:00
Mic92
273c83ec27
Merge pull request 'update/flake-upload: use ssh-ng:// for nix copy' ( #4597 ) from local-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4597
2025-08-05 20:47:23 +00:00
Jörg Thalheim
44dcfa7844
rename --fetch-local to --upload-inputs
2025-08-05 19:31:29 +02:00
Jörg Thalheim
98f685f3ca
update/flake-upload: set correct remote-program for macOS targets
2025-08-05 19:31:29 +02:00
Mic92
3fe65f1f12
Merge pull request 'machines update: support local build' ( #4515 ) from local-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4515
2025-08-05 11:28:50 +00:00
Jörg Thalheim
6bb998f9dd
update/flake-upload: use ssh-ng:// for nix copy
...
I had concurrency issues with `nix copy` and the ssh:// protocol when
using a machine both as the build host/target host (for different
machines), where it make the result path partially available to a
different update command thread.
2025-08-05 13:26:34 +02:00
DavHau
af7ce9b8ed
machines update: support local build
...
Now the user can pass `--build-host local`, to select the local machine as a build host, in which case no ssh is used.
This means the admin machine does not necessarily have ssh set up to itself, which was confusing for many users.
Also this makes it easier to re-use a well configured nix remote build setup which is only available on the local machine. Eg if `--build-host local` nix' defaults for remote builds on that machine will be utilized.
2025-08-05 13:16:59 +02:00
DavHau
b74193514d
ssh: refactor callers to use new Host interface
2025-08-05 13:16:59 +02:00
DavHau
c33fd4e504
ssh: Introduce LocalHost vs. Remote via Host interface
...
Motivation: local builds and deployments without ssh
Add a new interface `Host` which is implemented bei either `Remote` or `Localhost`
This simplifies all interactions with hosts. THe caller does ot need to know if the Host is remote or local in mot cases anymore
2025-08-05 13:16:59 +02:00
pinpox
f314eb04d6
Reduce targetHost warning level
...
The documentation currently lists setting targetHost in the NixOS
configuration as a slower, but valid option. Especially for dynamic
values, this is the recommended way but it results in a lot of annyoing
warnings.
This lowers the warning level, so it will only get printed on --debug
2025-08-05 11:52:06 +02:00
lassulus
0119fc06ca
clan-cli select: show if select is cached or not
2025-08-02 21:26:39 +02:00
lassulus
5361261bd5
clan select: better error
2025-08-02 17:59:12 +02:00
lassulus
86e7bcc389
clan select: simplify select logging
2025-08-02 17:19:35 +02:00
Luis Hebendanz
0b816a2672
Merge pull request 'Fix getting-started guide' ( #4545 ) from Qubasa/clan-core:migrate-dyndns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4545
2025-08-01 08:30:09 +00:00
Qubasa
0b05b0b1ec
docs: review fixups
...
docs: review fixups
docs: review fixups
docs: fixup links in cli
docs: fixup links in cli
2025-08-01 14:53:31 +07:00
Johannes Kirschbauer
ab3158ca07
vars/decrypt_dependencies: simplify
2025-08-01 04:01:43 +00:00
hsjobeki
434ce1af49
Merge pull request 'vars/list: doogfood get_machines into cli' ( #4549 ) from vars-dog into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4549
2025-07-31 17:19:42 +00:00
Johannes Kirschbauer
cf6c3604ca
generators_from_flake: vars always bind to store
2025-07-31 16:16:36 +02:00
Johannes Kirschbauer
e2e4837b29
docs: add vars/gaph doc-strings
2025-07-31 15:26:22 +02:00
Johannes Kirschbauer
96fc3d409a
vars/list: untangle generators_from_flake and get_generators
2025-07-31 15:17:57 +02:00
Johannes Kirschbauer
392f244361
vars/list: doogfood get_machines into cli
...
This is important otherwise cli diverges from api
2025-07-31 14:02:50 +02:00
Qubasa
62a3503987
clan-lib: Always set a static private key for nixos-anywhere, to make --phases work properly
2025-07-31 17:06:00 +07:00
Mic92
d19ac1b9f5
Merge pull request 'machines update: refactor - simplify' ( #4506 ) from simplify-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4506
2025-07-30 18:42:02 +00:00
a-kenji
62c4f735ed
pkgs/clan/lib: Move get_clan_directories to dirs
2025-07-30 15:07:05 +02:00
Kenji Berthold
1791743444
Merge pull request 'pkgs/clan/lib: Add clan api to get the relative clan directory' ( #4534 ) from kenji/ke-add-computed-directory-function into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4534
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-07-30 12:30:30 +00:00