Commit Graph

5284 Commits

Author SHA1 Message Date
Mic92
4cc9aeb246 Merge pull request 'install: upload vars needed for activation for installation' (#2643) from Enzime/clan-core:push-yvpxptntlmuy into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2643
2024-12-22 05:53:26 +00: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
clan-bot
02a067deca Merge pull request 'flake: update disko for automatically loading ZFS keys' (#2644) from Enzime/clan-core:push-vxmqvsomutou into main 2024-12-22 04:47:50 +00:00
Michael Hoang
0e3e906ea5 flake: update disko for automatically loading ZFS keys 2024-12-22 15:40:59 +11:00
clan-bot
e8c157a512 Merge pull request 'machines: don't build on target machine if remote builders can be used' (#2639) from Enzime/clan-core:push-xzowvlsoytvv into main 2024-12-20 23:47:05 +00:00
Michael Hoang
dd101e030b lint: don't ignore rule that has been removed upstream 2024-12-21 10:43:17 +11: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
clan-bot
9f4eb3228c Merge pull request 'API: Display only local block devices, remote ones should be retrieved from hw-report' (#2642) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-20 19:20:54 +00:00
Johannes Kirschbauer
f747003893 UI: fix interface breakages on some components. Features will be migrated later 2024-12-20 20:14:42 +01:00
Johannes Kirschbauer
450408b6cb UI: suppress type problems with tailwind 2024-12-20 19:15:37 +01:00
Johannes Kirschbauer
e766cf5eaf Docs: add permanent footer with prev/next buttons 2024-12-20 19:13:55 +01:00
Johannes Kirschbauer
e578b57e13 UI: init tailwind popover-open variant 2024-12-20 18:15:11 +01:00
Johannes Kirschbauer
981e47bbcf UI: use FieldLayout in machine detail page 2024-12-20 18:14:41 +01:00
Johannes Kirschbauer
ba47dfc2ec UI: migrate flash installer page 2024-12-20 18:14:14 +01:00
Johannes Kirschbauer
29f7cafcca UI/TextInput: use FieldLayout 2024-12-20 18:13:41 +01:00
Johannes Kirschbauer
94ab273d74 UI: fixup Select component design & api 2024-12-20 18:13:06 +01:00
Johannes Kirschbauer
fd2ba1e220 UI: init FieldLayout wrapper 2024-12-20 18:11:36 +01:00
Johannes Kirschbauer
9de16d2e81 UI typography: export reusable types 2024-12-20 18:11:19 +01:00
Johannes Kirschbauer
dacfd69855 UI: init InputError component 2024-12-20 18:10:56 +01:00
Johannes Kirschbauer
ff2a08370a UI: remove unused blockdevices route 2024-12-20 18:10:11 +01: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
clan-bot
0427d5ebe4 Merge pull request 'backups: throw error if no provider specified' (#2641) from DavHau/clan-core:DavHau-dave into main 2024-12-20 13:34:05 +00:00
DavHau
a5f82fc885 backups: throw error if no provider specified 2024-12-20 20:27:58 +07:00
clan-bot
49002c0960 Merge pull request 'machines update: remove unecessary special handling for non-path flakes' (#2640) from DavHau/clan-core:DavHau-dave into main 2024-12-20 12:29:39 +00:00
DavHau
b451d7c3ff machines update: remove unecessary special handling for non-path flakes 2024-12-20 19:23:25 +07:00
clan-bot
7a38cc28ec Merge pull request 'clanModules/borgbackup: make backup directory configurable' (#2637) from borgbackup into main 2024-12-20 10:33:38 +00:00
clan-bot
2e06e12fdb Merge pull request 'flake: autodetect kernel modules for networking in initrd' (#2638) from Enzime/clan-core:push-qzyxnlulwoxz into main 2024-12-20 06:06:51 +00:00
Michael Hoang
2b64c7c879 flake: autodetect kernel modules for networking in initrd
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/862648589993a96480c2255197a28feea712f68f?narHash=sha256-zSQ2cR%2BNRJfHUVfkv%2BO6Wi53wXfzX8KHiO8fRfnvc0M%3D' (2024-11-22)
  → 'github:numtide/nixos-facter-modules/536472754982bf03079b4b4e0261838a760587c0?narHash=sha256-MRqwVAe3gsb88u4ME1UidmZFVCx%2BFEnoob0zkpO9DMY%3D' (2024-12-19)
2024-12-20 16:59:21 +11:00
Jörg Thalheim
b9e47844d9 clanModules/borgbackup: make backup directory configurable
This is useful if your have external storage for it.
2024-12-19 20:22:49 +01: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
clan-bot
0c971ef3be Merge pull request 'vars/fix: mention machine in error message for fix' (#2635) from DavHau/clan-core:DavHau-dave into main 2024-12-19 10:45:45 +00:00
DavHau
ca614af0d4 vars/fix: mention machine in error message for fix 2024-12-19 17:39:02 +07:00
clan-bot
0641a20bd2 Merge pull request 'clan-cli: Fix command and multiple other issues' (#2634) from Qubasa/clan-core:Qubasa-main into main 2024-12-18 14:34:59 +00:00
Qubasa
94b99034c9 clan-cli: Fix clan install command and multiple other issues 2024-12-18 15:29:08 +01:00
clan-bot
37dc74d0f7 Merge pull request 'vars: fix running generators on macOS' (#2632) from Enzime/clan-core:push-wlpmppqqxyqs into main 2024-12-18 13:22:55 +00:00
Michael Hoang
34b2b40222 vars: fix running generators on macOS 2024-12-19 00:16:22 +11:00
clan-bot
6274ae0401 Merge pull request 'pkgs/cli: Fix target_host for machines install' (#2631) from kenji/clan-core:kenji-fix-target-host into main 2024-12-18 10:11:53 +00: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
clan-bot
cedcf49483 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
0f42bc09ca 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
f492601d7b UI: replace TextInput with simple Layout of InputBase, InputLabel, ErrorMessage 2024-12-17 19:37:07 +01:00
Jörg Thalheim
7466445653 updating groups/machines/users keys now also update vars secrets 2024-12-17 19:24:30 +01:00
clan-bot
c80139eb8f Merge pull request 'machine_logger: increase truncation limit to 20' (#2629) from Mic92-shrink-vars-tests into main 2024-12-17 18:22:24 +00: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
clan-bot
b1de7a91c7 Merge pull request 'Merge vars tests into fewer ones for speed' (#2628) from shrink-vars-tests into main 2024-12-17 16:48:17 +00:00
Jörg Thalheim
9d9e5bdd26 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
1255c3108e merge three prompt type tests into one 2024-12-17 17:39:19 +01:00
Jörg Thalheim
5ebbb3ee98 vars: remove duplicate test 2024-12-17 17:21:10 +01:00