9a05d2a072
Drop macOS-specific remote-program param from nix copy command
2025-11-04 01:53:58 +08:00
clan-bot
62b64c3b3e
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5728 ) from update-devFlake-nixpkgs-dev into main
2025-11-03 15:07:53 +00:00
clan-bot
19a1ad6081
Update nixpkgs-dev in devFlake
2025-11-03 15:01:50 +00:00
Kenji Berthold
a2df5db3d6
Merge pull request 'docs/testing: Document requirements for our container testing system' ( #5693 ) from ke-docs-testing-container into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5693
2025-11-03 13:13:53 +00:00
Kenji Berthold
ac46f890ea
Merge branch 'main' into ke-docs-testing-container
2025-11-03 13:06:14 +00:00
clan-bot
19abf8d288
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5726 ) from update-devFlake-nixpkgs-dev into main
2025-11-03 10:06:31 +00:00
clan-bot
e5105e31c4
Update nixpkgs-dev in devFlake
2025-11-03 10:01:47 +00:00
clan-bot
0f847b4799
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5724 ) from update-devFlake-nixpkgs-dev into main
2025-11-02 20:06:24 +00:00
clan-bot
40a8a823b8
Update nixpkgs-dev in devFlake
2025-11-02 20:01:50 +00:00
Mic92
e3adb3fc71
Merge pull request 'Fix vars upload for public vars with neededFor activation/partitioning' ( #5723 ) from vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5723
2025-11-02 16:00:13 +00:00
Jörg Thalheim
a569a1d147
Fix vars upload for public vars with neededFor activation/partitioning
...
When vars are marked with neededFor="activation" or "partitioning", they
need to be available early in the boot process. However, the populate_dir
methods in both sops and password_store secret backends were only calling
self.get() which only retrieves secret vars from the .../secret path.
This caused public vars (stored at .../value) to fail with "Secret does
not exist" errors when trying to upload them.
The fix uses file.value property instead, which properly delegates to the
correct store (SecretStore or FactStore) based on whether the file is
marked as secret or public.
Fixes affected all neededFor phases in both backends:
- sops: activation and partitioning phases
- password_store: activation and partitioning phases
2025-11-02 16:49:49 +01:00
Mic92
64718b77ca
Merge pull request 'readme fix' ( #5722 ) from i18n/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5722
2025-11-02 15:49:16 +00:00
i18n
7b34c39736
Merge pull request '更新 docs/site/getting-started/creating-your-first-clan.md' ( #1 ) from i18n-patch-1 into main
...
Reviewed-on: https://git.clan.lol/i18n/clan-core/pulls/1
2025-11-02 13:24:05 +00:00
i18n
4d6ab60793
更新 docs/site/getting-started/creating-your-first-clan.md
2025-11-02 13:23:04 +00:00
clan-bot
35bffee544
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5721 ) from update-devFlake-nixpkgs-dev into main
2025-11-02 10:05:51 +00:00
clan-bot
16917fd79b
Update nixpkgs-dev in devFlake
2025-11-02 10:01:50 +00:00
clan-bot
895c116c01
Merge pull request 'Update nix-darwin' ( #5720 ) from update-nix-darwin into main
2025-11-02 05:06:00 +00:00
clan-bot
e67151f7b9
Merge pull request 'Update flake-parts' ( #5719 ) from update-flake-parts into main
2025-11-02 05:05:06 +00:00
clan-bot
8d26ec1760
Update nix-darwin
2025-11-02 05:01:04 +00:00
clan-bot
7a9062b629
Update flake-parts
2025-11-02 05:01:01 +00:00
clan-bot
de07454a0a
Merge pull request 'Update nix-darwin' ( #5718 ) from update-nix-darwin into main
2025-11-01 20:06:16 +00:00
clan-bot
6fe60f61cf
Update nix-darwin
2025-11-01 20:00:58 +00:00
clan-bot
3fa74847e4
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5716 ) from update-devFlake-nixpkgs-dev into main
2025-11-01 15:06:01 +00:00
clan-bot
fc37140b52
Update nixpkgs-dev in devFlake
2025-11-01 15:01:52 +00:00
hsjobeki
83406c61f3
Merge pull request 'services: update hello-world readme and tests' ( #5714 ) from update-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5714
2025-11-01 11:37:39 +00:00
hsjobeki
6d736e7e80
Merge pull request 'docs: update experimental notes as planned in release-notes' ( #5715 ) from ex-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5715
2025-11-01 11:35:29 +00:00
Johannes Kirschbauer
7b6cec4100
services: update hello-world readme and tests
2025-11-01 12:33:15 +01:00
Johannes Kirschbauer
e21a6516b5
docs: update experimental notes as planned in release-notes
2025-11-01 12:30:01 +01:00
Mic92
6ffe8ea5f6
Merge pull request 'treewide: replace pkgs.hostPlatform with pkgs.stdenv.hostPlatform' ( #5713 ) from fix-eval into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5713
2025-10-31 17:57:38 +00:00
Jörg Thalheim
0a2fefd141
treewide: replace pkgs.hostPlatform with pkgs.stdenv.hostPlatform
...
nixpkgs now throws an error for this, the other variant in stdenv also
exists in the previous release
2025-10-31 18:52:31 +01:00
Luis Hebendanz
0c885d05b6
Merge pull request 'clan_lib/flake: Improve select error message' ( #5711 ) from Qubasa/clan-core:improve_clan_select_error_message into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5711
2025-10-31 15:11:29 +00:00
Qubasa
58d85b117a
clan_lib/flake: Improve select error message
2025-10-31 16:05:54 +01:00
clan-bot
ad58d7b6e9
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5710 ) from update-devFlake-nixpkgs-dev into main
2025-10-31 15:05:13 +00:00
clan-bot
7a63cb9642
Update nixpkgs-dev in devFlake
2025-10-31 15:01:50 +00:00
clan-bot
196b98da36
Merge pull request 'Update disko' ( #5707 ) from update-disko into main
2025-10-31 10:10:34 +00:00
clan-bot
42acbe95b8
Update disko
2025-10-31 10:00:58 +00:00
clan-bot
b6b065e365
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5706 ) from update-devFlake-nixpkgs-dev into main
2025-10-31 00:08:41 +00:00
clan-bot
4b1955b189
Update nixpkgs-dev in devFlake
2025-10-31 00:02:00 +00:00
clan-bot
ef7ef8b843
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5704 ) from update-devFlake-nixpkgs-dev into main
2025-10-30 20:05:49 +00:00
clan-bot
38c1367322
Update nixpkgs-dev in devFlake
2025-10-30 20:01:49 +00:00
clan-bot
8e72c086fd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5702 ) from update-devFlake-nixpkgs-dev into main
2025-10-30 15:06:22 +00:00
clan-bot
c454b1339d
Update nixpkgs-dev in devFlake
2025-10-30 15:01:51 +00:00
hsjobeki
d1b2d43e5b
Merge pull request 'services: move into clan submodule' ( #5701 ) from unify-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5701
2025-10-30 13:00:14 +00:00
Johannes Kirschbauer
da98ca0f1c
clanLib: remove unused mapInstances
2025-10-30 13:54:05 +01:00
Johannes Kirschbauer
1953540d08
tests: update inventory tests to use whole clan modules
2025-10-30 13:54:05 +01:00
Johannes Kirschbauer
be31b9ce21
docs: remove service options from nuschtSearch
...
These hacks are blocking the flake level vars and exports
Maybe we bring this back later
So far nobody seemed using nuschtSearch
2025-10-30 13:54:05 +01:00
Johannes Kirschbauer
169b4016e6
docs: set self to clan-core for docs
2025-10-30 13:53:49 +01:00
Johannes Kirschbauer
2e55028a1b
services: move into clan submodule
2025-10-30 13:53:49 +01:00
hsjobeki
1d228231f2
Merge pull request 'clan/services: Reduce surface of services wrapper function' ( #5700 ) from unify-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5700
2025-10-30 09:49:56 +00:00
Johannes Kirschbauer
affb926450
services: remove duplicate module args
2025-10-30 10:10:55 +01:00
Johannes Kirschbauer
c7f65e929f
inventoryAdapter: replace importedModulesEvaluated by equivalent config
2025-10-30 10:10:31 +01:00
hsjobeki
ba4ff493e8
Merge pull request 'revert: uniqueStrings' ( #5699 ) from hsjobeki-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5699
2025-10-30 08:34:59 +00:00
hsjobeki
eb08803e2a
revert bfb30251e6
...
revert lib: replace uniqueStrings after upstreamed
TODO: Reapply after 25.11 release
2025-10-30 08:29:43 +00:00
clan-bot
bbc9486f0e
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5697 ) from update-devFlake-nixpkgs-dev into main
2025-10-29 20:06:16 +00:00
clan-bot
999d709350
Update nixpkgs-dev in devFlake
2025-10-29 20:01:48 +00:00
clan-bot
0b1a330cc2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5696 ) from update-devFlake-nixpkgs-dev into main
2025-10-29 15:06:14 +00:00
clan-bot
995b7cf50d
Update nixpkgs-dev in devFlake
2025-10-29 15:01:49 +00:00
a-kenji
bc290fe59f
docs/testing: Document requirements for our container testing system
...
Document the requirements for our container testing system:
- uid-range
- auto-allocate-uids
Further document that the container tests are used by default and how to
switch to the more traditional and more supported / featureful VM
testing framework.
2025-10-29 13:47:26 +01:00
clan-bot
5477b13233
Merge pull request 'Update nuschtos in devFlake' ( #5690 ) from update-devFlake-nuschtos into main
2025-10-29 10:08:23 +00:00
clan-bot
d6170e5efb
Update nuschtos in devFlake
2025-10-29 10:01:53 +00:00
clan-bot
18fe117363
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5689 ) from update-devFlake-nixpkgs-dev into main
2025-10-29 00:07:47 +00:00
clan-bot
33a868acc2
Update nixpkgs-dev in devFlake
2025-10-29 00:03:27 +00:00
hsjobeki
11372d35e1
Merge pull request 'clan/checks: fix clanLib not checking' ( #5685 ) from check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5685
2025-10-28 10:51:17 +00:00
Johannes Kirschbauer
b7508b2b43
clan/checks: fix clanLib not checking
2025-10-28 11:46:49 +01:00
clan-bot
183817b769
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5684 ) from update-devFlake-nixpkgs-dev into main
2025-10-28 10:08:10 +00:00
clan-bot
591e53e9be
Update nixpkgs-dev in devFlake
2025-10-28 10:01:54 +00:00
hsjobeki
a6a6415e31
Merge pull request 'clan/checks: move into lib function; add tests' ( #5683 ) from role-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5683
2025-10-28 08:46:41 +00:00
Johannes Kirschbauer
0060ead876
clan/checks: move into lib function; add tests
2025-10-28 09:40:31 +01:00
hsjobeki
224e41d3ad
Merge pull request 'modules: clean up clan module' ( #5679 ) from role-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5679
2025-10-28 08:22:46 +00:00
Johannes Kirschbauer
b3323007b2
test: update test filesets
2025-10-28 09:04:50 +01:00
Johannes Kirschbauer
3e950bc66f
docs: add doc-comment for template submodule
2025-10-28 09:04:50 +01:00
Johannes Kirschbauer
9503b46b21
modules: rename arbitrary interface.nix to 'top-level-interface'
2025-10-28 09:04:50 +01:00
Johannes Kirschbauer
a2cec323a2
modules: move nixos modules into nixosModules folder
2025-10-28 09:04:50 +01:00
Johannes Kirschbauer
4239f4d27f
clan/module: explain throw
2025-10-28 09:04:50 +01:00
clan-bot
8ac8264997
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5681 ) from update-devFlake-nixpkgs-dev into main
2025-10-27 20:06:57 +00:00
clan-bot
544a53ae9c
Update nixpkgs-dev in devFlake
2025-10-27 20:01:46 +00:00
Luis Hebendanz
89e18482ed
Merge pull request 'checks: Fix flakey llm test, improve performance' ( #5678 ) from Qubasa/clan-core:fix_slow_llm into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5678
2025-10-27 16:34:21 +00:00
Qubasa
a8217b5a32
llm checks: Skip parts of the test on aarch64 for performance
2025-10-27 17:25:06 +01:00
Qubasa
bdd5de5628
checks: Fix flakey llm test, improve performance
2025-10-27 17:12:12 +01:00
Mic92
61d8bfd0d1
Merge pull request 'fix: respect directory parameter in machines_dir' ( #5677 ) from fix-custom-directory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5677
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-10-27 15:42:44 +00:00
Jörg Thalheim
b8d79c7fc2
fix: respect directory parameter in machines_dir
...
The machines_dir() function was hardcoding "machines" without considering
the directory parameter from buildClan/clan configuration. This caused
update-hardware-config and other commands to write files to the wrong
location when a custom directory was specified (e.g., directory = ./clan).
Solution:
1. Added relativeDirectory to inventoryClass in Nix, computed where both
self and directory have consistent store paths during evaluation
2. Updated machines_dir() to use this pre-computed relative path from Nix
via flake.select("clanInternals.inventoryClass.relativeDirectory")
Fixes: https://git.clan.lol/clan/clan-core/issues/2906
2025-10-27 16:37:07 +01:00
hsjobeki
fb25ab028b
Merge pull request 'services: add role settings with explicit warning' ( #5676 ) from role-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5676
2025-10-27 15:33:39 +00:00
clan-bot
5b136ecaf0
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5675 ) from update-devFlake-nixpkgs-dev into main
2025-10-27 15:08:23 +00:00
clan-bot
d4733dbb0a
Update nixpkgs-dev in devFlake
2025-10-27 15:01:55 +00:00
Johannes Kirschbauer
bfb30251e6
lib: replace uniqueStrings after upstreamed
2025-10-27 14:00:46 +01:00
Johannes Kirschbauer
33115f76b7
services: add role settings with explicit warning
2025-10-27 13:31:44 +01:00
pinpox
9e9208e699
Merge pull request 'yggdrasil: read peers from exports' ( #5657 ) from yggdrasil-export-peers into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5657
2025-10-27 12:13:59 +00:00
hsjobeki
6b3fd57174
Merge pull request 'extraModules: soft deprecation for string extraModules' ( #5656 ) from inline into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5656
2025-10-27 12:12:17 +00:00
clan-bot
3be5237cf6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5674 ) from update-devFlake-nixpkgs-dev into main
2025-10-26 20:06:09 +00:00
clan-bot
368f80eaae
Merge pull request 'Update nix-darwin' ( #5665 ) from update-nix-darwin into main
2025-10-26 20:04:12 +00:00
clan-bot
4d7079534c
Update nixpkgs-dev in devFlake
2025-10-26 20:01:51 +00:00
clan-bot
7d4cf1c551
Update nix-darwin
2025-10-26 20:00:59 +00:00
pinpox
ea088b95e9
yggdrasil: read peers from exports
2025-10-26 12:07:52 +01:00
pinpox
a7a37f5320
Update readme
2025-10-26 12:02:17 +01:00
clan-bot
8bda4880a7
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5673 ) from update-devFlake-nixpkgs-dev into main
2025-10-26 10:06:09 +00:00
clan-bot
6eb83618c0
Update nixpkgs-dev in devFlake
2025-10-26 10:01:55 +00:00
pinpox
1fe3833779
Merge pull request 'clanServices/internet: set default for host export' ( #5672 ) from issue-5671 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5672
2025-10-25 20:44:00 +00:00
pinpox
e63f5c966e
clanServices/internet: set default for host export
2025-10-25 22:37:17 +02:00
pinpox
69241183ac
Merge pull request 'Fix meta.tld option' ( #5670 ) from issue-5669 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5670
2025-10-25 20:18:28 +00:00
pinpox
0a7c65cd27
Fix meta.tld option
...
The option curretly keeps it default value, even if set. This fixes the
value being passed through correctly, so that the user-specified value
is actually used.
Fixes : #5669
2025-10-25 22:08:44 +02:00
clan-bot
bd13eb3e23
Merge pull request 'Update treefmt-nix' ( #5660 ) from update-treefmt-nix into main
2025-10-25 20:06:14 +00:00
clan-bot
1e5191a16c
Update treefmt-nix
2025-10-25 20:01:34 +00:00
clan-bot
1e4bf0dd4e
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5667 ) from update-devFlake-nixpkgs-dev into main
2025-10-25 10:07:40 +00:00
clan-bot
4d66dc59aa
Update nixpkgs-dev in devFlake
2025-10-25 10:01:59 +00:00
hsjobeki
9a442c15e9
Merge pull request 'docs: add experimental note to 'exports'' ( #5662 ) from exports into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5662
2025-10-24 15:11:27 +00:00
clan-bot
157af90a56
Merge pull request 'Update treefmt-nix in devFlake' ( #5661 ) from update-devFlake-treefmt-nix into main
2025-10-24 15:08:50 +00:00
Johannes Kirschbauer
24b94965d8
docs: add experimental note to 'exports'
2025-10-24 17:05:47 +02:00
clan-bot
46bcad9267
Update treefmt-nix in devFlake
2025-10-24 15:01:55 +00:00
Johannes Kirschbauer
1aba0577dc
schemas: filter 'extraModules' from python classes and derived schemas
2025-10-24 16:57:26 +02:00
Luis Hebendanz
383088af2d
Merge pull request 'clan_lib/llm: get_llm_turn uses state transitions instead of callback function' ( #5659 ) from Qubasa/clan-core:llm_no_callback2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5659
2025-10-24 14:37:25 +00:00
Qubasa
c3456c1f0c
clan_lib/llm: get_llm_turn uses state transitions instead of callback function
2025-10-24 16:31:09 +02:00
lassulus
183de9209f
Merge pull request 'clan_lib select: fix maybe select storing miss as {}' ( #5655 ) from select_cache_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5655
2025-10-24 12:51:33 +00:00
hsjobeki
1df5c5ff60
Merge pull request 'clanTest: throw when usage of 'self' is triggered' ( #5658 ) from specialArgs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5658
2025-10-24 12:16:34 +00:00
Johannes Kirschbauer
e55a3b4fc6
clanTest: throw when usage of 'self' is triggered
...
That means we rely on a certain structure of the user flake
these assumptions cannot be made. Their flake can have any shape and is not controlled by us
2025-10-24 14:10:17 +02:00
Johannes Kirschbauer
6ee4657da3
extraModules: soft deprecation for string extraModules
2025-10-24 12:54:17 +02:00
lassulus
7294d8bcbe
clan_lib select: fix maybe select storing miss as {}
2025-10-24 12:46:48 +02:00
hsjobeki
3fec5aa5b3
Merge pull request 'api: services simplify update services; update tests' ( #5654 ) from inline into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5654
2025-10-24 10:41:26 +00:00
Johannes Kirschbauer
63e55b8631
api: services simplify update services; update tests
2025-10-24 12:19:26 +02:00
clan-bot
dd771f8dd9
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5653 ) from update-devFlake-nixpkgs-dev into main
2025-10-24 10:05:38 +00:00
clan-bot
d31a4cc7d8
Update nixpkgs-dev in devFlake
2025-10-24 10:01:53 +00:00
hsjobeki
73d4cf51af
Merge pull request 'services: allow inline modules' ( #5652 ) from inline into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5652
2025-10-23 16:48:06 +00:00
Johannes Kirschbauer
d015218226
api: update models
2025-10-23 18:43:07 +02:00
Johannes Kirschbauer
f50475fcfd
services: allow inline modules
2025-10-23 18:43:07 +02:00
Johannes Kirschbauer
ae5efd9e2f
inventory: fix path filter wrong length
2025-10-23 18:43:07 +02:00
hsjobeki
c2c2874e82
Merge pull request 'modules: move clan docs into clan-module' ( #5651 ) from lib-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5651
2025-10-23 15:57:38 +00:00
Johannes Kirschbauer
1f8c2a3722
modules: move clan docs into clan-module
2025-10-23 17:52:39 +02:00
hgl
50aa7eb0cf
Merge pull request 'ui: use storybook-solidjs-vite for storybook' ( #5649 ) from hgl-sb-vite into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5649
2025-10-23 15:11:01 +00:00
clan-bot
920b39a124
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5635 ) from update-devFlake-nixpkgs-dev into main
2025-10-23 15:06:59 +00:00
Glen Huang
c159ef79d2
ui: use storybook-solidjs-vite for storybook
2025-10-23 23:04:09 +08:00
clan-bot
7a95b169c1
Update nixpkgs-dev in devFlake
2025-10-23 15:02:00 +00:00
hsjobeki
0c3fd40120
Merge pull request 'inventory: clean up unused modules and submodule names' ( #5638 ) from lib-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5638
2025-10-23 13:14:37 +00:00
hgl
7268697dc5
Merge pull request 'ui: not using wasm node' ( #5642 ) from hgl-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5642
2025-10-23 12:52:26 +00:00
Glen Huang
ec395bada4
ui: not using wasm node
...
Tested both on arm64 darwin and linux that build can succeed without them
2025-10-23 20:48:59 +08:00
hsjobeki
757552671c
Merge pull request 'API: init delete instance' ( #5641 ) from instance-delete into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5641
2025-10-23 12:46:24 +00:00
Johannes Kirschbauer
04b52d5bee
inventory: clean up unused modules and submodule names
2025-10-23 14:44:38 +02:00
Johannes Kirschbauer
ffeb8b892a
API: init delete instance
2025-10-23 14:40:52 +02:00
hgl
26806b5750
Merge pull request 'ui: clean up using knip' ( #5633 ) from hgl-storybook into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5633
2025-10-23 12:39:46 +00:00
Glen Huang
6e70054566
ui: clean up using knip
2025-10-23 20:25:47 +08:00
hsjobeki
93268e8592
Merge pull request 'modules/inventory: use filtered serialization of inventory instead' ( #5634 ) from modules-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5634
2025-10-23 12:14:48 +00:00
Johannes Kirschbauer
a420c6ca25
inventory/tests: fixup test fixture
2025-10-23 13:51:37 +02:00
Johannes Kirschbauer
69fd13a76f
clan-core-for-checks: update
2025-10-23 13:31:47 +02:00
Johannes Kirschbauer
ab3f262c22
modules/inventory: use filtered serialization of inventory
...
Opens up inventory for partially non-serializable parts
2025-10-23 10:37:14 +02:00
hgl
aabbe0dfac
Merge pull request 'run storybook in nix derivation' ( #5589 ) from hgl-storybook into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5589
2025-10-23 07:23:26 +00:00
Glen Huang
35cb99a3a2
app: fix typo
2025-10-23 14:26:12 +08:00
Glen Huang
90e6d77e26
ui: fix running storybook tests in ci
2025-10-23 14:26:12 +08:00
Glen Huang
5fb4751bd8
ui: fail storybook tests if playwright version mismatch
2025-10-23 14:26:12 +08:00
Glen Huang
03640e44a4
ui: make ci run storybook tests
2025-10-23 14:26:12 +08:00
Glen Huang
51fd60917e
ui: fix createInstaller.tsx fmt
2025-10-23 14:26:12 +08:00
Glen Huang
2d7e659953
ui: run storybook tests with nix
2025-10-23 14:26:12 +08:00
Brian McGee
c638df8ed9
wip(storybook): run storybook in nix derivation
2025-10-23 14:26:12 +08:00
Brian McGee
ec269a48f3
wip(storybook): run storybook in nix derivation
2025-10-23 14:26:12 +08:00
clan-bot
fc4c9287cb
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5632 ) from update-devFlake-nixpkgs-dev into main
2025-10-23 05:07:25 +00:00
clan-bot
fee62373a9
Update nixpkgs-dev in devFlake
2025-10-23 05:02:06 +00:00
pinpox
f075b339b5
Merge pull request 'Add library function to read public vars' ( #5628 ) from lib-vars-helper into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5628
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
2025-10-22 22:52:57 +00:00
pinpox
872a622f71
Add tests
2025-10-23 00:42:32 +02:00
pinpox
4a41c4cefb
clanServices/data-mesher: use clanLib.getPublicValue
2025-10-22 23:26:04 +02:00
pinpox
a5cd36e845
clanServices/zerotier: use clanLib.getPublicValue
2025-10-22 23:18:00 +02:00
pinpox
0dd6c08e33
clanServices/wireguard: use clanLib.getPublicValue
2025-10-22 22:48:56 +02:00
pinpox
dc0b7fc3bf
Add library function to read public vars
2025-10-22 19:56:10 +02:00
hsjobeki
0d4bbbd17e
Merge pull request 'inventory: filter extraModules and remove unneded top-level options' ( #5603 ) from modules-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5603
2025-10-22 17:20:20 +00:00
Johannes Kirschbauer
90797ffa7d
inventory: filter extraModules and remove unneded top-level options
2025-10-22 19:13:31 +02:00
hsjobeki
7f2bd809d6
Merge pull request 'modules: simplify inventoryClass module' ( #5627 ) from lib-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5627
2025-10-22 16:56:29 +00:00
Johannes Kirschbauer
da7ff9a40a
modules/inventory: distributed services output reduce lexical scope
2025-10-22 18:47:30 +02:00
Johannes Kirschbauer
410d0d0532
modules: move input-mapping into inventoryClass submodule
2025-10-22 18:46:10 +02:00
Johannes Kirschbauer
a25d983c87
modules: move introspection module into inventoryClass submodule
2025-10-22 18:28:09 +02:00
clan-bot
3953fa4047
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5630 ) from update-devFlake-nixpkgs-dev into main
2025-10-22 15:08:26 +00:00
clan-bot
ea93cb9987
Merge pull request 'Update nixos-facter-modules' ( #5629 ) from update-nixos-facter-modules into main
2025-10-22 15:08:16 +00:00
clan-bot
c13278f3c2
Update nixpkgs-dev in devFlake
2025-10-22 15:02:13 +00:00
clan-bot
66fdf937e3
Update nixos-facter-modules
2025-10-22 15:01:13 +00:00
Johannes Kirschbauer
843f55f844
modules: simplify inventoryClass module
2025-10-22 16:29:33 +02:00
pinpox
5a5633d779
Merge pull request 'Add meta.tld clan option' ( #5619 ) from add-tld into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5619
2025-10-22 14:19:16 +00:00
Luis Hebendanz
8310433342
Merge pull request 'clan-lib: Add llm API for clan service selection' ( #5626 ) from Qubasa/clan-core:llm_api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5626
2025-10-22 13:39:35 +00:00
Qubasa
51141772b3
clan_lib: Add llm integration tests
2025-10-22 15:36:11 +02:00
Qubasa
58b88e874f
clan_lib: Add llm unit tests
2025-10-22 15:36:11 +02:00
Qubasa
5fb616efb4
clan_lib: Add llm container test data
2025-10-22 15:36:11 +02:00
Qubasa
6c6afd6f4b
clan_lib: Move llm.py out of clan_lib/services towards it's own clan_lib/llm folder
2025-10-22 15:36:11 +02:00
Qubasa
4010953041
clan_lib: Add llm api
2025-10-22 15:36:11 +02:00
Luis Hebendanz
6b74c66292
Merge pull request 'clan-cli: Make select query reproducible, by sorting select keys' ( #5625 ) from Qubasa/clan-core:repro_select into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5625
2025-10-22 13:04:01 +00:00
Luis Hebendanz
fd35adbc3e
Merge pull request 'clan-cli: Add support for ForwardRef type in type_to_jsonschema and tests' ( #5624 ) from Qubasa/clan-core:forward_ref_add into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5624
2025-10-22 12:58:34 +00:00
Qubasa
f86b0ec3da
clan-cli: Make select query reproducible, by sorting select keys
2025-10-22 14:56:07 +02:00
Luis Hebendanz
5f6e0540cd
Merge pull request 'clan-cli: Add passthru.sourceWithTest for container_test.py' ( #5623 ) from Qubasa/clan-core:passthru_test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5623
2025-10-22 12:54:37 +00:00
Qubasa
c7ec9a9715
clan-cli: Add support for ForwardRef type in type_to_jsonschema and tests
2025-10-22 14:45:04 +02:00
Qubasa
841e9135fe
clan-cli: Add passthru.sourceWithTest for container_test.py
2025-10-22 14:36:16 +02:00
pinpox
9299cd9666
Add tld
2025-10-22 12:40:09 +02:00
Kenji Berthold
9851993b82
Merge pull request 'pkgs/cli: Autocomplete --build-host' ( #5609 ) from ke-cli-complete-buildhost into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5609
2025-10-22 07:51:50 +00:00
Kenji Berthold
55d1807f07
Merge branch 'main' into ke-cli-complete-buildhost
2025-10-22 07:41:08 +00:00
clan-bot
ee0abdc7f4
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5616 ) from update-devFlake-nixpkgs-dev into main
2025-10-22 00:07:16 +00:00
clan-bot
6c9ab63842
Update nixpkgs-dev in devFlake
2025-10-22 00:02:06 +00:00
a-kenji
d70db5af79
pkgs/cli: Autocomplete buildhost
2025-10-21 22:40:37 +02:00
clan-bot
eae858dec6
Merge pull request 'Update nixos-facter-modules' ( #5607 ) from update-nixos-facter-modules into main
2025-10-21 20:08:56 +00:00
clan-bot
2ec035a1cb
Update nixos-facter-modules
2025-10-21 20:01:12 +00:00
hsjobeki
bd6c227bbe
Merge pull request 'lib: move modules into a toplevel folder' ( #5610 ) from lib-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5610
2025-10-21 19:06:45 +00:00
Johannes Kirschbauer
02f3474a58
modules: add source to eval tests
2025-10-21 21:01:06 +02:00
Johannes Kirschbauer
c838e08d77
lib/modules: fixup paths
2025-10-21 20:41:28 +02:00
Johannes Kirschbauer
346e3d816a
lib/modules: move modules out of lib
2025-10-21 19:35:50 +02:00
Mic92
a15959fad2
Merge pull request 'pkgs/cli: Fix dynamic shell completions' ( #5599 ) from ke-cli-completion-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5599
2025-10-21 14:36:10 +00:00
clan-bot
0e0c2ead1f
Merge pull request 'Update sops-nix' ( #5601 ) from update-sops-nix into main
2025-10-21 14:25:13 +00:00
a-kenji
c42381d810
pkgs/cli: Fix dynamic shell completions
...
Fix dynamic shell completions by correcting parameter names
Dynamic completions for the CLI were not working because completion
functions used `_prefix` as the first parameter name instead of `prefix`.
This is incompatible with how `argcomplete` passes it's arguments.
Add regression test for the prefix parameter as well as some basic shell
completion testing.
2025-10-21 14:19:30 +00:00
clan-bot
587ce7258a
Update sops-nix
2025-10-21 14:19:11 +00:00
Mic92
d0bb804843
Merge pull request 'sshd: check searchDomains before accessing openssh-cert generator' ( #5519 ) from fix-sshd-searchdomains-graceful-degrade into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5519
Reviewed-by: Luis Hebendanz <consulting@qube.email >
2025-10-21 14:18:58 +00:00
Jörg Thalheim
410eecb988
monitoring: regenerate test certificates with 100-year expiration
...
Regenerated telegraf test certificates to use the new 100-year
expiration period instead of the default 30-day expiration.
Related to #5605
2025-10-21 15:28:41 +02:00
Jörg Thalheim
98136142b4
monitoring: extend telegraf certificate expiration to 100 years
...
The default 30-day expiration was causing certificates to expire
frequently, breaking monitoring. Setting to 100 years provides a
temporary solution until automated certificate rotation is implemented.
Fixes #5605
2025-10-21 15:28:41 +02:00
Jörg Thalheim
37da9fb3e4
sshd: client role inherits searchDomains from all servers
...
The client role now automatically collects and merges searchDomains from
ALL servers in the instance when not explicitly configured. This eliminates
redundant configuration and ensures clients trust certificates from all
servers.
Also uses lib.mkIf with .exists check to safely handle the openssh-cert
generator access, checking searchDomains first to enable lazy evaluation.
2025-10-21 15:28:41 +02:00
clan-bot
4566ad9789
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5602 ) from update-devFlake-nixpkgs-dev into main
2025-10-21 12:47:33 +00:00
clan-bot
6faacc7dde
Update nixpkgs-dev in devFlake
2025-10-21 10:02:01 +00:00
hsjobeki
0d088cac7e
Merge pull request 'modules-1' ( #5598 ) from modules-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5598
2025-10-20 16:56:29 +00:00
Johannes Kirschbauer
3ffad3f97f
inventory: add docs for available specialArgs in service submodules
2025-10-20 16:53:56 +00:00
Johannes Kirschbauer
3d0c281fd6
inventory: add clanLib to specialArgs
2025-10-20 16:53:56 +00:00
Mic92
5b399fd447
Merge pull request 'vars: respect deploy flag for shared secrets' ( #5572 ) from oneingan/clan-core:vars-no-deploy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5572
2025-10-20 15:37:03 +00:00
clan-bot
bfedc93f2c
Merge pull request 'Update test-fixtures in devFlake' ( #5597 ) from update-devFlake-test-fixtures into main
2025-10-20 15:06:46 +00:00
clan-bot
c63e706fe9
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5596 ) from update-devFlake-nixpkgs-dev into main
2025-10-20 15:06:26 +00:00
clan-bot
dfc241c62d
Update test-fixtures in devFlake
2025-10-20 15:01:44 +00:00
clan-bot
6fcdc05911
Update nixpkgs-dev in devFlake
2025-10-20 15:01:40 +00:00
hsjobeki
137f22b39e
Merge pull request 'docs: add docs for clanLib' ( #5594 ) from inventory-fixes-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5594
2025-10-20 14:24:57 +00:00
Johannes Kirschbauer
9857a395f1
docs: add docs for clanLib
2025-10-20 14:57:10 +02:00
hsjobeki
4302b06715
Merge pull request 'docs: add docs for finalSettings' ( #5593 ) from inventory-fixes-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5593
2025-10-20 12:46:06 +00:00
Johannes Kirschbauer
064bc43f27
docs: add docs for finalSettings
2025-10-20 14:41:06 +02:00
hsjobeki
7ab1b6823f
Merge pull request 'inventory: expose finalSettings of every machine' ( #5581 ) from inventory-fixes-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5581
2025-10-20 12:38:50 +00:00
Johannes Kirschbauer
f96a487bc3
inventory: expose finalSettings of every machine
2025-10-20 14:32:49 +02:00
Mic92
e6a1953785
Merge pull request 'ci/build-clan-app: drop --system' ( #5592 ) from mic92-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5592
2025-10-20 12:30:03 +00:00
Mic92
4bedb380b8
ci/build-clan-app: drop --system
...
this changes nix into believing it can run darwin, when it cannot, it should however do remote builds
2025-10-20 12:27:12 +00:00
clan-bot
3b070ae1f3
Merge pull request 'Update treefmt-nix' ( #5587 ) from update-treefmt-nix into main
2025-10-20 10:10:25 +00:00
clan-bot
bdb0a97285
Merge pull request 'Update flake-parts' ( #5586 ) from update-flake-parts into main
2025-10-20 10:10:03 +00:00
clan-bot
a0cce07259
Merge pull request 'Update treefmt-nix in devFlake' ( #5588 ) from update-devFlake-treefmt-nix into main
2025-10-20 10:09:53 +00:00
clan-bot
1edf576702
Update treefmt-nix in devFlake
2025-10-20 10:01:43 +00:00
clan-bot
7824ee99cb
Update treefmt-nix
2025-10-20 10:01:21 +00:00
clan-bot
13c20242ad
Update flake-parts
2025-10-20 10:00:47 +00:00
clan-bot
ba81b1ae12
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5585 ) from update-devFlake-nixpkgs-dev into main
2025-10-20 05:07:22 +00:00
clan-bot
7eb54b6564
Update nixpkgs-dev in devFlake
2025-10-20 05:01:42 +00:00
clan-bot
5c007edd9f
Merge pull request 'Update treefmt-nix' ( #5583 ) from update-treefmt-nix into main
2025-10-19 20:07:55 +00:00
clan-bot
03ba598842
Merge pull request 'Update treefmt-nix in devFlake' ( #5584 ) from update-devFlake-treefmt-nix into main
2025-10-19 20:07:52 +00:00
clan-bot
d699f0b66a
Update treefmt-nix in devFlake
2025-10-19 20:01:46 +00:00
clan-bot
65e599b92a
Update treefmt-nix
2025-10-19 20:01:21 +00:00
hsjobeki
788f8beea4
Merge pull request 'inventory: remove role.settings' ( #5579 ) from inventory-fixes-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5579
2025-10-19 16:54:31 +00:00
hsjobeki
da8768c4c0
Merge pull request 'helloWorld: bring back example code' ( #5582 ) from dos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5582
2025-10-19 16:12:00 +00:00
Johannes Kirschbauer
eb11054f65
helloWorld: bring back example code
2025-10-19 18:07:14 +02:00
clan-bot
5922b4617c
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5580 ) from update-devFlake-nixpkgs-dev into main
2025-10-19 15:06:11 +00:00
clan-bot
5286994288
Update nixpkgs-dev in devFlake
2025-10-19 15:01:39 +00:00
pinpox
8ad025b462
Merge pull request 'Fix deprecated test names' ( #5575 ) from fix-borgbackup-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5575
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-10-19 14:47:22 +00:00
Johannes Kirschbauer
4442cb2fe0
inventory: remove role.settings
...
Within a clan.service the module can access 'role.peer.settings' and 'role.peer.machine.jon.settings'
While the current machine is jon, accessing the role settings is arguably a design mistake.
I didn't catch that problem, unfortunately this might be a breaking change
2025-10-19 16:43:21 +02:00
hsjobeki
460c6d4fc9
Merge pull request 'inventory: fix internal indentifier' ( #5576 ) from inventory-fixes-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5576
2025-10-19 14:25:45 +00:00
pinpox
893fa47a50
Run treefmt
2025-10-19 15:17:41 +02:00
pinpox
62d3a18783
clanServices/wireguard: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 15:09:42 +02:00
pinpox
ac1cd5114a
clanServices/admin: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 15:07:25 +02:00
pinpox
e0b5855013
clanServices/trusted-nix-caches: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 15:01:39 +02:00
pinpox
4fd057413f
clanServices/sshd: fix deprecated test name
...
- fix test name to new format
- regenrate vars via update-vars
2025-10-19 14:59:40 +02:00
pinpox
96fcc41b19
clanServices/zerotier: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:55:03 +02:00
pinpox
811b994d57
clanServices/wireguard: fix deprecated test name
...
- fix test name to new format
2025-10-19 14:54:01 +02:00
pinpox
87aa62e128
clanServices/wifi: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:53:48 +02:00
pinpox
612275477a
clanServices/users: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:52:55 +02:00
pinpox
046cfcb4d7
clanServices/syncthing: fix deprecated test name
...
- fix test name to new format
2025-10-19 14:52:21 +02:00
pinpox
965d41b37d
clanServices/sshd: fix deprecated test name
...
- fix test name to new format
2025-10-19 14:52:08 +02:00
pinpox
c36935d81a
clanServices/packages: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:51:54 +02:00
pinpox
ae4197277a
clanServices/mycelium: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:51:22 +02:00
pinpox
0cc7bd7066
clanServices/localbackup: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:50:50 +02:00
pinpox
31f77f7a56
clanServices/hello-world: fix deprecated test name
...
- fix test name to new format
2025-10-19 14:50:19 +02:00
pinpox
d3d56e83e7
clanServices/garage: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:50:05 +02:00
pinpox
c725fc9fa3
clanServices/dyndns: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:49:27 +02:00
pinpox
7d6d5967dc
clanServices/data-mesher: fix deprecated test name
...
- fix test name to new format
- regenerate vars via update-vars
2025-10-19 14:45:45 +02:00
Johannes Kirschbauer
afcc5d9e26
inventory: fix internal indentifier
2025-10-19 14:32:16 +02:00
hsjobeki
0e9931d749
Merge pull request 'app: typography fixes' ( #5574 ) from ui-fix-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5574
2025-10-19 12:29:18 +00:00
pinpox
b4d1f07ed9
Fix borgbackup test name
...
- Fix deprecated name structure
- Re-generate vars
2025-10-19 14:26:45 +02:00
Johannes Kirschbauer
0d182f4431
app: fix 'added' tag typography; test linaria
2025-10-19 14:25:25 +02:00
Johannes Kirschbauer
20a6a5684d
app: add typography tokens
2025-10-19 14:22:01 +02:00
pinpox
e5967bb0de
Merge pull request 'Replace deprecated --fast nixos-rebuild option' ( #4042 ) from deprecate-fast into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4042
2025-10-19 10:49:36 +00:00
pinpox
dcd7b6a8a2
Replace depracated --fast nix option
...
The option is throwing a deprecation warning on current nix versions.
See for details: https://github.com/NixOS/nixpkgs/issues/417609#issuecomment-2981327326
2025-10-19 12:45:27 +02:00
oneingan
a48451cc8f
Merge branch 'main' into vars-no-deploy
2025-10-19 08:01:36 +00:00
clan-bot
7580475cb6
Merge pull request 'Update sops-nix' ( #5573 ) from update-sops-nix into main
2025-10-19 05:06:41 +00:00
clan-bot
ebe7a8ed0b
Update sops-nix
2025-10-19 05:01:34 +00:00
Juanjo Presa
c7cee905d1
vars: respect deploy flag for shared secrets
2025-10-18 23:09:31 +02:00
clan-bot
5b7925c079
Merge pull request 'Update treefmt-nix' ( #5569 ) from update-treefmt-nix into main
2025-10-18 20:08:40 +00:00
clan-bot
5e56f746ad
Merge pull request 'Update treefmt-nix in devFlake' ( #5571 ) from update-devFlake-treefmt-nix into main
2025-10-18 20:08:25 +00:00
clan-bot
4f5abe32f9
Merge pull request 'Update flake-parts' ( #5568 ) from update-flake-parts into main
2025-10-18 20:08:07 +00:00
clan-bot
64a0dcb37f
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5570 ) from update-devFlake-nixpkgs-dev into main
2025-10-18 20:07:35 +00:00
clan-bot
422f3da9df
Update treefmt-nix in devFlake
2025-10-18 20:01:47 +00:00
clan-bot
f7e20f70a8
Update nixpkgs-dev in devFlake
2025-10-18 20:01:42 +00:00
clan-bot
cbabcd91ed
Update treefmt-nix
2025-10-18 20:01:22 +00:00
clan-bot
5221d34448
Update flake-parts
2025-10-18 20:00:46 +00:00
clan-bot
5ab3c86b68
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5566 ) from update-devFlake-nixpkgs-dev into main
2025-10-18 15:05:13 +00:00
clan-bot
0324f68709
Update nixpkgs-dev in devFlake
2025-10-18 15:01:39 +00:00
clan-bot
7cd14a5959
Merge pull request 'Update nix-darwin' ( #5562 ) from update-nix-darwin into main
2025-10-17 20:07:30 +00:00
clan-bot
a6584023ae
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5563 ) from update-devFlake-nixpkgs-dev into main
2025-10-17 20:06:23 +00:00
clan-bot
2f381bf677
Update nixpkgs-dev in devFlake
2025-10-17 20:01:42 +00:00
clan-bot
a1c29f8aed
Update nix-darwin
2025-10-17 20:00:49 +00:00
hsjobeki
42eb8e7a05
Merge pull request 'docs: show {internet,tor} in docs; with experimental notice' ( #5557 ) from fix-deletions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5557
2025-10-17 18:17:08 +00:00
clan-bot
890cd47b2a
Merge pull request 'Update disko' ( #5561 ) from update-disko into main
2025-10-17 15:05:38 +00:00
clan-bot
cf4622052d
Update disko
2025-10-17 15:00:46 +00:00
Luis Hebendanz
88bf893228
Merge pull request 'docs: Fix missing direnv installation steps' ( #5560 ) from Qubasa/clan-core:fix_nix_direnv_docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5560
2025-10-17 14:46:27 +00:00
Qubasa
0b1f711f2c
docs: Fix missing direnv installation steps
2025-10-17 16:44:00 +02:00
Johannes Kirschbauer
39d9f44286
app: init linaria
2025-10-17 11:05:14 +02:00
Johannes Kirschbauer
f91aca959f
docs: show {internet,tor} in docs; with experimental notice
2025-10-17 09:37:45 +02:00
clan-bot
8af166b899
Merge pull request 'Update nuschtos in devFlake' ( #5556 ) from update-devFlake-nuschtos into main
2025-10-17 05:04:03 +00:00
clan-bot
61a185f947
Update nuschtos in devFlake
2025-10-17 05:01:45 +00:00
clan-bot
6ad2b0b124
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5555 ) from update-devFlake-nixpkgs-dev into main
2025-10-16 20:06:57 +00:00
clan-bot
b70c20b260
Update nixpkgs-dev in devFlake
2025-10-16 20:01:41 +00:00
Luis Hebendanz
9821e39b06
Merge pull request 'clanServices: add warning if manifest.readme is not set' ( #5537 ) from Qubasa/clan-core:fix_manifest_readmes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5537
2025-10-16 17:12:46 +00:00
Qubasa
2ac65b9c83
clan_lib/modules.py: get_service_readmes now logs an error if the readme is empty
2025-10-16 19:07:49 +02:00
Qubasa
18dc042a0b
inventory: Add warning if manifest.readme is missing
2025-10-16 19:07:49 +02:00
Qubasa
7a4a940e83
clanServices: add READMEs to internet and tor modules
2025-10-16 19:07:49 +02:00
Qubasa
df73169392
clanServices: Add missing manifest.readme to some services
2025-10-16 19:07:49 +02:00
clan-bot
50e4b7a2f4
Merge pull request 'Update data-mesher' ( #5554 ) from update-data-mesher into main
2025-10-16 15:06:32 +00:00
clan-bot
e836ff86b4
Update data-mesher
2025-10-16 15:00:45 +00:00
hsjobeki
714bc58573
Merge pull request 'inventoryStore: align class names and methods' ( #5551 ) from fix-deletions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5551
2025-10-16 11:09:29 +00:00
Johannes Kirschbauer
17c35c4259
persistence: align some more variable names
2025-10-16 13:04:24 +02:00
Johannes Kirschbauer
727474055e
persistence: invert all writeability logic into not readonly
2025-10-16 13:01:34 +02:00
Johannes Kirschbauer
892cb1baae
inventoryStore: invert writeability terms to readonly
2025-10-16 13:00:21 +02:00
brianmcgee
186656999f
Merge pull request 'Update copyright dates in license file' ( #5552 ) from brianmcgee-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5552
2025-10-16 10:58:34 +00:00
brianmcgee
00b7347d00
Update copyright dates in license file
2025-10-16 10:54:54 +00:00
Johannes Kirschbauer
5eb6b703f0
inventoryStore: align class names and methods
2025-10-16 12:50:54 +02:00
hsjobeki
3d436b3c6b
Merge pull request 'api: check deletions if possible' ( #5538 ) from fix-deletions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5538
2025-10-16 10:50:15 +00:00
Johannes Kirschbauer
d78dca47e2
modules: update service test
2025-10-16 12:42:49 +02:00
Johannes Kirschbauer
8254d197f0
api: persistence allow path prefix
2025-10-16 12:42:45 +02:00
Johannes Kirschbauer
a4839f9cf2
api: persistence, fix regressions
2025-10-16 11:57:38 +02:00
DavHau
bb4b43f5be
Merge pull request 'sshd: fix crash: attribute 'openssh-cert' missing' ( #5546 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5546
2025-10-16 09:56:39 +00:00
DavHau
4c7699b205
sshd: fix crash: attribute 'openssh-cert' missing
2025-10-16 16:50:38 +07:00
DavHau
b7013dc795
Merge pull request 'wireguard/test: move test to service directory' ( #5507 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5507
2025-10-16 07:55:53 +00:00
clan-bot
617e4b0ce1
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5541 ) from update-devFlake-nixpkgs-dev into main
2025-10-15 20:08:37 +00:00
clan-bot
600d37682c
Update nixpkgs-dev in devFlake
2025-10-15 20:01:40 +00:00
clan-bot
ac4800a7df
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5540 ) from update-devFlake-nixpkgs-dev into main
2025-10-15 15:05:45 +00:00
clan-bot
0af64dad01
Update nixpkgs-dev in devFlake
2025-10-15 15:01:48 +00:00
Johannes Kirschbauer
a32a5151dc
api: remove unused validation method
2025-10-15 16:19:21 +02:00
Johannes Kirschbauer
16d245b179
api: check deletions if possible
2025-10-15 16:15:54 +02:00
Luis Hebendanz
24ecdb227e
Merge pull request 'clan_lib: Add get_service_readmes api function' ( #5530 ) from Qubasa/clan-core:add_get_readme into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5530
2025-10-14 16:59:42 +00:00
Qubasa
867fa5140b
clan_lib: Add get_service_readmes api function
...
Returns the README.md for one or multiple clan services, needed for the
clan ai feature
2025-10-14 18:54:22 +02:00
Luis Hebendanz
891aac8381
Merge pull request 'clan_lib: init platform independent service_runner' ( #5382 ) from service_runner into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5382
2025-10-14 16:47:31 +00:00
Qubasa
2b616575e1
service_runner: Fix starting a service twice
2025-10-14 17:32:21 +02:00
Qubasa
3f07f6ac79
service_runner: add grouping feature
2025-10-14 17:32:21 +02:00
Qubasa
c6b0b114c5
clan_lib: init platform independent service_runner
2025-10-14 17:31:37 +02:00
hsjobeki
8803343ae1
Merge pull request 'persistence: generate properties for data by traversing data' ( #5502 ) from persistence_attributes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5502
2025-10-14 15:27:10 +00:00
hsjobeki
4cfe866079
Merge pull request 'lib/cli: tests collect coverage' ( #5528 ) from test-cov into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5528
2025-10-14 15:23:28 +00:00
Johannes Kirschbauer
8609538756
clan_lib: allow explicit readonly access to inventory attributes
2025-10-14 17:21:39 +02:00
clan-bot
5ea0e7776e
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5527 ) from update-devFlake-nixpkgs-dev into main
2025-10-14 15:08:17 +00:00
Johannes Kirschbauer
a296b8a1fe
lib/cli: tests collect coverage
2025-10-14 17:07:19 +02:00
clan-bot
ebbbdcaa59
Update nixpkgs-dev in devFlake
2025-10-14 15:01:54 +00:00
Mic92
ccf64d5951
Merge pull request 'fix: handle OSError when age keys are too long to be file paths' ( #5523 ) from clan-secrets into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5523
2025-10-14 14:35:05 +00:00
pinpox
16e20e159f
Merge pull request 'Fix module mention in docs generation' ( #5526 ) from fix-docs-service-roles into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5526
2025-10-14 14:18:08 +00:00
pinpox
43a5a5db5a
Merge pull request 'Merge pull request 'clanServices: add kde module' ( #5487 ) from desktop-service into main' ( #5525 ) from desktop-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5525
2025-10-14 14:14:56 +00:00
pinpox
c1686691fa
Fix module mention in docs generation
2025-10-14 16:14:40 +02:00
pinpox
115d0a05b7
Merge pull request 'clanServices: add kde module' ( #5487 ) from desktop-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5487
2025-10-14 16:10:55 +02:00
pinpox
4cfef1e21c
Merge pull request 'clanServices: add kde module' ( #5487 ) from desktop-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5487
2025-10-14 14:08:04 +00:00
pinpox
42e3fea9e5
clanServices: add desktop module
2025-10-14 16:02:20 +02:00
DavHau
6b7530f27d
wireguard/test: move test to service directory
2025-10-14 20:34:51 +07:00
DavHau
7e00a08111
Merge pull request 'lib/test/container-test-driver: Fix extraPythonPackages support' ( #5491 ) from ke-test-extra-packages into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5491
2025-10-14 13:33:08 +00:00
Johannes Kirschbauer
0c245f8eda
persistence: generate properties for data by traversing data
2025-10-14 14:51:06 +02:00
Jörg Thalheim
9469968851
fix: handle OSError when age keys are too long to be file paths
...
Prevents "File name too long" errors when users provide age keys directly
to 'clan secrets users add', as Path.is_file() would fail before the key
validation could run.
Fixes: https://git.clan.lol/clan/clan-core/issues/5522
2025-10-14 13:15:54 +01:00
Luis Hebendanz
c2a71fb423
Merge pull request 'docs: add Vaultwarden, Easytier and Nix Cache to community modules' ( #5521 ) from Qubasa/clan-core:add_community_role into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5521
2025-10-14 11:23:50 +00:00
Qubasa
13d3bc9391
docs: add Vaultwarden, Easytier and Nix Cache to community modules
2025-10-14 13:07:18 +02:00
pinpox
3161ab3903
Merge pull request 'Add more community services' ( #5517 ) from doc-community-services-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5517
2025-10-14 10:39:14 +00:00
pinpox
6df67aee00
Add more community services
2025-10-14 12:36:39 +02:00
pinpox
ed9f9c0d9d
Merge pull request 'Document community service' ( #5515 ) from doc-community-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5515
2025-10-14 10:29:29 +00:00
pinpox
969c17e410
Document community service
2025-10-14 12:27:13 +02:00
Luis Hebendanz
3c7c52e35a
Merge pull request 'clan_cli: Add typeAlias support for api.py' ( #5509 ) from Qubasa/clan-core:fix_jsonschema_gen into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5509
2025-10-14 10:21:11 +00:00
pinpox
b0e327e0d1
Merge pull request 'Document community service' ( #5513 ) from doc-community-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5513
2025-10-14 10:21:09 +00:00
pinpox
550b374d20
Document community service
2025-10-14 12:17:29 +02:00
Qubasa
23008d1f73
openapi: Add a test for TypeAliasing
2025-10-14 12:06:04 +02:00
hsjobeki
733d80d0b2
Merge pull request 'app: use geist font' ( #5508 ) from fix-font into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5508
2025-10-14 09:48:53 +00:00
Johannes Kirschbauer
9dceddc6c2
app: remove 'condensed' variant
2025-10-14 11:46:28 +02:00
Qubasa
f1747079c8
clan_cli: Add typeAlias support for api.py
2025-10-14 11:30:48 +02:00
Johannes Kirschbauer
ffdcd9b41e
app: use geist font
...
Drop Archivo, ArchivoSemicondensed, CommitMono
in favour of only one
2025-10-14 11:19:57 +02:00
Luis Hebendanz
2ef56aff70
Merge pull request 'Fix sshd docs' ( #5492 ) from Qubasa/clan-core:fix_sshd_docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5492
2025-10-14 08:56:32 +00:00
pinpox
2ca4abbfef
Merge pull request 'wireguard/docs: fix nix code in examples' ( #5506 ) from wg-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5506
Reviewed-by: pinpox <clan@pablo.tools >
2025-10-14 07:06:53 +00:00
clan-bot
1344466097
Merge pull request 'Update sops-nix' ( #5504 ) from update-sops-nix into main
2025-10-14 05:04:24 +00:00
DavHau
b1b68c514d
wireguard/docs: fix nix code in examples
...
This was using outdated syntax
2025-10-14 12:02:59 +07:00
clan-bot
08072b3850
Update sops-nix
2025-10-14 05:01:51 +00:00
clan-bot
67637007a2
Merge pull request 'Update nuschtos in devFlake' ( #5503 ) from update-devFlake-nuschtos into main
2025-10-13 20:11:04 +00:00
clan-bot
558dd55058
Update nuschtos in devFlake
2025-10-13 20:02:04 +00:00
Qubasa
63ccbd7ca7
clanServices: improve sshd docs
2025-10-13 19:56:09 +02:00
hsjobeki
d9f6b7e3fb
Merge pull request 'api: prepare persistence_attributes' ( #5453 ) from persistence_attributes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5453
2025-10-13 15:23:03 +00:00
clan-bot
254f9b9c5f
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5498 ) from update-devFlake-nixpkgs-dev into main
2025-10-13 15:12:22 +00:00
clan-bot
44ff545436
Merge pull request 'Update sops-nix' ( #5496 ) from update-sops-nix into main
2025-10-13 15:11:34 +00:00
Johannes Kirschbauer
40de60946a
api: migrate to use persistence attributes everywhere
2025-10-13 17:04:01 +02:00
clan-bot
f25d17d9c2
Update nixpkgs-dev in devFlake
2025-10-13 15:02:14 +00:00
clan-bot
70233b5e53
Update sops-nix
2025-10-13 15:01:44 +00:00
clan-bot
044d5f1c7d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5497 ) from update-devFlake-clan-core-for-checks into main
2025-10-13 15:01:42 +00:00
clan-bot
389c586a26
Merge pull request 'Update nix-darwin' ( #5494 ) from update-nix-darwin into main
2025-10-13 14:59:12 +00:00
clan-bot
e01a79696b
Update clan-core-for-checks in devFlake
2025-10-13 14:30:29 +00:00
clan-bot
aade61b019
Update nix-darwin
2025-10-13 14:29:54 +00:00
Qubasa
6956858d61
clanServices: Fix sshd vars dependency
2025-10-13 16:05:51 +02:00
Michael Hoang
7e7e58eb64
Merge pull request 'Update nixpkgs' ( #5211 ) from update-nixpkgs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5211
2025-10-13 13:19:45 +00:00
Michael Hoang
46f746d09c
cli: fix installation test with latest release of nixos-anywhere
2025-10-13 15:06:20 +02:00
clan-bot
56e03d1f25
Update nixpkgs
2025-10-13 14:51:00 +02:00
Kenji Berthold
0343e4b91a
Merge branch 'main' into ke-test-extra-packages
2025-10-13 12:31:37 +00:00
a-kenji
137d505c3b
lib/test/container-test-driver: Fix extraPythonPackages support
...
Fix `extraPythonPackages` support in the container test driver.
It triggered the following warning from `nixpkgs`:
```
python3Packages = throw "do not use python3Packages when building Python packages, specify each used package as a separate argument"; # do not remove
```
The following `callPackage` usage triggered the `throw`:
```
hostPackages.python3.pkgs.callPackage
```
The change to a regular `callPackage` i`nvocation fixes this issue.
Added a container test with a popular package to ensure compatibility in the future.
Closes : #5459
2025-10-13 14:19:01 +02:00
DavHau
dd783bdf85
Merge pull request 'vars/sops: stop writing on clan vars check' ( #5490 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5490
2025-10-13 11:51:29 +00:00
DavHau
bf41a9ef00
vars/sops: stop writing on clan vars check
...
This fixes an issue where check_vars() would add machine keys or authorize machines for shared vars.
These write operations should only ever be done on a `clan vars generate`, which `clan vars check` should be a read-only operation
2025-10-13 18:43:49 +07:00
Qubasa
d8c9508507
Revert "Fix ssh docs"
...
This reverts commit fe8f7e919e .
2025-10-13 13:09:13 +02:00
pinpox
f313ace19a
Merge pull request 'Revert SSH docs' ( #5488 ) from revert-ssh-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5488
2025-10-13 10:56:54 +00:00
pinpox
fe8f7e919e
Fix ssh docs
2025-10-13 12:51:42 +02:00
hsjobeki
c64276b64e
Merge pull request 'lib: remove unused facts utils' ( #5480 ) from fix-b into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5480
2025-10-13 10:06:42 +00:00
hsjobeki
436da16bf9
Merge pull request 'facts: add bigger migration warnings' ( #5484 ) from fix-c into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5484
2025-10-13 08:11:38 +00:00
Johannes Kirschbauer
1c3282bb63
vars: simplify collectFiles
2025-10-13 10:05:53 +02:00
Johannes Kirschbauer
3c4b3e180e
facts: add bigger migration warnings
2025-10-13 10:05:53 +02:00
hsjobeki
3953715b48
Merge pull request 'clan-cli: remove unused test fixture' ( #5482 ) from fix-c into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5482
2025-10-12 16:07:44 +00:00
Johannes Kirschbauer
7b95fa039f
clan-cli: remove unused test fixture
2025-10-12 18:00:52 +02:00
Johannes Kirschbauer
347668a57f
lib: remove unused facts utils
2025-10-12 17:49:05 +02:00
Johannes Kirschbauer
63fdc13928
persist: add attributes props to accumulator
2025-10-12 17:45:14 +02:00
Johannes Kirschbauer
9b0557803e
introspection: update test
2025-10-12 17:45:14 +02:00
Johannes Kirschbauer
c13879ce69
persist: rename write map to attribute map
2025-10-12 17:45:14 +02:00
Johannes Kirschbauer
f57bc30c5a
persist/writeability: rename non_writeable to readonly
2025-10-12 17:45:14 +02:00
hsjobeki
38712d6fe0
Merge pull request 'clan-core/nixos: remove autoloading magic in favour of simple code' ( #5476 ) from fix-a into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5476
2025-10-12 14:39:17 +00:00
Johannes Kirschbauer
1d38ffa9c2
inventory: unit test autoloading with a virtual fs
2025-10-12 16:32:55 +02:00
clan-bot
665f036dec
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5478 ) from update-devFlake-clan-core-for-checks into main
2025-10-12 00:12:04 +00:00
clan-bot
b74b6ff449
Update clan-core-for-checks in devFlake
2025-10-12 00:01:53 +00:00
clan-bot
9c8797e770
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5477 ) from update-devFlake-clan-core-for-checks into main
2025-10-11 20:12:29 +00:00
clan-bot
2be6cedec4
Update clan-core-for-checks in devFlake
2025-10-11 20:01:49 +00:00
Johannes Kirschbauer
7f49449f94
clan-core/nixos: remove autoloading magic in favour of simple code
2025-10-11 18:02:32 +02:00
hsjobeki
1f7bfa4e34
Merge pull request 'inventory: wrap autoloaded machines with correct file' ( #5474 ) from fix-a into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5474
2025-10-11 16:00:37 +00:00
clan-bot
67fab4b11d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5475 ) from update-devFlake-clan-core-for-checks into main
2025-10-11 15:11:33 +00:00
clan-bot
18e3c72ef0
Update clan-core-for-checks in devFlake
2025-10-11 15:01:51 +00:00
Johannes Kirschbauer
84d4660a8d
inventory: wrap autoloaded machines with correct file
2025-10-11 15:57:42 +02:00
clan-bot
13c3e1411a
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5472 ) from update-devFlake-nixpkgs-dev into main
2025-10-11 10:14:29 +00:00
clan-bot
3c3a505aca
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5471 ) from update-devFlake-clan-core-for-checks into main
2025-10-11 10:13:33 +00:00
clan-bot
f33c8e98fe
Update nixpkgs-dev in devFlake
2025-10-11 10:02:05 +00:00
clan-bot
869a04e5af
Update clan-core-for-checks in devFlake
2025-10-11 10:01:50 +00:00
clan-bot
d09fdc3528
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5470 ) from update-devFlake-clan-core-for-checks into main
2025-10-11 05:09:16 +00:00
clan-bot
652677d06f
Update clan-core-for-checks in devFlake
2025-10-11 05:01:53 +00:00
clan-bot
ec163657cd
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5469 ) from update-devFlake-clan-core-for-checks into main
2025-10-11 00:09:33 +00:00
clan-bot
7d3aa5936d
Update clan-core-for-checks in devFlake
2025-10-11 00:01:51 +00:00
clan-bot
f8f8efbb88
Merge pull request 'Update treefmt-nix' ( #5466 ) from update-treefmt-nix into main
2025-10-10 20:12:14 +00:00
clan-bot
8887e209d6
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5467 ) from update-devFlake-clan-core-for-checks into main
2025-10-10 20:10:50 +00:00
clan-bot
a72f74a36e
Merge pull request 'Update treefmt-nix in devFlake' ( #5468 ) from update-devFlake-treefmt-nix into main
2025-10-10 20:10:42 +00:00
clan-bot
0e0f8e73ec
Update treefmt-nix in devFlake
2025-10-10 20:02:13 +00:00
clan-bot
f15a113f52
Update clan-core-for-checks in devFlake
2025-10-10 20:01:50 +00:00
clan-bot
1fbb4f5014
Update treefmt-nix
2025-10-10 20:01:49 +00:00
Michael Hoang
980a3c90b5
Merge pull request 'cli: ensure init-hardware-config passes Nix options to nixos-anywhere' ( #5465 ) from push-mwotvwkqsluy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5465
2025-10-10 15:40:34 +00:00
clan-bot
c01b14aef5
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5464 ) from update-devFlake-clan-core-for-checks into main
2025-10-10 15:10:05 +00:00
clan-bot
0a3e564ec0
Update clan-core-for-checks in devFlake
2025-10-10 15:01:52 +00:00
Michael Hoang
bc09d5c886
cli: ensure init-hardware-config passes Nix options to nixos-anywhere
2025-10-10 17:00:10 +02:00
Michael Hoang
f6b8d660d8
Merge pull request 'checks: fix SSH debugging over vsock not working' ( #5463 ) from push-yplypuoxymkt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5463
2025-10-10 14:40:10 +00:00
Michael Hoang
6014ddcd9a
checks: fix SSH debugging over vsock not working
2025-10-10 16:32:54 +02:00
hsjobeki
551f5144c7
Merge pull request 'docs: Remove surprising statement on the front of documentation' ( #5460 ) from kenji/ke-docs-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5460
2025-10-10 12:24:49 +00:00
a-kenji
9a664c323c
docs: Remove surprising statement on the front of documentation
2025-10-10 13:35:29 +02:00
clan-bot
7572dc8c2b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5454 ) from update-devFlake-clan-core-for-checks into main
2025-10-10 10:09:30 +00:00
clan-bot
e22f0d9e36
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5455 ) from update-devFlake-nixpkgs-dev into main
2025-10-10 10:07:47 +00:00
clan-bot
f93ae13448
Update nixpkgs-dev in devFlake
2025-10-10 10:02:12 +00:00
clan-bot
749bac63f4
Update clan-core-for-checks in devFlake
2025-10-10 10:01:53 +00:00
clan-bot
2bac2ec7ee
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5452 ) from update-devFlake-clan-core-for-checks into main
2025-10-10 05:09:28 +00:00
clan-bot
f224d4b20c
Update clan-core-for-checks in devFlake
2025-10-10 05:01:54 +00:00
clan-bot
47aa0a3b8e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5451 ) from update-devFlake-clan-core-for-checks into main
2025-10-10 00:11:09 +00:00
clan-bot
dd1cab5daa
Update clan-core-for-checks in devFlake
2025-10-10 00:01:51 +00:00
clan-bot
32edae4ebd
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5450 ) from update-devFlake-clan-core-for-checks into main
2025-10-09 20:09:43 +00:00
clan-bot
d829aa5838
Update clan-core-for-checks in devFlake
2025-10-09 20:01:50 +00:00
clan-bot
fd6619668b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5449 ) from update-devFlake-clan-core-for-checks into main
2025-10-09 15:09:37 +00:00
clan-bot
50a26ece32
Update clan-core-for-checks in devFlake
2025-10-09 15:01:53 +00:00
brianmcgee
8f224b00a6
Merge pull request 'various-ui-fixes' ( #5448 ) from various-ui-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5448
2025-10-09 14:22:06 +00:00
Brian McGee
27d43ee21d
fix(storybook): disable Sidebar story until we have a better mock data approach
2025-10-09 14:57:22 +01:00
Brian McGee
9626e22db7
fix(storybook): adjust flash installer on mount
...
It needs to handle possible missing state in the store on mount.
2025-10-09 14:57:22 +01:00
Brian McGee
1df329fe0d
fix(storybook): disable service workflow stories
...
Temporary until we can decide how best to mock state.
2025-10-09 14:57:21 +01:00
Brian McGee
9da38abc77
fix(storybook): clan settings mock data shape changed
2025-10-09 14:57:20 +01:00
Brian McGee
2814c46e68
fix(storybook): button stories
...
- role="button" was removed at some point during refactoring which broke how the story was finding buttons
- button no longer has automatic loading state, instead it is now controlled.
2025-10-09 14:56:39 +01:00
Brian McGee
feef0a513e
fix(storybook): remove cubes storybook
...
It wasn't adding much value and requires a mock Clan context which is a lot of effort at the min.
2025-10-09 14:56:38 +01:00
Brian McGee
9cc85b36c6
feat(ui): switch to webkit for storybook tests
2025-10-09 14:56:38 +01:00
hsjobeki
1465b18820
Merge pull request 'app: fix ClanSettings story' ( #5447 ) from ui-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5447
2025-10-09 13:27:56 +00:00
Johannes Kirschbauer
6fa0062573
app: fix ClanSettings story
2025-10-09 15:24:30 +02:00
clan-bot
6cd68c23f5
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5444 ) from update-devFlake-clan-core-for-checks into main
2025-10-09 10:09:50 +00:00
clan-bot
fdddc60676
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5445 ) from update-devFlake-nixpkgs-dev into main
2025-10-09 10:08:18 +00:00
clan-bot
684aa27068
Update nixpkgs-dev in devFlake
2025-10-09 10:02:12 +00:00
clan-bot
35d8deb393
Update clan-core-for-checks in devFlake
2025-10-09 10:01:53 +00:00
DavHau
e2f20b5ffc
Merge pull request 'vars: refactor - make shared generators carry machines list' ( #5443 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5443
2025-10-09 09:03:09 +00:00
DavHau
fd5d7934a0
vars: refactor - make shared generators carry machines list
...
This should make it simpler to improve the implementation of granting a new machine access to a shared secret.
The current approach using the health_check is pretty hacky
2025-10-09 15:41:04 +07:00
Kenji Berthold
f194c31e0e
Merge pull request 'Fix typo in "Authoring a 'clan.service' module"' ( #5439 ) from nickdichev/clan-core:nickdichev-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5439
2025-10-09 08:32:40 +00:00
DavHau
061b598adf
Merge pull request 'vars: cleanup + fix wording' ( #5442 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5442
2025-10-09 05:44:14 +00:00
DavHau
744f35e0cc
vars: cleanup + fix wording
2025-10-09 07:38:00 +02:00
clan-bot
4a6d46198c
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5441 ) from update-devFlake-clan-core-for-checks into main
2025-10-09 05:11:10 +00:00
clan-bot
82d5ca9a0b
Update clan-core-for-checks in devFlake
2025-10-09 05:01:51 +00:00
clan-bot
28d8a91a30
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5440 ) from update-devFlake-clan-core-for-checks into main
2025-10-09 00:09:59 +00:00
clan-bot
18f8d69728
Update clan-core-for-checks in devFlake
2025-10-09 00:01:50 +00:00
nickdichev
1feead4ce4
Fix typo in "Authoring a 'clan.service' module"
2025-10-08 20:16:16 +00:00
clan-bot
7f28110558
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5438 ) from update-devFlake-clan-core-for-checks into main
2025-10-08 20:09:55 +00:00
clan-bot
38787da891
Update clan-core-for-checks in devFlake
2025-10-08 20:01:48 +00:00
clan-bot
2b587da9fe
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5437 ) from update-devFlake-clan-core-for-checks into main
2025-10-08 15:10:06 +00:00
clan-bot
acd2c1654b
Update clan-core-for-checks in devFlake
2025-10-08 15:01:52 +00:00
hsjobeki
2ecb1399c3
Merge pull request 'docs: move generated markdown into a package' ( #5436 ) from docs-source into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5436
2025-10-08 14:40:41 +00:00
Johannes Kirschbauer
46ae6b49c1
docs: move generated markdown into a package
2025-10-08 16:37:31 +02:00
hsjobeki
50a8a69719
Merge pull request 'fix: pull request template folder' ( #5435 ) from fix-j into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5435
2025-10-08 14:28:00 +00:00
Johannes Kirschbauer
203761a99c
fix: pull request template folder
2025-10-08 16:24:52 +02:00
hsjobeki
990b4e0223
Merge pull request 'docs: move option-search into own package' ( #5434 ) from docs-source into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5434
2025-10-08 14:05:38 +00:00
Johannes Kirschbauer
032f54cbfb
docs: fix links
2025-10-08 16:02:31 +02:00
hsjobeki
47146efa0f
Merge pull request 'PR: add pull request template' ( #5428 ) from team-workflow into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5428
2025-10-08 13:44:14 +00:00
Johannes Kirschbauer
c031abcd9e
docs: move option-search into own package
2025-10-08 15:42:18 +02:00
Kenji Berthold
6b5dca5842
Merge pull request 'docs: Improve list view on testing' ( #5433 ) from kenji/ke-docs-testing-display into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5433
2025-10-08 12:31:43 +00:00
a-kenji
016fe3d114
docs: Improve list view on testing
2025-10-08 14:29:01 +02:00
DavHau
9b60b4a989
Merge pull request 'lib/introspection: Test skipping instrospection of oneOf' ( #5432 ) from ke-oneof-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5432
2025-10-08 12:07:58 +00:00
a-kenji
3088ce025b
lib/introspection: Test skipping instrospection of oneOf
...
This builds on top of #5422 .
And tests it's behavior.
2025-10-08 13:17:55 +02:00
hsjobeki
4f1fda3de6
Merge pull request 'docs: remove unused asciinema player' ( #5431 ) from cus-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5431
2025-10-08 11:08:09 +00:00
Johannes Kirschbauer
57f14827c2
docs: remove unused asciinema player
2025-10-08 13:01:26 +02:00
Johannes Kirschbauer
0390d5999d
PR: add pull request template
2025-10-08 12:44:36 +02:00
clan-bot
58e9a28f14
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5429 ) from update-devFlake-clan-core-for-checks into main
2025-10-08 10:14:43 +00:00
clan-bot
b4ad5ca1bd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5430 ) from update-devFlake-nixpkgs-dev into main
2025-10-08 10:14:17 +00:00
clan-bot
84ecb1aae6
Update nixpkgs-dev in devFlake
2025-10-08 10:02:10 +00:00
clan-bot
2b9971f538
Update clan-core-for-checks in devFlake
2025-10-08 10:01:51 +00:00
pinpox
81e15cab34
Merge pull request 'Fix capitalization issue' ( #5427 ) from doc-fixes-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5427
2025-10-08 09:24:34 +00:00
pinpox
215c808071
Fix capitalization issue
...
fixes #4574
2025-10-08 11:21:06 +02:00
DavHau
4de052e58b
Merge pull request 'lib/instrospection: Skip either(oneOf)' ( #5422 ) from ke-introspection-either-or into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5422
2025-10-08 07:42:12 +00:00
Louis Opter
a06a7a7a2c
clan-cli/secrets: update some error message in encrypt_secret ( #5271 )
...
Found that while reading through some code.
Co-authored-by: Jörg Thalheim <joerg@thalheim.io >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5271
Co-authored-by: Louis Opter <louis@opter.org >
Co-committed-by: Louis Opter <louis@opter.org >
2025-10-08 07:41:14 +00:00
DavHau
94df3855b5
Merge pull request 'vars: raise error when shared generators differ between machines' ( #5425 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5425
2025-10-08 07:20:03 +00:00
DavHau
a83f3c23f4
vars: raise error when shared generators differ between machines
...
When generators are shared between machines, their definition has to be the same across all machines. If not, it might lead to unexpected problems, as the architecture assumes that all definitions are the same.
fixes https://git.clan.lol/clan/clan-core/issues/5253
2025-10-08 14:02:39 +07:00
DavHau
da6cd324f0
Merge pull request 'vars/performance: aggregate selects over all machines and generators' ( #5402 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5402
2025-10-08 06:04:50 +00:00
DavHau
c5b96df7b0
vars/performance: aggregate selects over all machines and generators
...
This improves the performance of deployment, by aggregating uncached select calls for vars generate into two batches.
batch 1: Get all generators of all machines
batch 2: get all final scripts for generators which need to run
2025-10-08 13:00:20 +07:00
clan-bot
c4feeace31
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5424 ) from update-devFlake-clan-core-for-checks into main
2025-10-08 05:06:31 +00:00
clan-bot
6117b664ae
Update clan-core-for-checks in devFlake
2025-10-08 05:02:02 +00:00
clan-bot
b8fdb48fd8
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5423 ) from update-devFlake-clan-core-for-checks into main
2025-10-08 00:06:18 +00:00
clan-bot
9165f7ccaf
Update clan-core-for-checks in devFlake
2025-10-08 00:01:52 +00:00
a-kenji
8058a7c158
lib/instrospection: Skip either(oneOf)
...
For either(oneOf) types, we skip introspection as we cannot
determine which branch of the union was taken without more context
This *should* be safe, as it can currently mostly be triggered through
The `extraModules` setting of inventory modules.
Example:
```
importer.roles.default.extraModules = [
../../modules/nixos/common.nix
];
```
Error Message:
```
Traceback (most recent call last):
File "/nix/store/zaz4r4fic03m4whgz46p5jjszzlkq694-clan-cli/lib/python3.13/site-packages/clan_lib/templates/handler.py", line 91, in machine_template
yield dst_machine_dir
File "/nix/store/zaz4r4fic03m4whgz46p5jjszzlkq694-clan-cli/lib/python3.13/site-packages/clan_cli/machines/create.py", line 95, in create_machine
inventory_store.write(inventory, message=f"machine '{machine_name}'")
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zaz4r4fic03m4whgz46p5jjszzlkq694-clan-cli/lib/python3.13/site-packages/clan_lib/persist/inventory_store.py", line 269, in write
write_info = self._write_map()
File "/nix/store/zaz4r4fic03m4whgz46p5jjszzlkq694-clan-cli/lib/python3.13/site-packages/clan_lib/persist/inventory_store.py", line 214, in _write_map
current_priority = self._get_inventory_current_priority()
File "/nix/store/zaz4r4fic03m4whgz46p5jjszzlkq694-clan-cli/lib/python3.13/site-packages/clan_lib/persist/inventory_store.py", line 206, in _get_inventory_current_priority
return self._flake.select("clanInternals.inventoryClass.introspection")
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zaz4r4fic03m4whgz46p5jjszzlkq694-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1129, in select
self.get_from_nix([selector])
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/nix/store/zaz4r4fic03m4whgz46p5jjszzlkq694-clan-cli/lib/python3.13/site-packages/clan_lib/flake/flake.py", line 1054, in get_from_nix
raise ClanSelectError(
...<3 lines>...
) from e
clan_lib.flake.flake.ClanSelectError: Error on: $ clan select 'clanInternals.inventoryClass.introspection'
Reason: Yet Unsupported type: either
Removing left-over machine directory: /tmp/hyperconfig/machines/trooo
Error on: $ clan select 'clanInternals.inventoryClass.introspection'
Reason: Yet Unsupported type: either
```
Closes : #5387
2025-10-07 22:58:51 +02:00
clan-bot
fed61f49f9
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5421 ) from update-devFlake-clan-core-for-checks into main
2025-10-07 20:06:46 +00:00
clan-bot
f1f05c7e6b
Update clan-core-for-checks in devFlake
2025-10-07 20:01:53 +00:00
clan-bot
7597d1560f
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5419 ) from update-devFlake-nixpkgs-dev into main
2025-10-07 15:06:44 +00:00
clan-bot
f739e1b66d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5418 ) from update-devFlake-clan-core-for-checks into main
2025-10-07 15:06:44 +00:00
clan-bot
5d3609aacd
Update nixpkgs-dev in devFlake
2025-10-07 15:02:06 +00:00
clan-bot
7aa51d6bd7
Update clan-core-for-checks in devFlake
2025-10-07 15:01:48 +00:00
pinpox
af91ae8c7f
Merge pull request 'Add internal services guide' ( #5254 ) from internal-service-doc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5254
2025-10-07 14:39:52 +00:00
pinpox
077bf55fd7
Add internal services guide
2025-10-07 16:37:22 +02:00
hsjobeki
1f6dcb910f
Merge pull request 'clan: ignore nixpkgs version checks in core' ( #5416 ) from fix-override into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5416
2025-10-07 14:08:30 +00:00
Johannes Kirschbauer
6363d9c99c
clan: ignore nixpkgs version checks in core
2025-10-07 16:03:56 +02:00
Kenji Berthold
fd30dbd1be
Merge pull request 'docs: Fix typos' ( #5415 ) from kenji/ke-docs-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5415
2025-10-07 12:15:11 +00:00
a-kenji
ba4dc36ddf
docs: Fix typos
2025-10-07 14:09:38 +02:00
Mic92
5abac04b15
Merge pull request 'network: fix generator cleanup in nested context manager' ( #5412 ) from no-leaks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5412
2025-10-07 11:51:38 +00:00
Kenji Berthold
8c84d32b13
Merge pull request 'docs: document vars generation requirement for service tests' ( #5409 ) from kenji/ke-document-update-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5409
2025-10-07 11:48:46 +00:00
a-kenji
c083548795
docs: document vars generation requirement for service tests
...
Add documentation explaining that services defining vars need to run
update-vars before tests can execute. Clarifies how `clan.directory`
determines where vars are generated and loaded from during testing.
Closes : #5380
2025-10-07 13:45:39 +02:00
Kenji Berthold
11af5c3471
Merge pull request 'docs: docs-integrity enable UTF-8 support' ( #5413 ) from kenji/ke-html-proofer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5413
2025-10-07 11:23:06 +00:00
a-kenji
dac8a40b9f
docs: docs-integrity enable UTF-8 support
2025-10-07 13:13:55 +02:00
Jörg Thalheim
204f9d09e3
network: refactor get_best_remote to class-based context manager
...
Resolves the "RuntimeError: generator didn't stop after throw()" issue
by replacing the generator-based @contextmanager with an explicit class.
This maintains backward compatibility through a factory function.
2025-10-07 13:05:20 +02:00
Mic92
668067080d
Merge pull request 'sops: don't leak secret key in debug logs' ( #5411 ) from no-leaks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5411
2025-10-07 10:00:47 +00:00
Jörg Thalheim
10ed2cc7f7
sops: don't leak secret key in debug logs
2025-10-07 11:31:12 +02:00
Kenji Berthold
060b22cf21
Merge pull request 'docs: Fix nixpkgs hierarchy' ( #5410 ) from kenji/ke-qa-nixpkgs-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5410
2025-10-07 08:50:00 +00:00
a-kenji
965dddfee1
docs: Fix nixpkgs hierarchy
2025-10-07 10:34:22 +02:00
clan-bot
6e5d74ba22
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5408 ) from update-devFlake-nixpkgs-dev into main
2025-10-07 05:06:29 +00:00
clan-bot
4257f47a1a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5407 ) from update-devFlake-clan-core-for-checks into main
2025-10-07 05:06:22 +00:00
clan-bot
72b64a8b70
Update nixpkgs-dev in devFlake
2025-10-07 05:02:09 +00:00
clan-bot
e46e0543cd
Update clan-core-for-checks in devFlake
2025-10-07 05:01:51 +00:00
clan-bot
0de79962ea
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5406 ) from update-devFlake-clan-core-for-checks into main
2025-10-07 00:06:50 +00:00
clan-bot
6209816115
Update clan-core-for-checks in devFlake
2025-10-07 00:01:50 +00:00
clan-bot
ec21cda0cf
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5404 ) from update-devFlake-clan-core-for-checks into main
2025-10-06 20:06:46 +00:00
clan-bot
8a29d102cd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5405 ) from update-devFlake-nixpkgs-dev into main
2025-10-06 20:06:28 +00:00
clan-bot
22787e7c93
Update nixpkgs-dev in devFlake
2025-10-06 20:02:12 +00:00
clan-bot
19fd72e075
Update clan-core-for-checks in devFlake
2025-10-06 20:01:53 +00:00
clan-bot
50be33088c
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5403 ) from update-devFlake-clan-core-for-checks into main
2025-10-06 15:06:19 +00:00
clan-bot
6e7a67c830
Update clan-core-for-checks in devFlake
2025-10-06 15:01:51 +00:00
DavHau
1cb7c7d25f
Merge pull request 'tests: disable state-version generation in all python tests' ( #5399 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5399
2025-10-06 10:13:02 +00:00
DavHau
43b1744528
tests: disable state-version generation in all python tests
...
This improves the performance of tests, as there are less vars operations to perform.
2025-10-06 17:08:42 +07:00
clan-bot
27d1dd4400
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5400 ) from update-devFlake-clan-core-for-checks into main
2025-10-06 10:06:25 +00:00
clan-bot
5d27af51d8
Update clan-core-for-checks in devFlake
2025-10-06 10:01:52 +00:00
clan-bot
c737271585
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5398 ) from update-devFlake-clan-core-for-checks into main
2025-10-06 05:07:22 +00:00
clan-bot
f504a63e93
Update clan-core-for-checks in devFlake
2025-10-06 05:01:53 +00:00
clan-bot
ca53d14656
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5397 ) from update-devFlake-clan-core-for-checks into main
2025-10-06 00:09:06 +00:00
clan-bot
09d8a2b3a9
Update clan-core-for-checks in devFlake
2025-10-06 00:01:51 +00:00
Michael Hoang
2a67b09f51
Merge pull request 'test-fixtures: move to devFlake' ( #5277 ) from push-mmqvttmrxtlk into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5277
2025-10-05 21:52:33 +00:00
Michael Hoang
3295e1561d
checks: use new clan-core-for-checks to fix tests
...
I manually updated `flake.lock` and then evaluated the flake input to get the
correct NAR hash and last modified time.
2025-10-05 23:48:08 +02:00
Michael Hoang
9d0cec1422
checks/installation: don't require privateInputs for eval
2025-10-05 23:26:33 +02:00
Michael Hoang
dc66321a72
test-fixtures: move to devFlake
2025-10-05 23:26:24 +02:00
Michael Hoang
01baa46b36
flake: make privateInputs actually the inputs
2025-10-05 22:09:44 +02:00
clan-bot
dd0acfb628
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5395 ) from update-devFlake-nixpkgs-dev into main
2025-10-05 20:08:47 +00:00
clan-bot
ab14538c28
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5394 ) from update-devFlake-clan-core-for-checks into main
2025-10-05 20:06:58 +00:00
clan-bot
331287bfb6
Update nixpkgs-dev in devFlake
2025-10-05 20:02:08 +00:00
clan-bot
02cfe180db
Update clan-core-for-checks in devFlake
2025-10-05 20:01:48 +00:00
clan-bot
b681737dce
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5393 ) from update-devFlake-clan-core-for-checks into main
2025-10-05 15:07:57 +00:00
clan-bot
99011d2514
Update clan-core-for-checks in devFlake
2025-10-05 15:01:51 +00:00
hsjobeki
8aa4749a3e
Merge pull request 'docs: check init htmlproofer' ( #5392 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5392
2025-10-05 12:16:54 +00:00
Johannes Kirschbauer
359582118c
docs: fix broken links
2025-10-05 14:14:12 +02:00
Johannes Kirschbauer
75c8feb42a
docs: fix rss link
2025-10-05 14:14:12 +02:00
Johannes Kirschbauer
fcfd56c00c
docs: check init htmlproofer
...
Checks integrity of internal links
post-rendering for problems that might have slipped through
we noticed a set of edge cases where the builtin link checking doesnt work
2025-10-05 14:14:12 +02:00
clan-bot
d598e19da4
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5390 ) from update-devFlake-clan-core-for-checks into main
2025-10-05 10:10:51 +00:00
clan-bot
23a07f15ab
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5391 ) from update-devFlake-nixpkgs-dev into main
2025-10-05 10:10:50 +00:00
clan-bot
a3e34a9a1a
Update nixpkgs-dev in devFlake
2025-10-05 10:02:09 +00:00
clan-bot
4991965ed9
Update clan-core-for-checks in devFlake
2025-10-05 10:01:51 +00:00
clan-bot
7560a07458
Merge pull request 'Update sops-nix' ( #5384 ) from update-sops-nix into main
2025-10-05 05:09:54 +00:00
clan-bot
ee3b126a04
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5386 ) from update-devFlake-nixpkgs-dev into main
2025-10-05 05:09:12 +00:00
clan-bot
9c4af81b2f
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5385 ) from update-devFlake-clan-core-for-checks into main
2025-10-05 05:09:09 +00:00
clan-bot
83878ceeda
Update nixpkgs-dev in devFlake
2025-10-05 05:02:24 +00:00
clan-bot
6206b4a636
Update clan-core-for-checks in devFlake
2025-10-05 05:02:06 +00:00
clan-bot
da151a1ff4
Update sops-nix
2025-10-05 05:02:00 +00:00
clan-bot
dd686ed6dd
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5383 ) from update-devFlake-clan-core-for-checks into main
2025-10-05 00:08:11 +00:00
clan-bot
93908bfa54
Update clan-core-for-checks in devFlake
2025-10-05 00:01:55 +00:00
clan-bot
e28b49317e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5381 ) from update-devFlake-clan-core-for-checks into main
2025-10-04 20:06:38 +00:00
clan-bot
6e7a96e762
Update clan-core-for-checks in devFlake
2025-10-04 20:01:49 +00:00
clan-bot
a026ead29d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5379 ) from update-devFlake-clan-core-for-checks into main
2025-10-04 15:06:03 +00:00
clan-bot
e1b8086c40
Update clan-core-for-checks in devFlake
2025-10-04 15:01:51 +00:00
clan-bot
9847d4558b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5377 ) from update-devFlake-clan-core-for-checks into main
2025-10-04 10:06:15 +00:00
clan-bot
eef1e4eca9
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5378 ) from update-devFlake-nixpkgs-dev into main
2025-10-04 10:05:59 +00:00
clan-bot
b7dd116136
Update nixpkgs-dev in devFlake
2025-10-04 10:02:09 +00:00
clan-bot
8c6d096fa7
Update clan-core-for-checks in devFlake
2025-10-04 10:01:52 +00:00
clan-bot
81d5132ac6
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5376 ) from update-devFlake-clan-core-for-checks into main
2025-10-04 05:06:05 +00:00
clan-bot
4c51a62b2a
Update clan-core-for-checks in devFlake
2025-10-04 05:01:52 +00:00
clan-bot
e587735050
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5375 ) from update-devFlake-clan-core-for-checks into main
2025-10-04 00:06:32 +00:00
clan-bot
808e42f9b5
Update clan-core-for-checks in devFlake
2025-10-04 00:01:53 +00:00
Luis Hebendanz
fd62b4e9b3
Merge pull request 'clan_lib: Add clan_module_to_llm_function for ai integration' ( #5361 ) from ai_support2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5361
2025-10-03 21:20:43 +00:00
clan-bot
dc1dd9aa3f
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5373 ) from update-devFlake-clan-core-for-checks into main
2025-10-03 20:06:35 +00:00
clan-bot
67b1f36a38
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5374 ) from update-devFlake-nixpkgs-dev into main
2025-10-03 20:06:25 +00:00
clan-bot
9de5607394
Update nixpkgs-dev in devFlake
2025-10-03 20:02:08 +00:00
clan-bot
6e994d57c6
Update clan-core-for-checks in devFlake
2025-10-03 20:01:49 +00:00
hsjobeki
90c8f674e1
Merge pull request 'docs: move services into its reserved category' ( #5372 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5372
2025-10-03 19:18:42 +00:00
Johannes Kirschbauer
3068a9e16a
docs: move service definition into explizit markdown file
2025-10-03 21:16:32 +02:00
Johannes Kirschbauer
6c972c1e19
docs: move services into its reserved category
2025-10-03 21:02:18 +02:00
hsjobeki
807e3b2369
Merge pull request 'docs: fix contributing.md' ( #5371 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5371
2025-10-03 18:54:36 +00:00
Johannes Kirschbauer
f9c58b4912
docs: fix contributing.md
2025-10-03 20:51:04 +02:00
hsjobeki
3fc2a55468
Merge pull request 'docs: consistent options reference' ( #5370 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5370
2025-10-03 17:01:58 +00:00
Johannes Kirschbauer
8d9d4c9089
docs: fix absolute links need to be absolute
2025-10-03 18:59:47 +02:00
Johannes Kirschbauer
76d1d9b167
docs: consistent options reference
2025-10-03 18:17:13 +02:00
hsjobeki
652eb87bcc
Merge pull request 'docs: move official services into subfolder' ( #5369 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5369
2025-10-03 15:59:02 +00:00
Johannes Kirschbauer
028cf2a00c
docs: move official services into subfolder
2025-10-03 17:56:47 +02:00
hsjobeki
c04e8b6ead
Merge pull request 'docs: use absolute page URI' ( #5368 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5368
2025-10-03 15:36:00 +00:00
Johannes Kirschbauer
08c2d574ce
docs: use absolute page URI
...
This allows us to migrate to any framework that uses normal uri's
We just need to strip all .md endings in a simple grep command
2025-10-03 17:31:42 +02:00
hsjobeki
cf8720e4dd
Merge pull request 'docs: decisions harmonize with file tree' ( #5367 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5367
2025-10-03 15:08:28 +00:00
clan-bot
2bca2b2b7e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5366 ) from update-devFlake-clan-core-for-checks into main
2025-10-03 15:06:21 +00:00
Johannes Kirschbauer
f9c8ed74e1
docs: decisions harmonize with file tree
2025-10-03 17:06:14 +02:00
clan-bot
1a488dd2ad
Update clan-core-for-checks in devFlake
2025-10-03 15:01:51 +00:00
hsjobeki
b58f37011d
Merge pull request 'docs: move getting-started out of guides' ( #5365 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5365
2025-10-03 14:53:59 +00:00
Johannes Kirschbauer
b1f6dd58f3
docs: move getting-started out of guides
2025-10-03 16:50:10 +02:00
hsjobeki
d634f2c9ae
Merge pull request 'docs: unify markdown files with documentation titles' ( #5364 ) from docs-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5364
2025-10-03 14:31:29 +00:00
Johannes Kirschbauer
90b1033870
docs: unify markdown files with documentation titles
...
This is preparational work to reduce the surface are of the different mappings
We want to reduce the following:
/guides/secrets.md -> Guides/getting started/How to use flakes with sops -> with '# Secrets Management'
- Title
- URI
- Filepath
should follow a stricter pattern to make it easy to maintain
2025-10-03 16:08:20 +02:00
Michael Hoang
d20ed9ec0c
Merge pull request 'clanServices/sshd: readd default' ( #5363 ) from push-wxxokvmsuymn into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5363
2025-10-03 13:11:27 +00:00
Michael Hoang
d847ab6fa1
clanServices/sshd: readd default
2025-10-03 15:07:09 +02:00
Michael Hoang
94272f76d4
Merge pull request 'cli: support getting chroot-realpath from nixos-init if necessary' ( #5362 ) from push-wquonsppmwzr into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5362
2025-10-03 11:21:26 +00:00
Michael Hoang
56558023a8
cli: support getting chroot-realpath from nixos-init if necessary
2025-10-03 13:02:40 +02:00
Qubasa
b56230e3a7
clan_lib: Add clan_module_to_llm_function for ai integration
2025-10-03 12:32:33 +02:00
clan-bot
5e98b1335a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5360 ) from update-devFlake-clan-core-for-checks into main
2025-10-03 10:05:59 +00:00
clan-bot
36e03b75b2
Update clan-core-for-checks in devFlake
2025-10-03 10:01:52 +00:00
clan-bot
a371b9255c
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5358 ) from update-devFlake-clan-core-for-checks into main
2025-10-03 05:06:07 +00:00
clan-bot
01e7a7ff26
Update clan-core-for-checks in devFlake
2025-10-03 05:01:54 +00:00
clan-bot
7f4faf8696
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5356 ) from update-devFlake-clan-core-for-checks into main
2025-10-03 00:05:59 +00:00
clan-bot
2a14e3e085
Update clan-core-for-checks in devFlake
2025-10-03 00:01:47 +00:00
clan-bot
b7521d00c7
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5355 ) from update-devFlake-nixpkgs-dev into main
2025-10-02 20:07:35 +00:00
clan-bot
7a77e563c9
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5354 ) from update-devFlake-clan-core-for-checks into main
2025-10-02 20:07:31 +00:00
clan-bot
bb119518c4
Update nixpkgs-dev in devFlake
2025-10-02 20:02:06 +00:00
clan-bot
d9048fdfda
Update clan-core-for-checks in devFlake
2025-10-02 20:01:46 +00:00
Luis Hebendanz
4f00a22921
Merge pull request 'clanServices: Add role descriptions to all our services Part 2' ( #5353 ) from Qubasa/clan-core:add_role_descriptions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5353
2025-10-02 17:16:38 +00:00
Luis Hebendanz
4ce5f49144
Merge pull request 'inventory: Add roles.<name>.description option and a warning if it is not set Part 1' ( #5340 ) from Qubasa/clan-core:ai_support into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5340
2025-10-02 17:16:29 +00:00
Qubasa
3d5d812e05
clanServices: Add role descriptions to all our services
2025-10-02 19:05:31 +02:00
Qubasa
2df96d3a9b
inventory: Add roles.<name>.description option and a warning if it is not set
2025-10-02 18:57:55 +02:00
hsjobeki
b344db021b
Merge pull request 'lib/clan: add checks' ( #5352 ) from write-access into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5352
2025-10-02 16:41:23 +00:00
Johannes Kirschbauer
2dabff5db1
lib/clan: add checks
2025-10-02 18:21:37 +02:00
hsjobeki
e4a31f065d
Merge pull request 'lib/introspection: backwards support older nixpkgs version with reduced features' ( #5351 ) from write-access into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5351
2025-10-02 15:43:33 +00:00
Johannes Kirschbauer
149e14e85d
lib/introspection: backwards support older nixpkgs version with reduced features
2025-10-02 17:39:03 +02:00
clan-bot
38339651cc
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5350 ) from update-devFlake-clan-core-for-checks into main
2025-10-02 15:07:53 +00:00
clan-bot
652cc9fecc
Update clan-core-for-checks in devFlake
2025-10-02 15:01:50 +00:00
hsjobeki
13c2581cbd
Merge pull request 'lib/introspect: seperate headType from nullable' ( #5332 ) from write-access into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5332
2025-10-02 14:44:56 +00:00
Johannes Kirschbauer
6f5f182aef
lib/introspect: fix list item meta
2025-10-02 16:40:29 +02:00
DavHau
393323ba91
Merge pull request 'vars: optimize generate - reduce cache misses' ( #5348 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5348
2025-10-02 11:50:26 +00:00
DavHau
5a6ffbf916
vars: optimize generate - reduce cache misses
...
optimize the `clan vars generate` procedure by pre-caching more selectors.
To achieve this, helper functions are added to several classes.
Also a debugging feature is added to the Flake class in order to track stack traces of cache misses
2025-10-02 18:46:11 +07:00
clan-bot
6de667c125
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5346 ) from update-devFlake-clan-core-for-checks into main
2025-10-02 10:09:11 +00:00
clan-bot
ba03ac29fd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5347 ) from update-devFlake-nixpkgs-dev into main
2025-10-02 10:09:04 +00:00
clan-bot
3691dcc9e0
Update nixpkgs-dev in devFlake
2025-10-02 10:02:09 +00:00
clan-bot
8c976445c0
Update clan-core-for-checks in devFlake
2025-10-02 10:01:50 +00:00
hsjobeki
586b0ddc5f
Merge pull request 'ui: new api call design' ( #5319 ) from hgl-api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5319
2025-10-02 07:58:09 +00:00
clan-bot
cb0d4f2200
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5345 ) from update-devFlake-clan-core-for-checks into main
2025-10-02 05:06:44 +00:00
clan-bot
65f884616a
Update clan-core-for-checks in devFlake
2025-10-02 05:01:51 +00:00
clan-bot
bc139cb0e2
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5344 ) from update-devFlake-clan-core-for-checks into main
2025-10-02 00:07:24 +00:00
clan-bot
b0bb03b1d1
Merge pull request 'Update flake-parts' ( #5343 ) from update-flake-parts into main
2025-10-02 00:05:59 +00:00
clan-bot
6a4de66edb
Update clan-core-for-checks in devFlake
2025-10-02 00:01:53 +00:00
clan-bot
0982378f96
Update flake-parts
2025-10-02 00:01:14 +00:00
clan-bot
8d4a9a959f
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5342 ) from update-devFlake-nixpkgs-dev into main
2025-10-01 20:08:10 +00:00
clan-bot
5d0d302ed5
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5341 ) from update-devFlake-clan-core-for-checks into main
2025-10-01 20:07:28 +00:00
clan-bot
fd2730eaa7
Update nixpkgs-dev in devFlake
2025-10-01 20:02:07 +00:00
clan-bot
ef2d6f7949
Update clan-core-for-checks in devFlake
2025-10-01 20:01:47 +00:00
clan-bot
b9c07a7151
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5338 ) from update-devFlake-clan-core-for-checks into main
2025-10-01 15:06:05 +00:00
clan-bot
e6a3dd4c34
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5339 ) from update-devFlake-nixpkgs-dev into main
2025-10-01 15:05:33 +00:00
clan-bot
8697bc8b11
Update nixpkgs-dev in devFlake
2025-10-01 15:02:11 +00:00
clan-bot
a0d7bd0726
Update clan-core-for-checks in devFlake
2025-10-01 15:01:53 +00:00
Johannes Kirschbauer
1a8131f17f
lib/introspect: recurse for nested attrsOf
2025-10-01 16:56:53 +02:00
Kenji Berthold
af62946651
Merge pull request 'service/yggdrasil: Fix typos' ( #5337 ) from kenji/ke-fix-typos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5337
2025-10-01 14:33:52 +00:00
a-kenji
351087d4e1
service/yggdrasil: Fix typos
2025-10-01 16:29:40 +02:00
Glen Huang
a268be69fe
ui: new api call design
...
- api functions exist under api.*
- they accept an abort signal and return a promise
- they can be swapped out at build time depending on the platform
(e.g.,window.method on desktop, fetch on mobile)
- TanStack Query functions should only be used in components, and
only when we need its features, favoring simpler api.* calls
2025-10-01 20:51:48 +08:00
Michael Hoang
a9a1982943
Merge pull request 'nixos_test_lib: fix Nix in Nix not working with driverInteractive' ( #5326 ) from push-puyqntntpwsx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5326
2025-10-01 12:38:45 +00:00
Michael Hoang
850160d120
nixos_test_lib: fix Nix in Nix not working with driverInteractive
2025-10-01 14:33:23 +02:00
Kenji Berthold
8dc7256a4a
Merge pull request 'pkgs/lib: verbose git commits' ( #5333 ) from kenji/ke-verbose-git-commits into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5333
Reviewed-by: DavHau <d.hauer.it@gmail.com >
2025-10-01 10:28:45 +00:00
Luis Hebendanz
02fdb83282
Merge pull request 'docs: Update zerotier documentation' ( #5335 ) from ke-docs-update-zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5335
2025-10-01 10:25:52 +00:00
a-kenji
df3fdf3758
pkgs/lib/git: List all files that are committed
2025-10-01 12:24:33 +02:00
a-kenji
11c559ee6d
docs: Update zerotier documentation
2025-10-01 12:14:57 +02:00
a-kenji
5e6a202ce0
docs: Remove outdated information
2025-10-01 12:11:09 +02:00
clan-bot
f31dbe6c2a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5334 ) from update-devFlake-clan-core-for-checks into main
2025-10-01 10:06:02 +00:00
clan-bot
f18cdd20ce
Update clan-core-for-checks in devFlake
2025-10-01 10:01:51 +00:00
a-kenji
08e2048eeb
pkgs/lib: verbose git commits
...
Make sure the user knowns that a git command is run.
From the issue #4588 :
> It is confusing at times, when executing some CLI command, expecting change,
then checking git status but no changes are observed.
We now log:
- git add (debug)
- git commit (info)
The git commit information is formatted the following way:
```
Committed machines/backup-target to git
```
Alternatives:
Currently this shows to the user what happened.
But we might want to show the user what is being run.
We could print the information before invoking the `git commit` itself.
Informing the user of a potential password input window.
Closes #4588
2025-10-01 11:46:01 +02:00
Johannes Kirschbauer
a8156d2fa6
lib/introspect: seperate headType from nullable
2025-10-01 09:51:34 +02:00
DavHau
e593d5da34
Merge pull request 'vars/list: reduce cache misses to 1' ( #5331 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5331
2025-10-01 05:52:55 +00:00
DavHau
b72145d4aa
vars/list: reduce cache misses to 1
...
This improves the performance for clan vars list
2025-10-01 12:43:09 +07:00
clan-bot
7cdd026e04
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5330 ) from update-devFlake-clan-core-for-checks into main
2025-10-01 05:06:12 +00:00
clan-bot
8e395d6715
Update clan-core-for-checks in devFlake
2025-10-01 05:02:08 +00:00
clan-bot
0868f466b6
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5329 ) from update-devFlake-clan-core-for-checks into main
2025-10-01 00:06:28 +00:00
clan-bot
7144b4b271
Update clan-core-for-checks in devFlake
2025-10-01 00:01:50 +00:00
clan-bot
b99d2363b9
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5327 ) from update-devFlake-clan-core-for-checks into main
2025-09-30 20:06:36 +00:00
clan-bot
0131900d79
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5328 ) from update-devFlake-nixpkgs-dev into main
2025-09-30 20:05:57 +00:00
clan-bot
2cd2a8b9b7
Update nixpkgs-dev in devFlake
2025-09-30 20:02:10 +00:00
clan-bot
f918149430
Update clan-core-for-checks in devFlake
2025-09-30 20:01:50 +00:00
clan-bot
7ecec19232
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5325 ) from update-devFlake-clan-core-for-checks into main
2025-09-30 15:06:05 +00:00
clan-bot
0ee297504c
Update clan-core-for-checks in devFlake
2025-09-30 15:01:52 +00:00
hsjobeki
e680c3a478
Merge pull request 'classgen: mute expected warning' ( #5324 ) from mute-warning into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5324
2025-09-30 13:40:08 +00:00
Johannes Kirschbauer
5a026eaf57
classgen: mute expected warning
2025-09-30 15:37:22 +02:00
Luis Hebendanz
873382eaa9
Merge pull request 'ai_support' ( #5323 ) from Qubasa/clan-core:ai_support into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5323
2025-09-30 13:34:17 +00:00
Qubasa
07def16ff6
clan-app: fix logging error
...
on closing the logging file descriptor some parts of the program still
had the old reference. This will replace the old fd with stderr to fix
errors raised
2025-09-30 15:32:21 +02:00
Qubasa
fdc4b5f769
clan-app: full context tracebacks
...
If an exception now is thrown in one of the middlewares we will get a
proper traceback instead of a cut off one like before
2025-09-30 15:31:16 +02:00
Qubasa
8ad9f99606
clan-app: renamed deps folder to 'backend'
2025-09-30 15:30:39 +02:00
Luis Hebendanz
adb82a8414
Merge pull request 'clan-app: fixed broken webview delete_task' ( #5321 ) from Qubasa/clan-core:ai_support into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5321
2025-09-30 12:09:56 +00:00
Qubasa
d36f97aa6d
clan-app: fixed broken webview delete_task
2025-09-30 14:07:25 +02:00
DavHau
d2728bea27
Merge pull request 'vars: make list/get fast' ( #5316 ) from vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5316
2025-09-30 10:15:08 +00:00
Jörg Thalheim
d67e23890b
inline stringify_vars
2025-09-30 12:10:44 +02:00
Jörg Thalheim
597eb46c47
vars: speedup get/list
...
no longer get the full closure that is only needed for generating vars
2025-09-30 12:10:44 +02:00
clan-bot
4b4f4c8a30
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5317 ) from update-devFlake-clan-core-for-checks into main
2025-09-30 10:06:52 +00:00
clan-bot
467ba09720
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5318 ) from update-devFlake-nixpkgs-dev into main
2025-09-30 10:06:26 +00:00
clan-bot
1cfc9f1c5a
Update nixpkgs-dev in devFlake
2025-09-30 10:02:12 +00:00
clan-bot
3ba9f1e957
Update clan-core-for-checks in devFlake
2025-09-30 10:01:52 +00:00
clan-bot
b9b8b6d5be
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5315 ) from update-devFlake-clan-core-for-checks into main
2025-09-30 05:06:59 +00:00
clan-bot
f5aa3dc76f
Update clan-core-for-checks in devFlake
2025-09-30 05:01:51 +00:00
clan-bot
9dcf3ae934
Merge pull request 'Update sops-nix' ( #5313 ) from update-sops-nix into main
2025-09-30 00:09:19 +00:00
clan-bot
7629f497f5
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5314 ) from update-devFlake-clan-core-for-checks into main
2025-09-30 00:07:56 +00:00
clan-bot
39b6dd70e4
Update clan-core-for-checks in devFlake
2025-09-30 00:01:50 +00:00
clan-bot
c8e5b0ac00
Update sops-nix
2025-09-30 00:01:45 +00:00
clan-bot
d8a1699691
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5312 ) from update-devFlake-clan-core-for-checks into main
2025-09-29 20:06:44 +00:00
clan-bot
95dbd1e4cc
Update clan-core-for-checks in devFlake
2025-09-29 20:01:49 +00:00
clan-bot
eaa359d70c
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5311 ) from update-devFlake-clan-core-for-checks into main
2025-09-29 15:06:53 +00:00
clan-bot
37524ebb37
Update clan-core-for-checks in devFlake
2025-09-29 15:01:51 +00:00
brianmcgee
750f502ac6
Merge pull request 'feat(ui): remove add clan button from ListClansModal' ( #5310 ) from feat/remove-add-clan-button into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5310
2025-09-29 10:45:15 +00:00
Brian McGee
aa0b03064a
feat(ui): remove add clan button from ListClansModal
...
It was confusing how it worked. Cleaner to remove it and just have users X out of the modal and use the existing onboarding workflow.
Closes #5010
2025-09-29 11:42:41 +01:00
Brian McGee
04a1fa1cf0
feat(ui): remove add clan button from ListClansModal
...
It was confusing how it worked. Cleaner to remove it and just have users X out of the modal and use the existing onboarding workflow.
Closes #5010
2025-09-29 11:13:03 +01:00
clan-bot
7951e25319
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5308 ) from update-devFlake-clan-core-for-checks into main
2025-09-29 10:09:29 +00:00
clan-bot
d7c42cd2aa
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5309 ) from update-devFlake-nixpkgs-dev into main
2025-09-29 10:08:53 +00:00
clan-bot
4f6cb72a3b
Merge pull request 'Update data-mesher' ( #5307 ) from update-data-mesher into main
2025-09-29 10:06:29 +00:00
clan-bot
ee6adf5ca5
Update nixpkgs-dev in devFlake
2025-09-29 10:02:08 +00:00
clan-bot
a2fffd64fd
Update clan-core-for-checks in devFlake
2025-09-29 10:01:52 +00:00
clan-bot
18e0175412
Update data-mesher
2025-09-29 10:01:14 +00:00
hsjobeki
890486e353
Merge pull request 'use css modules for Tag and MachineStatus' ( #5255 ) from hgl-ui-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5255
2025-09-29 08:06:44 +00:00
hsjobeki
406ee30b1c
Merge pull request 'docs/index: fix broken links' ( #5306 ) from docs-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5306
2025-09-29 07:38:04 +00:00
hsjobeki
ccced8c9f7
Merge pull request 'ui/onboarding: extract cube animation to its own component' ( #5287 ) from hgl-onboarding into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5287
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-09-29 07:37:57 +00:00
Johannes Kirschbauer
13c0639fa9
docs/index: fix broken links
2025-09-29 09:30:29 +02:00
clan-bot
c59ae5205d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5305 ) from update-devFlake-clan-core-for-checks into main
2025-09-29 05:07:15 +00:00
clan-bot
a0df88dd71
Update clan-core-for-checks in devFlake
2025-09-29 05:01:52 +00:00
clan-bot
b813988dd6
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5304 ) from update-devFlake-clan-core-for-checks into main
2025-09-29 00:08:39 +00:00
clan-bot
db1f4db2ff
Update clan-core-for-checks in devFlake
2025-09-29 00:01:54 +00:00
clan-bot
1ce0cbc9bb
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5303 ) from update-devFlake-clan-core-for-checks into main
2025-09-28 20:06:35 +00:00
clan-bot
cb73261283
Update clan-core-for-checks in devFlake
2025-09-28 20:01:49 +00:00
clan-bot
d073306f05
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5302 ) from update-devFlake-clan-core-for-checks into main
2025-09-28 15:08:04 +00:00
clan-bot
e99d2876ce
Update clan-core-for-checks in devFlake
2025-09-28 15:01:51 +00:00
clan-bot
9e09134f27
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5300 ) from update-devFlake-clan-core-for-checks into main
2025-09-28 10:06:29 +00:00
clan-bot
1826880edf
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5301 ) from update-devFlake-nixpkgs-dev into main
2025-09-28 10:05:45 +00:00
clan-bot
8525855fe2
Update nixpkgs-dev in devFlake
2025-09-28 10:02:05 +00:00
clan-bot
17b91ce812
Update clan-core-for-checks in devFlake
2025-09-28 10:01:48 +00:00
clan-bot
5ebe68c9c9
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5299 ) from update-devFlake-clan-core-for-checks into main
2025-09-28 05:09:24 +00:00
clan-bot
861e050c02
Merge pull request 'Update sops-nix' ( #5298 ) from update-sops-nix into main
2025-09-28 05:09:18 +00:00
clan-bot
5b72076895
Update clan-core-for-checks in devFlake
2025-09-28 05:01:55 +00:00
clan-bot
98ffa0c368
Update sops-nix
2025-09-28 05:01:51 +00:00
clan-bot
9e07526f7e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5297 ) from update-devFlake-clan-core-for-checks into main
2025-09-28 00:06:30 +00:00
clan-bot
5e0a8eb914
Update clan-core-for-checks in devFlake
2025-09-28 00:01:51 +00:00
clan-bot
814990f75d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5296 ) from update-devFlake-clan-core-for-checks into main
2025-09-27 20:06:34 +00:00
clan-bot
35b2dbec59
Update clan-core-for-checks in devFlake
2025-09-27 20:01:49 +00:00
clan-bot
68106108ee
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5294 ) from update-devFlake-clan-core-for-checks into main
2025-09-27 15:08:11 +00:00
clan-bot
216dfbccec
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5295 ) from update-devFlake-nixpkgs-dev into main
2025-09-27 15:07:29 +00:00
clan-bot
f8aa623c9a
Update nixpkgs-dev in devFlake
2025-09-27 15:02:09 +00:00
clan-bot
3d30cfbb13
Update clan-core-for-checks in devFlake
2025-09-27 15:01:51 +00:00
clan-bot
5f1303ffd1
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5293 ) from update-devFlake-clan-core-for-checks into main
2025-09-27 10:06:12 +00:00
clan-bot
d300e35b6a
Update clan-core-for-checks in devFlake
2025-09-27 10:01:53 +00:00
clan-bot
aa8e9758d1
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5292 ) from update-devFlake-clan-core-for-checks into main
2025-09-27 05:06:16 +00:00
clan-bot
4604a80f72
Update clan-core-for-checks in devFlake
2025-09-27 05:01:52 +00:00
clan-bot
54b0fe25f3
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5291 ) from update-devFlake-clan-core-for-checks into main
2025-09-27 00:06:41 +00:00
clan-bot
6dc1b1b102
Update clan-core-for-checks in devFlake
2025-09-27 00:01:51 +00:00
clan-bot
01b018866d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5289 ) from update-devFlake-clan-core-for-checks into main
2025-09-26 20:06:47 +00:00
clan-bot
03d402c8c5
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5290 ) from update-devFlake-nixpkgs-dev into main
2025-09-26 20:06:02 +00:00
clan-bot
29f8d783c4
Update nixpkgs-dev in devFlake
2025-09-26 20:02:07 +00:00
clan-bot
b14e82aae4
Update clan-core-for-checks in devFlake
2025-09-26 20:01:48 +00:00
clan-bot
cc23fe4e2d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5288 ) from update-devFlake-clan-core-for-checks into main
2025-09-26 15:06:52 +00:00
clan-bot
22d86b859e
Update clan-core-for-checks in devFlake
2025-09-26 15:01:53 +00:00
Glen Huang
35f42107bb
ui/onboarding: extract cube animation to its own component
2025-09-26 21:58:32 +08:00
hsjobeki
017f0901da
Merge pull request 'ui/HostFileInput: refactor' ( #5280 ) from hgl-hostfileinput into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5280
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-09-26 13:53:02 +00:00
Glen Huang
54c39edafd
ui/HostFileInput: refactor
...
- Contain api call within itself
- Flatten input attributes
- Fix directory validation type error
2025-09-26 21:44:50 +08:00
Michael Hoang
d0148b47d5
Merge pull request 'checks/installation: refactor to remove hardcoded system' ( #5278 ) from push-qkzrzzqorxsl into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5278
2025-09-26 12:24:29 +00:00
Michael Hoang
e4137a6876
checks/installation: fix NixOS configuration not having a system
2025-09-26 14:13:19 +02:00
Michael Hoang
356b0ab546
Merge pull request 'checks/installation: remove unused closureInfo' ( #5286 ) from push-kpwummqulwnp into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5286
2025-09-26 11:32:04 +00:00
Michael Hoang
992273013f
checks/installation: remove unused closureInfo
2025-09-26 13:19:25 +02:00
clan-bot
1e91be3efa
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5284 ) from update-devFlake-clan-core-for-checks into main
2025-09-26 10:06:45 +00:00
clan-bot
907ccbfd22
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5285 ) from update-devFlake-nixpkgs-dev into main
2025-09-26 10:06:11 +00:00
clan-bot
49ff420b8b
Update nixpkgs-dev in devFlake
2025-09-26 10:02:11 +00:00
clan-bot
269169815c
Update clan-core-for-checks in devFlake
2025-09-26 10:01:52 +00:00
clan-bot
724b114c34
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5281 ) from update-devFlake-clan-core-for-checks into main
2025-09-26 05:06:45 +00:00
clan-bot
a5bc193411
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5282 ) from update-devFlake-nixpkgs-dev into main
2025-09-26 05:06:44 +00:00
clan-bot
2b321914f5
Update nixpkgs-dev in devFlake
2025-09-26 05:02:11 +00:00
clan-bot
921693f494
Update clan-core-for-checks in devFlake
2025-09-26 05:01:52 +00:00
clan-bot
374bb30eea
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5279 ) from update-devFlake-clan-core-for-checks into main
2025-09-26 00:07:29 +00:00
clan-bot
0f2d38551f
Update clan-core-for-checks in devFlake
2025-09-26 00:01:48 +00:00
Michael Hoang
3ec2c7c03b
Merge pull request 'cli: support machines init-hardware-config --debug' ( #5275 ) from push-kkrktlvvovkm into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5275
2025-09-25 20:14:53 +00:00
Michael Hoang
51bf7c8848
cli: support machines init-hardware-config --debug
2025-09-25 22:10:01 +02:00
clan-bot
14dfe1f9c5
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5274 ) from update-devFlake-clan-core-for-checks into main
2025-09-25 20:07:01 +00:00
clan-bot
88b3c1b7ac
Update clan-core-for-checks in devFlake
2025-09-25 20:01:51 +00:00
Michael Hoang
285e72616e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5203 ) from update-devFlake-clan-core-for-checks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5203
2025-09-25 17:23:41 +00:00
Michael Hoang
4cadedaa5d
checks: don't use the global flake registry
2025-09-25 19:18:28 +02:00
Michael Hoang
27f87c7345
checks: add dependency on bubblewrap
2025-09-25 19:18:28 +02:00
clan-bot
6f5137fc56
Update clan-core-for-checks in devFlake
2025-09-25 19:18:28 +02:00
Michael Hoang
948bc41562
Merge pull request 'checks/flash: don't generate any vars' ( #5273 ) from push-ormsrmnustku into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5273
2025-09-25 17:18:00 +00:00
Michael Hoang
ab5060a947
checks/flash: don't generate any vars
2025-09-25 19:14:10 +02:00
Luis Hebendanz
23d5a77814
Merge pull request 'Improve backup documentation' ( #5272 ) from Qubasa/clan-core:docs_fix2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5272
2025-09-25 17:13:59 +00:00
Qubasa
6d6a085b97
flake.nix: re-add nuschtos
2025-09-25 19:03:32 +02:00
Qubasa
233d1a48af
docs: make flake-inputs flow better
2025-09-25 18:59:27 +02:00
Qubasa
eddb1e35fc
docs: make flake-parts guide flow better
2025-09-25 18:59:27 +02:00
Qubasa
2c2266ce8c
docs: group templates together
2025-09-25 18:59:27 +02:00
Qubasa
a28270f43a
docs: extensive backup documentation
2025-09-25 18:59:27 +02:00
Michael Hoang
824f80f357
Merge pull request 'checks/update: reduce instances of hardcoded system' ( #5270 ) from push-toqqzsyoqotv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5270
2025-09-25 16:40:53 +00:00
Michael Hoang
bec8de3faa
checks/update: reduce instances of hardcoded system
2025-09-25 18:37:35 +02:00
Qubasa
f9681d49b6
borgbackup: fix requirement that client and server roles must be defined
2025-09-25 18:32:37 +02:00
hsjobeki
3169df3769
Merge pull request 'ui: no need to guard SolidQueryDevtools behind dev flag' ( #5266 ) from hgl-query into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5266
2025-09-25 15:12:52 +00:00
clan-bot
1314f070f7
Merge pull request 'Update nix-darwin' ( #5269 ) from update-nix-darwin into main
2025-09-25 15:07:19 +00:00
clan-bot
eba3b9f119
Update nix-darwin
2025-09-25 15:02:38 +00:00
Glen Huang
19b8c6022f
ui: no need to guard SolidQueryDevtools behind dev flag
...
It won't be bundled in the prod build
2025-09-25 17:05:30 +08:00
clan-bot
587dde157f
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5265 ) from update-devFlake-nixpkgs-dev into main
2025-09-25 00:06:28 +00:00
clan-bot
149ea99344
Update nixpkgs-dev in devFlake
2025-09-25 00:02:08 +00:00
clan-bot
1e32e2ef46
Merge pull request 'Update treefmt-nix in devFlake' ( #5264 ) from update-devFlake-treefmt-nix into main
2025-09-24 20:08:06 +00:00
clan-bot
565972d602
Merge pull request 'Update treefmt-nix' ( #5263 ) from update-treefmt-nix into main
2025-09-24 20:08:05 +00:00
clan-bot
dab2bffc7b
Update treefmt-nix in devFlake
2025-09-24 20:02:15 +00:00
clan-bot
7385d7caec
Update treefmt-nix
2025-09-24 20:01:47 +00:00
hsjobeki
becb32a947
Merge pull request 'lib/introspect: use valueMeta to expose more information' ( #5262 ) from update-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5262
2025-09-24 16:38:14 +00:00
Johannes Kirschbauer
bcadf6b0fb
clan_lib: write_rules complete internal keys
2025-09-24 18:34:09 +02:00
Johannes Kirschbauer
75121767d3
lib/introspect: use valueMeta to expose more information
2025-09-24 17:24:44 +02:00
Luis Hebendanz
8da25d5295
Merge pull request 'hardware-update-split' ( #5261 ) from Qubasa/clan-core:hardware-update-split into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5261
2025-09-24 14:54:32 +00:00
Qubasa
ed069c48d3
clan-cli: rename to init-hardware-config
2025-09-24 16:51:06 +02:00
Qubasa
ac79bfb35f
clan-cli: Split up update-hardware info into kexec-hardware-info
2025-09-24 15:47:33 +02:00
Qubasa
5595b2f862
clan-cli: Don't print trace on Keyboard Interrupt
2025-09-24 15:43:04 +02:00
hsjobeki
f03bcb8c14
Merge pull request 'ui: add npmrc to disable install scripts' ( #5258 ) from hgl-npmrc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5258
2025-09-24 11:01:26 +00:00
hsjobeki
b8e1fa2478
Merge pull request 'ui/cubes: use css modules for cube' ( #5257 ) from hgl-ui-cube into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5257
2025-09-24 11:01:14 +00:00
Glen Huang
a2529e953b
ui: add npmrc to disable install scripts
...
https://www.stepsecurity.io/blog/ctrl-tinycolor-and-40-npm-packages-compromised#immediate-actions-required
2025-09-24 18:59:04 +08:00
clan-bot
d783ae7c7c
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5256 ) from update-devFlake-nixpkgs-dev into main
2025-09-24 10:06:06 +00:00
Glen Huang
2c66bd6508
ui/cubes: use css modules for cubes
2025-09-24 18:05:25 +08:00
clan-bot
aeb6b44ca6
Update nixpkgs-dev in devFlake
2025-09-24 10:02:02 +00:00
Glen Huang
cbb32e5ce9
ui/colors: remove the unused fgClass function
2025-09-24 17:48:21 +08:00
Glen Huang
5f13b24f80
ui/TagGroup: use css modules for TagGroup
2025-09-24 17:37:50 +08:00
Glen Huang
aaa353ec91
ui/Tag: use css modules
2025-09-24 17:17:47 +08:00
Glen Huang
c0281e8b4c
ui/MachineStatus: use css modules
2025-09-24 15:47:38 +08:00
clan-bot
fde05adbd6
Merge pull request 'Update nuschtos in devFlake' ( #5252 ) from update-devFlake-nuschtos into main
2025-09-24 00:05:38 +00:00
clan-bot
e1fff811ee
Update nuschtos in devFlake
2025-09-24 00:02:02 +00:00
hsjobeki
3171512f30
Merge pull request 'ui/SectionService: not throwing errors inside the component rendering function' ( #5249 ) from hgl-ui-froze into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5249
2025-09-23 15:54:09 +00:00
hsjobeki
b87953e2af
Merge pull request 'clan: add nixpkgs version checks' ( #5246 ) from update-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5246
2025-09-23 15:11:56 +00:00
Johannes Kirschbauer
ab8607e01a
clan: add nixpkgs version checks
2025-09-23 17:07:33 +02:00
Glen Huang
6db8757281
ui/SectionService: not throwing errors inside the component rendering function
2025-09-23 22:50:22 +08:00
hsjobeki
18edf5f992
Merge pull request 'ui: use css modules for TextArea and TextInput' ( #5235 ) from hgl-ui-textfield into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5235
2025-09-23 13:59:21 +00:00
Mic92
f6bc4ca6df
Merge pull request 'clan-cli vars: speedup vars retrieval' ( #5245 ) from faster_vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5245
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
2025-09-23 12:03:37 +00:00
lassulus
8567c2c09d
clan-cli vars: speedup vars retrieval
2025-09-23 13:55:33 +02:00
clan-bot
59aec481b2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5238 ) from update-devFlake-nixpkgs-dev into main
2025-09-23 10:05:00 +00:00
clan-bot
fe04eb827f
Update nixpkgs-dev in devFlake
2025-09-23 10:01:27 +00:00
Glen Huang
7be9e3f333
ui: use css modules for TextArea and TextInput
2025-09-23 15:01:17 +08:00
hsjobeki
6b059ca71d
Merge pull request 'clan_lib: persist, compute static data for simpler patch validation' ( #5218 ) from update-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5218
2025-09-22 16:39:29 +00:00
Johannes Kirschbauer
9ea5156f32
clan_lib: disable static checks temporarily
2025-09-22 18:32:58 +02:00
brianmcgee
519ff4c0f3
Merge pull request 'ui/form: use css modules for form components' ( #5232 ) from hgl-ui-form into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5232
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-09-22 13:06:02 +00:00
Glen Huang
bc045ee972
ui/form: use css modules for form components
2025-09-22 20:59:53 +08:00
brianmcgee
5de0d37f0e
Merge pull request 'ui/checkbox: use css modules' ( #5228 ) from hgl-ui-checkbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5228
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-09-22 10:11:59 +00:00
Johannes Kirschbauer
3574b37a29
clan_lib: fix inventory test message assertions
2025-09-22 12:10:51 +02:00
brianmcgee
2921ae7b84
Merge pull request 'ui: use css modules for sidebar components' ( #5217 ) from hgl into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5217
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-09-22 10:07:52 +00:00
clan-bot
8f5cae5671
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5230 ) from update-devFlake-nixpkgs-dev into main
2025-09-22 10:05:52 +00:00
clan-bot
bc241cdd5f
Update nixpkgs-dev in devFlake
2025-09-22 10:01:41 +00:00
Glen Huang
d1b65d5a06
ui/checkbox: use css modules
2025-09-22 17:21:06 +08:00
Qubasa
8ff060c589
clan_lib: Remote add to arguments override func
2025-09-22 11:20:49 +02:00
clan-bot
8402463296
Merge pull request 'Update data-mesher' ( #5227 ) from update-data-mesher into main
2025-09-22 05:06:27 +00:00
clan-bot
461e7ee968
Update data-mesher
2025-09-22 05:00:36 +00:00
Johannes Kirschbauer
b273cc9c6a
clan_lib: temporarily allow missing paths again
2025-09-21 17:33:35 +02:00
Johannes Kirschbauer
51f3ffec42
clan_lib: rename writeability to write_map
2025-09-21 17:30:33 +02:00
Johannes Kirschbauer
48ddf22879
clan_lib: split utils into meaningfull files
2025-09-21 17:24:28 +02:00
clan-bot
7a9f3dfc03
Merge pull request 'Update nix-darwin' ( #5224 ) from update-nix-darwin into main
2025-09-21 15:06:53 +00:00
clan-bot
2588813578
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5225 ) from update-devFlake-nixpkgs-dev into main
2025-09-21 15:05:09 +00:00
clan-bot
c95ab34807
Update nixpkgs-dev in devFlake
2025-09-21 15:01:29 +00:00
clan-bot
54fc2aec03
Update nix-darwin
2025-09-21 15:00:39 +00:00
Johannes Kirschbauer
9a03644a80
clan_lib: deprecate is_writeable_key
2025-09-21 16:37:50 +02:00
Johannes Kirschbauer
381c190ba2
clan_lib: inventory store use structured keys
2025-09-21 16:25:54 +02:00
Johannes Kirschbauer
bd50e1ee40
clan_lib: use structured keys for def calc_patches
...
This allows key that contain dot and other potentially ambigous unicode
2025-09-21 16:02:10 +02:00
Johannes Kirschbauer
00d38180d3
clan_lib: use flatten_data_structured
2025-09-21 16:02:10 +02:00
Johannes Kirschbauer
7e1b7b056d
clan_lib: use flatten_data_structured
2025-09-21 16:02:10 +02:00
Johannes Kirschbauer
4ec3043a4e
clan_lib: init flatten_data_structured
...
Avoids ambiguity issues with keys that contain dots or other separators.
2025-09-21 16:02:10 +02:00
Johannes Kirschbauer
78634d0165
clan_lib: persist, compute static data for simpler patch validation
2025-09-21 16:02:10 +02:00
clan-bot
4d4a689519
Merge pull request 'Update sops-nix' ( #5223 ) from update-sops-nix into main
2025-09-21 05:07:27 +00:00
clan-bot
bd4285a638
Update sops-nix
2025-09-21 05:01:24 +00:00
clan-bot
c418d688dc
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5222 ) from update-devFlake-nixpkgs-dev into main
2025-09-21 00:05:33 +00:00
clan-bot
69ea1a211f
Update nixpkgs-dev in devFlake
2025-09-21 00:01:33 +00:00
clan-bot
02117d8698
Merge pull request 'Update nix-darwin' ( #5221 ) from update-nix-darwin into main
2025-09-20 20:05:15 +00:00
clan-bot
91643bafbe
Update nix-darwin
2025-09-20 20:00:38 +00:00
pinpox
8223120521
Merge pull request 'Add yggdrasil clanService' ( #5104 ) from yggdrasil-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5104
2025-09-20 14:05:54 +00:00
pinpox
8e279a1e71
Add yggdrasil clanService
2025-09-20 16:03:26 +02:00
clan-bot
d6c891750d
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5220 ) from update-devFlake-nixpkgs-dev into main
2025-09-20 10:04:45 +00:00
clan-bot
c73d954b55
Update nixpkgs-dev in devFlake
2025-09-20 10:01:30 +00:00
Luis Hebendanz
4ec6ec0090
Merge pull request 'clan-cli: Increase test coverage for clan flash list' ( #5194 ) from Qubasa/clan-core:add_flash_test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5194
2025-09-20 00:19:33 +00:00
Qubasa
ec98cdf097
clan-cli: Increase test coverage for clan flash list
2025-09-20 02:15:33 +02:00
clan-bot
4ad348d881
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5219 ) from update-devFlake-nixpkgs-dev into main
2025-09-20 00:05:55 +00:00
clan-bot
728d651ad1
Update nixpkgs-dev in devFlake
2025-09-20 00:01:33 +00:00
Luis Hebendanz
fb4c151969
Merge pull request 'clan machines generations' ( #4848 ) from Qubasa/clan-core:add_generate_cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4848
2025-09-19 23:30:19 +00:00
Glen Huang
3cf979f0ed
ui/divider: use css modules
2025-09-19 22:29:18 +08:00
Glen Huang
3bc31b3e3f
ui: use css modules for sidebar components
2025-09-19 22:22:01 +08:00
brianmcgee
99f167a89f
Merge pull request 'ui: use css modules for Typography and SidebarBody' ( #5215 ) from hgl into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5215
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-09-19 13:48:14 +00:00
hsjobeki
ed432cc4cf
Merge pull request 'UI: add update service' ( #5216 ) from update-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5216
2025-09-19 13:44:12 +00:00
Michael Hoang
4ec5be9476
Merge pull request 'treewide: fix evaluation warnings' ( #5214 ) from nuke-warnings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5214
2025-09-19 13:29:41 +00:00
Michael Hoang
00a864663b
flash-installer: fix evaluation warnings
2025-09-19 15:24:59 +02:00
Michael Hoang
9f1d8d22e8
demo-iso: fix evaluation warning
2025-09-19 15:23:27 +02:00
Johannes Kirschbauer
6f791ac086
UI: add update service
2025-09-19 15:01:53 +02:00
Glen Huang
133f4aee53
ui: use css modules for Typography and SidebarBody
...
Extra changes:
- Add missing transition to according triggers in SidebarBody
- More sensible tag for each Typography hierarchy
2025-09-19 20:52:22 +08:00
clan-bot
91985504d0
Merge pull request 'Update nuschtos in devFlake' ( #5213 ) from update-devFlake-nuschtos into main
2025-09-19 10:09:08 +00:00
clan-bot
ba5968ce93
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5212 ) from update-devFlake-nixpkgs-dev into main
2025-09-19 10:08:02 +00:00
clan-bot
3370212cea
Update nuschtos in devFlake
2025-09-19 10:01:33 +00:00
clan-bot
3043a92815
Update nixpkgs-dev in devFlake
2025-09-19 10:01:30 +00:00
brianmcgee
77921f2857
Merge pull request 'ui/onboarding: use css modules' ( #5171 ) from hgl/clan-core:css into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5171
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-09-19 09:56:37 +00:00
Glen Huang
f22c8f166e
ui: use css modules for Button, Icon and Loader
...
Changes:
- use mergeProps to set default values instead of using ||
- Let a parent component override a child by specifying `in`
- Button can only have at most two icons, make it accept icon and endIcon
- Rely on class to denote Button's icon type, instead of querying the DOM structure in css
- Dynamic with undefined as the component already skips rendering, no need to explicit check the component value
- move fgClass in css.tsx to a css module
2025-09-19 17:32:29 +08:00
Qubasa
d6ae9cde3f
clanServices: add deprecation warning to monitoring service settings.
2025-09-19 10:34:02 +02:00
clan-bot
51b6717202
Merge pull request 'Update nuschtos in devFlake' ( #5210 ) from update-devFlake-nuschtos into main
2025-09-19 00:05:33 +00:00
clan-bot
d27576c130
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5209 ) from update-devFlake-nixpkgs-dev into main
2025-09-19 00:04:22 +00:00
clan-bot
0a972b387c
Update nuschtos in devFlake
2025-09-19 00:01:39 +00:00
clan-bot
e8bbe91685
Update nixpkgs-dev in devFlake
2025-09-19 00:01:36 +00:00
Qubasa
455268f6ce
clanServices: add ca certs for monitoring/telegraf
2025-09-19 01:29:23 +02:00
clan-bot
ce2e80bcf1
Merge pull request 'Update treefmt-nix in devFlake' ( #5205 ) from update-devFlake-treefmt-nix into main
2025-09-18 20:04:17 +00:00
clan-bot
8e9105735c
Update treefmt-nix in devFlake
2025-09-18 20:01:38 +00:00
hsjobeki
db75af2445
Merge pull request 'clanInternals: remove unused options' ( #5206 ) from module-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5206
2025-09-18 16:13:23 +00:00
clan-bot
24014564e8
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5204 ) from update-devFlake-nixpkgs-dev into main
2025-09-18 15:49:06 +00:00
clan-bot
4939723477
Update nixpkgs-dev in devFlake
2025-09-18 17:46:48 +02:00
clan-bot
8be04e790b
Merge pull request 'Update treefmt-nix' ( #5202 ) from update-treefmt-nix into main
2025-09-18 15:45:00 +00:00
clan-bot
eaf94f90fe
Update treefmt-nix
2025-09-18 17:40:37 +02:00
Johannes Kirschbauer
ac07265ea4
clan/module: remove deprecated clanInternals.inventory
2025-09-18 15:35:39 +00:00
Johannes Kirschbauer
92ca540a42
clan/module: remove clanModules from clanInternals
2025-09-18 15:35:39 +00:00
Mic92
8b18418e7c
Merge pull request 'fix pytest' ( #5207 ) from fix-tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5207
2025-09-18 15:35:28 +00:00
Jörg Thalheim
9b1573db63
Revert "Merge pull request 'Update clan-core-for-checks in devFlake' ( #5132 ) from update-devFlake-clan-core-for-checks into main"
...
This reverts commit 62eedacd33 , reversing
changes made to 1a344f759a .
2025-09-18 17:31:31 +02:00
Jörg Thalheim
47be7d6865
fix pytest
2025-09-18 17:07:50 +02:00
hsjobeki
1e18d7b897
Merge pull request 'clan_lib: fix update_service:_instance api name' ( #5201 ) from api-update-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5201
2025-09-18 14:46:00 +00:00
Michael Hoang
f099e92394
Merge pull request 'gitea: run nix with --print-build-logs to workflows' ( #5200 ) from push-tymntmvkqxmx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5200
2025-09-18 14:45:10 +00:00
Johannes Kirschbauer
668fc39dba
clan_lib: fix update_service:_instance api name
2025-09-18 16:45:03 +02:00
Michael Hoang
589d353285
gitea: run nix with --print-build-logs to workflows
2025-09-18 16:42:15 +02:00
clan-bot
62eedacd33
Merge pull request 'Update clan-core-for-checks in devFlake' ( #5132 ) from update-devFlake-clan-core-for-checks into main
2025-09-18 14:35:43 +00:00
Michael Hoang
4ce8f03ea6
checks: add dependency on bubblewrap
2025-09-18 16:34:15 +02:00
clan-bot
75367f4d6f
Update clan-core-for-checks in devFlake
2025-09-18 16:34:15 +02:00
hsjobeki
1a344f759a
Merge pull request 'clan_lib/api: init update service instance' ( #5199 ) from api-update-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5199
2025-09-18 14:33:18 +00:00
Johannes Kirschbauer
3cc1ea6d83
clan_lib/api: init update service instance
2025-09-18 16:31:07 +02:00
Johannes Kirschbauer
09af3f38ee
clan_lib: allow delete on non-existing data
2025-09-18 16:29:55 +02:00
Johannes Kirschbauer
0f71ffd3c7
clan_lib: typecast return of get_value_by_path
2025-09-18 16:29:55 +02:00
Johannes Kirschbauer
0fef161391
clan_lib: add inventory json argument
2025-09-18 16:27:05 +02:00
hsjobeki
854481fd49
Merge pull request 'Remove function syntax from extraModules' ( #5152 ) from remove-extainv-func into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5152
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-09-18 14:00:28 +00:00
Qubasa
74f853bd7c
clan-cli: Add a clan machines generations command
...
improvements
stash
2025-09-18 15:18:33 +02:00
Mic92
5613cbe7cb
Merge pull request 'telegraf: move telegraf.json into runtime directory' ( #5196 ) from telegraf into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5196
2025-09-18 12:12:45 +00:00
Jörg Thalheim
4b549365f7
telegraf: move telegraf.json into runtime directory
...
No need to persist this type of data. We also don't need to allocate a
persistent user for telegraf.
Also make it a directory because otherwise thre is a potential race
condition on startup.
2025-09-18 12:11:48 +02:00
clan-bot
e03fcc25e7
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5197 ) from update-devFlake-nixpkgs-dev into main
2025-09-18 10:05:24 +00:00
clan-bot
a798fcb359
Update nixpkgs-dev in devFlake
2025-09-18 10:02:43 +00:00
Glen Huang
d163f0da14
ui/onboarding: use css modules
2025-09-18 14:39:45 +08:00
clan-bot
92e2c841e3
Merge pull request 'Update disko' ( #5195 ) from update-disko into main
2025-09-18 05:05:05 +00:00
clan-bot
01856cf4cb
Update disko
2025-09-18 05:00:35 +00:00
Luis Hebendanz
0d04b24473
Merge pull request 'clanServices: init test clan_lib.metrics.version::get_nixos_systems' ( #4849 ) from Qubasa/clan-core:build_is_installed_api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4849
2025-09-17 23:42:25 +00:00
Qubasa
bc521a1b9b
clanServices: jail telegraf-json to not write to tmp dir
2025-09-18 01:38:30 +02:00
Qubasa
eb321df10d
clanServices: add indepth test for telegraf metrics
2025-09-18 01:14:10 +02:00
Qubasa
cdceb2a211
clanServices: init vars for telegraf
2025-09-17 21:18:51 +02:00
Qubasa
6546f8a952
clanServices: init test clan_lib.metrics.version::get_nixos_systems
2025-09-17 18:21:19 +02:00
clan-bot
b7798f5466
Merge pull request 'Update nix-darwin' ( #5192 ) from update-nix-darwin into main
2025-09-17 15:06:05 +00:00
clan-bot
132728d757
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5193 ) from update-devFlake-nixpkgs-dev into main
2025-09-17 15:05:57 +00:00
clan-bot
2a52548120
Update nixpkgs-dev in devFlake
2025-09-17 15:01:36 +00:00
clan-bot
71533f118f
Update nix-darwin
2025-09-17 15:00:41 +00:00
hsjobeki
c9ab0a42ac
Merge pull request 'docs: bring back structured clan options' ( #5191 ) from docs-clan-options into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5191
2025-09-17 13:20:42 +00:00
Johannes Kirschbauer
e7fe50fd6e
docs: rename tab to 'search clan options'
2025-09-17 15:17:25 +02:00
Johannes Kirschbauer
757f2412a6
docs: bring back structured clan options
2025-09-17 15:15:32 +02:00
Kenji Berthold
f8d153b318
Merge pull request 'docs: Fix erroneous NixOS spelling' ( #5189 ) from kenji/ke-fix-nixos-rebuild into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5189
2025-09-17 11:20:03 +00:00
a-kenji
782a9375bf
docs: Fix erroneous NixOS spelling
2025-09-17 12:40:43 +02:00
Michael Hoang
e332ae9059
Merge pull request 'cli: don't commit the target host for privacy' ( #5188 ) from push-yvrxxtxymrsr into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5188
2025-09-17 10:15:02 +00:00
Michael Hoang
9a9d6bf22d
cli: don't commit the target host for privacy
2025-09-17 12:09:26 +02:00
Luis Hebendanz
593c2d3d5b
Merge pull request 'docs: dedup vars' ( #5187 ) from Qubasa/clan-core:dedup_docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5187
2025-09-17 09:31:53 +00:00
Qubasa
59c463f326
docs: dedup vars
2025-09-17 11:29:43 +02:00
hsjobeki
f1416bdcba
Merge pull request 'lib/types: add docs for custom type' ( #5186 ) from lib-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5186
2025-09-17 09:07:45 +00:00
Johannes Kirschbauer
7a38e976a4
lib/types: add docs for custom type
2025-09-17 11:03:08 +02:00
clan-bot
ae28196039
Merge pull request 'Update nixpkgs' ( #5179 ) from update-nixpkgs into main
2025-09-17 05:07:50 +00:00
clan-bot
a1b7c4f8f7
Update nixpkgs
2025-09-17 05:01:06 +00:00
Luis Hebendanz
66b6290d32
Merge pull request 'feat: add zerotier to network cli' ( #5178 ) from Qubasa/clan-core:zerotier_network into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5178
2025-09-16 19:17:48 +00:00
Qubasa
4aff2a9d40
vars: add machine name to errors
2025-09-16 21:13:54 +02:00
Qubasa
9b39ca42e0
clan_lib: implement check_zerotier_running for network overview
2025-09-16 21:13:54 +02:00
Qubasa
104058b79c
zerotier: increase network prio
2025-09-16 21:13:54 +02:00
Mic92
5dd30a8edd
Merge pull request 'clanServices/wifi: allow WPA3 and other key management settings' ( #5159 ) from nim65s/clan-core:wpa3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5159
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
2025-09-16 15:53:44 +00:00
clan-bot
5127a74515
Merge pull request 'Update nixpkgs' ( #5174 ) from update-nixpkgs into main
2025-09-16 15:51:24 +00:00
clan-bot
fd1c0dfabc
Update nixpkgs
2025-09-16 15:47:29 +00:00
Moritz Böhme
3d8fab062d
feat: add zerotier to network cli
2025-09-16 17:24:11 +02:00
Luis Hebendanz
559c13f41b
Merge pull request 'kurogeek-flakeModules-clan-nixos-test' ( #5177 ) from Qubasa/clan-core:kurogeek-flakeModules-clan-nixos-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5177
2025-09-16 15:20:16 +00:00
hsjobeki
3afe48f9cf
Merge pull request 'lib/jsonschema: remove unused arguments' ( #5176 ) from lib-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5176
2025-09-16 15:15:56 +00:00
Qubasa
555c2e1bc9
clan-core: use importApply for testModule export
2025-09-16 17:14:33 +02:00
Johannes Kirschbauer
80bc3daf96
lib/jsonschema: remove unused arguments
2025-09-16 17:11:19 +02:00
clan-bot
fc1a68b99c
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5175 ) from update-devFlake-nixpkgs-dev into main
2025-09-16 15:09:01 +00:00
kurogeek
cbdf8745eb
nixosTests option is exposed via flakeModules.testModule
2025-09-16 17:03:31 +02:00
clan-bot
b08f9743f0
Update nixpkgs-dev in devFlake
2025-09-16 15:01:32 +00:00
Luis Hebendanz
50239028b6
Merge pull request 'docs: fix small nitpicks' ( #5173 ) from Qubasa/clan-core:improve_vars_docs2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5173
2025-09-16 15:00:52 +00:00
Qubasa
0f0cfbc7e0
docs: fix small nitpicks
2025-09-16 16:57:40 +02:00
Luis Hebendanz
d4e601586d
Merge pull request 'docs: init new structure' ( #5157 ) from improve_vars_docs2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5157
2025-09-16 14:48:15 +00:00
Qubasa
ada80be417
docs: re-add nixos rebuild
...
docs: fix strict errors
2025-09-16 16:45:09 +02:00
clan-bot
e4b316c14a
Merge pull request 'Update nixpkgs' ( #4821 ) from update-nixpkgs into main
2025-09-16 14:19:39 +00:00
hsjobeki
a0fda9b819
Merge pull request 'docs: remove unused plugin' ( #5172 ) from doc-98 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5172
2025-09-16 14:13:10 +00:00
Luis Hebendanz
125a882938
Merge pull request 'bundle nix packagemanager by default' ( #5166 ) from nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5166
2025-09-16 14:10:29 +00:00
Luis Hebendanz
fc223939ec
Merge pull request 'simplify_http_backend' ( #5167 ) from Qubasa/clan-core:simplify_http_backend into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5167
2025-09-16 14:09:27 +00:00
Michael Hoang
2152646df6
cli: don't hardcode system for flash list
2025-09-16 16:07:54 +02:00
Michael Hoang
1f9b44a4ad
syncthing: fix vars generator not working with latest Syncthing
2025-09-16 16:07:54 +02:00
Michael Hoang
8a1f924f72
treewide: reformat
2025-09-16 16:07:54 +02:00
Michael Hoang
e43779f8d6
clanServices: remove useless importApply
2025-09-16 16:07:54 +02:00
Michael Hoang
69b0c36381
docs: use manifest.readme instead of path manipulation
2025-09-16 16:07:54 +02:00
Michael Hoang
479d7d536e
cli/persist: explicitly annotate type to assist mypy
2025-09-16 16:07:54 +02:00
Michael Hoang
19a209c75a
cli/templates: only catch ClanError
2025-09-16 16:07:54 +02:00
clan-bot
c249994e18
Update nixpkgs
2025-09-16 16:07:54 +02:00
hsjobeki
6910620629
Merge pull request 'docs: remove references to buildClan' ( #5170 ) from docs-99 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5170
2025-09-16 14:07:43 +00:00
Johannes Kirschbauer
3f17a6c121
docs: remove unused plugin
2025-09-16 16:07:36 +02:00
Qubasa
864b131010
clan-app: Move middleware to it's own folder
2025-09-16 16:06:16 +02:00
Johannes Kirschbauer
50c8df7e40
flake: keep imports sorted
2025-09-16 16:02:10 +02:00
Johannes Kirschbauer
a80df32c59
lib: cleanup readme
2025-09-16 16:02:10 +02:00
Johannes Kirschbauer
b1e3e3616e
docs: remove unused export
2025-09-16 16:02:10 +02:00
Johannes Kirschbauer
3d680bcc5f
docs: remove references to buildClan
2025-09-16 16:02:05 +02:00
Qubasa
3f5bf8e171
docs: remove stale link
...
docs: revert nuschtos changes
2025-09-16 16:01:03 +02:00
Qubasa
31ff7b903c
docs: add next step button to physical machine
2025-09-16 16:01:03 +02:00
Qubasa
62eb42ae5b
docs: Add a what is clan extendable to homepage
2025-09-16 16:01:03 +02:00
Qubasa
d25818580d
docs: Fixup stale references
2025-09-16 16:01:03 +02:00
Johannes Kirschbauer
13eba4d7c5
docs: changes from johannes
...
WIP
2025-09-16 16:01:03 +02:00
Qubasa
86c4555bc0
docs: init new structure
2025-09-16 16:00:40 +02:00
hsjobeki
39eb13eebb
Merge pull request 'lib: move clan out of lib into flake' ( #5169 ) from inv-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5169
2025-09-16 13:33:45 +00:00
Johannes Kirschbauer
daea2da358
lib: move clan out of lib into flake
...
This allows clanLib to stay agnostic and be more testable
2025-09-16 15:28:12 +02:00
hsjobeki
d995c0b118
Merge pull request 'inventory: remove deprecated frontmatter' ( #5168 ) from inv-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5168
2025-09-16 13:05:46 +00:00
Johannes Kirschbauer
5e22830048
inventory: remove deprecated frontmatter
2025-09-16 14:59:39 +02:00
DavHau
15d117d06b
Merge pull request 'generate_test_vars: fix + add tests' ( #5163 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5163
2025-09-16 12:23:04 +00:00
DavHau
c936830bc6
generate_test_vars: add test
2025-09-16 19:16:53 +07:00
Jörg Thalheim
8e50ddc84b
bundle nix packagemanager by default
...
detsys nix lazy-path seems to be incompatible with our caching and
deployment commands. By shipping nix, we can be sure to have binaries we
tested.
2025-09-16 13:25:06 +02:00
hsjobeki
f2134754c5
Merge pull request 'inventory: make resolve module a clanLib function' ( #5165 ) from inv-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5165
2025-09-16 11:14:40 +00:00
Johannes Kirschbauer
f49df8d574
inventory: make resolve module a clanLib function
...
Unclutter inventory logic
2025-09-16 13:09:56 +02:00
Kenji Berthold
d873e667ba
Merge pull request 'docs: Add information about nixos-rebuild' ( #5000 ) from ke-docs-add-nixos-rebuild into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5000
2025-09-16 10:42:32 +00:00
hsjobeki
6c2fa3e4ed
Merge pull request 'inventory: inline manifest module' ( #5164 ) from inv-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5164
2025-09-16 10:42:17 +00:00
Johannes Kirschbauer
0bce953c2f
inventory: inline manifest module
...
Reducing the clutter of files
Its sometimes better to have all the options in one place if reusing is not a concern
2025-09-16 12:36:58 +02:00
clan-bot
dd1f045022
Merge pull request 'Update sops-nix' ( #5135 ) from update-sops-nix into main
2025-09-16 10:21:43 +00:00
clan-bot
f7cd8c8863
Update sops-nix
2025-09-16 10:01:09 +00:00
Qubasa
ee0f111fc9
clan-app: change ApiBridge ABC class to Protocol
2025-09-16 11:48:59 +02:00
DavHau
ea32fdbd93
generate_test_vars: move into clan_cli
...
Reduces overhead by not having to manage a separate package for this small tool
2025-09-16 16:37:41 +07:00
DavHau
1f3aa0075e
generate_test_vars: fix script
2025-09-16 16:37:41 +07:00
DavHau
5d38824d8e
cli/debug: fix web-pdb
2025-09-16 16:37:41 +07:00
a-kenji
5ee6156b29
docs: Add information about nixos-rebuild
2025-09-16 11:29:46 +02:00
hsjobeki
a90197cfd4
Merge pull request 'inventory: unify modules' ( #5154 ) from inventory-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5154
2025-09-16 09:02:24 +00:00
hsjobeki
cd1351cd6f
Merge pull request 'lib: remove usages of flip' ( #5155 ) from remove-flip into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5155
2025-09-16 09:01:27 +00:00
Mic92
1b193123b2
Merge pull request 'docs: Add missing space' ( #5160 ) from hgl/clan-core:doc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5160
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
2025-09-16 08:34:17 +00:00
Glen Huang
81126da053
docs: Add missing space
2025-09-16 15:07:32 +08:00
clan-bot
67795730a2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5158 ) from update-devFlake-nixpkgs-dev into main
2025-09-16 00:07:39 +00:00
clan-bot
e6797c6f20
Update nixpkgs-dev in devFlake
2025-09-16 00:01:36 +00:00
Guilhem Saurel
8c42cc377c
clanServices/wifi: allow WPA3 and other key management settings
2025-09-15 19:33:19 +02:00
Johannes Kirschbauer
5750ab8d3a
lib: remove usages of flip
...
Makes the code more consistent to read.
Usage in 9 places is rather inconsistent style.
2025-09-15 13:17:09 +02:00
Johannes Kirschbauer
d3397af442
inventory: unify modules
2025-09-15 12:18:35 +02:00
pinpox
ea3818bb50
Remove function syntax from extraModules
...
Related: https://git.clan.lol/clan/clan-core/issues/5151
2025-09-15 09:52:07 +02:00
clan-bot
93280a9f98
Merge pull request 'Update data-mesher' ( #5150 ) from update-data-mesher into main
2025-09-15 05:09:00 +00:00
clan-bot
d89ddfabec
Update data-mesher
2025-09-15 05:00:39 +00:00
clan-bot
e2946615f0
Merge pull request 'Update nuschtos in devFlake' ( #5149 ) from update-devFlake-nuschtos into main
2025-09-15 00:17:45 +00:00
clan-bot
bce9f9a747
Update nuschtos in devFlake
2025-09-15 00:01:49 +00:00
clan-bot
b494bdee21
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5148 ) from update-devFlake-nixpkgs-dev into main
2025-09-14 10:09:05 +00:00
clan-bot
13632ff659
Update nixpkgs-dev in devFlake
2025-09-14 10:01:35 +00:00
clan-bot
90ad8054d0
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5147 ) from update-devFlake-nixpkgs-dev into main
2025-09-13 15:10:47 +00:00
clan-bot
716d4a17f5
Update nixpkgs-dev in devFlake
2025-09-13 15:01:35 +00:00
clan-bot
dcd1273f3f
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5145 ) from update-devFlake-nixpkgs-dev into main
2025-09-12 15:10:09 +00:00
clan-bot
899c9eed0e
Update nixpkgs-dev in devFlake
2025-09-12 15:01:35 +00:00
Luis Hebendanz
af85041e5e
Merge pull request 'docs: Move age plugins to vars/sops backend group. Improve age plugin documentation' ( #5144 ) from Qubasa/clan-core:improve_vars_docs2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5144
2025-09-12 12:20:28 +00:00
Qubasa
6a96ce8679
docs: Move age plugins to vars/sops backend group. Improve age plugin documentation
2025-09-12 14:13:49 +02:00
Luis Hebendanz
60195f9614
Merge pull request 'docs: fix multiple format errors, improve readability of vars' ( #5142 ) from Qubasa/clan-core:improve_vars_docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5142
2025-09-12 10:46:15 +00:00
Qubasa
447b0bf8ac
docs: fix uml errors
2025-09-12 12:42:41 +02:00
clan-bot
fd162f6fc8
Merge pull request 'Update nuschtos in devFlake' ( #5143 ) from update-devFlake-nuschtos into main
2025-09-12 00:10:15 +00:00
clan-bot
e4bf6523ad
Update nuschtos in devFlake
2025-09-12 00:01:43 +00:00
Qubasa
5312799784
docs: fix multiple format errors, improve readability of vars
2025-09-11 19:45:16 +02:00
Luis Hebendanz
7d265a6156
Merge pull request 'Fix link in README and typo in zerotier service' ( #5137 ) from ErinvanderVeen/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5137
2025-09-11 13:02:07 +00:00
Luis Hebendanz
f8428947ca
Merge pull request 'fix: (re)add missing tofu --host-key-check option' ( #5140 ) from friedow/clan-core:fix/missing-host-key-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5140
2025-09-11 13:00:26 +00:00
Christian Friedow
196d7c95c0
fix: add missing --host-key-check option
2025-09-11 14:30:48 +02:00
clan-bot
6be40f6f79
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5139 ) from update-devFlake-nixpkgs-dev into main
2025-09-11 10:09:35 +00:00
clan-bot
3aefabd818
Update nixpkgs-dev in devFlake
2025-09-11 10:01:38 +00:00
clan-bot
230e7e6769
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5138 ) from update-devFlake-nixpkgs-dev into main
2025-09-11 05:10:22 +00:00
clan-bot
46bae67645
Update nixpkgs-dev in devFlake
2025-09-11 05:01:36 +00:00
Erin van der Veen
890e8c7003
chore(zerotier): fix stableEndpoint example
2025-09-10 20:48:50 +02:00
Erin van der Veen
0d3a62321a
chore(readme): fix contributing link
2025-09-10 20:47:22 +02:00
clan-bot
ef82e07293
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5136 ) from update-devFlake-nixpkgs-dev into main
2025-09-10 15:13:31 +00:00
clan-bot
7c8c3811f4
Merge pull request 'Update disko' ( #5134 ) from update-disko into main
2025-09-10 15:06:42 +00:00
clan-bot
9b2c97a855
Update nixpkgs-dev in devFlake
2025-09-10 15:01:50 +00:00
clan-bot
785f789628
Update disko
2025-09-10 15:00:51 +00:00
clan-bot
a034fefb51
Merge pull request 'Update sops-nix' ( #5130 ) from update-sops-nix into main
2025-09-10 14:04:53 +00:00
clan-bot
bcd846fe5e
Update sops-nix
2025-09-10 10:01:13 +00:00
clan-bot
a6214f431d
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5131 ) from update-devFlake-nixpkgs-dev into main
2025-09-10 00:12:29 +00:00
clan-bot
b8890f6732
Update nixpkgs-dev in devFlake
2025-09-10 00:01:36 +00:00
Luis Hebendanz
370b4f535d
Merge pull request 'vars: docs' ( #4119 ) from vars-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4119
2025-09-09 20:59:52 +00:00
Qubasa
ef66c9b5be
docs: vars ai fixups
2025-09-09 22:53:15 +02:00
Jörg Thalheim
79d44f7c30
vars: docs
...
re-add vars-backend.md
re-add vars-backend.md
2025-09-09 22:12:07 +02:00
clan-bot
e72e100965
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5129 ) from update-devFlake-nixpkgs-dev into main
2025-09-09 20:10:13 +00:00
clan-bot
180e2a601c
Merge pull request 'Update nix-darwin' ( #5128 ) from update-nix-darwin into main
2025-09-09 20:06:57 +00:00
clan-bot
90d265089b
Update nixpkgs-dev in devFlake
2025-09-09 20:01:39 +00:00
clan-bot
a0fa52fded
Update nix-darwin
2025-09-09 20:00:41 +00:00
Luis Hebendanz
af4e9e784b
Merge pull request 'docs: Add secure boot info to disk encryption guide' ( #5127 ) from docs_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5127
2025-09-09 17:46:09 +00:00
Qubasa
cb162a53b8
docs: Add secure boot info to disk encryption guide
...
fix wrong link
2025-09-09 19:41:59 +02:00
Luis Hebendanz
16e506ea1a
Merge pull request 'doc: use clan-core as inputs name' ( #5126 ) from Mayeu-doc/clan-core-input2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5126
2025-09-09 17:29:06 +00:00
Mayeu
11ec94c17f
doc: use clan-core as inputs name
2025-09-09 19:18:35 +02:00
clan-bot
8468b1ebaf
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5123 ) from update-devFlake-nixpkgs-dev into main
2025-09-09 15:08:55 +00:00
clan-bot
ec83130fa4
Update nixpkgs-dev in devFlake
2025-09-09 15:01:38 +00:00
Luis Hebendanz
c1e41f8fd9
Merge pull request 'docs: update concepts/inventory to match new option structure' ( #5121 ) from friedow/clan-core:docs/concept-inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5121
2025-09-09 14:44:30 +00:00
Christian Friedow
3630e778ad
docs: update concepts/inventory to match new option structure
2025-09-09 15:35:23 +02:00
Luis Hebendanz
916186c465
Merge pull request 'webview: update to support displaying app icon on macOS' ( #5120 ) from Qubasa/clan-core:demo_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5120
2025-09-09 10:12:56 +00:00
clan-bot
25e733b8d7
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5112 ) from update-devFlake-nixpkgs-dev into main
2025-09-09 10:11:14 +00:00
Luis Hebendanz
2599998b17
Merge pull request 'add apply "machine" as an alias to clan machines create' ( #5005 ) from apply into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5005
2025-09-09 10:08:58 +00:00
clan-bot
56649b7fe2
Merge pull request 'Update data-mesher' ( #5111 ) from update-data-mesher into main
2025-09-09 10:07:57 +00:00
Luis Hebendanz
fc85622e01
Merge pull request 'ui/imports: fix asset imports' ( #5119 ) from fix-imports into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5119
2025-09-09 10:02:29 +00:00
clan-bot
c499c563bb
Update nixpkgs-dev in devFlake
2025-09-09 10:02:19 +00:00
clan-bot
b255ba0367
Update data-mesher
2025-09-09 10:01:18 +00:00
Luis Hebendanz
493adebd7c
Merge pull request 'docs: Fix minor typo' ( #5110 ) from vorburger/clan-core:docs-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5110
2025-09-09 09:59:21 +00:00
Qubasa
cac2866356
webview: update to support displaying app icon on macOS
2025-09-09 11:54:18 +02:00
Qubasa
981f6052ad
zerotierone: Add restartUnit to vars generators
2025-09-09 09:49:38 +00:00
Michael Vorburger
6e888c38fa
docs: Fix minor typo
2025-09-08 01:03:55 +02:00
clan-bot
e953f807de
Merge pull request 'Update disko' ( #5108 ) from update-disko into main
2025-09-07 15:07:42 +00:00
clan-bot
c2534e9a42
Update disko
2025-09-07 15:00:37 +00:00
clan-bot
b0feef1a40
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5101 ) from update-devFlake-nixpkgs-dev into main
2025-09-07 05:08:56 +00:00
clan-bot
d4c26087df
Update nixpkgs-dev in devFlake
2025-09-07 05:01:56 +00:00
clan-bot
1a9bbab667
Merge pull request 'Update nix-darwin' ( #5100 ) from update-nix-darwin into main
2025-09-06 05:08:32 +00:00
clan-bot
b23171f291
Update nix-darwin
2025-09-06 05:00:40 +00:00
clan-bot
087423597b
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5099 ) from update-devFlake-nixpkgs-dev into main
2025-09-05 10:08:09 +00:00
clan-bot
602dc192f3
Update nixpkgs-dev in devFlake
2025-09-05 10:01:37 +00:00
clan-bot
dba166cc8a
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5097 ) from update-devFlake-nixpkgs-dev into main
2025-09-05 00:09:56 +00:00
clan-bot
21b872a1c9
Merge pull request 'Update nix-darwin' ( #5096 ) from update-nix-darwin into main
2025-09-05 00:07:04 +00:00
clan-bot
be48ffe724
Update nixpkgs-dev in devFlake
2025-09-05 00:01:40 +00:00
clan-bot
7673b72991
Update nix-darwin
2025-09-05 00:00:43 +00:00
Johannes Kirschbauer
42bbd7c5fd
ui/imports: fix asset imports
2025-09-04 19:35:06 +02:00
clan-bot
823114435a
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5095 ) from update-devFlake-nixpkgs-dev into main
2025-09-04 15:08:37 +00:00
clan-bot
e7efbb701b
Update nixpkgs-dev in devFlake
2025-09-04 15:01:35 +00:00
hsjobeki
30d9c86015
Merge pull request 'ui/move: fix bug, with interleaving positions' ( #5094 ) from ui/password-input-reveal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5094
2025-09-03 20:00:53 +00:00
Johannes Kirschbauer
313b77be79
ui/move: fix bug, with interleaving positions
2025-09-03 21:57:27 +02:00
hsjobeki
6229e62281
Merge pull request 'ui/services: fix reactivity issue when switching between services' ( #5093 ) from ui/password-input-reveal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5093
2025-09-03 19:53:56 +00:00
Johannes Kirschbauer
49ff4da6be
ui/services: fix reactivity issue when switching between services
2025-09-03 21:50:15 +02:00
hsjobeki
6d6521803d
Merge pull request 'ui/move: fix bug, when long press without moving' ( #5092 ) from ui/password-input-reveal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5092
2025-09-03 19:44:14 +00:00
Johannes Kirschbauer
afd7bfc8c0
ui/move: fix bug, when long press without moving
2025-09-03 21:40:46 +02:00
hsjobeki
88fa3dff83
Merge pull request 'ui/3d-fonts: replace troika with 3d rendered default font' ( #5091 ) from ui/password-input-reveal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5091
2025-09-03 19:38:05 +00:00
Johannes Kirschbauer
629ef65ce5
ui/3d-fonts: replace troika with 3d rendered default font
2025-09-03 21:34:26 +02:00
Johannes Kirschbauer
92151331f3
ui/devShell: remove fonts directory if exists
2025-09-03 21:33:40 +02:00
Johannes Kirschbauer
67dcd45dd5
ui/services: simplify and sort
2025-09-03 21:15:06 +02:00
hsjobeki
95a4a69ffb
Merge pull request 'ui/fieldset: use normal div, due to webkit layout bug for fieldsets' ( #5090 ) from ui/password-input-reveal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5090
2025-09-03 19:11:47 +00:00
Johannes Kirschbauer
88343ce523
ui/sidebar: remove spurious console.log
2025-09-03 21:05:58 +02:00
Johannes Kirschbauer
fd9dd6f872
ui/fieldset: use normal div, due to webkit layout bug for fieldsets
2025-09-03 21:05:35 +02:00
Brian McGee
aaaa310c7f
feat(ui): refine input to allow start and end components
2025-09-03 21:05:35 +02:00
Luis Hebendanz
ffbf22eb60
Merge pull request 'docs: Fixup out of date networking docs' ( #5089 ) from Qubasa/clan-core:fix_docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5089
2025-09-03 16:39:22 +00:00
Qubasa
8d3e0d2209
docs: Fixup out of date networking docs
2025-09-03 18:35:55 +02:00
Luis Hebendanz
c05a890d50
Merge pull request 'clanServices: telegraf -> fix telegraf-json failing because file does not yet exist' ( #5088 ) from Qubasa/clan-core:telegraf_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5088
2025-09-03 16:08:07 +00:00
Qubasa
03458ffbd8
clanServices: telegraf -> fix telegraf-json failing because file does not yet exist
2025-09-03 17:51:51 +02:00
clan-bot
ea098048c8
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5086 ) from update-devFlake-nixpkgs-dev into main
2025-09-03 15:07:41 +00:00
brianmcgee
838ed6ead7
Merge pull request 'feat(ui): refine input to allow start and end components' ( #5080 ) from ui/password-input-reveal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5080
2025-09-03 15:02:30 +00:00
clan-bot
7e7278b99b
Update nixpkgs-dev in devFlake
2025-09-03 15:01:36 +00:00
Brian McGee
f4d7728f3f
feat(ui): refine input to allow start and end components
2025-09-03 15:55:49 +01:00
brianmcgee
c9b71496eb
Merge pull request 'feat(ui): improve placeholder to MachineTags' ( #5085 ) from ui/improve-tags-placeholder into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5085
2025-09-03 14:42:14 +00:00
Brian McGee
cd1f9c5a8b
feat(ui): improve placeholder to MachineTags
2025-09-03 15:38:57 +01:00
hsjobeki
56379510d0
Merge pull request 'ui/sidebar: max-width of section, scroll within sections' ( #5083 ) from ui/update-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5083
2025-09-03 12:49:22 +00:00
Johannes Kirschbauer
389299ac7d
ui/refetch: don't block button clicks, move context out of modal
2025-09-03 14:45:55 +02:00
Johannes Kirschbauer
9cf04bcb5f
ui/services: pass instance to ServiceRoute
2025-09-03 14:31:42 +02:00
Johannes Kirschbauer
c370598564
ui/sidebar: max-width of section, scroll within sections
2025-09-03 14:31:05 +02:00
brianmcgee
04001ff178
Merge pull request 'feat(ui): refresh state after machine install or update' ( #5081 ) from ui/refresh-state into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5081
2025-09-03 11:22:15 +00:00
Brian McGee
194c3080ea
feat(ui): refresh state after machine install or update
...
Closes #5071
2025-09-03 12:10:35 +01:00
hsjobeki
60d1e524ac
Merge pull request 'ui/update: integrate with api' ( #5079 ) from ui/update-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5079
2025-09-03 10:46:45 +00:00
Johannes Kirschbauer
672af1c63d
ui/update: fix cancel/close
2025-09-03 12:41:26 +02:00
Johannes Kirschbauer
6cb728a4ca
ui/update: integrate with api
2025-09-03 12:29:23 +02:00
hsjobeki
a074650947
Merge pull request 'ui/install: vars fix loading screen' ( #5077 ) from ui/update-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5077
2025-09-03 06:34:29 +00:00
Johannes Kirschbauer
f169a40c69
ui/install: fix onClose not called
2025-09-03 08:30:57 +02:00
Johannes Kirschbauer
480d5ee18c
ui/install: vars fix loading screen
2025-09-03 08:28:51 +02:00
hsjobeki
ba47d797e4
Merge pull request 'ui/update: init update machine' ( #5076 ) from ui/update-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5076
2025-09-02 20:18:01 +00:00
Johannes Kirschbauer
3e5f84dcb4
ui/update: init update machine
2025-09-02 22:14:34 +02:00
brianmcgee
e398d98b42
Merge pull request 'fix(ui): re-enable machine state query but disable polling' ( #5075 ) from ui/fix-machine-status into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5075
2025-09-02 20:13:22 +00:00
Brian McGee
09e5f78aae
fix(ui): re-enable machine state query but disable polling
2025-09-02 21:09:13 +01:00
clan-bot
ae1680a720
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5074 ) from update-devFlake-nixpkgs-dev into main
2025-09-02 20:07:56 +00:00
clan-bot
9abf557353
Update nixpkgs-dev in devFlake
2025-09-02 20:01:33 +00:00
brianmcgee
dc0ec3443e
Merge pull request 'feat(ui): simplify machine status' ( #5073 ) from ui/update-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5073
2025-09-02 19:28:09 +00:00
Brian McGee
d6c6918f85
feat(ui): simplify machine status
2025-09-02 21:20:25 +02:00
hsjobeki
24756442c8
Merge pull request 'feat(ui): services in sidebar and sidebar pane' ( #5072 ) from ui/list-services-sidebar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5072
2025-09-02 19:16:49 +00:00
Johannes Kirschbauer
c61a0f0712
ui/services: wire up with sidebar and router
2025-09-02 21:13:10 +02:00
Johannes Kirschbauer
f05bfcb13d
ui/services: refactor services
2025-09-02 20:41:51 +02:00
Brian McGee
6d8ea1f2c5
feat(ui): services in sidebar and sidebar pane
2025-09-02 20:39:24 +02:00
Luis Hebendanz
f1de0e28ff
Merge pull request 'clan-app: Add password input' ( #5068 ) from Qubasa/clan-core:password_prompt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5068
2025-09-02 15:48:24 +00:00
Qubasa
53ce3cf53d
clan-app: Add password input
2025-09-02 17:41:07 +02:00
brianmcgee
0ac6d7be87
Merge pull request 'fix(ui): add loader sizes' ( #5067 ) from ui/fix-loader-scaling into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5067
2025-09-02 15:09:42 +00:00
Brian McGee
e55401ecd9
fix(ui): add loader sizes
2025-09-02 16:04:41 +01:00
DavHau
37a49a14f4
vars: fix re-generate behavior for dependencies of shared vars ( #5001 )
...
fixes https://git.clan.lol/clan/clan-core/issues/3791
This fixes multiple issues we had when re-generating shared vars.
Problem 1: shared vars are re-generated for each individual machine instead of just once (see #3791 )
Problem 2: When a shared var was re-generated for one machine, dependent vars on other machines did not get re-generated, leading to broken state
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5001
2025-09-02 14:54:24 +00:00
brianmcgee
7f68b10611
Merge pull request 'fix(ui): remove empty strings from add machine api call' ( #5066 ) from ui/refine-add-machine-api-call into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5066
2025-09-02 14:43:57 +00:00
Brian McGee
a2867ba29d
fix(ui): remove empty strings from add machine api call
2025-09-02 15:40:32 +01:00
pinpox
0817cf868b
Merge pull request 'Change default coredns port' ( #5065 ) from fixes-coredns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5065
2025-09-02 13:28:57 +00:00
pinpox
018ffdaeeb
Change default coredns port
...
This removes a conflict with systemd-resolved and provides an option to
set your own port
2025-09-02 15:23:12 +02:00
hsjobeki
eebb9b6a12
Merge pull request 'ui/fix: some more fixes' ( #5063 ) from ui-more-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5063
2025-09-02 12:12:25 +00:00
Johannes Kirschbauer
36f73d40b3
ui/scene: fix double click on move
2025-09-02 14:09:16 +02:00
Johannes Kirschbauer
db84369000
ui/toolbar: shrink width avoid blocking interactions
2025-09-02 14:08:48 +02:00
Johannes Kirschbauer
359b2d4e7a
ui/fix: move machine into starting position
2025-09-02 12:40:44 +02:00
Johannes Kirschbauer
2af9bd5003
ui/fix: frozen map after clicking machine
2025-09-02 12:40:23 +02:00
Johannes Kirschbauer
a8cbfcbd18
ui/toolbar: increase stacking index
2025-09-02 12:38:42 +02:00
Johannes Kirschbauer
dc17d62131
ui/contextMenu: prevent duplicate context menu
2025-09-02 12:38:15 +02:00
lassulus
f97e22e125
Merge pull request 'fix: network checking triggering fail2ban' ( #5047 ) from MoritzBoehme/clan-core:fix-network-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5047
2025-09-02 09:49:33 +00:00
hsjobeki
1d9ad2ae54
Merge pull request 'ui/labels: fix font, bg radius' ( #5061 ) from ui-more-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5061
2025-09-02 09:38:38 +00:00
pinpox
c266261d3b
Merge pull request 'Add certificates service' ( #4780 ) from certificates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4780
2025-09-02 09:36:18 +00:00
Johannes Kirschbauer
93c31d4c26
ui/labels: fix font, bg radius
2025-09-02 11:34:55 +02:00
pinpox
c9275db377
update vars
2025-09-02 11:27:31 +02:00
brianmcgee
cf83833d8b
Merge pull request 'fix(ui): reactivity within machine detail view' ( #5060 ) from ui/fix-machine-detail into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5060
2025-09-02 08:05:03 +00:00
Brian McGee
494f79edb4
fix(ui): reactivity within machine detail view
2025-09-02 09:01:23 +01:00
clan-bot
de3102614a
Merge pull request 'Update flake-parts' ( #5059 ) from update-flake-parts into main
2025-09-02 00:06:18 +00:00
clan-bot
a6f0924c05
Update flake-parts
2025-09-02 00:00:42 +00:00
pinpox
99dc4f6787
Fix update-vars script
2025-09-01 22:31:09 +02:00
hsjobeki
5f2ad6432e
Merge pull request 'ui/machines: some scenen improvements' ( #5058 ) from ui-more-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5058
2025-09-01 18:52:20 +00:00
Johannes Kirschbauer
f8c34caaab
ui/machines: add background to 3d labels
2025-09-01 20:48:02 +02:00
hsjobeki
8c2399446b
Merge pull request 'ui/machineTags: remove spurious console.logs' ( #5056 ) from ui-more-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5056
2025-09-01 18:39:11 +00:00
Johannes Kirschbauer
95c781bf4d
ui/machines: move on long press
2025-09-01 19:14:32 +02:00
Johannes Kirschbauer
fe58de0997
ui/machineTags: remove spurious logging
2025-09-01 18:23:39 +02:00
hsjobeki
7582458bae
Merge pull request 'ui/machineTags: fix keyboard and select logic' ( #5055 ) from ui-more-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5055
2025-09-01 16:20:37 +00:00
Johannes Kirschbauer
3a7d7afaab
ui/machineTags: fix keyboard and select logic
2025-09-01 18:15:48 +02:00
Luis Hebendanz
321eeacff0
Merge pull request 'clan-app: Now displays runtime icon correctly in process overview' ( #5019 ) from Qubasa/clan-core:fix_runtime_icon into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5019
2025-09-01 15:37:51 +00:00
Qubasa
8ae43ff9a0
clan-app: display runtime icon on macOS too
2025-09-01 17:34:30 +02:00
Qubasa
e6efd5e731
clan-app: display runtime icon correctly in process overview
2025-09-01 17:34:07 +02:00
clan-bot
7c1c8a5486
Merge pull request 'Update nuschtos in devFlake' ( #5053 ) from update-devFlake-nuschtos into main
2025-09-01 15:10:50 +00:00
clan-bot
7932562fa6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5052 ) from update-devFlake-nixpkgs-dev into main
2025-09-01 15:10:24 +00:00
clan-bot
ac22843abc
Merge pull request 'Update disko' ( #5051 ) from update-disko into main
2025-09-01 15:10:23 +00:00
clan-bot
eb83386098
Update nuschtos in devFlake
2025-09-01 15:01:33 +00:00
clan-bot
7877075847
Update nixpkgs-dev in devFlake
2025-09-01 15:01:30 +00:00
clan-bot
7206dd8219
Update disko
2025-09-01 15:00:34 +00:00
hsjobeki
f21e1e7641
Merge pull request 'api/machines: move configuration data into subattribute' ( #5048 ) from api-list-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5048
2025-09-01 14:55:26 +00:00
Johannes Kirschbauer
c2a3f5e498
api/machines: populate instance_refs
2025-09-01 16:47:47 +02:00
pinpox
63c0db482f
rename TLDs to tlds
2025-09-01 15:49:53 +02:00
pinpox
d2456be3dd
Add certificates service
2025-09-01 15:49:53 +02:00
pinpox
c3c08482ac
Merge pull request 'Fix update-vars, add shell' ( #5050 ) from fix-update-vars-new into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5050
2025-09-01 13:38:25 +00:00
brianmcgee
62126f0c32
Merge pull request 'feat(ui): refine styling for MachineTags and fix inverted mode' ( #5049 ) from ui/refine-machine-tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5049
2025-09-01 13:32:06 +00:00
pinpox
28139560c2
Fix update-vars, add shell
2025-09-01 15:31:54 +02:00
Brian McGee
45c916fb6d
feat(ui): refine styling for MachineTags and fix inverted mode
...
Closes #5045
2025-09-01 14:27:47 +01:00
Johannes Kirschbauer
727d4e70ae
api/machines: move configuration data into subattribute
...
This helps to make room for 'instance_refs'
And potentially other metadata that we want to compute and expose
2025-09-01 14:42:12 +02:00
Moritz Böhme
261c5d2be8
fix: network checking triggering fail2ban
2025-09-01 14:17:10 +02:00
clan-bot
87ea942399
Merge pull request 'Update data-mesher' ( #5044 ) from update-data-mesher into main
2025-09-01 07:49:03 +00:00
clan-bot
39a032a285
Update data-mesher
2025-09-01 05:00:37 +00:00
clan-bot
a06940e981
Merge pull request 'Update treefmt-nix in devFlake' ( #5043 ) from update-devFlake-treefmt-nix into main
2025-08-31 20:13:10 +00:00
clan-bot
4aebfadc8a
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5042 ) from update-devFlake-nixpkgs-dev into main
2025-08-31 20:11:27 +00:00
clan-bot
f45f26994e
Merge pull request 'Update treefmt-nix' ( #5041 ) from update-treefmt-nix into main
2025-08-31 20:11:10 +00:00
clan-bot
c777a1a2b9
Update treefmt-nix in devFlake
2025-08-31 20:01:38 +00:00
clan-bot
36fe7822f7
Update nixpkgs-dev in devFlake
2025-08-31 20:01:33 +00:00
clan-bot
0ccf3310f9
Update treefmt-nix
2025-08-31 20:01:10 +00:00
clan-bot
a8d6552caa
Merge pull request 'Update nixos-facter-modules' ( #5032 ) from update-nixos-facter-modules into main
2025-08-31 19:39:40 +00:00
hsjobeki
a131448dcf
Merge pull request 'ui/scene: init move machine' ( #5031 ) from ui-more-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5031
2025-08-31 15:22:32 +00:00
hsjobeki
14a52dbc2e
Merge pull request 'api/modules: improve logic for builtin modules' ( #5040 ) from fix-modules-spagetti-other into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5040
2025-08-31 15:12:31 +00:00
Johannes Kirschbauer
565391bd8c
ui/modules: deduplicate information
2025-08-31 17:09:36 +02:00
Johannes Kirschbauer
9bffa2a774
ui/clanContext: simplify
...
Try to avoid classes for use cases like this
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
e42a07423e
ui/machineLabels: use troika for label rendering
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
c5178ac16a
ui/fonts: use ttf font for 3d texture rendering
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
33791e06cd
ui: cleanup unused code
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
c7e3bf624e
ui/scene: replace 2d labels
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
ba027c2239
ui/scene: init move machine
2025-08-31 17:04:03 +02:00
Johannes Kirschbauer
25fdabee29
ui/menu: add simple context menu
2025-08-31 17:04:03 +02:00
clan-bot
de69c63ee3
Update nixos-facter-modules
2025-08-31 15:00:41 +00:00
Johannes Kirschbauer
b9573636d8
ui/modules: simplify ui logic
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
3862ad2a06
api/modules: add foreign key to instances
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
c447aec9d3
api/modules: improve logic for builtin modules
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
5137d19b0f
nix_modules: fix and update None types
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
453f2649d3
clanInternals: expose builtin modules
2025-08-31 15:58:39 +02:00
Johannes Kirschbauer
58cfcf3d25
api/modules: delete instances.py duplicate
2025-08-31 15:58:39 +02:00
clan-bot
c260a97cc1
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5033 ) from update-devFlake-nixpkgs-dev into main
2025-08-31 13:49:44 +00:00
clan-bot
3eb64870b0
Update nixpkgs-dev in devFlake
2025-08-31 13:44:23 +00:00
Mic92
7412b958c6
Merge pull request 'disable state-version in right place' ( #5038 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5038
2025-08-31 13:43:07 +00:00
Jörg Thalheim
a0c27194a6
disable state-version in right place
2025-08-31 15:37:25 +02:00
Mic92
3437af29cb
Merge pull request 'vars: fix var name in error message' ( #5037 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5037
2025-08-31 13:33:01 +00:00
Jörg Thalheim
0b1c12d2e5
flash-installer: disable state-version
...
We cannot have vars in here because it breaks:
```
clan flash write --flake https://git.clan.lol/clan/clan-core/archive/main.tar.gz --ssh-pubkey $HOME/.ssh/id_ed25519.pub --keymap us --language en_US.UTF-8 --disk main /dev/sdb flash-installer
```
2025-08-31 15:26:04 +02:00
Jörg Thalheim
8620761bbd
vars: fix var name in error message
2025-08-31 15:23:24 +02:00
Mic92
d793b6ca07
Merge pull request 'vars: improve error message when storing trying to store a var in a read-only flake' ( #5036 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5036
2025-08-31 13:20:13 +00:00
Jörg Thalheim
17e9231657
vars: improve error message when storing trying to store a var in a read-only flake
2025-08-31 14:14:56 +02:00
Mic92
acc2674d79
Merge pull request 'fix: check if phases are non-default when installing' ( #5024 ) from sachk/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5024
2025-08-29 16:16:01 +00:00
Jörg Thalheim
c34a21a3bb
install: make Step a String enum
2025-08-29 17:45:16 +02:00
Mic92
275bff23da
Merge pull request 'zfs-latest: fix eval errors' ( #5029 ) from zfs-latest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5029
2025-08-29 15:26:58 +00:00
Sacha Korban
1a766a3447
fix: check if phases are non-default when running
2025-08-29 17:26:49 +02:00
Jörg Thalheim
c22844c83b
zfs-latest: fix eval errors
2025-08-29 17:20:56 +02:00
clan-bot
5472ca0e21
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5028 ) from update-devFlake-nixpkgs-dev into main
2025-08-29 15:08:13 +00:00
clan-bot
ad890b0b6b
Update nixpkgs-dev in devFlake
2025-08-29 15:01:35 +00:00
DavHau
a364b5ebf3
API/list_service_instances: add module metadata ( #5023 )
...
@hsjobeki
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5023
2025-08-29 13:14:19 +00:00
brianmcgee
d0134d131e
Merge pull request 'feat(ui): display add machine in sidebar when machine list is empty' ( #5027 ) from ui/refine-add-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5027
2025-08-29 12:27:33 +00:00
Brian McGee
ccf0dace11
feat(ui): display add machine in sidebar when machine list is empty
2025-08-29 13:23:45 +01:00
hsjobeki
9977a903ce
Merge pull request 'ui/scene: cursor and mode fixes' ( #5026 ) from ui-more-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5026
2025-08-29 12:01:56 +00:00
Johannes Kirschbauer
dc9bf5068e
ui/scene: make 'select' the default mode
2025-08-29 13:58:35 +02:00
Johannes Kirschbauer
6b4f79c9fa
ui/scene: add different cursor type
2025-08-29 13:54:32 +02:00
brianmcgee
b2985b59e9
Merge pull request 'feat(ui): stop reloading sidebar when moving between machine' ( #5025 ) from ui/stop-sidebar-pane-re-opening into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5025
2025-08-29 11:27:03 +00:00
Brian McGee
d4ac3b83ee
feat(ui): stop reloading sidebar when moving between machine
2025-08-29 12:06:28 +01:00
hsjobeki
00bf55be5a
Merge pull request 'ui/implement-add-machine-workflow' ( #5021 ) from ui/implement-add-machine-workflow into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5021
2025-08-29 08:42:31 +00:00
Johannes Kirschbauer
851d6aaa89
ui/machines: hook up create machine with scene workflow
2025-08-29 10:39:05 +02:00
Johannes Kirschbauer
f007279bee
ui: format and debug messages
2025-08-29 10:38:39 +02:00
Brian McGee
5a3381d9ff
ui/machines: add machine workflow
2025-08-29 10:34:03 +02:00
clan-bot
83e51db2e7
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5022 ) from update-devFlake-nixpkgs-dev into main
2025-08-29 00:11:06 +00:00
clan-bot
4e4af8a52f
Update nixpkgs-dev in devFlake
2025-08-29 00:01:29 +00:00
Brian McGee
54a8ec717e
chore(ui): rename install workflow to InstallMachine
2025-08-28 22:44:27 +02:00
hsjobeki
d3e5e6edf1
Merge pull request 'ui/service: rewire to allow external selection' ( #5020 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5020
2025-08-28 20:43:07 +00:00
Johannes Kirschbauer
a4277ad312
ui/service: rewire to allow external selection
2025-08-28 22:39:49 +02:00
Johannes Kirschbauer
8877f2d451
ui/scene: lift state signals to allow external access
2025-08-28 22:39:23 +02:00
Johannes Kirschbauer
9275b66bd9
ui/machine: remove unsued imports
2025-08-28 22:38:19 +02:00
Johannes Kirschbauer
6a964f37d5
ui/machineRepr: listen to highlight state
2025-08-28 22:38:19 +02:00
Johannes Kirschbauer
73f2a4f56f
ui/hooks: add clickOutside hook
2025-08-28 22:37:34 +02:00
Johannes Kirschbauer
85fb0187ee
ui/typography: add missing label xxs
2025-08-28 22:37:15 +02:00
Johannes Kirschbauer
db9812a08b
ui/sidebar: remove unused imports
2025-08-28 22:37:05 +02:00
Johannes Kirschbauer
ca69530591
ui/search: fix divider and text styles
2025-08-28 22:36:50 +02:00
Johannes Kirschbauer
fc5b0e4113
ui/multisearch: make controlled for now
2025-08-28 22:36:21 +02:00
Johannes Kirschbauer
278af5f0f4
ui/queries: add instances query
2025-08-28 22:35:58 +02:00
Johannes Kirschbauer
e7baf25ff7
ui/toast: add toast temporarily
2025-08-28 22:35:33 +02:00
Johannes Kirschbauer
fada75144c
ui/highlight: add global highlighter store
2025-08-28 22:35:15 +02:00
brianmcgee
803ef5476f
Merge pull request 'feat(ui): disable button when loading state is active' ( #5018 ) from ui/disable-button-when-loading into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5018
2025-08-28 16:00:57 +00:00
brianmcgee
016bd263d0
Merge pull request 'ui/refine-sidebar-sidepane' ( #5017 ) from ui/refine-sidebar-sidepane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5017
2025-08-28 15:44:27 +00:00
Brian McGee
f9143f8a5d
feat(ui): disable button when loading state is active
2025-08-28 16:43:23 +01:00
Brian McGee
92eb27fcb1
feat(ui): reduce size of sidebar when selecting a machine
2025-08-28 16:40:47 +01:00
Brian McGee
0cc9b91ae8
fix(ui): quirks with sidebar sizing
2025-08-28 15:56:37 +01:00
hsjobeki
2ed3608e34
Merge pull request 'ui/clan: wire up service create' ( #5016 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5016
2025-08-28 12:17:03 +00:00
Johannes Kirschbauer
a92a1a7dd1
ui/clan: wire up service create
2025-08-28 14:13:39 +02:00
Johannes Kirschbauer
9a903be6d4
ui/services: add submit handler to create the instance
2025-08-28 14:13:26 +02:00
Johannes Kirschbauer
adea270b27
ui/tagSelect: remove left over console.log
2025-08-28 14:13:05 +02:00
clan-bot
765eb142a5
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5014 ) from update-devFlake-nixpkgs-dev into main
2025-08-28 10:08:09 +00:00
clan-bot
faa1405d6b
Update nixpkgs-dev in devFlake
2025-08-28 10:01:48 +00:00
hsjobeki
0c93aab818
Merge pull request 'ui/services: workflow init' ( #5013 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5013
2025-08-28 08:19:01 +00:00
Johannes Kirschbauer
56923ae2c3
ui/services: workflow init
2025-08-28 10:11:15 +02:00
Johannes Kirschbauer
e2f64e1d40
ui/stepper: forward props in backButton
2025-08-28 10:10:52 +02:00
Johannes Kirschbauer
c574b84278
ui/tagSelect: simplify by requiring objects with value key
2025-08-28 10:10:25 +02:00
Johannes Kirschbauer
640f15d55e
ui/search: remove portal, fix styling
2025-08-28 10:09:41 +02:00
Johannes Kirschbauer
789d326273
ui/queries: add list tags query
2025-08-28 10:09:03 +02:00
clan-bot
1763d85d91
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5011 ) from update-devFlake-nixpkgs-dev into main
2025-08-27 20:10:01 +00:00
clan-bot
082fa05083
Update nixpkgs-dev in devFlake
2025-08-27 20:01:45 +00:00
brianmcgee
9ed7190606
Merge pull request 'fix(ui): icon alignment in alerts' ( #5008 ) from ui/fix-icon-misalignment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5008
2025-08-27 16:33:29 +00:00
Brian McGee
6c22539dd4
fix(ui): icon alignment in alerts
...
Closes #5004
2025-08-27 17:30:08 +01:00
Luis Hebendanz
e6819ede61
Merge pull request 'docs/update: refactor machine update guide' ( #4997 ) from docs-10 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4997
2025-08-27 15:40:34 +00:00
Qubasa
186a760529
docs: fixup links to networking guide, improve introduction.
2025-08-27 17:37:15 +02:00
clan-bot
a84aee7b0c
Merge pull request 'Update nixos-facter-modules' ( #5007 ) from update-nixos-facter-modules into main
2025-08-27 15:10:12 +00:00
clan-bot
cab2fa44ba
Update nixos-facter-modules
2025-08-27 15:00:55 +00:00
Jörg Thalheim
758eacd27e
add apply "machine" as an alias to clan machines create
...
I was a bit confused that I was able to list templates but not
apply them. Turns out that "apply" only supported disk templates
2025-08-27 13:39:39 +00:00
Mic92
5962149e55
Merge pull request 'remove diskId from existing templates' ( #5006 ) from drop-diskid into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5006
2025-08-27 13:31:23 +00:00
Jörg Thalheim
00f9d08a4b
remove diskId from existing templates
...
we don't have a replacement yet, but at least this will work.
2025-08-27 15:24:59 +02:00
clan-bot
3d0c843308
Merge pull request 'Update nixpkgs-dev in devFlake' ( #5003 ) from update-devFlake-nixpkgs-dev into main
2025-08-27 10:08:09 +00:00
clan-bot
847138472b
Update nixpkgs-dev in devFlake
2025-08-27 10:01:50 +00:00
Johannes Kirschbauer
c7786a59fd
docs/update: refactor machine update guide
...
Restructured page: core workflow first, advanced usage after.
Improved grammar, phrasing, and capitalization (Clan CLI, apostrophes).
Added warnings/notes for buildHost and CPU architecture.
Polished code snippets and CLI examples for clarity.
2025-08-27 10:26:53 +02:00
hsjobeki
3b2d357f10
Merge pull request 'api/modules: unify duplicate endpoints for {modules, instances}' ( #4994 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4994
2025-08-27 07:13:46 +00:00
DavHau
a83dbf604c
Merge pull request 'vars: always generate dependents' ( #4996 ) from vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4996
2025-08-27 05:59:13 +00:00
DavHau
f77456a123
vars: simplify graph implementation, remove obsolete closure functions
...
- full_closure is obsolete since it is the same as calling requested_closure with the full list of generators.
- minimal_closure is obsolete as well. Since the recent addition of dependents to the closure via 3d2127ce1e it is essentially the same as the all_missing_closure
2025-08-27 12:50:59 +07:00
DavHau
6e4c3a638d
vars: move graph tests to separate file
2025-08-27 11:47:46 +07:00
DavHau
3d2127ce1e
vars: always generate dependents
...
Even for the minimal closure case (when a specific generator was picked), we should still force regeneration of all dependents, as otherwise we risk keeping outdated dependents from previous generations
2025-08-27 11:47:46 +07:00
DavHau
a4a5916fa2
vars: generate over multiple machines at once
2025-08-27 11:45:45 +07:00
Johannes Kirschbauer
f6727055cd
api/modules: unify duplicate endpoints for {modules, instances}
2025-08-26 21:44:58 +02:00
hsjobeki
0517d87caa
Merge pull request 'api/instances: add list service instances' ( #4993 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4993
2025-08-26 16:52:53 +00:00
Johannes Kirschbauer
89e587592c
api/instances: add list service instances
2025-08-26 18:47:08 +02:00
hsjobeki
439495d738
Merge pull request 'ui/search: fix height of overflow' ( #4992 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4992
2025-08-26 16:46:29 +00:00
Johannes Kirschbauer
0b2fd681be
ui/search: fix height of overflow
2025-08-26 18:43:09 +02:00
hsjobeki
41de615331
Merge pull request 'ui/services: add more features to components' ( #4988 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4988
2025-08-26 16:40:51 +00:00
Johannes Kirschbauer
b7639b1d81
ui/services: fix some background colors
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
602879c9e4
ui/services: workflow select service
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
53e16242b9
ui/search: add loading state
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
24c5146763
ui/search: fix height calculate to avoid overlaying components
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
dca7aa0487
ui/modules: hook up list modules query
2025-08-26 18:35:43 +02:00
Johannes Kirschbauer
647bc4e4df
api/list_modules: return a simpler list of modules
2025-08-26 18:35:43 +02:00
brianmcgee
1c80223fe3
Merge pull request 'feat(ui): remove light typography weight' ( #4991 ) from misc/fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4991
2025-08-26 16:18:21 +00:00
Brian McGee
7ac9b00398
feat(ui): remove light typography weight
2025-08-26 16:13:53 +01:00
brianmcgee
d37c9e3b04
Merge pull request 'feat(ui): refine remove clan button copy' ( #4986 ) from ui/refine-remove-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4986
2025-08-26 14:44:12 +00:00
Brian McGee
0fe9d0e157
feat(ui): refine remove clan button copy
2025-08-26 15:40:24 +01:00
Mic92
5479c767c1
Merge pull request 'try{300,301,400}: fix' ( #4984 ) from checkout-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4984
2025-08-26 14:31:57 +00:00
brianmcgee
edc389ba4b
Merge pull request 'feat(ui): change button font to normal instead of monospace' ( #4985 ) from ui/change-button-font into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4985
2025-08-26 14:23:10 +00:00
Jörg Thalheim
4cb17d42e1
PLR2004: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
f26499edb8
pyproject.toml: add descriptions to each rule
2025-08-26 16:21:15 +02:00
Jörg Thalheim
2857cb7ed8
remove various ignores that had no actual issue
2025-08-26 16:21:15 +02:00
Jörg Thalheim
3168fecd52
PT100: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
24c20ff243
TRY400: fix
2025-08-26 16:21:15 +02:00
Jörg Thalheim
8ba8fda54b
RUF100: fix
2025-08-26 16:21:15 +02:00
Brian McGee
0992a47b00
feat(ui): change button font to normal instead of monospace
2025-08-26 15:13:30 +01:00
Jörg Thalheim
d5b09f18ed
RET504: fix
2025-08-26 15:55:23 +02:00
Jörg Thalheim
fb2fe36c87
SIM112: fix
2025-08-26 15:55:23 +02:00
hsjobeki
3db51887b1
Merge pull request 'ui/select machines/tags: add custom combobox' ( #4983 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4983
2025-08-26 13:51:50 +00:00
Johannes Kirschbauer
24f3bcca57
ui/select: rename to tagSelect
2025-08-26 15:48:28 +02:00
Johannes Kirschbauer
85006c8103
ui/select machines/tags: add custom combobox
...
This just renders machines and tags as chips
onclick will open another combobox
2025-08-26 15:47:22 +02:00
Jörg Thalheim
db5571d623
SIM108: fix
2025-08-26 15:23:36 +02:00
Jörg Thalheim
d4bdaec586
SIM102: fix
2025-08-26 15:22:25 +02:00
Jörg Thalheim
cb9c8e5b5a
try{300,301,400}: fix
2025-08-26 15:17:16 +02:00
Mic92
0a1802c341
Merge pull request 'github/repo-sync: v4 -> v5' ( #4982 ) from checkout-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4982
2025-08-26 12:59:10 +00:00
Mic92
dfae1a4429
Merge pull request 'PLC0415: fix' ( #4981 ) from ruff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4981
2025-08-26 12:58:37 +00:00
Jörg Thalheim
c1dc73a21b
github/repo-sync: v4 -> v5
2025-08-26 14:54:41 +02:00
Jörg Thalheim
8145740cc1
api: lazly load Api options
2025-08-26 14:48:20 +02:00
Jörg Thalheim
b2a54f5b0d
PLC0415: fix
2025-08-26 14:46:42 +02:00
hsjobeki
9c9adc6e16
Merge pull request 'ui/tags: refactor generic children and icon' ( #4960 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4960
2025-08-26 12:14:41 +00:00
Johannes Kirschbauer
f7cde8eb0f
ui/tags: refactor generic children and icon
2025-08-26 14:11:14 +02:00
DavHau
501d020562
vars: retrieve generators for multiple machines
...
This is necessary ground work for fixing regeneration behavior spanning over multiple machines
2025-08-26 18:55:54 +07:00
Mic92
a9bafd71e1
Merge pull request 'templates/list: we can compute the lenght of an dictionary directly' ( #4980 ) from ruff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4980
2025-08-26 11:45:44 +00:00
Mic92
166e4b8081
Merge pull request 'add feature: ask for vars input confirmation, and fail after 3 attempts. fixes accidental misinputs when typing passwords!' ( #4920 ) from adeci-2xconfirm into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4920
2025-08-26 11:41:16 +00:00
Jörg Thalheim
c3eb40f17a
templates/list: we can compute the lenght of an dictionary directly
2025-08-26 13:39:49 +02:00
Jörg Thalheim
7330285150
prompt/multiline: strip final newline just like hidden prompt
2025-08-26 13:35:12 +02:00
Luis Hebendanz
8cf8573c61
Merge pull request 'clan-app: Maybe fix the logging errror ValueError: I/O operation on closed file.' ( #4974 ) from Qubasa/clan-core:fix_logging into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4974
2025-08-26 11:32:48 +00:00
Jörg Thalheim
5bfa0d7a9d
prompt: catch EOF errors
2025-08-26 13:26:49 +02:00
adeci
8ea2dd9b72
add feature: ask for vars input confirmation, and fail after 3 attempts. fixes accidental misinputs when typing passwords!
2025-08-26 13:26:49 +02:00
Mic92
6efcade56a
Merge pull request 'Enable "all" ruff lint fixes' ( #4978 ) from ruff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4978
2025-08-26 11:26:47 +00:00
Jörg Thalheim
6d2372be56
machines/update: fix incorrecct nixos-rebuild command
2025-08-26 13:11:43 +02:00
brianmcgee
626af4691b
Merge pull request 'feat(ui): pin stepper buttons to the bottom' ( #4979 ) from ui/pinned-stepper-buttons into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4979
2025-08-26 11:07:30 +00:00
Jörg Thalheim
63697ac4b1
various fixes
2025-08-26 13:07:22 +02:00
Brian McGee
0ebb1f0c66
feat(ui): pin stepper buttons to the bottom
...
Closes #4968
2025-08-26 12:02:28 +01:00
Jörg Thalheim
1dda60847e
PLW0602: fix
2025-08-26 12:57:31 +02:00
Jörg Thalheim
a7bce4cb19
pyproject: enable all lints
2025-08-26 12:57:31 +02:00
Mic92
a5474bc25f
Merge pull request 'ruff-7-misc' ( #4939 ) from ruff-7-misc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4939
2025-08-26 10:43:12 +00:00
Jörg Thalheim
f634b8f1fb
merge-after-ci: move away from writePython3Bin
...
this is one is doing checks we don't want because we already have ruff.
2025-08-26 12:39:50 +02:00
brianmcgee
0ad40a0233
Merge pull request 'ui/refine-select-folder-onboarding' ( #4977 ) from ui/refine-select-folder-onboarding into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4977
2025-08-26 10:30:23 +00:00
Luis Hebendanz
78abc36cd3
Merge pull request 'clan-cli: clan machines update-hardware-config now uses kexec, and supports non NixOS targets' ( #4948 ) from Qubasa/clan-core:fix_update_hardware_config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4948
2025-08-26 10:16:59 +00:00
Brian McGee
f5158b068f
feat(ui): reduce size of sidebar pane
...
Make it clearer the distinction between parent and child panes.
2025-08-26 11:16:03 +01:00
Jörg Thalheim
e6066a6cb1
spawn_tor: catch OSError and wrap as ClanError
2025-08-26 12:12:29 +02:00
clan-bot
fc8b66effa
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4972 ) from update-devFlake-nixpkgs-dev into main
2025-08-26 10:09:59 +00:00
Qubasa
16b92963fd
clan-app: Maybe fix the logging errror ValueError: I/O operation on closed file.
2025-08-26 12:08:45 +02:00
Brian McGee
2ff3d871ac
feat(ui): allow placing machines directly next to each other
2025-08-26 11:02:58 +01:00
clan-bot
108936ef07
Update nixpkgs-dev in devFlake
2025-08-26 10:01:48 +00:00
Jörg Thalheim
c45d4cfec9
D413/D212: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
64217e1281
G001: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
d1421bb534
EXE002: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
ac20514a8e
EXE001: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
79c4e73a15
test_http_api: remove unused logging middleware
2025-08-26 12:01:47 +02:00
Jörg Thalheim
61a647b436
PLR1704: fix
2025-08-26 12:01:47 +02:00
Jörg Thalheim
c9a709783a
BLE001: fix
2025-08-26 12:01:47 +02:00
Kenji Berthold
c55b369899
Merge pull request 'docs: Add edit button to documentation pages' ( #4969 ) from kenji/ke-add-repo-url into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4969
2025-08-26 09:59:14 +00:00
Brian McGee
084b8bacd3
fix(ui): typos in install machine workflow
2025-08-26 10:52:52 +01:00
a-kenji
47ad7d8a95
docs: Add edit button to documentation pages
...
Closes : #4966
2025-08-26 11:52:08 +02:00
a-kenji
3798808013
docs: Fix edit uri
2025-08-26 11:51:53 +02:00
Brian McGee
43a39267f3
feat(ui): make the intention of the select folder button clearer in Onboarding
2025-08-26 10:44:42 +01:00
Mic92
db94ea2d2e
Merge pull request 'Misc ruff fixes' ( #4965 ) from ruff-foo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4965
2025-08-26 09:44:06 +00:00
hsjobeki
f0533f9bba
Merge pull request 'ui/scene: dont snap to occupied positions' ( #4967 ) from fixes-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4967
2025-08-26 09:43:59 +00:00
Johannes Kirschbauer
360048fd04
ui/scene: dont snap to occupied positions
2025-08-26 11:40:38 +02:00
Jörg Thalheim
8f8426de52
PGH003: fix
2025-08-26 11:36:38 +02:00
Qubasa
4bce390e64
clan-cli: clan machiens update-hardware-config now uses kexec, and supports non NixOS targets
2025-08-26 11:35:44 +02:00
DavHau
2b7837e2b6
Merge pull request 'GUI: add port option for ssh remote' ( #4961 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4961
2025-08-26 09:33:26 +00:00
Jörg Thalheim
cbf9678534
flake/prefetch: Fix unconditional truthy string causes always-True
2025-08-26 11:07:57 +02:00
Jörg Thalheim
b38b10c9a6
automatic ruff fixes
2025-08-26 11:07:57 +02:00
Jörg Thalheim
31cbb7dc00
PLC0415: fix
2025-08-26 11:07:57 +02:00
hsjobeki
0fa4377793
Merge pull request 'ui/scene: add reload button' ( #4962 ) from fixes-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4962
2025-08-26 09:01:45 +00:00
Johannes Kirschbauer
7b0d10e8c2
ui/queries: remove annoying refetch interval, invalidate on change instead
2025-08-26 10:58:39 +02:00
Johannes Kirschbauer
bb41adab4b
ui/scene: fix syncing remote and local state
2025-08-26 10:40:09 +02:00
DavHau
648aa7dc59
Merge pull request 'API: fix serialization of union types' ( #4963 ) from serde into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4963
2025-08-26 08:26:13 +00:00
DavHau
3073969c92
vars/tests: add comments
2025-08-26 15:17:41 +07:00
DavHau
2f1dc3a33d
API: fix serialization of union types
...
Due to this bug in serde.py, the run_generators API id not work for the frontend
2025-08-26 15:16:55 +07:00
Johannes Kirschbauer
b707dcea2d
ui/scene: add reload button
2025-08-26 10:08:05 +02:00
Johannes Kirschbauer
4f0c8025b2
ui/queries: remove annoying refetch interval, invalidate on change instead
2025-08-26 10:07:41 +02:00
pinpox
b91bee537a
Merge pull request 'Enable state-version in defaults' ( #4711 ) from default-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4711
2025-08-26 07:49:46 +00:00
pinpox
7207a3e8cd
Cleanup state-version test
2025-08-26 09:44:01 +02:00
pinpox
ac675a5af0
Merge pull request 'Add coredns module' ( #4837 ) from coredns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4837
2025-08-26 07:39:57 +00:00
pinpox
64caebde62
service/state-version: drop
2025-08-26 09:32:36 +02:00
pinpox
4934884e0c
Enable state-version in defaults
2025-08-26 09:32:36 +02:00
pinpox
22cd9baee2
Merge pull request 'Improve inventory docs' ( #4933 ) from inventory-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4933
2025-08-26 07:32:23 +00:00
pinpox
84232b5355
Improve inventory docs
2025-08-26 09:29:25 +02:00
DavHau
5bc7c255c1
GUI: add port option for ssh remote
...
I need this for testing with a local VM, which ahs a different port than 22.
This also disables host key checking, as there is currently no workflow int he GUI which can handle a mismatch, which mismatches are common.
2025-08-26 13:28:27 +07:00
clan-bot
d11d83f699
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4959 ) from update-devFlake-clan-core-for-checks into main
2025-08-26 05:08:08 +00:00
clan-bot
2ef1b2a8fa
Update clan-core-for-checks in devFlake
2025-08-26 05:01:46 +00:00
clan-bot
f7414d7e6e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4957 ) from update-devFlake-clan-core-for-checks into main
2025-08-26 00:08:04 +00:00
clan-bot
ab384150b2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4958 ) from update-devFlake-nixpkgs-dev into main
2025-08-26 00:07:37 +00:00
clan-bot
0b6939ffee
Update nixpkgs-dev in devFlake
2025-08-26 00:01:48 +00:00
clan-bot
bc6a1a9d17
Update clan-core-for-checks in devFlake
2025-08-26 00:01:28 +00:00
clan-bot
7055461cf0
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4956 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 20:10:56 +00:00
clan-bot
a9564df6a9
Update clan-core-for-checks in devFlake
2025-08-25 20:01:26 +00:00
brianmcgee
e2dfc74d02
Merge pull request 'feat(ui): fix layout and size of install progress and done screens' ( #4954 ) from ui/fix-install-modal-sizes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4954
2025-08-25 16:55:48 +00:00
Brian McGee
326cb60aea
feat(ui): fix layout and size of install progress and done screens
2025-08-25 17:51:20 +01:00
brianmcgee
68b264970a
Merge pull request 'feat(ui): set loading status on update hardware report button in install workflow' ( #4951 ) from ui/update-hardware-report-loading-state into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4951
2025-08-25 16:46:16 +00:00
Brian McGee
1fa4ef82e9
feat(ui): set loading status on update hardware report button in install workflow
2025-08-25 17:32:15 +01:00
Kenji Berthold
bd93651f12
Merge pull request 'pkgs/clan-app: Refactor debugger' ( #4949 ) from kenji/ke-debug-view-simplify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4949
2025-08-25 16:30:48 +00:00
a-kenji
85ad51ce4c
pkgs/clan-app: Refactor debugger
2025-08-25 18:25:02 +02:00
Luis Hebendanz
59e50c6150
Merge pull request 'clan-app: Add new icons' ( #4947 ) from Qubasa/clan-core:new_app_icons into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4947
2025-08-25 16:11:15 +00:00
Qubasa
f347568de3
clan-app: Add new icons
2025-08-25 18:07:11 +02:00
brianmcgee
bdad7d81b2
Merge pull request 'Clan Settings modal' ( #4941 ) from ui/clan-settings-modal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4941
2025-08-25 15:33:31 +00:00
Brian McGee
b8203cdf73
feat(ui): support removing a clan
...
Also fixes:
- close modal on escape key
- handle class attribute in form components correctly
2025-08-25 16:28:13 +01:00
Brian McGee
431e45cc3a
feat(ui): support editing basic metadata for a Clan
2025-08-25 16:28:12 +01:00
brianmcgee
f185d28f68
Merge pull request 'ui/fix-clan-list-select-same-clan' ( #4944 ) from ui/fix-clan-list-select-same-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4944
2025-08-25 15:26:05 +00:00
Brian McGee
d8e6fcf773
chore(ui): move list clans modal into modals directory
2025-08-25 16:22:58 +01:00
Brian McGee
23b7d24399
fix(ui): allow reloading the failed active clan in clan list modal
2025-08-25 16:19:07 +01:00
clan-bot
a1ed512da4
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4943 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 15:09:34 +00:00
clan-bot
40ac96cd10
Update clan-core-for-checks in devFlake
2025-08-25 15:01:41 +00:00
hsjobeki
c4da43da0f
Merge pull request 'ui: add multiple search for machines and tags' ( #4942 ) from search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4942
2025-08-25 14:57:06 +00:00
Johannes Kirschbauer
8822f6dadc
ui: add multiple search for machines and tags
2025-08-25 16:53:49 +02:00
Mic92
b5a7a91612
Merge pull request 'ruff-6-warnings' ( #4937 ) from ruff-6-warnings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4937
2025-08-25 14:06:20 +00:00
Mic92
453b1a91a8
Merge pull request 'ruff-5-docstring-fixes' ( #4938 ) from ruff-5-docstring-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4938
2025-08-25 14:03:43 +00:00
Jörg Thalheim
70274d69e9
templates/list: “Last input” detection is off when some inputs don’t define this template_type.
...
is_last_input compares against len(templates.custom.items()) - 1, but you continue past inputs that lack template_type,
so the ASCII tree may render └ on non-final printed items. Compute the filtered inputs list first.
2025-08-25 15:59:54 +02:00
Jörg Thalheim
c57d8b30d3
vms/qemu: Fix CID range to exclude reserved vsock IDs
2025-08-25 15:27:03 +02:00
Jörg Thalheim
7407fef21b
zerotier/generate: use with for urlopen and also set a 5s timeout
2025-08-25 15:25:50 +02:00
Jörg Thalheim
23c152541a
docs/getting-started: remove duplicate nixosConfigurations
2025-08-25 15:22:30 +02:00
Jörg Thalheim
6765e27031
pkgs/clan-cli/clan_lib/services/modules.py: fix Exception in docs
2025-08-25 15:20:15 +02:00
Jörg Thalheim
cbb789bc69
PLW1508: fix
2025-08-25 15:17:06 +02:00
Jörg Thalheim
7f68a21257
PLW1641: fix
2025-08-25 15:17:06 +02:00
Jörg Thalheim
fc66dc78c3
PLW0603: fix
2025-08-25 15:17:06 +02:00
Jörg Thalheim
1d0e0f243e
PLW2901: fix
2025-08-25 15:17:06 +02:00
Mic92
8134ffd787
Merge pull request 'ruff-4-perf-fixes' ( #4935 ) from ruff-4-perf-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4935
2025-08-25 13:12:14 +00:00
Jörg Thalheim
7f1590c729
PERF403: fix
2025-08-25 15:06:32 +02:00
Jörg Thalheim
c65bb0b1ce
PERF401: fix
2025-08-25 15:06:32 +02:00
Mic92
d8bc5269ee
Merge pull request 'ruff-5-docstring-fixes' ( #4936 ) from ruff-5-docstring-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4936
2025-08-25 13:04:05 +00:00
Jörg Thalheim
917407c475
D210: fix
2025-08-25 14:56:48 +02:00
Jörg Thalheim
d9e6e0c540
D417: fix
2025-08-25 14:56:48 +02:00
Jörg Thalheim
ef5ab0c2f4
D404: fix
2025-08-25 14:56:48 +02:00
Jörg Thalheim
34816013ad
D106: fix
2025-08-25 14:56:48 +02:00
Mic92
05665b1c7e
Merge pull request 'ruff-3-arg-fixes' ( #4934 ) from ruff-3-arg-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4934
2025-08-25 12:54:04 +00:00
Jörg Thalheim
2bebcab736
zerotier-members: fix passing member_ip
2025-08-25 14:46:12 +02:00
Jörg Thalheim
306f83e357
flash: skip test on aarch64-linux
2025-08-25 14:46:12 +02:00
Jörg Thalheim
04457b1272
ARG001: fix
2025-08-25 14:46:12 +02:00
Jörg Thalheim
4986fe30c3
ARG002/ARG005: fix
2025-08-25 14:36:36 +02:00
Mic92
de33a07875
Merge pull request 'ruff-2-security-fixes' ( #4931 ) from ruff-2-security-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4931
2025-08-25 12:30:20 +00:00
Jörg Thalheim
5233eb7fdb
ARG002: fix
2025-08-25 14:24:21 +02:00
Jörg Thalheim
94a158b77a
ARG001: fix
2025-08-25 14:24:21 +02:00
hsjobeki
98af47d0b5
Merge pull request 'docs: change wording, update links' ( #4929 ) from cleanup-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4929
2025-08-25 12:18:55 +00:00
Johannes Kirschbauer
4470bb886e
docs: move 'migrate-flake' to 'convert existing nixos'
2025-08-25 14:11:31 +02:00
Jörg Thalheim
f4feac0d6b
logmanager: fix exceptions in python docs
2025-08-25 14:11:25 +02:00
Jörg Thalheim
7547761812
zerotier-members: validate hex input to prevent ValueError
...
Add proper validation for network_id and identity parameters to ensure
they contain valid hexadecimal characters. Previously, non-hex input
would raise ValueError instead of the expected ClanError, bypassing
proper error handling.
2025-08-25 14:11:25 +02:00
Jörg Thalheim
23d11651fc
Preserve symlinks during store copy
2025-08-25 14:11:25 +02:00
Jörg Thalheim
03a4ac5bde
sudo_askpass_proxy: check for stdin before print
2025-08-25 14:11:25 +02:00
Jörg Thalheim
ab50b433ee
type_to_jsonschema: throw correct Error
2025-08-25 14:11:25 +02:00
Jörg Thalheim
123e8398d8
S310: fix
2025-08-25 14:11:25 +02:00
Jörg Thalheim
6a2dfb8176
S101: fix
2025-08-25 14:11:25 +02:00
Jörg Thalheim
332d10e306
s110: address
2025-08-25 14:07:59 +02:00
Jörg Thalheim
f3f6692e4d
S102: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
954301465f
s608: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
2199f4efd5
S324: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
e208c02be7
S311: fix random usage
2025-08-25 14:07:59 +02:00
Jörg Thalheim
7747e3cc0d
S604: ignore
2025-08-25 14:07:59 +02:00
Jörg Thalheim
1c24b4c6cb
S604: fix
2025-08-25 14:07:59 +02:00
Jörg Thalheim
4b1ab4cdde
S105: fix
2025-08-25 13:43:33 +02:00
Jörg Thalheim
4852e79c3c
S310: fix
2025-08-25 13:43:33 +02:00
Jörg Thalheim
0a70ed6268
S108: ignore our uses
2025-08-25 13:43:33 +02:00
Mic92
136acc7901
Merge pull request 'ruff-1-initial-fixes' ( #4930 ) from ruff-1-initial-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4930
2025-08-25 11:38:36 +00:00
Jörg Thalheim
70d1dd0deb
nix_setup/cp: remove xcp again
2025-08-25 13:33:13 +02:00
Jörg Thalheim
df32da304f
drop agit
2025-08-25 13:06:04 +02:00
Jörg Thalheim
76eb3c13e9
add various module docstrings
2025-08-25 13:06:04 +02:00
Jörg Thalheim
6e88046fd4
PERF404: fix
2025-08-25 13:06:04 +02:00
Jörg Thalheim
b3cafa4a8c
log_manager: drop example usage
...
don't need this.
2025-08-25 13:06:04 +02:00
Jörg Thalheim
d1cf87d2ce
BLE001: don't catch blind errors
2025-08-25 13:06:04 +02:00
Jörg Thalheim
dc5485d9f1
ruff: replace asserts outside of tests with Exceptions
2025-08-25 13:06:04 +02:00
Johannes Kirschbauer
1b12882e29
docs: change wording, update links
2025-08-25 12:42:03 +02:00
hsjobeki
5be9b8383b
Merge pull request 'clan/inventory: allow list usage of roles via polymorphism' ( #4918 ) from cleanup-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4918
2025-08-25 10:41:49 +00:00
DavHau
c308fd63a7
vars: delete old var when changing share
...
When changing a password from non-shared to shared, we want to remove the old one
2025-08-25 10:37:46 +00:00
clan-bot
fcdfd80b34
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4925 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 10:37:07 +00:00
clan-bot
c5d975542d
Merge pull request 'Update nixos-facter-modules' ( #4832 ) from update-nixos-facter-modules into main
2025-08-25 10:25:02 +00:00
clan-bot
526eccdf16
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4926 ) from update-devFlake-nixpkgs-dev into main
2025-08-25 10:23:25 +00:00
clan-bot
f7dd34be21
Merge pull request 'Update disko' ( #4924 ) from update-disko into main
2025-08-25 10:22:23 +00:00
Mic92
289732ad20
Merge pull request 'Replace funky utf-8 singlequotes with decent ones' ( #4923 ) from replace-backticks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4923
2025-08-25 10:03:46 +00:00
pinpox
a50b6f7bc7
Merge pull request 'Allow shared user password' ( #4921 ) from TilmanBaumann/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4921
Reviewed-by: pinpox <clan@pablo.tools >
2025-08-25 10:02:59 +00:00
clan-bot
51c679d3a9
Update nixpkgs-dev in devFlake
2025-08-25 10:01:50 +00:00
clan-bot
470c3d330f
Update clan-core-for-checks in devFlake
2025-08-25 10:01:32 +00:00
clan-bot
df596ed59f
Update nixos-facter-modules
2025-08-25 10:00:58 +00:00
clan-bot
f2c1202b03
Update disko
2025-08-25 10:00:51 +00:00
pinpox
cdd241d8ff
Replace funky utf-8 singlequotes with decent ones
2025-08-25 11:56:29 +02:00
Mic92
0803d9c864
Merge pull request 'Apply automatic ruff lints' ( #4919 ) from ruff-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4919
2025-08-25 09:53:41 +00:00
Tilman Baumann
7171864a5e
Allow shared user password
...
By default each user gets a new password on every host.
Now you can use a shared vars.
2025-08-25 11:46:09 +02:00
Mic92
7aa9a34168
Merge pull request 'services/user: add migration guide for root-password' ( #4917 ) from root-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4917
2025-08-25 09:36:02 +00:00
Jörg Thalheim
0ec2c32ff8
ruff: apply automatic unsafe fixes
2025-08-25 11:34:41 +02:00
Jörg Thalheim
ea2d6aab65
ruff: apply automatic fixes
2025-08-25 11:34:41 +02:00
Jörg Thalheim
4101ebc45b
services/user: add migration guide for root-password
2025-08-25 11:29:56 +02:00
Johannes Kirschbauer
4414403dec
clan/inventory: allow list usage of roles via polymorphism
2025-08-25 11:27:38 +02:00
Johannes Kirschbauer
2d78730037
clan/schema: rename json schemas consistent {clanSchemaNix, clanSchemaJson}
2025-08-25 11:27:03 +02:00
hsjobeki
45c7c42634
Merge pull request 'tests/dirs: unify test files' ( #4916 ) from cleanup-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4916
2025-08-25 09:26:12 +00:00
Johannes Kirschbauer
8baf4fcedd
docs: refine autoincludes
2025-08-25 11:19:39 +02:00
Johannes Kirschbauer
a41e0ba80f
nix_models: fix typo
2025-08-25 11:19:39 +02:00
DavHau
798d445f3e
docs: move options search to separate page
2025-08-25 15:51:24 +07:00
Johannes Kirschbauer
00bd003be4
tests/dirs: unify test files
2025-08-25 10:14:02 +02:00
clan-bot
5841432b6f
Merge pull request 'Update data-mesher' ( #4914 ) from update-data-mesher into main
2025-08-25 05:24:10 +00:00
clan-bot
1fb91ec161
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4915 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 05:23:55 +00:00
clan-bot
fc16879336
Update clan-core-for-checks in devFlake
2025-08-25 05:01:34 +00:00
clan-bot
290510ae74
Update data-mesher
2025-08-25 05:00:51 +00:00
clan-bot
7b926d43dc
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4913 ) from update-devFlake-clan-core-for-checks into main
2025-08-25 00:21:50 +00:00
clan-bot
d91a44c7c5
Update clan-core-for-checks in devFlake
2025-08-25 00:01:31 +00:00
clan-bot
a47ed71bb7
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4911 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 20:19:28 +00:00
clan-bot
18f9df29da
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4912 ) from update-devFlake-nixpkgs-dev into main
2025-08-24 20:09:41 +00:00
clan-bot
2438dc09a2
Update nixpkgs-dev in devFlake
2025-08-24 20:01:48 +00:00
clan-bot
420412e60c
Update clan-core-for-checks in devFlake
2025-08-24 20:01:29 +00:00
clan-bot
aee6bc335b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4910 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 15:18:34 +00:00
clan-bot
6ae679fb3d
Update clan-core-for-checks in devFlake
2025-08-24 15:01:31 +00:00
clan-bot
b40a13b4c5
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4906 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 10:18:53 +00:00
clan-bot
dd2aa70efd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4907 ) from update-devFlake-nixpkgs-dev into main
2025-08-24 10:09:48 +00:00
clan-bot
2a9c9f7f2c
Update nixpkgs-dev in devFlake
2025-08-24 10:01:51 +00:00
clan-bot
82001544fd
Update clan-core-for-checks in devFlake
2025-08-24 10:01:32 +00:00
brianmcgee
9f352aa362
Merge pull request 'feat(ui): remove focus-visible state from readonly form inputs' ( #4905 ) from ui/disable-active-status-readonly-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4905
2025-08-24 09:53:06 +00:00
Brian McGee
35177ead40
feat(ui): remove focus-visible state from readonly form inputs
2025-08-24 10:49:34 +01:00
brianmcgee
1931c17513
Merge pull request 'feat(ui): make save button clearer in sidebar section forms' ( #4904 ) from ui/sidebar-section-save-button into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4904
2025-08-24 09:45:23 +00:00
Brian McGee
b12debf373
feat(ui): make save button clearer in sidebar section forms
2025-08-24 10:42:01 +01:00
clan-bot
0b3d362357
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4903 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 05:21:48 +00:00
clan-bot
d8119f2308
Update clan-core-for-checks in devFlake
2025-08-24 05:01:46 +00:00
clan-bot
ce36894ab1
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4902 ) from update-devFlake-clan-core-for-checks into main
2025-08-24 00:19:01 +00:00
clan-bot
c5f4f2e1d6
Update clan-core-for-checks in devFlake
2025-08-24 00:01:33 +00:00
clan-bot
c861ffe07b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4900 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 20:17:58 +00:00
clan-bot
6df980bc57
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4901 ) from update-devFlake-nixpkgs-dev into main
2025-08-23 20:09:30 +00:00
clan-bot
9d1d07b0ca
Update nixpkgs-dev in devFlake
2025-08-23 20:01:48 +00:00
clan-bot
24a774b5d6
Update clan-core-for-checks in devFlake
2025-08-23 20:01:29 +00:00
clan-bot
442f673128
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4898 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 15:20:43 +00:00
clan-bot
8905b5c5f1
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4899 ) from update-devFlake-nixpkgs-dev into main
2025-08-23 15:12:14 +00:00
clan-bot
3eff656dfa
Update nixpkgs-dev in devFlake
2025-08-23 15:01:50 +00:00
clan-bot
79e6f34c9e
Update clan-core-for-checks in devFlake
2025-08-23 15:01:31 +00:00
clan-bot
9c6e8f7735
Merge pull request 'Update treefmt-nix' ( #4894 ) from update-treefmt-nix into main
2025-08-23 10:24:13 +00:00
clan-bot
cc4fd1369e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4895 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 10:23:54 +00:00
clan-bot
7f32d6f81a
Merge pull request 'Update treefmt-nix in devFlake' ( #4897 ) from update-devFlake-treefmt-nix into main
2025-08-23 10:17:23 +00:00
clan-bot
a450ca10b8
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4896 ) from update-devFlake-nixpkgs-dev into main
2025-08-23 10:17:07 +00:00
clan-bot
06fbf32691
Update treefmt-nix in devFlake
2025-08-23 10:01:56 +00:00
clan-bot
d4bd297439
Update nixpkgs-dev in devFlake
2025-08-23 10:01:51 +00:00
clan-bot
acc8043f26
Update clan-core-for-checks in devFlake
2025-08-23 10:01:32 +00:00
clan-bot
35e5d0daab
Update treefmt-nix
2025-08-23 10:01:29 +00:00
clan-bot
e51c9ef1ad
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4892 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 05:19:20 +00:00
clan-bot
cdcbe3359a
Update clan-core-for-checks in devFlake
2025-08-23 05:01:32 +00:00
clan-bot
e5b51e6a2b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4891 ) from update-devFlake-clan-core-for-checks into main
2025-08-23 00:20:46 +00:00
clan-bot
694ebc5b30
Update clan-core-for-checks in devFlake
2025-08-23 00:01:30 +00:00
lassulus
ff2555cc4a
Merge pull request 'Enable network configuration in iwd settings' ( #4886 ) from RuboGubo/clan-core:fixDHCPinstaller into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4886
2025-08-22 22:34:07 +00:00
lassulus
016255459c
Merge pull request 'clan_lib flake: fix handling of maybes and empty sets' ( #4890 ) from select_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4890
2025-08-22 22:31:29 +00:00
lassulus
14f03bcab0
Merge pull request 'vars: add .exists to files' ( #4889 ) from vars_exist into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4889
2025-08-22 21:47:16 +00:00
lassulus
4dc90b3d39
clan_lib flake: fix handling of maybes and empty sets
2025-08-22 23:44:14 +02:00
lassulus
8cdce6c0c8
vars: add .exists to files
2025-08-22 23:30:19 +02:00
clan-bot
8904cf27a4
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4888 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 20:19:40 +00:00
clan-bot
493194c124
Merge pull request 'Update nix-select' ( #4887 ) from update-nix-select into main
2025-08-22 20:15:43 +00:00
clan-bot
5d1600a077
Update clan-core-for-checks in devFlake
2025-08-22 20:01:38 +00:00
clan-bot
7daaacbddf
Update nix-select
2025-08-22 20:01:00 +00:00
RuboGubo
30e18bbc66
Enable network configuration in iwd settings
...
closes #4885
2025-08-22 20:20:37 +01:00
hsjobeki
16dffa99c0
Merge pull request 'ui/search: add search with virtualized scrolling' ( #4884 ) from ui-search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4884
2025-08-22 16:07:54 +00:00
Johannes Kirschbauer
58ad50b749
ui/search: add search with virtualized scrolling
2025-08-22 17:52:48 +02:00
clan-bot
bc25074f5b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4882 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 15:18:46 +00:00
clan-bot
c79916d06c
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4883 ) from update-devFlake-nixpkgs-dev into main
2025-08-22 15:09:43 +00:00
clan-bot
4d53542f79
Update nixpkgs-dev in devFlake
2025-08-22 15:01:50 +00:00
clan-bot
d3ef03aeb3
Update clan-core-for-checks in devFlake
2025-08-22 15:01:31 +00:00
brianmcgee
9949fac5ea
Merge pull request 'feat(ui): refine spacing in NavSection' ( #4881 ) from ui/navigation-section into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4881
2025-08-22 12:32:10 +00:00
Brian McGee
6d236a6282
feat(ui): refine spacing in NavSection
2025-08-22 13:28:06 +01:00
brianmcgee
6e6a920796
Merge pull request 'ui/navigation-section' ( #4880 ) from ui/navigation-section into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4880
2025-08-22 11:20:14 +00:00
Brian McGee
99092a6ef2
chore(ui): lint
2025-08-22 12:16:21 +01:00
Brian McGee
1897b7bb06
feat(ui): use NavSection in installer workflow
2025-08-22 12:15:16 +01:00
Brian McGee
878789cf38
feat(ui): use NavSection in ListClansModal
2025-08-22 12:11:22 +01:00
Brian McGee
8a59cf7ea3
feat(ui): add NavSection component
2025-08-22 12:07:26 +01:00
brianmcgee
7ade9cd222
Merge pull request 'Handle error cases when switching clan' ( #4879 ) from feat/handle-clan-switch-errors into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4879
2025-08-22 10:47:35 +00:00
Brian McGee
447f619ecc
feat(ui): handle when a clan folder has been moved/renamed
2025-08-22 11:44:16 +01:00
clan-bot
657a55517b
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4878 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 10:20:14 +00:00
clan-bot
16a5b34ddf
Update clan-core-for-checks in devFlake
2025-08-22 10:01:32 +00:00
Luis Hebendanz
23f303b6ba
Merge pull request 'clan_lib: Fix run_machine_install incorrect pesist_state path' ( #4877 ) from Qubasa/clan-core:fix_install into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4877
2025-08-22 09:36:34 +00:00
Qubasa
84bf9f3bc5
clan_lib: Fix run_machine_install incorrect pesist_state path
2025-08-22 11:21:44 +02:00
brianmcgee
48736011de
Merge pull request 'fix(ui): remove custom viewboxes for some icons' ( #4876 ) from ui/fix-icons into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4876
2025-08-22 08:14:22 +00:00
Brian McGee
cf5675b7f3
fix(ui): remove custom viewboxes for some icons
2025-08-22 09:11:09 +01:00
Brian McGee
f0bbdad9ef
feat(ui): improve clan list logic in SidebarHeader
2025-08-22 08:51:27 +01:00
Brian McGee
5f83fe02a1
feat(ui): move isLoading logic into ClanContext
2025-08-22 08:51:26 +01:00
Brian McGee
8cb92e143d
feat(ui): by default do not retry queries
2025-08-22 08:51:26 +01:00
Brian McGee
73f5f887f3
feat(ui): add clanURI to ClanContext
2025-08-22 08:51:25 +01:00
clan-bot
db4e6c0be5
Merge pull request 'Update nix-darwin' ( #4872 ) from update-nix-darwin into main
2025-08-22 05:22:33 +00:00
clan-bot
c24892f865
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4873 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 05:20:02 +00:00
clan-bot
6badc14936
Update clan-core-for-checks in devFlake
2025-08-22 05:01:33 +00:00
clan-bot
3d1fb401fd
Update nix-darwin
2025-08-22 05:00:53 +00:00
clan-bot
f2cdac75e2
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4871 ) from update-devFlake-clan-core-for-checks into main
2025-08-22 00:19:10 +00:00
clan-bot
5d6e35832c
Update clan-core-for-checks in devFlake
2025-08-22 00:01:33 +00:00
Luis Hebendanz
9aa9ba500e
Merge pull request 'clan-lib: Make Flake throw more concrete errors if the flake path is invalid or non existend' ( #4870 ) from Qubasa/clan-core:fix_ui_stuff2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4870
2025-08-21 22:08:28 +00:00
Qubasa
2934269279
clan-lib: Make Flake throw more concrete errors if the flake path is invalid or non existend
...
treefmt
2025-08-21 23:53:26 +02:00
clan-bot
1c7323c90a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4869 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 20:18:08 +00:00
clan-bot
e667e03832
Update clan-core-for-checks in devFlake
2025-08-21 20:01:29 +00:00
brianmcgee
7f227b232c
Merge pull request 'ui/icons: update app icons' ( #4867 ) from ui-search into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4867
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-08-21 17:14:34 +00:00
Johannes Kirschbauer
9d887805a8
ui/icons: update app icons
2025-08-21 19:11:08 +02:00
hsjobeki
244e1c7447
Merge pull request 'ui/cubes: scene add tooltip descriptions to toolbar' ( #4866 ) from api-modules-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4866
2025-08-21 16:25:11 +00:00
Johannes Kirschbauer
78911063a6
ui/tooltip: cleanup hostfileInput
...
Components should not rely on any global css classes
This can have bad side effects
2025-08-21 18:22:15 +02:00
hsjobeki
d86509e97b
Merge pull request 'feat(ui): history stack for stepper' ( #4834 ) from ui/fix-backwards-nav-installer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4834
2025-08-21 16:15:26 +00:00
Johannes Kirschbauer
6de431df2c
ui/stepper: use initial step from opts
2025-08-21 18:12:06 +02:00
Johannes Kirschbauer
cda49b5b20
ui/cubes: scene add tooltip descriptions to toolbar
2025-08-21 18:04:12 +02:00
brianmcgee
678841e64c
Merge pull request 'fix(ui): blurry bold variants for CommitMono' ( #4864 ) from fix/commit-mono-bold into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4864
2025-08-21 15:37:21 +00:00
Johannes Kirschbauer
74549164e4
ui/toolbarButton: wrap in tooltip for always having more information
2025-08-21 17:36:01 +02:00
Johannes Kirschbauer
6afe8695de
ui/tooltip: refactor tooltip
2025-08-21 17:35:13 +02:00
Brian McGee
460800b6fb
fix(ui): blurry bold variants for CommitMono
2025-08-21 16:33:51 +01:00
clan-bot
5558bf3b9a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4862 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 15:18:02 +00:00
clan-bot
62701f7730
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4863 ) from update-devFlake-nixpkgs-dev into main
2025-08-21 15:11:45 +00:00
clan-bot
a2f3e2e513
Update nixpkgs-dev in devFlake
2025-08-21 15:01:50 +00:00
clan-bot
4867d467de
Update clan-core-for-checks in devFlake
2025-08-21 15:01:31 +00:00
brianmcgee
d9685acc37
Merge pull request 'feat(ui): introduce a top-level Clan context' ( #4860 ) from feat/handle-clan-switch-errors into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4860
2025-08-21 13:57:13 +00:00
pinpox
1aaa157f20
Merge pull request 'Cleanup machine-id,postgresql test' ( #4858 ) from cleanup-tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4858
2025-08-21 12:58:36 +00:00
hsjobeki
9a0ad4182f
Merge pull request 'api/modules: unify frontmatter with module manifest' ( #4847 ) from api-modules-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4847
Reviewed-by: lassulus <clanlol@lassul.us >
2025-08-21 12:56:19 +00:00
pinpox
65d194af58
Cleanup machine-id,postgresql test
2025-08-21 14:52:13 +02:00
Johannes Kirschbauer
1f2f71ab03
lib/modules: make categories class method
2025-08-21 14:41:03 +02:00
Brian McGee
f985187999
feat(ui): introduce a top-level Clan context
2025-08-21 12:20:51 +01:00
clan-bot
396a8d1e5e
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4857 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 10:23:58 +00:00
clan-bot
651f630080
Merge pull request 'Update nix-darwin' ( #4856 ) from update-nix-darwin into main
2025-08-21 10:21:19 +00:00
clan-bot
21de41f1c0
Update clan-core-for-checks in devFlake
2025-08-21 10:01:29 +00:00
clan-bot
98e5987e22
Update nix-darwin
2025-08-21 10:00:54 +00:00
brianmcgee
a77af2d379
Merge pull request 'ui/misc-fixes' ( #4855 ) from ui/misc-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4855
2025-08-21 09:58:34 +00:00
Brian McGee
ccde9e0ba6
feat(ui): replace modal backdrop blur with opacity
2025-08-21 10:14:17 +01:00
Brian McGee
6f6f582fe3
feat(ui): improve spacing in sidebar dropdown
2025-08-21 10:04:21 +01:00
pinpox
ec70de406b
Add coredns module
2025-08-21 10:29:54 +02:00
clan-bot
29a3140702
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4854 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 05:20:25 +00:00
clan-bot
465eda24bc
Update clan-core-for-checks in devFlake
2025-08-21 05:01:37 +00:00
clan-bot
2888907109
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4852 ) from update-devFlake-clan-core-for-checks into main
2025-08-21 00:19:00 +00:00
clan-bot
f770f600c6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4853 ) from update-devFlake-nixpkgs-dev into main
2025-08-21 00:10:35 +00:00
clan-bot
729f1673b3
Update nixpkgs-dev in devFlake
2025-08-21 00:01:46 +00:00
clan-bot
7c95cb0177
Update clan-core-for-checks in devFlake
2025-08-21 00:01:30 +00:00
clan-bot
b7f159aea3
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4850 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 20:20:07 +00:00
clan-bot
06a0062311
Update clan-core-for-checks in devFlake
2025-08-20 20:01:29 +00:00
Luis Hebendanz
aa840d9758
Merge pull request 'working check_machine_up_to_date' ( #4754 ) from Qubasa/clan-core:build_is_installed_api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4754
2025-08-20 19:12:53 +00:00
hsjobeki
d1e6da0779
Merge pull request 'api/install: set install date after install' ( #4838 ) from install-done into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4838
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-08-20 19:02:13 +00:00
Johannes Kirschbauer
e6981ddd72
cli/install: add --no-persist-state
...
Skip persisting the current date after successful install
This is a workaround due to incomplete test setup - installing a clan machine without having a clan
2025-08-20 20:46:44 +02:00
Qubasa
101c52f7c2
clan_lib: Add 'address' field to LocalHost
2025-08-20 20:28:21 +02:00
Johannes Kirschbauer
a83f301e59
docs/render: remove dead code
2025-08-20 20:19:49 +02:00
Qubasa
5120d90b85
clanService: telegraf.nix add json exporter over http
2025-08-20 20:17:49 +02:00
Qubasa
ea1e470502
clan_lib: add 'get_metrics' API endpoint
2025-08-20 20:17:14 +02:00
Johannes Kirschbauer
f4d6edc501
api/modules: unify frontmatter with module manifest
2025-08-20 20:15:41 +02:00
Johannes Kirschbauer
cbbc235570
api/modules: rename Frontmatter -> ModulesFrontmatter to make room for other disk templates metadata
2025-08-20 19:46:28 +02:00
brianmcgee
56d9256c02
Merge pull request 'chore(ui): remove close this clan button' ( #4846 ) from chore/remove-close-clan-button into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4846
2025-08-20 15:55:50 +00:00
Brian McGee
e131d3d036
chore(ui): remove close this clan button
2025-08-20 16:52:47 +01:00
brianmcgee
7f5b7b5057
Merge pull request 'ui/clan-switching' ( #4844 ) from ui/clan-switching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4844
2025-08-20 15:46:11 +00:00
brianmcgee
c27fa9f56e
Merge pull request 'fix(ui): inverted dividers in SectionGeneral component' ( #4845 ) from fix/inverted-dividers-in-sidebar-pane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4845
2025-08-20 15:41:31 +00:00
Brian McGee
1a1addb19d
fix(ui): cancel loading state properly for select folder button in onboarding
2025-08-20 16:40:50 +01:00
Brian McGee
349da24b29
feat(ui): enable switching between clans
2025-08-20 16:40:49 +01:00
Brian McGee
717f66b613
fix(ui): inverted dividers in SectionGeneral component
...
Closes #4836
2025-08-20 16:37:33 +01:00
clan-bot
dcbc8c9a50
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4842 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 15:21:49 +00:00
Brian McGee
9834f413cc
feat(ui): introduce Add clan button into sidebar
2025-08-20 16:21:40 +01:00
Brian McGee
fb5645ae33
fix(ui): mock machine state in Sidebar stories
2025-08-20 16:21:39 +01:00
Brian McGee
dc311d78e2
fix(ui): add mock api client provider to Sidebar stories
2025-08-20 16:21:39 +01:00
clan-bot
f0b1d8b2af
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4843 ) from update-devFlake-nixpkgs-dev into main
2025-08-20 15:12:06 +00:00
clan-bot
7f0d55ef74
Update nixpkgs-dev in devFlake
2025-08-20 15:01:51 +00:00
clan-bot
6e8860b3a0
Update clan-core-for-checks in devFlake
2025-08-20 15:01:31 +00:00
Mic92
5a5ec468c7
Merge pull request 'clan-cli: use automatic networking for vars upload and machines update' ( #4792 ) from networking_4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4792
2025-08-20 12:42:56 +00:00
Kenji Berthold
fbc2b889b5
Merge pull request 'docs: Fix migration docs for clan modules' ( #4839 ) from kenji/ke-fix-migration-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4839
2025-08-20 12:27:09 +00:00
lassulus
fb094e8f3b
add tor network to default template
2025-08-20 14:24:43 +02:00
lassulus
e2eb26345f
networking: add documentation, unhide from CLI
2025-08-20 14:22:58 +02:00
a-kenji
6f1a94e825
docs: Fix migration docs for clan modules
2025-08-20 14:13:27 +02:00
Johannes Kirschbauer
05951ffdb9
api/install: set install date after install
2025-08-20 13:39:32 +02:00
clan-bot
69de5f10c0
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4833 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 10:20:20 +00:00
Brian McGee
c01a191f3a
feat(ui): history stack for stepper
2025-08-20 11:02:38 +01:00
clan-bot
dfe1a3e67f
Update clan-core-for-checks in devFlake
2025-08-20 10:01:34 +00:00
brianmcgee
e975b67fad
Merge pull request 'fix(ui): de-duplicate clan uris when adding to local storage' ( #4831 ) from ui/deduplicate-clan-storage into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4831
2025-08-20 09:38:02 +00:00
Brian McGee
5c08893db0
fix(ui): de-duplicate clan uris when adding to local storage
2025-08-20 10:34:53 +01:00
brianmcgee
cb679dbee2
Merge pull request 'ui/install-workflow-refinements' ( #4827 ) from ui/install-workflow-refinements into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4827
2025-08-20 09:23:04 +00:00
Brian McGee
f339ca0d85
feat(ui): allow installer splash screens to change modal size
2025-08-20 10:19:19 +01:00
Brian McGee
547ba4276e
feat(ui): improve copy in create installer intro
2025-08-20 10:01:40 +01:00
Brian McGee
cae63cc45d
fix(ui): spelling mistake
2025-08-20 10:01:39 +01:00
DavHau
527b4b2e40
vars: ensure shared generators don't depend on machine specific generators
...
A dependency relation like this would not make sense as it would not be clear which machines generator the shared generator would depend on
2025-08-20 15:39:17 +07:00
DavHau
de0b1b2d70
vars: fix regenerating a specific generator
...
This was broken after re-designing the API -> added a test
2025-08-20 14:49:27 +07:00
clan-bot
6996a6340a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4824 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 05:25:25 +00:00
clan-bot
3c433da8f5
Update clan-core-for-checks in devFlake
2025-08-20 05:01:28 +00:00
DavHau
ef2a2bdb67
vars: improve tests for --regenerate
...
Ensures that all generators values actually change after running with --regenerate
2025-08-20 11:59:18 +07:00
DavHau
7b61a668e9
vars: refactor: use Machine objects instead of base_dir strings
...
Replace base_dir string parameters with Machine objects throughout the vars
module for better type safety and consistency.
2025-08-20 11:59:18 +07:00
clan-bot
bdab3e23af
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4822 ) from update-devFlake-clan-core-for-checks into main
2025-08-20 00:18:32 +00:00
clan-bot
2b068928a2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4823 ) from update-devFlake-nixpkgs-dev into main
2025-08-20 00:10:20 +00:00
clan-bot
ec798f89fd
Update nixpkgs-dev in devFlake
2025-08-20 00:01:49 +00:00
clan-bot
9efee40477
Update clan-core-for-checks in devFlake
2025-08-20 00:01:30 +00:00
lassulus
448c22c280
clan-cli: use automatic networking for vars upload and machines update
...
This uses the networking module to find the best_host, as we already do
with ssh and install. So if we don't supply a --target-host and a
networking module is configured, the remote should be autodetected.
Since vars upload doesn't have a --target-host argument, we always try
to use get_best_remote
2025-08-19 23:40:57 +02:00
lassulus
6c6e30ae60
Merge pull request 'Add type to group and owner vars options' ( #4819 ) from fix-4814 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4819
Reviewed-by: lassulus <clanlol@lassul.us >
2025-08-19 21:13:51 +00:00
pinpox
b27ff67a14
Add type to group and owner vars options
2025-08-19 22:46:30 +02:00
clan-bot
c0ffb17e00
Merge pull request 'Update nixpkgs' ( #4818 ) from update-nixpkgs into main
2025-08-19 20:21:34 +00:00
Mic92
e9ccf157b6
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4744 ) from update-devFlake-clan-core-for-checks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4744
2025-08-19 20:21:18 +00:00
clan-bot
451f2427fe
Merge pull request 'Update nixos-facter-modules' ( #4724 ) from update-nixos-facter-modules into main
2025-08-19 20:15:55 +00:00
clan-bot
1676cdd9a4
Update clan-core-for-checks in devFlake
2025-08-19 20:01:30 +00:00
clan-bot
109e6473ab
Update nixpkgs
2025-08-19 20:01:23 +00:00
clan-bot
55acff50d0
Update nixos-facter-modules
2025-08-19 20:00:54 +00:00
hsjobeki
eee1bd1ae0
Merge pull request 'ui/select: display no options placeholder' ( #4817 ) from install-story into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4817
2025-08-19 19:50:56 +00:00
Johannes Kirschbauer
e46d5870ff
ui/select: display no options placeholder
2025-08-19 21:46:26 +02:00
hsjobeki
f6ec32a5d1
Merge pull request 'ui/modal/select: fix z-index stacking' ( #4816 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4816
2025-08-19 17:19:18 +00:00
Johannes Kirschbauer
e336d1b19c
ui/modal/select: fix z-index stacking
2025-08-19 19:15:40 +02:00
brianmcgee
7399f59652
Merge pull request 'fix(ui): reload machine list in sidebar after adding a machine' ( #4815 ) from ui/invalidate-list-query-on-add into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4815
2025-08-19 16:41:31 +00:00
Brian McGee
088abe396e
fix(ui): reload machine list in sidebar after adding a machine
2025-08-19 17:37:53 +01:00
Mic92
26b31e24a3
Merge pull request 'Make most vm tests pure.' ( #4796 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4796
2025-08-19 16:10:08 +00:00
brianmcgee
099f4c2b8b
Merge pull request 'feat(api): define list machine options as data class' ( #4811 ) from api/list-machine-data-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4811
2025-08-19 16:07:13 +00:00
brianmcgee
b43605c168
Merge pull request 'ui/filter-usb-devices' ( #4813 ) from ui/filter-usb-devices into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4813
2025-08-19 15:58:27 +00:00
Jörg Thalheim
899dba5a08
tests/vms: add chroot-realpath (needed on aarch64)
2025-08-19 15:53:46 +00:00
Brian McGee
d2b94ced5a
feat(api): define list machine options as data class
2025-08-19 16:51:30 +01:00
Jörg Thalheim
cdf9fa1753
move vm configuration into a stand-alone module and include it in our test vms
...
This hasn't reduced the extra deps we have to pass to our nixos build
unfortunally, but maybe at least it can safe us a few in the future.
2025-08-19 15:45:57 +00:00
Brian McGee
d1e7e2993d
feat(ui): filter block devices in flash installer
...
Only display usb or mmc (SD card) drives.
2025-08-19 16:45:47 +01:00
Brian McGee
e05d85c759
feat(ui): darken modal overlay
2025-08-19 16:13:19 +01:00
clan-bot
53873411a6
Merge pull request 'Update disko' ( #4793 ) from update-disko into main
2025-08-19 14:42:47 +00:00
clan-bot
39e0ab21bd
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4794 ) from update-devFlake-nixpkgs-dev into main
2025-08-19 14:28:48 +00:00
clan-bot
8269d869c3
Update disko
2025-08-19 14:24:27 +00:00
clan-bot
e19d1c8122
Update nixpkgs-dev in devFlake
2025-08-19 14:24:17 +00:00
brianmcgee
0cd4ff1b12
Merge pull request 'tracking machine install state' ( #4803 ) from feat/machine-install-state into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4803
2025-08-19 14:23:35 +00:00
Brian McGee
9aebf02f05
feat(ui): display machine install state and install button
2025-08-19 15:09:34 +01:00
Jörg Thalheim
ffb7b91da7
drop impure checks from ci
2025-08-19 15:28:25 +02:00
Jörg Thalheim
2d264a8e5e
mark vm tests as pure
2025-08-19 15:28:25 +02:00
Mic92
abf6893714
Merge pull request 'Fix aarch64-linux vm support' ( #4810 ) from various-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4810
2025-08-19 13:21:28 +00:00
Jörg Thalheim
699c56c721
qemu: enable usb tablet option only on x86_64-linux
...
at least on aarch64-linux this locks up the hypervisor
2025-08-19 15:16:56 +02:00
Jörg Thalheim
2ce5388a75
qemu: fix machine types for various platforms
2025-08-19 15:16:56 +02:00
Jörg Thalheim
3e664255d6
speed up tests by doing reflink copies
2025-08-19 15:16:56 +02:00
Jörg Thalheim
5b1a9d6848
vms: also prebuild for aarch64
2025-08-19 14:49:52 +02:00
Jörg Thalheim
1850abdd0d
clan-cli/vms/run: generate secret before inspect_vm
...
inspect_vm does some caching, which lead to secrets not beeing found.
2025-08-19 14:49:52 +02:00
Jörg Thalheim
ed503f64da
vms/run: move python import to the top.
2025-08-19 14:49:52 +02:00
Jörg Thalheim
4074a184b2
make vm test pure
2025-08-19 14:47:12 +02:00
Jörg Thalheim
6fe2b06f09
qemu: fix nix chroot store support
2025-08-19 14:47:12 +02:00
Jörg Thalheim
8fe7cb1b3d
virtiofsd: fix nix chroot store support
2025-08-19 14:47:12 +02:00
DavHau
815c6c9438
vars: move generation functions to clan_lib
2025-08-19 18:05:53 +07:00
DavHau
9ce563aa08
vars: log var updates under specific machine
...
This makes it easier in the logs to identify which machine a var update belongs to
2025-08-19 11:03:36 +00:00
hsjobeki
c25844dd07
Merge pull request 'ui/modal: refactor mounting and controlled state' ( #4807 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4807
2025-08-19 10:55:43 +00:00
Johannes Kirschbauer
a167e70e63
ui/modal: refactor mounting and controlled state
2025-08-19 12:52:20 +02:00
hsjobeki
dd96fe6b73
Merge pull request 'ui/routing: re-route on changes not only on page load' ( #4805 ) from render-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4805
2025-08-19 10:15:59 +00:00
Johannes Kirschbauer
40d35d37e2
ui/routing: re-route on changes not only on page load
2025-08-19 12:10:04 +02:00
Luis Hebendanz
071f0f8034
Merge pull request 'codeowners: init team code owners' ( #4786 ) from codeowners-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4786
Reviewed-by: lassulus <clanlol@lassul.us >
Reviewed-by: pinpox <clan@pablo.tools >
Reviewed-by: DavHau <d.hauer.it@gmail.com >
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-08-19 09:54:33 +00:00
Johannes Kirschbauer
81d88fe253
codeowners: init team code owners
2025-08-19 11:35:10 +02:00
DavHau
ab274ce932
vars: refactor - remove generate_vars() in favor of run_generators()
...
The motivation is to have one shared entry point for the CLI as well as API/GUI
2025-08-19 16:26:53 +07:00
hsjobeki
ba1e598a76
Merge pull request 'ui/alert: migrate to css modules' ( #4802 ) from css-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4802
2025-08-19 08:58:22 +00:00
Johannes Kirschbauer
b5d29bd301
ui/alert: migrate to css modules
2025-08-19 10:27:55 +02:00
Johannes Kirschbauer
e174e8e029
css-modules: add typechecking for css module classes
2025-08-19 10:20:50 +02:00
Kenji Berthold
453d2b4a0a
Merge pull request 'pkgs/remove-moonlight-sunshine-accept: drop' ( #4798 ) from remove-moonlight-sunshine-accept into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4798
Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com >
2025-08-19 07:50:41 +00:00
DavHau
aadc8a1d63
vars: refactor - remove _generate_vars_for_machine function
...
This became unnecessary by now
2025-08-19 07:41:31 +00:00
DavHau
aaca8f4763
vars: refactor - move generator specific code to Generator class
...
Several functions in generate.py were specific to generator instances. Let's move them into the Generator class
2025-08-19 07:41:31 +00:00
DavHau
0a1a63dfdd
Merge pull request 'vars: refactor - remove create_machine_vars_interactive in favor of run_generators' ( #4795 ) from vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4795
2025-08-19 06:41:12 +00:00
DavHau
ee87f20471
vars: refactor - remove create_machine_vars_interactive in favor of run_generators
...
The motivation is to create one powerful entrypoint shared by the GUI as well as the CLI in order to not having to maintain too much separate code paths.
As a next step, generate_vars can probably also be removed.
2025-08-19 13:26:38 +07:00
hsjobeki
43febe5f33
Merge pull request 'Typography and contrast improvements for the UI' ( #4797 ) from ui/typography-size-increases into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4797
2025-08-19 06:25:37 +00:00
clan-bot
c63bbabceb
Merge pull request 'Update nuschtos in devFlake' ( #4800 ) from update-devFlake-nuschtos into main
2025-08-19 00:10:33 +00:00
clan-bot
8f1b270b59
Update nuschtos in devFlake
2025-08-19 00:01:53 +00:00
hsjobeki
da0af8bd53
Merge pull request 'Api/schema: improve types top schema conversion' ( #4799 ) from api-types into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4799
2025-08-18 17:48:36 +00:00
Johannes Kirschbauer
f82d18d649
API: rename util file to 'type_to_jsonschema'
2025-08-18 19:30:43 +02:00
Johannes Kirschbauer
287a303484
API/schema: make type conversion more strict in terms of undefined fields
2025-08-18 19:29:54 +02:00
Johannes Kirschbauer
1213608f30
API: init support for narrowing union types
...
This allows to relax constraints on functions using overloaded interfaces
I.e. for unifying logic this allows passing 'callable | dict'
Conretely useful for prompt values that are asked on demand in the cli, vs upfront in the ui
2025-08-18 19:28:47 +02:00
pinpox
fa1693e8c0
pkgs/remove-moonlight-sunshine-accept: drop
...
Removes this package as the module has already be deprecated and removed
2025-08-18 14:39:08 +02:00
Brian McGee
ed3ed7cb2a
chore(ui): lint
2025-08-18 12:52:33 +01:00
Brian McGee
b2e88fb3fa
chore(ui): fmt
2025-08-18 12:52:33 +01:00
Brian McGee
d6ca50218a
feat(ui): increase fg/def/4 from 500 to 600
2025-08-18 12:52:32 +01:00
Brian McGee
7d1f0956d6
feat(ui): refine Tag and line-height for labels
2025-08-18 12:52:32 +01:00
Brian McGee
d150c80854
feat(ui): move sidebar section header outside content
2025-08-18 12:52:31 +01:00
Brian McGee
2d1828d088
feat(ui): better contrast in sidebar
2025-08-18 12:52:31 +01:00
Brian McGee
f7f897a311
feat(ui): add xs button type
2025-08-18 12:52:30 +01:00
Brian McGee
683ffbdc76
feat(ui): refine Select with new typography sizes
2025-08-18 12:52:30 +01:00
Brian McGee
480ad3a5f1
feat(ui): increase label font sizes
2025-08-18 12:52:29 +01:00
Brian McGee
16361f03e9
feat(ui): typography size increases
2025-08-18 12:52:27 +01:00
clan-bot
3fb8b6587d
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4791 ) from update-devFlake-nixpkgs-dev into main
2025-08-17 00:08:28 +00:00
clan-bot
6aee353b43
Update nixpkgs-dev in devFlake
2025-08-17 00:01:48 +00:00
hsjobeki
e109361e81
Merge pull request 'clanModules: remove unused code' ( #4785 ) from clean-dead-code into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4785
2025-08-16 11:03:16 +00:00
Johannes Kirschbauer
3c34f81a44
inventory/tests: remove unused tests
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
72e7c2e9b9
clanModules: cleanup some more unused code
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
03968d8fbc
api/inventory: remove leaked schemas
2025-08-16 12:56:30 +02:00
Johannes Kirschbauer
2f27b3941e
lib/inventory: limit access to defined keys
2025-08-16 12:56:30 +02:00
clan-bot
e9dc5b9ba6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4787 ) from update-devFlake-nixpkgs-dev into main
2025-08-16 10:07:46 +00:00
clan-bot
e4ef885cd5
Update nixpkgs-dev in devFlake
2025-08-16 10:01:45 +00:00
Johannes Kirschbauer
9fe457ebd5
lib/clanModules: update nix_models
2025-08-16 11:59:16 +02:00
Johannes Kirschbauer
4a51aa9316
clanModules: remove unused test code
2025-08-16 11:58:55 +02:00
Johannes Kirschbauer
308a10d6e6
clanModules: remove unused code
2025-08-16 11:48:13 +02:00
clan-bot
90f513a08f
Merge pull request 'Update nixpkgs' ( #4784 ) from update-nixpkgs into main
2025-08-16 00:21:23 +00:00
clan-bot
4ddc61d132
Update nixpkgs
2025-08-16 00:01:27 +00:00
clan-bot
fc0088e9ea
Merge pull request 'Update nix-darwin' ( #4783 ) from update-nix-darwin into main
2025-08-15 20:16:14 +00:00
clan-bot
71094f7fa1
Update nix-darwin
2025-08-15 20:00:52 +00:00
clan-bot
a8516cf9c6
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4782 ) from update-devFlake-nixpkgs-dev into main
2025-08-15 15:08:18 +00:00
clan-bot
a89e2f877a
Update nixpkgs-dev in devFlake
2025-08-15 15:01:50 +00:00
Mic92
ed78e49c47
Merge pull request 'vms/inspect: mark test as pure' ( #4781 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4781
2025-08-15 11:54:46 +00:00
Jörg Thalheim
3ef0a7919d
vms/inspect: mark test as pure
2025-08-15 13:31:27 +02:00
Jörg Thalheim
36812d5f95
test_vars_deployment: simplify test to just start one vm
2025-08-15 13:30:30 +02:00
Mic92
f5bcdb4ba0
Merge pull request 'flakes/inspect: mark test as pure' ( #4779 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4779
2025-08-15 11:28:22 +00:00
Jörg Thalheim
b69ad0eca5
backups/list: mark as pure
2025-08-15 13:10:41 +02:00
Jörg Thalheim
b221c29694
flakes/inspect: mark test as pure
2025-08-15 13:08:30 +02:00
Luis Hebendanz
7dc7f09173
Merge pull request 'clanServices: telegraf -> add basic auth' ( #4777 ) from Qubasa/clan-core:basic_auth_telegraf into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4777
2025-08-15 11:07:44 +00:00
Mic92
ec3d224e1d
Merge pull request 'tests_secrets_generate: mark as pure' ( #4766 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4766
2025-08-15 11:06:47 +00:00
Luis Hebendanz
00c5312080
Merge pull request 'docs: Revamp Getting Started guide for clarity and usability' ( #4776 ) from scriptogre/clan-core:update-getting-started-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4776
2025-08-15 11:04:52 +00:00
Qubasa
7811a56d2b
clanServices: telegraf -> add basic auth
...
treefmt
2025-08-15 18:02:31 +07:00
Jörg Thalheim
e9401177b7
installation: make sure target host is actually down
2025-08-15 12:51:20 +02:00
Jörg Thalheim
ef56258e8b
impure-checks: reduce to 6 jobs
2025-08-15 12:51:20 +02:00
Jörg Thalheim
c4d9b39a17
tests_secrets_generate: mark as pure
2025-08-15 12:51:20 +02:00
Mic92
1f59b75c20
Merge pull request 'Delete old files when deploying docs' ( #4775 ) from deploy-docs-delete into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4775
2025-08-15 10:24:10 +00:00
scriptogre
6b6da7b897
docs: Revamp and simplify Getting Started guide
2025-08-15 13:19:39 +03:00
pinpox
4391c19ee9
Delete old files when deploying docs
2025-08-15 12:04:46 +02:00
hsjobeki
eb993b7060
Merge pull request 'ui/vars: add more vars to install story' ( #4747 ) from ui-install-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4747
2025-08-15 09:14:46 +00:00
Johannes Kirschbauer
08cb6993a8
install/progress: display usb-stick
2025-08-15 11:10:57 +02:00
Johannes Kirschbauer
872f640211
install/assets: init usb-stick png image
2025-08-15 11:04:10 +02:00
Johannes Kirschbauer
c58f7c573d
ui/install: clean up design
2025-08-15 11:04:09 +02:00
Johannes Kirschbauer
7b807a0745
ui/vars: add more vars to install story
2025-08-15 11:04:09 +02:00
pinpox
62805c66ff
Merge pull request 'Add monitoring service' ( #4756 ) from monitoring-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4756
2025-08-15 08:57:36 +00:00
pinpox
30b737ae1f
init telegraph service
2025-08-15 10:54:39 +02:00
Luis Hebendanz
cc41185f98
Merge pull request 'flake.py: Error messages are now always ClanSelectErrors. Improved error messages' ( #4773 ) from Qubasa/clan-core:improve_select_error into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4773
2025-08-15 06:50:46 +00:00
Qubasa
606aae7212
flake.py: Error messages are now always ClanSelectErrors. Improved error messages
...
flake.py: Fix unbound variable
flake.py: Fix test_create.py test
2025-08-15 13:46:12 +07:00
clan-bot
c31d884dc7
Merge pull request 'Update nixpkgs' ( #4772 ) from update-nixpkgs into main
2025-08-15 05:22:06 +00:00
clan-bot
f546ce82f6
Update nixpkgs
2025-08-15 05:01:35 +00:00
clan-bot
b173bc37f5
Merge pull request 'Update nixpkgs' ( #4771 ) from update-nixpkgs into main
2025-08-15 00:18:55 +00:00
clan-bot
0c20cfb34a
Update nixpkgs
2025-08-15 00:01:25 +00:00
clan-bot
6c096a276d
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4770 ) from update-devFlake-nixpkgs-dev into main
2025-08-14 20:08:03 +00:00
clan-bot
b7436b5b7f
Update nixpkgs-dev in devFlake
2025-08-14 20:01:49 +00:00
hsjobeki
a84ab5d4bf
Merge pull request 'exports: rename special args' ( #4765 ) from exports-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4765
2025-08-14 16:11:07 +00:00
Johannes Kirschbauer
a82ecbcbff
docs: update docs for exports
2025-08-14 18:01:19 +02:00
Mic92
4ae3abe8c2
Merge pull request 'Update nixpkgs-dev in devFlake' ( #4669 ) from update-devFlake-nixpkgs-dev into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4669
2025-08-14 16:01:05 +00:00
Johannes Kirschbauer
90c7951704
exports: expose in special args or 'perInstance' and 'perMachine'
2025-08-14 17:58:23 +02:00
Johannes Kirschbauer
116ff37156
exports: rename special args
2025-08-14 17:58:23 +02:00
clan-bot
f11df276a9
Update nixpkgs-dev in devFlake
2025-08-14 15:57:22 +00:00
Mic92
d44b43a937
Merge pull request 'test_machines_cli: remove more tests from the impure set' ( #4764 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4764
2025-08-14 15:22:01 +00:00
Jörg Thalheim
716b74bc02
test_machines_cli: remove more tests from the impure set
2025-08-14 17:14:35 +02:00
Mic92
c85969c2b4
Merge pull request 'chore: remove spurious folder' ( #4763 ) from orga into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4763
2025-08-14 15:11:51 +00:00
Johannes Kirschbauer
edb7dcc154
chore: remove spurious folder
2025-08-14 17:06:02 +02:00
Mic92
3586b4f48c
Merge pull request 'clan-cli/machines/list: mark test as pure' ( #4761 ) from no-impure-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4761
2025-08-14 14:59:10 +00:00
Jörg Thalheim
9cdc6a27b6
test_copy_from_nixstore_symlink: drop test.
...
seems a bit overkill to have a test for two lines of python code...
2025-08-14 16:53:39 +02:00
Mic92
ceecdc0eef
Merge pull request 'clan-cli/flash: remove impure tests' ( #4757 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4757
2025-08-14 14:41:12 +00:00
Jörg Thalheim
96014c02c5
clan-cli/templates: mark tests as pure
2025-08-14 16:35:25 +02:00
Jörg Thalheim
810a2c67f9
clan-cli/machines/list: mark test as pure
2025-08-14 16:33:21 +02:00
Jörg Thalheim
fbb28afb2f
clan-cli/flash: make tests runnable in sandbox
2025-08-14 16:23:22 +02:00
hsjobeki
a6ef38dadd
Merge pull request 'vars: move generator class and bound methods into seperate module' ( #4734 ) from generator-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4734
2025-08-14 14:17:14 +00:00
Mic92
328e0b20ac
Merge pull request 'machines/list: make tests pure' ( #4759 ) from no-impure-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4759
2025-08-14 14:07:51 +00:00
brianmcgee
7e77505316
Merge pull request 'fix(ui): host file input max width' ( #4760 ) from fix/host-file-input-max-width into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4760
2025-08-14 14:01:34 +00:00
Brian McGee
245453b461
fix(ui): host file input max width
2025-08-14 14:57:26 +01:00
Jörg Thalheim
21e6a01cf3
machines/list: make tests pure
2025-08-14 15:54:00 +02:00
brianmcgee
302adf6f41
Merge pull request 'chore(ui): general cleanup' ( #4758 ) from chore/cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4758
2025-08-14 13:32:36 +00:00
Brian McGee
f754b88ae4
chore(ui): general cleanup
2025-08-14 14:28:23 +01:00
Mic92
34d27e6bab
Merge pull request 'clan-vm-manager: don't mark test_is_local as impure' ( #4755 ) from no-impure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4755
2025-08-14 13:12:59 +00:00
Jörg Thalheim
5817713e39
clan-vm-manager: don't mark test_is_local as impure.
...
should just work without it
2025-08-14 15:09:33 +02:00
clan-bot
cc283e88c9
Merge pull request 'Update disko' ( #4700 ) from update-disko into main
2025-08-14 12:33:03 +00:00
clan-bot
1bb9f4741d
Update disko
2025-08-14 12:12:27 +00:00
clan-bot
0d26e991e6
Merge pull request 'Update nuschtos in devFlake' ( #4674 ) from update-devFlake-nuschtos into main
2025-08-14 12:11:19 +00:00
gitea-actions[bot]
961beda3e5
Update nuschtos in devFlake
2025-08-14 14:07:34 +02:00
clan-bot
0a8a1d4354
Merge pull request 'Update nixpkgs' ( #4667 ) from update-nixpkgs into main
2025-08-14 12:05:03 +00:00
clan-bot
daf8d8e80d
Update nixpkgs
2025-08-14 14:02:09 +02:00
Mic92
011b2a5872
Merge pull request 'update-flake-inputs: set different author' ( #4753 ) from macos-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4753
2025-08-14 11:35:09 +00:00
Jörg Thalheim
da06babcc2
update-flake-inputs: set different author
2025-08-14 13:30:22 +02:00
Mic92
c43eeb68a5
Merge pull request 'macos: don't build devShell until CI error is fixed' ( #4752 ) from macos-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4752
2025-08-14 11:27:30 +00:00
Jörg Thalheim
5e485a37f5
macos: don't build devShell until CI error is fixed
2025-08-14 13:05:02 +02:00
pinpox
ce902bed0a
Merge pull request 'Remove clanModules (again)' ( #4387 ) from remove-modules-new into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4387
2025-08-14 10:39:23 +00:00
pinpox
a5d401b715
Update migration status table
2025-08-14 12:29:27 +02:00
pinpox
2637496059
zt-tcp-relay: drop
2025-08-14 12:03:47 +02:00
pinpox
87c8a4549b
re-add table with migration status
2025-08-14 12:02:40 +02:00
pinpox
35e5f4a42a
Remove clanModules
...
- Removes clanModules in favor of the new clanServices
- Adds a warning and link to the migration guide
2025-08-14 12:02:40 +02:00
pinpox
e4949755d7
Merge pull request 'Migrate matrix-synapse to clan services' ( #4684 ) from migrate-matrix-synapse into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4684
2025-08-14 10:01:14 +00:00
pinpox
b239c5bd88
Migrate matrix-synapse to clan services
2025-08-14 11:54:52 +02:00
Johannes Kirschbauer
4312e3fc2f
vars: move generator class and bound methods into seperate module
2025-08-14 11:05:42 +02:00
hsjobeki
62ef90e959
Merge pull request 'codeowners: remove @lopter due to inactivity' ( #4742 ) from codeowners into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4742
2025-08-13 17:48:08 +00:00
hsjobeki
7fdbd2e3eb
Merge pull request 'dirs: remove unused conditional import' ( #4736 ) from import-cleanup-dirs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4736
2025-08-13 17:46:19 +00:00
hsjobeki
7daebd5ee0
Merge pull request 'networking: remove unused conditional import' ( #4737 ) from networking-import into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4737
2025-08-13 17:46:04 +00:00
hsjobeki
cc8dd0564b
Merge pull request 'askpass: use protocol as interface' ( #4739 ) from interface-askpass into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4739
2025-08-13 17:43:01 +00:00
Johannes Kirschbauer
23e52954c9
codeowners: remove @lopter due to inactivity
2025-08-13 19:41:47 +02:00
hsjobeki
4717d1f149
Merge pull request 'lib/Remote: Unify class method _parse_ssh_uri with class file' ( #4733 ) from imports-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4733
2025-08-13 17:40:36 +00:00
Johannes Kirschbauer
e28f280036
vars: remove unused conditional import
2025-08-13 19:24:53 +02:00
Johannes Kirschbauer
6fa2a977df
askpass: use protocol as interface
...
Avoids a cyclic dependency on the Remote class
Strips down the dependency closure by explizitly declaring what functions it needs
2025-08-13 19:21:18 +02:00
Johannes Kirschbauer
65dba2508f
dirs: remove unused conditional import
2025-08-13 19:04:32 +02:00
Johannes Kirschbauer
9884643070
networking: remove unused conditional import
2025-08-13 19:03:35 +02:00
Johannes Kirschbauer
5083992f7b
lib: remove unused TYPE_CHECKING
2025-08-13 18:26:57 +02:00
Johannes Kirschbauer
6bd8839128
lib/Remote: Unify class method _parse_ssh_uri with class file
2025-08-13 18:26:28 +02:00
clan-bot
765bdb262a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4731 ) from update-devFlake-clan-core-for-checks into main
2025-08-13 15:22:38 +00:00
gitea-actions[bot]
05c00fbe82
Update clan-core-for-checks in devFlake
2025-08-13 15:01:35 +00:00
clan-bot
7e97734797
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4727 ) from update-devFlake-clan-core-for-checks into main
2025-08-13 13:57:32 +00:00
gitea-actions[bot]
6384c4654e
Update clan-core-for-checks in devFlake
2025-08-13 13:54:09 +00:00
DavHau
72d3ad09a4
vars: refactor - pass Machine objects to run_generators
2025-08-13 12:45:47 +00:00
DavHau
a535450ec0
vars: refactor - unify get_generators and _get_closure
2025-08-13 12:45:47 +00:00
Mic92
aaeb616f82
Merge pull request 'Drop update-private-flake-inputs ci action' ( #4730 ) from init-wireguard-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4730
2025-08-13 12:42:59 +00:00
Jörg Thalheim
434edeaae1
drop update-private-flake-inputs
2025-08-13 14:35:43 +02:00
Mic92
a4efd3cb16
Merge pull request 'update-sops-nix2' ( #4719 ) from update-sops-nix2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4719
2025-08-13 12:34:37 +00:00
Jörg Thalheim
13131ccd6e
docs/wireguard: put requirements at the top
2025-08-13 14:34:15 +02:00
hsjobeki
3a8309b01f
Merge pull request 'UI/install: add loading animation' ( #4723 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4723
2025-08-13 12:19:23 +00:00
Johannes Kirschbauer
10065a7c8f
UI/install: add loading to button
2025-08-13 14:15:52 +02:00
Johannes Kirschbauer
176b54e29d
UI/Button: move state out of the button
2025-08-13 14:15:29 +02:00
Jörg Thalheim
be048d8307
morph/flash: use patched clan-core-for-checks
...
the other one doesn't override flake.lock
2025-08-13 11:41:09 +00:00
gitea-actions[bot]
52fcab30e7
Update sops-nix
2025-08-13 11:41:09 +00:00
Mic92
d3b423328f
Merge pull request 'Add wireguard service module' ( #3354 ) from init-wireguard-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3354
2025-08-13 10:55:48 +00:00
Jörg Thalheim
1177e84dcc
vars/generate: print the files that were found when files are missing
...
this helps fixing typos in the generator scripts
2025-08-13 12:29:52 +02:00
pinpox
414952dfa3
Add wireguard service module
2025-08-13 12:29:52 +02:00
DavHau
24194011ac
vars: refactor - remove unnecessary return values
...
The boolean return value signaling if anything was ran or not isn't that useful. We are not doing anything with it.
2025-08-13 12:54:05 +07:00
DavHau
4f78a8ff94
Merge pull request 'networking_3' ( #4507 ) from networking_3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4507
2025-08-13 05:20:03 +00:00
DavHau
068b5d4c1e
install: fix error message when target host not specified
2025-08-13 12:04:14 +07:00
DavHau
adccef4757
install: fix torify package not available
2025-08-13 12:04:14 +07:00
Qubasa
980d94d47d
clan_cli: Improve cli message if no networks present
2025-08-13 12:04:14 +07:00
lassulus
a50b25eea2
clan-cli network: refactor, use new networking in ssh and install commands
2025-08-13 12:04:14 +07:00
lassulus
017989841d
refactor: remove DeployInfo class and use Network/Remote directly
...
- Remove DeployInfo class entirely, replacing with direct Remote usage
- Update parse_qr_json_to_networks to return dict with network and remote
- Refactor all code to work with Remote lists instead of DeployInfo
- Add get_remote_for_machine context manager for network connections
- Update tests to use new Network/Remote structure
2025-08-13 12:04:14 +07:00
lassulus
c14a5fcc69
refactor: move ssh/upload.py from cli to lib
...
Move the upload module to clan_lib to better organize SSH-related
utilities. Updated all imports across the codebase.
2025-08-13 12:04:14 +07:00
clan-bot
4f60345ba7
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4726 ) from update-devFlake-clan-core-for-checks into main
2025-08-13 00:21:42 +00:00
gitea-actions[bot]
ece48d3b5f
Update clan-core-for-checks in devFlake
2025-08-13 00:01:32 +00:00
clan-bot
4eea8d24f0
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4725 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 20:26:23 +00:00
gitea-actions[bot]
49099df3fb
Update clan-core-for-checks in devFlake
2025-08-12 20:01:32 +00:00
Johannes Kirschbauer
62ccba9fb5
ui/install: test connection
2025-08-12 21:04:18 +02:00
Johannes Kirschbauer
0b44770f1f
UI/install: add loading animation
2025-08-12 20:45:55 +02:00
hsjobeki
61c3d7284a
Merge pull request 'pkgs/clan/lib(install): implement separate nixos-anywhere install phases' ( #4710 ) from ke-install-phases into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4710
2025-08-12 15:34:15 +00:00
clan-bot
44b1be5ed4
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4717 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 15:30:32 +00:00
Jörg Thalheim
88871bea69
clan_lib/flash: remove trailing whitespace
2025-08-12 17:14:52 +02:00
Johannes Kirschbauer
5141ea047c
install: init secrets
2025-08-12 17:11:58 +02:00
gitea-actions[bot]
ff6a03a646
Update clan-core-for-checks in devFlake
2025-08-12 15:01:31 +00:00
Johannes Kirschbauer
bc379c985d
ui/install: update storybook mock data
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
69d8b029d6
ui/install: fix alignment of some steps
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
f3617b0407
ui/vars: sanitize generator and prompt field names
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
a5205681cc
ui/select: fix z-index of trigger
2025-08-12 16:35:34 +02:00
Johannes Kirschbauer
9880847d43
install: add progress to ui
2025-08-12 16:35:34 +02:00
a-kenji
8aa88b22ab
pkgs/clan/lib(install): implement separate nixos-anywhere install phases
...
Split the `nixos-anywhere` phases into it's components,
so we provide the user with better feedback.
Closes : #4682
2025-08-12 16:35:34 +02:00
brianmcgee
ff979eba61
Merge pull request 'ui/integrate-clan-tags-machine-detail' ( #4716 ) from ui/integrate-clan-tags-machine-detail into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4716
2025-08-12 14:20:27 +00:00
Brian McGee
5d1abbd303
feat(ui): integrate tags info from field schema into tags section
2025-08-12 15:16:59 +01:00
Brian McGee
92e9bb2ed8
feat(ui): integrate list_tags api call into machine detail
2025-08-12 14:46:43 +01:00
brianmcgee
ea75c9bfa9
Merge pull request 'feat(ui): add small and transparent variants for Alert component' ( #4713 ) from feat/small-variant-for-alert into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4713
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-08-12 12:04:31 +00:00
hsjobeki
2adf65482d
Merge pull request 'feat(api): add list_inventory_tags' ( #4692 ) from feat/machine-tags-writeability into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4692
2025-08-12 11:33:49 +00:00
DavHau
5684ddf104
vars: health check also for API not just cli
2025-08-12 11:28:02 +00:00
Johannes Kirschbauer
f74e444120
api/tags: add docs
2025-08-12 13:19:11 +02:00
Johannes Kirschbauer
0ef57bfc8e
api/tags: add init.py for pytest
2025-08-12 13:07:36 +02:00
Brian McGee
8f43af3c48
feat(ui): add transparent option for Alert component
2025-08-12 11:52:38 +01:00
Brian McGee
eeaec583cb
feat(ui): add small variant for Alert component
2025-08-12 11:52:37 +01:00
Johannes Kirschbauer
a9d1ff83f2
api/tags: split list into options and non-configurable tags
2025-08-12 12:41:15 +02:00
DavHau
89cb22147c
Revert "machines update: support --target-host localhost"
...
This reverts commit a2818d4946cc66a08b9dd7a1ab95dc48ea708fe3.
Setting `--target-host localhost` breaks with:
sudo: no askpass program specified, try setting SUDO_ASKPASS
2025-08-12 17:39:40 +07:00
Jörg Thalheim
1006fc755e
clanTest/vars-executor: add debugging to finalScript
2025-08-12 12:38:47 +02:00
clan-bot
f100177df3
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4709 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 10:26:57 +00:00
Johannes Kirschbauer
cbd3b08296
api/tags: add from all possible sources
2025-08-12 11:05:10 +01:00
Brian McGee
2608bee30a
feat(api): add list_inventory_tags
2025-08-12 11:05:10 +01:00
gitea-actions[bot]
a29459a384
Update clan-core-for-checks in devFlake
2025-08-12 10:01:30 +00:00
DavHau
1abdd45821
vars: add doc comments for fix() and health_check()
2025-08-12 09:13:54 +00:00
brianmcgee
b058fcc8eb
Merge pull request 'fix(ui): swap colors for inverted/non-inverted in Divider component' ( #4696 ) from fix/invert-default-color-scheme-divider into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4696
2025-08-12 09:09:20 +00:00
Brian McGee
24ae95a007
fix(ui): swap colors for inverted/non-inverted in Divider component
...
Fixes #4602
2025-08-12 10:00:40 +01:00
brianmcgee
39510b613f
Merge pull request 'fix color=inherit in typography component' ( #4693 ) from fix/typography-color-inherit into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4693
2025-08-12 09:00:20 +00:00
Brian McGee
dcdab61d13
feat(ui): improve color=inherit example in typography story
2025-08-12 09:56:26 +01:00
hsjobeki
f86fe07b63
Merge pull request 'fix/commit-mono-woff2' ( #4695 ) from fix/commit-mono-woff2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4695
2025-08-12 07:51:57 +00:00
Brian McGee
84bf9fe3cf
fix(ui): load CommitMono via woff2 instead of OTF
...
Fixes #4611
2025-08-12 07:48:21 +00:00
Luis Hebendanz
9737ce51b1
Merge pull request 'Fix clan select hiding error messages' ( #4704 ) from Qubasa/clan-core:clan_select_error_msg into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4704
2025-08-12 07:46:35 +00:00
Qubasa
3c1c6c1942
flake.py: Add a custom error message for missing clan export
...
test_clan_create_api: Fix check for SelectCmdError
2025-08-12 14:41:26 +07:00
Qubasa
0904c9da60
flake.py: Don't hide error messages
2025-08-12 14:18:19 +07:00
Luis Hebendanz
73e03c21f7
Merge pull request 'templates: Fix missing export of clan = clan.config;' ( #4703 ) from Qubasa/clan-core:fix_templates2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4703
2025-08-12 07:05:07 +00:00
Qubasa
743f05a1b5
templates: Fix missing export of clan = clan.config;
2025-08-12 13:50:09 +07:00
DavHau
e28b8dc944
vars: refactor - health checks on multiple generators
2025-08-12 13:12:49 +07:00
clan-bot
8d871aafe8
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4701 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 05:25:52 +00:00
DavHau
26559ff88b
Merge pull request 'machines update: support --target-host localhost' ( #4623 ) from jfly/clan-core:localhost-as-target-host-without-ssh into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4623
2025-08-12 05:10:53 +00:00
gitea-actions[bot]
b39aead1db
Update clan-core-for-checks in devFlake
2025-08-12 05:01:29 +00:00
DavHau
caae6c7a55
docs: improve wording on getting-started
...
I found the header text to be confusing at places:
- `at least one machine to push to`: Pushing what? Where? DO I ned a git server? Do you mean installing?
-> I re-phrased the text
Also removed the tree command, as this is not available on most systems by default
2025-08-12 11:33:28 +07:00
DavHau
df90fb20a0
clan-lib/hosts: reintroduce test for localhost
2025-08-12 10:18:55 +07:00
clan-bot
d6577ec05d
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4698 ) from update-devFlake-clan-core-for-checks into main
2025-08-12 00:17:53 +00:00
gitea-actions[bot]
9a66170aa1
Update clan-core-for-checks in devFlake
2025-08-12 00:01:27 +00:00
clan-bot
3effd8fd9a
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4697 ) from update-devFlake-clan-core-for-checks into main
2025-08-11 20:18:06 +00:00
hsjobeki
86d6b42f4c
Merge pull request 'api/machines: add tests for tags readOnly' ( #4694 ) from readonly-tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4694
2025-08-11 20:09:25 +00:00
gitea-actions[bot]
5e2ffa9491
Update clan-core-for-checks in devFlake
2025-08-11 20:01:27 +00:00
Mic92
ba58d6d91a
Merge pull request 'devFlake: switch back to main' ( #4691 ) from update-nixpkgs-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4691
2025-08-11 16:44:31 +00:00
Jörg Thalheim
38e2d00bbc
flash test: enable useNixStoreImage
...
we had some weird corruption, this hopefully helps. Unclear if it's
slower..
2025-08-11 18:23:28 +02:00
Johannes Kirschbauer
4f29f2e2ca
api/machines: add tests for tags readOnly
2025-08-11 18:07:02 +02:00
Jörg Thalheim
5c23e24315
devFlake: switch back to main
2025-08-11 18:02:56 +02:00
Johannes Kirschbauer
1009c61c9f
api/machines: use get_value_by_path utility for nested dict access
2025-08-11 17:49:25 +02:00
hsjobeki
0817f83b0b
Merge pull request 'api/machines: expose readonly tags' ( #4690 ) from readonly-tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4690
2025-08-11 15:40:42 +00:00
Mic92
4f191f3ebe
Merge pull request 'Bump nixpkgs + ci fixes' ( #4688 ) from update-nixpkgs-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4688
2025-08-11 15:35:55 +00:00
Johannes Kirschbauer
9f48b7a2fa
inventory: rename 'unmerge-lists' to 'list_difference'
2025-08-11 17:35:31 +02:00
Johannes Kirschbauer
b17466c84b
api/machines: expose readonly tags
2025-08-11 17:30:35 +02:00
Jörg Thalheim
d2814efcde
update: sort precached vars
2025-08-11 17:18:01 +02:00
Jörg Thalheim
6a5a83f57a
devFlake: switch to clan-core-for-checks to this branch
2025-08-11 17:17:27 +02:00
Jörg Thalheim
9e9ab22c37
skip private inputs again
2025-08-11 17:16:34 +02:00
gitea-actions[bot]
2840d3a5fc
Update nixpkgs
2025-08-11 17:16:34 +02:00
clan-bot
a305f98586
Merge pull request 'Update clan-core-for-checks in devFlake' ( #4689 ) from update-devFlake-clan-core-for-checks into main
2025-08-11 15:13:45 +00:00
hsjobeki
96fe387399
Merge pull request 'api: init notification queue' ( #4678 ) from ui-notify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4678
2025-08-11 15:13:42 +00:00
gitea-actions[bot]
d022f26c2c
Update clan-core-for-checks in devFlake
2025-08-11 15:01:28 +00:00
Johannes Kirschbauer
d1f5a8e263
ui/install: set fixed dimensions for modal
2025-08-11 17:00:20 +02:00
Mic92
a6a5c1e21d
Merge pull request 'zt-tcp-relay: 2023-07-11 -> 2025-07-03' ( #4687 ) from zt-tcp-relay into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4687
2025-08-11 14:27:35 +00:00
Jörg Thalheim
f1867bdd7a
zt-tcp-relay: 2023-07-11 -> 2025-07-03
2025-08-11 16:23:10 +02:00
DavHau
ee8e44d255
vars/generators: refactor - identify generators by name + machine
...
This brings us one step closer towards re-generating over multiple machines reliably
2025-08-11 21:02:55 +07:00
Mic92
f730f4fa06
Merge pull request 'make clan-core-for-checks a dev flake input' ( #4247 ) from private-flake-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4247
2025-08-11 13:45:22 +00:00
Jörg Thalheim
567570e89c
make clan-core-for-checks a dev flake input
2025-08-11 15:36:40 +02:00
Johannes Kirschbauer
54797dd5f5
ui/install: hook up notification bus
2025-08-11 15:30:55 +02:00
Johannes Kirschbauer
c70c588c1c
ui/api: init message bus subscriber hooks
2025-08-11 15:24:41 +02:00
Johannes Kirschbauer
bb6fab1168
api: init notification queue
2025-08-11 15:24:41 +02:00
Johannes Kirschbauer
0859a86ce0
ui/api: simplify types in api
2025-08-11 15:24:41 +02:00
hsjobeki
1524dc963e
Merge pull request 'ui/install: hook up {cancel, close} method' ( #4685 ) from install-cancel into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4685
2025-08-11 13:24:26 +00:00
Johannes Kirschbauer
eebd3fa4ec
ui/install: hook up {cancel, close} method
2025-08-11 15:15:00 +02:00
brianmcgee
a1ff794d57
Merge pull request 'feat: ui/machine-detail-writeability' ( #4577 ) from ui/machine-detail-writeability into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4577
2025-08-11 11:40:30 +00:00
pinpox
6693cda465
Merge pull request 'Refactor admin module' ( #4681 ) from fix-admin-service-split into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4681
2025-08-11 11:36:24 +00:00
Brian McGee
bf0691587d
feat(ui): integrate machine writeability
2025-08-11 12:34:00 +01:00
brianmcgee
deecb966ce
Merge pull request 'wip(ui): MachineTags component and tags section in machine detail pane' ( #4560 ) from ui/machine-tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4560
2025-08-11 11:31:11 +00:00
Brian McGee
2d2d9c9dca
chore(ui): remove some console.log statements
2025-08-11 12:21:36 +01:00
Brian McGee
e0e16de144
feat(ui): MachineTags component and tags section in machine detail pane
2025-08-11 12:21:33 +01:00
pinpox
75c60a6103
Refactor admin module
2025-08-11 13:13:24 +02:00
pinpox
1373670dfc
Merge pull request 'Migrate dyndns to clanServices' ( #4390 ) from migrate-dyndns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4390
2025-08-11 10:23:02 +00:00
pinpox
03b13e9ed4
Migrate dyndns to clanServices
2025-08-11 12:19:21 +02:00
pinpox
a79027c312
Merge pull request 'Improve hello-world example service' ( #4679 ) from better-hello into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4679
2025-08-11 10:16:18 +00:00
pinpox
bdcdf4e788
Merge branch 'main' into better-hello
2025-08-11 10:11:42 +00:00
pinpox
e3ed9d7b4b
Improve hello-world example service
2025-08-11 12:03:04 +02:00
Mic92
ddf2b57b3f
Merge pull request 'install: precache vars' ( #4680 ) from install-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4680
2025-08-11 10:02:33 +00:00
Jörg Thalheim
5ab3a164c8
install: precache vars
2025-08-11 11:51:06 +02:00
DavHau
073027f7c6
vars/generate: refactor - mark private as private
2025-08-11 11:46:25 +07:00
DavHau
d0374c0d7c
vars/keygen: add --no-interactive flags
...
This is useful to force on-interactive mode with automatic key selection. In unit tests this is necessary. When debugging a test on a real terminal interactive mode is not desired
2025-08-11 11:29:25 +07:00
clan-bot
6137701532
Merge pull request 'Update Clan Core for Checks' ( #4675 ) from update-clan-core-for-checks into main
2025-08-11 03:03:57 +00:00
clan-bot
1560c5f8cf
Update pinned clan-core for checks
2025-08-11 02:51:46 +00:00
Kenji Berthold
5d884cecc2
Merge pull request 'formatter: init sizelint' ( #4673 ) from kenji/init-sizelint into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4673
2025-08-10 21:57:10 +00:00
a-kenji
8a3cade082
formatter: init sizelint
2025-08-10 23:50:34 +02:00
Kenji Berthold
10b4389309
Merge pull request 'chore(inputs): bump treefmt-nix' ( #4672 ) from kenji/ke-bump-treefmt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4672
2025-08-10 21:49:12 +00:00
a-kenji
2879c72a89
chore(inputs): bump treefmt-nix
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/1298185c05a56bff66383a20be0b41a307f52228?narHash=sha256-B%2B3g9%2B76KlGe34Yk9za8AF3RL%2BlnbHXkLiVHLjYVOAc%3D' (2025-08-06)
→ 'github:numtide/treefmt-nix/7d81f6fb2e19bf84f1c65135d1060d829fae2408?narHash=sha256-2vX8QjO5lRsDbNYvN9hVHXLU6oMl%2BV/PsmIiJREG4rE%3D' (2025-08-10)
2025-08-10 23:41:48 +02:00
clan-bot
547e912c4e
Merge pull request 'Update treefmt-nix in devFlake' ( #4671 ) from update-devFlake-treefmt-nix into main
2025-08-10 20:28:18 +00:00
Kenji Berthold
87125f1ff7
Merge branch 'main' into update-devFlake-treefmt-nix
2025-08-10 20:25:17 +00:00
pinpox
804f606384
Merge pull request 'Migrate localbackup to clanServices' ( #4656 ) from migrate-localbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4656
2025-08-10 20:14:27 +00:00
gitea-actions[bot]
997c7de942
Update treefmt-nix in devFlake
2025-08-10 20:06:20 +00:00
hsjobeki
e7323999f2
Merge pull request 'Sops: generate key should always 'generate' a key pair when beeing called' ( #4664 ) from sops-keys into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4664
2025-08-10 12:09:47 +00:00
Johannes Kirschbauer
31d3997358
Secrets: fix tests
2025-08-10 13:06:42 +02:00
Johannes Kirschbauer
62b748624d
Secrets: allow to generate additional keys with --new
2025-08-10 13:04:34 +02:00
Johannes Kirschbauer
29f440a482
Sops: generate key should always 'generate' a key pair when beeing called
...
Check if you want to generate a new key as a caller
2025-08-10 13:04:34 +02:00
clan-bot
f15fd1be52
Merge pull request 'Update Clan Core for Checks' ( #4662 ) from update-clan-core-for-checks into main
2025-08-10 02:59:55 +00:00
clan-bot
beaacf81c6
Update pinned clan-core for checks
2025-08-10 02:51:46 +00:00
pinpox
1ae023f4bf
Remove old backup test
2025-08-10 00:56:36 +02:00
hsjobeki
9becd4e0c4
Merge pull request 'Vars: remove spurious 'fake_prompt' with mocked method' ( #4659 ) from cleaner into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4659
2025-08-09 22:53:18 +00:00
Johannes Kirschbauer
454b09a67e
Vars: remove unused return
2025-08-10 00:19:08 +02:00
Johannes Kirschbauer
787781c2ad
Vars: remove spurious 'fake_prompt' with mocked method
2025-08-10 00:18:01 +02:00
hsjobeki
469c6ba42d
Merge pull request 'UI: Resolve some more install blockers' ( #4657 ) from feat-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4657
2025-08-09 18:12:35 +00:00
hsjobeki
21f335fa15
Merge pull request 'fix: remove spurious test file' ( #4658 ) from cleaner into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4658
2025-08-09 18:08:30 +00:00
Johannes Kirschbauer
d98b76e734
fix: remove spurious test file
2025-08-09 20:04:11 +02:00
Johannes Kirschbauer
e2cb1fd83f
UI/install: run generators
2025-08-09 20:02:06 +02:00
Johannes Kirschbauer
91646b323a
API/generators: adjust filtering to match cli logic
2025-08-09 19:58:23 +02:00
Johannes Kirschbauer
121548ffb7
UI/onboarding: init admin instance
2025-08-09 19:56:23 +02:00
Johannes Kirschbauer
966a3ee919
UI/queries: init generators query
2025-08-09 19:56:23 +02:00
Johannes Kirschbauer
d007b0f1b3
API/generators: expose display attribute of prompts
2025-08-09 19:56:23 +02:00
Johannes Kirschbauer
034982bff2
API/modules: init create_service_instance endpoint
2025-08-09 19:56:04 +02:00
pinpox
7c37bddeea
Add localbackup clan service
2025-08-09 19:52:41 +02:00
Kenji Berthold
c1a87e5c6a
Merge pull request 'pkgs/clan/lib(directory): Add API function to query the configured directory' ( #4655 ) from kenji/ke-add-clan-dir-api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4655
2025-08-09 15:29:55 +00:00
a-kenji
e5bea3d49a
pkgs/clan/lib(directory): Add API function to query the configured directory
...
Similar to the implementation in #4526
Co-authored-by: Mayeu <m@mayeu.me >
2025-08-09 15:39:43 +02:00
hsjobeki
40682972ef
Merge pull request 'UI/install: add configure disk' ( #4653 ) from feat-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4653
2025-08-09 11:55:56 +00:00
Johannes Kirschbauer
6035455cba
Root-password: add display attributes
2025-08-09 13:48:32 +02:00
Johannes Kirschbauer
9be53a9a63
UI/install: add configure disk
2025-08-09 13:48:06 +02:00
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
hsjobeki
3c6567e67d
Merge pull request 'Zerotier: make networkId nullable' ( #4652 ) from install-fixing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4652
2025-08-09 09:22:23 +00:00
Johannes Kirschbauer
628e45293e
Update: avoid mutating and shadowing arguments
2025-08-09 11:18:50 +02:00
Johannes Kirschbauer
954c14513a
Zerotier: make networkId nullable
...
This prevents vars from evaluating if the var doesn't exist
Bootstrapping deadlock
2025-08-09 11:17:16 +02:00
clan-bot
cb8a01d448
Merge pull request 'Update Clan Core for Checks' ( #4651 ) from update-clan-core-for-checks into main
2025-08-09 03:00:19 +00:00
clan-bot
8e53e42b74
Update pinned clan-core for checks
2025-08-09 02:51:46 +00:00
Kenji Berthold
ed596a57f0
Merge pull request 'templates(flake-parts-minimal): Fix erroneous removal' ( #4648 ) from kenji/ke-fix-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4648
2025-08-08 23:07:00 +00: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
hsjobeki
46aee098c4
Merge pull request 'API: add sane defaults to some endpoints' ( #4645 ) from readonly into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4645
2025-08-08 19:08:02 +00:00
Johannes Kirschbauer
9d6735e8c4
Ui/install: machine targetHost & hw_report steps
2025-08-08 21:04:39 +02:00
Johannes Kirschbauer
47c94c51b6
UI: finish up create installer subflow
2025-08-08 21:03:53 +02:00
Johannes Kirschbauer
1eb567682c
API/ts: fix empty object is not nullish
2025-08-08 21:03:03 +02:00
Johannes Kirschbauer
fcd83e7a60
Machine: add install button
2025-08-08 21:02:30 +02:00
Johannes Kirschbauer
af4b00408a
UI/queries: add machine hw query
2025-08-08 21:01:24 +02:00
Johannes Kirschbauer
aaff3b9b38
UI/queries: remove unused argument
2025-08-08 21:01:03 +02:00
Johannes Kirschbauer
c13741602c
UI/select: make z-index adjustable
2025-08-08 20:59:55 +02:00
Johannes Kirschbauer
6cbe221f44
UI/modal: fix styling bugs
2025-08-08 20:58:53 +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
Mic92
df096fe53b
Merge pull request 'switch to flake-compat for private flake' ( #4639 ) from flake-compat into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4639
2025-08-08 13:14:07 +00:00
Jörg Thalheim
f248cc91ad
switch to flake-compat for private flake
2025-08-08 15:06:57 +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
lassulus
e2cb75784c
Merge pull request 'Add default bootstrapNodes for data-mesher service' ( #4555 ) from fix-4424 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4555
Reviewed-by: lassulus <clanlol@lassul.us >
2025-08-08 12:24:51 +00:00
pinpox
a8d48b22f8
Add default bootstrapnodes for data-mesher service
2025-08-08 11:18:08 +02: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
23573e16c4
Merge pull request 'Update flake-parts' ( #4620 ) from update-flake-parts into main
2025-08-08 07:18:42 +00:00
gitea-actions[bot]
eaee4e8cad
Update flake-parts
2025-08-08 17:08:03 +10: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
dc1cd03717
Merge pull request 'cli: fix missing newline in error message' ( #4634 ) from push-lnmsprtyuntw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4634
2025-08-08 05:30:05 +00:00
Michael Hoang
a71a5880c1
treewide: reformat
2025-08-08 15:28:37 +10:00
gitea-actions[bot]
6b137f21de
Update nixpkgs
2025-08-08 15:28:37 +10:00
Michael Hoang
fbc14bf20f
Merge pull request 'docs: fix command in Secrets guide' ( #4635 ) from push-mxkpvktxwypw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4635
2025-08-08 05:25:38 +00:00
Michael Hoang
2f2f3b6898
cli: fix missing newline in error message
2025-08-08 15:19:19 +10:00
Michael Hoang
3ae0f37bcb
docs: fix command in Secrets guide
2025-08-08 15:16:58 +10:00
clan-bot
e49d432542
Merge pull request 'Update Clan Core for Checks' ( #4633 ) from update-clan-core-for-checks into main
2025-08-08 03:00:34 +00:00
clan-bot
76955533cf
Update pinned clan-core for checks
2025-08-08 02:51:46 +00: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
hsjobeki
da99407e74
Merge pull request 'Vars: rename classmethod to get_machine_generators' ( #4629 ) from vars-fixing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4629
2025-08-07 13:50:38 +00:00
Johannes Kirschbauer
915178765b
Vars: rename classmethod to get_machine_generators
2025-08-07 15:31:17 +02:00
Johannes Kirschbauer
518de45d41
ui/install: hook up stepper store and api
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
7d23189c1c
ui/intall: extend stories to mock router and api
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
eec55f73a2
ui/stepper: add stepper store to hook
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
484d274c3c
ui/queries: add required flash data queries
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
a4b20f9167
UI/queries: migrate existing queries to useApiClient
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
dc7291c62b
UI/api: add api client provider
...
This allows to switch out the used api backend for testing purposes.
Or for different plattforms
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
a814a44bc6
UI/Select: add async option loading
2025-08-07 13:46:07 +02:00
Johannes Kirschbauer
86a6177126
UI/useClan: add error debugging
2025-08-07 13:46:07 +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
Johannes Kirschbauer
b9f60218d7
UI/install: create installer improve wording
2025-08-07 13:46:07 +02:00
clan-bot
f69e28a133
Merge pull request 'Update Clan Core for Checks' ( #4625 ) from update-clan-core-for-checks into main
2025-08-07 03:00:25 +00:00
clan-bot
1968230c28
Update pinned clan-core for checks
2025-08-07 02:51:46 +00:00
clan-bot
9cad074732
Merge pull request 'Update treefmt-nix' ( #4621 ) from update-treefmt-nix into main
2025-08-06 15:20:13 +00:00
gitea-actions[bot]
4859a9ab7c
Update treefmt-nix
2025-08-06 15:01:29 +00:00
hsjobeki
b53ecdc89d
Merge pull request 'UI/install: add machine progress, minor stepper fixes' ( #4619 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4619
2025-08-06 14:49:30 +00:00
Johannes Kirschbauer
19603e1a1c
UI/install: add machine progress
2025-08-06 16:44:30 +02:00
Johannes Kirschbauer
7d20f3a33b
UI/install: create installer improve wording
2025-08-06 16:43:48 +02:00
Johannes Kirschbauer
fa03c190f8
UI/install: split initial choice
2025-08-06 16:43:24 +02:00
Johannes Kirschbauer
65101ad55a
UI/steps: make step footer next text customizable
2025-08-06 16:42:45 +02:00
Johannes Kirschbauer
e5db3e269b
UI/stepper: hooks add helper to more typesafe define steps
2025-08-06 16:42:03 +02:00
Johannes Kirschbauer
073750e4c5
clanServices: update description of generators that can be left empty
2025-08-06 16:41:11 +02:00
DavHau
8bafbcb295
machines update: use 'localhost' for local build
2025-08-06 19:06:20 +07:00
hsjobeki
dbef6ced77
Merge pull request 'cubes and lighting: refinements on coloring of cubes and lighting to fit with design' ( #4617 ) from ui/3d-cubes-refinement into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4617
2025-08-06 10:47:00 +00:00
Timo
65e7f9e6ca
cubes and lighting: refinements on coloring of cubes and lighting to fit with design
2025-08-06 12:33:53 +02:00
Mic92
e1062ed97c
Merge pull request 'docs/update: mention build-host local and uploading flake inputs' ( #4614 ) from local-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4614
2025-08-06 10:18:28 +00:00
Jörg Thalheim
2eb1a56d8f
update.md: mention build-host local and uploading flake inputs
2025-08-06 12:14:35 +02:00
clan-bot
0f499fc651
Merge pull request 'Update Clan Core for Checks' ( #4608 ) from update-clan-core-for-checks into main
2025-08-06 03:00:32 +00:00
clan-bot
bcb7a1aa60
Update pinned clan-core for checks
2025-08-06 02:51:47 +00: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
clan-bot
c74d7857da
Merge pull request 'Update flake-parts' ( #4607 ) from update-flake-parts into main
2025-08-05 20:12:05 +00:00
gitea-actions[bot]
11405966c6
Update flake-parts
2025-08-05 20:00:50 +00:00
hsjobeki
220839598d
Merge pull request 'UI/install: bootstrap visuals for {createImage, Installer}' ( #4605 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4605
2025-08-05 17:34:14 +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
Johannes Kirschbauer
9e43285ba8
UI/install: bootstrap steps for {DiskSchema, Vars, Summary}
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
c0bc0417a6
UI/install: fix metaHeader reactive
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
c90b69d499
UI/install: clean up create steps
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
0240acdf3e
UI/modal: move common styling into meta header
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
92726ecebc
UI/install: installer steps bootstrap visuals {TargetHost,hw_report}
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
b8e9546762
UI/install: bootstrap visuals for createInstaller
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
2039f034b1
UI/steps: minor layout fixes
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
0a329f43a8
UI/Modal: add 'disablePadding'
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
bde0a2845c
UI/LoadingBar: allow injecting props
2025-08-05 19:29:06 +02:00
Johannes Kirschbauer
af3c6282c9
UI/Alert: make description optional
2025-08-05 19:29:06 +02:00
hsjobeki
73ab4d2a6e
Merge pull request 'ui/install: add disk selection step to image create' ( #4598 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4598
2025-08-05 16:16:54 +00:00
Johannes Kirschbauer
cc269c4f58
ui/install: add disk selection step to image create
2025-08-05 16:22:44 +02:00
Johannes Kirschbauer
20021a92ea
ui/next-button: fix interface should extend button
2025-08-05 16:22:02 +02:00
Johannes Kirschbauer
7b54e9b033
ui/loading-bar: move into component
2025-08-05 16:20:56 +02:00
hsjobeki
7971eceb74
Merge pull request 'UI: extend components to prepare install workflows' ( #4576 ) from install-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4576
2025-08-05 13:36:31 +00:00
Johannes Kirschbauer
49a5763f69
Install: split steps into files
2025-08-05 15:32:43 +02:00
Johannes Kirschbauer
10694e58c8
install: use typed stepper
2025-08-05 15:10:38 +02:00
Johannes Kirschbauer
0d919c4fce
hooks/stepper: add generic stepper hook
2025-08-05 15:09:29 +02:00
Johannes Kirschbauer
8cccf757a8
Fix: modal header slot was renamed to metaHeader
2025-08-05 13:52:03 +02:00
Johannes Kirschbauer
80c8cc8628
HostFileInput: allow overriding placeholder
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
ab63f0d7a4
divider: add extra class prop
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
06e0461ec9
Modal: add metaHeader slot, fix border styling
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
60ba00dd8f
Select: add simple select dropdown for single select
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
90ef55f040
Label: add support for kobalte select
2025-08-05 13:48:49 +02:00
Johannes Kirschbauer
de81a5d810
Modal: prepare for install flow
2025-08-05 13:48:49 +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
65f3cb562a
Merge pull request 'Reduce targetHost warning level' ( #4594 ) from fix-target-warning into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4594
2025-08-05 09:55:30 +00:00
Mic92
355ff648d7
Merge pull request 'consistently use tarball urls in documentation' ( #4589 ) from no-git-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4589
Reviewed-by: pinpox <clan@pablo.tools >
2025-08-05 09:55:15 +00: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
clan-bot
ebe206cdc0
Merge pull request 'Update Clan Core for Checks' ( #4593 ) from update-clan-core-for-checks into main
2025-08-05 09:02:50 +00:00
clan-bot
2a138d3248
Update pinned clan-core for checks
2025-08-05 08:53:28 +00:00
Kenji Berthold
77810b1d4f
Merge pull request 'clanServices: migrate syncthing module to clanServices' ( #4558 ) from ke-migrate-clan-module-syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4558
2025-08-05 08:25:07 +00:00
a-kenji
77c840c9ba
services/syncthing: Add basic usage documentation
2025-08-05 10:00:30 +02:00
a-kenji
9df7e6df1e
services/syncthing: Add eval-test
2025-08-05 10:00:30 +02:00
a-kenji
a5e51f658d
clanServices: migrate syncthing module to clanServices
...
Migrate the syncthing module from `clanModules` to `clanServices`.
2025-08-05 10:00:01 +02:00
clan-bot
98d5b3651b
Merge pull request 'Update sops-nix' ( #4591 ) from update-sops-nix into main
2025-08-04 20:12:26 +00:00
gitea-actions[bot]
713a1a550e
Update sops-nix
2025-08-04 20:01:21 +00:00
Jörg Thalheim
d51d656391
consistently use tarball urls in documentation
...
otherwise users not using our templates will find themselves missing
git.
2025-08-04 11:20:14 +02:00
lassulus
0f79af697e
Merge pull request 'simplify select debug output logic, add better error messages' ( #4582 ) from select-debug into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4582
2025-08-02 20:55:31 +00: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
clan-bot
79281aba90
Merge pull request 'Update flake-parts' ( #4581 ) from update-flake-parts into main
2025-08-02 00:13:08 +00:00
gitea-actions[bot]
dade91c292
Update flake-parts
2025-08-02 00:00:52 +00:00
clan-bot
d285a0e716
Merge pull request 'Update treefmt-nix' ( #4579 ) from update-treefmt-nix into main
2025-08-01 20:13:21 +00:00
gitea-actions[bot]
a97128db17
Update treefmt-nix
2025-08-01 20:01:25 +00:00
brianmcgee
ff7b49be5f
Merge pull request 'feat: ui/auto-resizing-textarea' ( #4562 ) from ui/auto-resizing-textarea into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4562
2025-08-01 09:40:33 +00: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
hsjobeki
e6ec331da0
Merge pull request 'vars: add display attribute submodule for customisable ux' ( #4559 ) from vars-display into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4559
Reviewed-by: DavHau <d.hauer.it@gmail.com >
2025-08-01 07:55:07 +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
Michael Hoang
efd9beba15
Merge pull request 'docs: macOS' ( #4563 ) from push-xptxwrqwvymq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4563
2025-08-01 05:49:35 +00:00
Michael Hoang
dc03a9183f
docs: macOS
2025-08-01 15:45:41 +10:00
Johannes Kirschbauer
ab3158ca07
vars/decrypt_dependencies: simplify
2025-08-01 04:01:43 +00:00
Brian McGee
75a1f7b67f
feat(ui): auto-resizing textarea
2025-07-31 18:50:39 +01:00
brianmcgee
d453720a57
Merge pull request 'feat(ui): add tooltips for general section in machine detail pane' ( #4561 ) from feat/machine-detail-tooltips into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4561
2025-07-31 17:48:27 +00:00
Brian McGee
a4331cc109
feat(ui): add tooltips for general section in machine detail pane
2025-07-31 18:38:56 +01: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
488ee1ae63
users/display: add display properties
2025-07-31 16:45:20 +02:00
Johannes Kirschbauer
fc2e619046
vars: add display attribute submodule for customizable ux
2025-07-31 16:35:15 +02:00
Johannes Kirschbauer
cf6c3604ca
generators_from_flake: vars always bind to store
2025-07-31 16:16:36 +02:00
hsjobeki
a3ea62caba
Merge pull request 'docs: add vars/gaph doc-strings' ( #4554 ) from vars-docs-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4554
2025-07-31 13:37:29 +00: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
d2529704d5
docs: Split up getting-started guide in a Physical and Virtual installation, and properly document how to install on non-NixOS machines
...
docs: git add docs
2025-07-31 17:06:44 +07: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
Qubasa
c39aa89e29
docs: Add a nixos-anywhere debugging hint
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
Jörg Thalheim
57eec8edb4
bump clan-core-for-checks
2025-07-30 20:15:44 +02:00
Jörg Thalheim
e99981cfaf
flake: fix privateInputs loading in nix store contexts
...
When clan-core is fetched via fetchgit (e.g. in tests), the devFlake/private
directory exists but cannot be loaded as a flake. This causes errors when
building test machines.
Fix by:
1. Adding a .skip-private-inputs marker file in clan-core-for-checks to
explicitly disable private inputs in test contexts
2. Checking for this marker file before attempting to load private inputs
3. Keeping the original tryEval approach as a fallback for compatibility
This ensures tests can run without errors while preserving the ability to
load private inputs in development environments.
2025-07-30 20:15:44 +02:00
Jörg Thalheim
ae0ea37437
add update test
2025-07-30 19:13:17 +02:00
Jörg Thalheim
15557cb532
test/installation: drop out-dated comment
2025-07-30 17:58:12 +02:00
Jörg Thalheim
8f3a0b59f3
update-hardware-configuration: remove unused CLAN_FLAKE
2025-07-30 17:49:28 +02:00
Jörg Thalheim
10f731c974
container-test-driver: fix rebuild and make container-test-driver importable
2025-07-30 17:49:28 +02:00
hsjobeki
0e5c8d1a33
Merge pull request 'ui/hostfile: convert to use css modules' ( #4540 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4540
2025-07-30 14:34:52 +00:00
Johannes Kirschbauer
e5f8c515cd
ui/hostfile: convert to use css modules
2025-07-30 16:30:46 +02:00
hsjobeki
e856d4018a
Merge pull request 'ui/button: hide loader when not loading' ( #4539 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4539
2025-07-30 13:50:35 +00:00
Johannes Kirschbauer
17b75500fb
ui/button: hide loader when not loading
2025-07-30 15:46:43 +02:00
Kenji Berthold
cf8b7f63fc
Merge pull request 'pkgs/clan/lib: Move get_clan_directories to dirs' ( #4538 ) from kenji/ke-directory-move into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4538
2025-07-30 13:17:37 +00:00
a-kenji
62c4f735ed
pkgs/clan/lib: Move get_clan_directories to dirs
2025-07-30 15:07:05 +02:00
brianmcgee
cba951b2c5
Merge pull request 'feat: ui/machine-detail-pane' ( #4531 ) from ui/machine-detail-pane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4531
2025-07-30 12:59:27 +00:00
clan-bot
ef6f652b92
Merge pull request 'Update treefmt-nix' ( #4492 ) from update-treefmt-nix into main
2025-07-30 12:39:59 +00:00
Johannes Kirschbauer
3d51cee4bb
ui/modal: autofocus first input
2025-07-30 12:31:10 +00: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
gitea-actions[bot]
6208a6e857
Update treefmt-nix
2025-07-30 12:28:55 +00:00
Johannes Kirschbauer
4759cce8a4
ui/modal: autofocus first input
2025-07-30 14:27:10 +02:00
a-kenji
c7ad875e7e
pkgs/clan/lib: Add clan api to get the relative clan directory
...
This is a Continuation of: #4519
2025-07-30 14:22:23 +02:00
hsjobeki
2ef292942f
Merge pull request 'ui/button: fix loader needs explizit styling, not stylable via css leakage anymore' ( #4536 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4536
2025-07-30 12:20:45 +00:00
Johannes Kirschbauer
b83f5d2ffc
ui/button: fix loader needs explizit styling, not stylable via css leakage anymore
2025-07-30 14:16:23 +02:00
hsjobeki
567e8b57cd
Merge pull request 'ui/modal: use css modules' ( #4535 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4535
2025-07-30 11:55:35 +00:00
Johannes Kirschbauer
7f1a7da5c7
ui/modal: use css modules
2025-07-30 13:51:47 +02:00
hsjobeki
bb92ffb898
Merge pull request 'ui/toolbarButton: fix selected state' ( #4533 ) from ui-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4533
2025-07-30 11:45:19 +00:00
Johannes Kirschbauer
7ed62c427c
ui/toolbarButton: fix selected state
2025-07-30 13:40:08 +02:00
Johannes Kirschbauer
596458d809
fix: set fixed height for SidebarSectionForm controls
2025-07-30 12:32:59 +01:00
Brian McGee
f677d96acf
feat(ui): add sidebar pane for machine detail
2025-07-30 12:32:58 +01:00
Brian McGee
2c3b0f3771
feat(ui): use keyed show to re-render Machine route when route changes
2025-07-30 12:32:57 +01:00
Brian McGee
ae20230a57
feat(ui): change machineID to machineName
...
And no longer base64 encode it in url params or cache keys.
The term used in the API is name, so this is aligning with that.
2025-07-30 12:32:57 +01:00
Kenji Berthold
549ba9bdc2
Merge pull request 'pkgs/cli/lib: Remove obsolete clan creation function' ( #4532 ) from kenji/ke-add-computed-directory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4532
2025-07-30 10:52:16 +00:00
a-kenji
e167137672
pkgs/cli/lib: Remove obsolete clan creation function
2025-07-30 12:41:42 +02:00
hsjobeki
e36735119c
Merge pull request 'ui/loader: transform to use css modules' ( #4530 ) from ui-css into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4530
2025-07-30 09:07:59 +00:00
Johannes Kirschbauer
f8cdac2a63
ui/debug: remove floating debug buttons
2025-07-30 11:04:22 +02:00
Johannes Kirschbauer
ea63b4411e
ui/splashscreen: transform to use css modules
2025-07-30 11:03:56 +02:00
Johannes Kirschbauer
a070fc74c1
ui/loader: transform to use css modules
2025-07-30 11:03:56 +02:00
DavHau
b30686269b
machines update: fix lacks a signature by a trusted key
...
Despite using `root` as the ssh user, `ssh-ng` still fails with:
`error: cannot add path '/nix/store/...' because it lacks a signature by a trusted key
`
This does not happen with `ssh` instead of `ssh-ng`
2025-07-30 15:15:57 +07:00
Jörg Thalheim
1626d179a0
run_machine_update: document missing flag
2025-07-30 09:54:50 +02:00
Jörg Thalheim
6ec38c33d7
container-test-driver: fixup /etc/passwd for unprivileged user
...
By default /etc/passwd in container build sandboxes have two users
(root,nixbld) mapped to root. This confuses nix especially it behaves
different if it runs as root. setuid/setgid() is not enough because ssh
will break if the current uid does not exist in /etc/passwd.
Along with this we now also only run the setup for setting up the
network bridge and cgroup filesystems once and not per container.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
fdfbed1a3f
nixos_test_lib/setup_ssh_connection: no forward in container tests
2025-07-30 09:54:50 +02:00
Jörg Thalheim
f44b8c63c2
nixos_test_lib/prepare_test_flake: return a Path instead of str
2025-07-30 09:54:50 +02:00
Jörg Thalheim
092ac21dcd
git_clan_flake_toplevel: gracefully handle permission errors
...
since this code is used as a default in the cli parser, we should not
crash on OSError because we wouldn't be abe to perform basic tasks such
as --help.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
bd6f7b03af
inline find_git_repo_root
2025-07-30 09:54:50 +02:00
Jörg Thalheim
0908a2efb8
don't resolve absolute paths for flake uri
...
pathlib.Path("git+file:///foo").resolve() might resolve to urls like
PosixPath('/home/joerg/work/clan/clan-core/git+file:/foo'). If those
then actually exist, this can have weird behavior. We should in general
avoid changing directories for everything except for subprocess.run.
2025-07-30 09:54:50 +02:00
Jörg Thalheim
6c84b2e100
container-test-driver: also setup network if we start a single container
2025-07-30 09:54:50 +02:00
Jörg Thalheim
de65619442
update: explain why we use sudo rather than --use-remote-sudo
2025-07-30 09:54:50 +02:00
DavHau
85dda9e125
machines update: refactor - simplify
...
This is an attempt to reduce cognitive load when trying to understand the host related logic in run_machine_update.
The change should not affect behavior.
Done:
- make it very clear early on, that build_host == target_host if build_host is not set.
- rename some variables to make relations more clear
- remove `deploy_host` variable. unnecessary complexity
- remove `become_root` variable. After simplifying via boolean algebra, this boils down to `build_host == target_host`.
2025-07-30 09:54:50 +02:00
hsjobeki
7961a92d32
Merge pull request 'ui/toolbar: fix overly specifify css selectors' ( #4525 ) from toolbar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4525
2025-07-30 06:48:52 +00:00
hsjobeki
50ba21316e
Merge pull request 'ui/sidebar: fix close animation' ( #4524 ) from sidebar-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4524
2025-07-29 17:14:33 +00:00
Johannes Kirschbauer
08342578f1
ui/toolbar: fix story types
2025-07-29 19:12:27 +02:00
Johannes Kirschbauer
9954653657
ui/toolbar: use css modules
2025-07-29 19:10:42 +02:00
Johannes Kirschbauer
6e71b541aa
ui/toolbar: fix overly specifify css selectors
2025-07-29 18:50:34 +02:00
Johannes Kirschbauer
0f72f12461
ui/sidebar: fix close animation
...
Animation needs static layout as a starting point
2025-07-29 18:03:00 +02:00
Kenji Berthold
db579e169c
Merge pull request 'pkgs/clan/lib: Fix directory functionality' ( #4519 ) from kenji/ke-fix-directory-usage into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4519
2025-07-29 16:01:35 +00:00
a-kenji
31438d6781
pkgs/clan/lib: Fix directory functionality
...
Fix the directory functionality of clan (clan.directory).
The python API interface was not able to distinguish if the directory
was set to anything other than `self.src`.
Breaking every command that relied on the clan directory, for example:
- `clan machines update`
- `clan machines update-hardware-config`
See more in #2906
This is the first step in fixing all those commands.
Individual command support and implementation will be implemented in
follow ups.
2025-07-29 17:51:12 +02:00
Kenji Berthold
eac21c5176
Merge pull request 'pkgs/clan/lib: Fix documentation of from_ssh_uri in the Remote class' ( #4523 ) from kenji/ke-fix-remote-documentation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4523
2025-07-29 15:47:47 +00:00
Kenji Berthold
2bd432bdb7
Merge pull request 'pkgs/clan/cli: Fix typo in machines update' ( #4522 ) from kenji/ke-machines-update-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4522
2025-07-29 15:46:18 +00:00
a-kenji
7ef09343ed
pkgs/clan/lib: Fix documentation of from_ssh_uri in the Remote class
2025-07-29 17:37:50 +02:00
a-kenji
8c2cee0e44
pkgs/clan/cli: Fix typo in machines update
2025-07-29 17:32:45 +02:00
hsjobeki
b421698f70
Merge pull request 'templates: fix urls for relative file paths' ( #4520 ) from fix-template-urls into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4520
2025-07-29 15:19:20 +00:00
hsjobeki
857b9d0260
Merge pull request 'docs/templates: add more docs for template urls' ( #4521 ) from docs-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4521
2025-07-29 15:11:15 +00:00
Johannes Kirschbauer
2776294de0
templates: url add support for home and abspath
2025-07-29 17:04:15 +02:00
Johannes Kirschbauer
c90b8d7401
templates/cli: add more help
2025-07-29 16:58:19 +02:00
Johannes Kirschbauer
5c746311c7
templates: init docs
2025-07-29 16:50:48 +02:00
Johannes Kirschbauer
7784df8180
templates: fix urls for relative file paths
2025-07-29 15:01:29 +02:00
Kenji Berthold
5d0ca5aff8
Merge pull request 'pkgs/clan/lib: Fix clan template creation when already in a flake' ( #4501 ) from kenji/ke-clan-flakes-create-existing-flake-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4501
2025-07-29 11:19:04 +00:00
a-kenji
3ef6b2f715
pkgs/clan/cli: Add test for builtin flakeref
2025-07-29 13:07:48 +02:00
Kenji Berthold
58053748b9
Merge pull request 'pkgs/clan/cli: Add clan flake validation to clan vars check' ( #4513 ) from kenji/ke-vars-check-validation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4513
2025-07-29 11:03:45 +00:00
DavHau
19a8101e98
Merge pull request 'pkgs/cli/create: Show less output by default' ( #4499 ) from kenji/ke-create-show-less-output into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4499
2025-07-29 10:45:16 +00:00
pinpox
e5cb5afb4b
Merge pull request 'Migrate postgresql to clan.core' ( #4466 ) from postgres-core into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4466
2025-07-29 09:50:08 +00:00
pinpox
b75cf516f6
Merge branch 'main' into postgres-core
2025-07-29 09:41:50 +00:00
pinpox
3c58e2f04e
Migrate postgresql to clan.core
2025-07-29 10:33:14 +02:00
Kenji Berthold
d814e98e94
Merge pull request 'pkgs/cli: Validate clan flake for clan machines list' ( #4512 ) from kenji/ke-fix-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4512
2025-07-29 08:29:36 +00:00
a-kenji
35315d9596
pkgs/clan/cli: Add clan flake validation to clan vars check
...
This now gives a clearer error than:
```
Traceback (most recent call last):
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/bin/.clan-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 516, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 113, in check_command
ok = check_vars(args.machine, args.flake, generator_name=args.generator)
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 103, in check_vars
status = vars_status(machine_name, flake, generator_name=generator_name)
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/check.py", line 41, in vars_status
generators = Generator.generators_from_flake(machine.name, machine.flake)
File "/nix/store/mznnb8il3njp6jxn5i57d0myjdh6cs0i-clan-cli/lib/python3.13/site-packages/clan_cli/vars/generate.py", line 67, in generators_from_flake
generators_data = flake.select_machine(
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'select_machine'
```
When not being in a flake.
2025-07-29 10:25:28 +02:00
a-kenji
86ac1c4405
pkgs/cli: Validate clan flake for clan machines list
2025-07-29 10:14:34 +02:00
hsjobeki
a06ba7f0f9
Merge pull request 'ui/refactor: move machine specifics from scene into MachineManager' ( #4511 ) from ui-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4511
2025-07-29 08:08:43 +00:00
Johannes Kirschbauer
323de27651
ui: fixup types
2025-07-29 10:03:42 +02:00
Johannes Kirschbauer
782e8b330d
UI: move machine specifics into MachineManager
2025-07-29 10:01:48 +02:00
Johannes Kirschbauer
682d8c786c
ui: add MachineManager
...
Handles maping solidjs signals to updating and maintaining a map of MachineRepr
2025-07-29 10:01:18 +02:00
Johannes Kirschbauer
9e32be4e48
ui: add machineRepr to handle machine visual representation
2025-07-29 10:00:36 +02:00
Johannes Kirschbauer
686976a143
ui: add objectRegistry for memory management
2025-07-29 10:00:12 +02:00
hsjobeki
a2404f5fbb
Merge pull request 'ui: disable scene rotation' ( #4510 ) from ui-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4510
2025-07-28 18:42:14 +00:00
Johannes Kirschbauer
a6a25075f7
ui: disable scene rotation
2025-07-28 20:38:17 +02:00
hsjobeki
ec71badc3c
Merge pull request 'ui: fix memory management in renderLoop' ( #4509 ) from ui-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4509
2025-07-28 18:34:02 +00:00
Johannes Kirschbauer
1c4469e20c
ui: fix memory management in renderLoop
2025-07-28 20:30:28 +02:00
hsjobeki
6fa4348aa6
Merge pull request 'ui: move rendering logic into renderLoop singleton' ( #4508 ) from ui-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4508
2025-07-28 18:25:29 +00:00
Johannes Kirschbauer
dac06531d4
ui: move rendering logic into renderLoop singleton
2025-07-28 20:20:42 +02:00
DavHau
cb89fb97f1
clan machines update: add --fetch-local feature
...
Motivation: updating a machine fails, if it depends on a private github repo, as the remote will likely not be authenticated.
This adds a new flag `--fetch-local` to `clan machines update` which fetches all flake inputs prior to building, then uploads them to the build-host.
This also adds a new error message, when flake inputs could not fetched, to hint the user to use `--fetch-local`
2025-07-28 17:01:42 +07:00
hsjobeki
6a8d7aa5fd
Merge pull request 'api: init get_machine_writeability' ( #4504 ) from cli-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4504
2025-07-28 08:47:43 +00:00
Luis Hebendanz
63bcfc4809
Merge pull request 'pkgs/cli: Remove uncommented logic from creation test' ( #4497 ) from kenji/ke-remove-uncommented into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4497
2025-07-28 03:48:57 +00:00
Johannes Kirschbauer
e73350f6af
test: fix add modules
2025-07-27 12:48:04 +02:00
Johannes Kirschbauer
98a0b9600b
api/writability: add docstring
2025-07-27 12:47:37 +02:00
Johannes Kirschbauer
abeb517a22
api/writability: add unit test
2025-07-27 00:03:05 +02:00
Johannes Kirschbauer
fbdbcfa6d5
InventoryStore: factor write into _write for actual disk interaction
2025-07-27 00:02:47 +02:00
Johannes Kirschbauer
303af9af6b
api: init get_machine_writeability
2025-07-27 00:01:51 +02:00
Johannes Kirschbauer
414e412e7e
persist/writeability: expose is writeable key helper
2025-07-27 00:01:36 +02:00
Johannes Kirschbauer
c2e84f11af
persist/util: add field helper
2025-07-27 00:01:07 +02:00
Johannes Kirschbauer
bf2eb000d5
api/set_machine: add unit tests
2025-07-26 23:59:51 +02:00
hsjobeki
b01029ccd4
Merge pull request 'pyproject: remove global SLF001 ignore' ( #4503 ) from cli-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4503
2025-07-26 18:28:06 +00:00
Johannes Kirschbauer
798c1a9277
pyproject: remove global SLF001 ignore
...
ignoring SLF001 (private member access) globally is not ideal, as it disables a valuable check throughout the entire codebase
disable SLF001 only for test files instead
2025-07-26 20:24:20 +02:00
hsjobeki
d6327e0bc9
Merge pull request 'adr-01: add clarifying sentence' ( #4502 ) from adr-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4502
2025-07-26 16:01:46 +00:00
Johannes Kirschbauer
f5b2be63d5
adr-01: add clarifying sentence
2025-07-26 17:58:02 +02:00
Kenji Berthold
6e904de655
Merge pull request 'pkgs/cli: machines install handle invalid character' ( #4488 ) from kenji/ke-clan-machines-install-prompt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4488
2025-07-26 13:29:10 +00:00
a-kenji
0a43721a45
pkgs/clan/lib: Fix clan template creation when already in a flake
...
Fix clan template creation when already in a flake.
Currently we already fail with very clear and descriptive error when
trying to evaluate the template of the flake we are in:
```
Failed to select template 'flake-parts' from flake '/tmp/superclan' (via attribute path: /tmp/superclan#clanInternals.templates.clan."flake-parts")
```
This is undesired behavior.
When we are trying to create a clan with `clan flakes create`.
We can't rely on the fact that the flake we are currently in exports flake templates.
Now we *try* to evaluate the flake we are in upon creation.
If there are no clan templates available, we now will fall back to
builtin templates.
Closes : #4472
2025-07-26 15:21:44 +02:00
a-kenji
51eb7bd0b5
pkgs/cli/create: Show less output by default
...
This masks the output of `nix flake update`, since it is quite verbose
and takes attention away to usually more interesting and pressing
information.
Example:
```
unpacking 'https://git.clan.lol/clan/clan-core/archive/main.tar.gz ' into the Git cache...
warning: creating lock file "/tmp/hoowowo/clan/flake.lock":
• Added input 'clan-core':
'1d8ac7b1b5 .tar.gz?narHash=sha256-eBxi0ZMwaALfMsP70N0FRMlOSq0qePv%2BjebVBHXlOqk%3D' (2025-07-25)
• Added input 'clan-core/data-mesher':
'18dfd42bdb .tar.gz?narHash=sha256-jyoEbaXa8/MwVQ%2BPajUdT63y3gYhgD9o7snO/SLaikw%3D' (2025-07-21)
• Added input 'clan-core/data-mesher/flake-parts':
follows 'clan-core/flake-parts'
• Added input 'clan-core/data-mesher/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/data-mesher/treefmt-nix':
follows 'clan-core/treefmt-nix'
• Added input 'clan-core/disko':
'github:nix-community/disko/545aba02960caa78a31bd9a8709a0ad4b6320a5c?narHash=sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb%2BmYCodI5uuB8%3D' (2025-07-21)
• Added input 'clan-core/disko/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/flake-parts':
'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e?narHash=sha256-TVcTNvOeWWk1DXljFxVRp%2BE0tzG1LhrVjOGGoMHuXio%3D' (2025-07-21)
• Added input 'clan-core/flake-parts/nixpkgs-lib':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/nix-darwin':
'github:nix-darwin/nix-darwin/e04a388232d9a6ba56967ce5b53a8a6f713cdfcf?narHash=sha256-HsJM3XLa43WpG%2B665aGEh8iS8AfEwOIQWk3Mke3e7nk%3D' (2025-06-30)
• Added input 'clan-core/nix-darwin/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/nix-select':
'69d8bf5961 .tar.gz?narHash=sha256-IVaoOGDIvAa/8I0sdiiZuKptDldrkDWUNf/%2BezIRhyc%3D' (2025-04-18)
• Added input 'clan-core/nixos-facter-modules':
'github:nix-community/nixos-facter-modules/14df13c84552a7d1f33c1cd18336128fbc43f920?narHash=sha256-uP9Xxw5XcFwjX9lNoYRpybOnIIe1BHfZu5vJnnPg3Jc%3D' (2025-06-20)
• Added input 'clan-core/nixpkgs':
'https://releases.nixos.org/nixpkgs/nixpkgs-25.11pre827262.be9e214982e2/nixexprs.tar.xz?narHash=sha256-lUi%2BsPH7Kuh9uP3PyfgbENcJGReUM8Ffk9GxGBFbSN8%3D ' (1980-01-01)
• Added input 'clan-core/sops-nix':
'github:Mic92/sops-nix/2c8def626f54708a9c38a5861866660395bb3461?narHash=sha256-GllP7cmQu7zLZTs9z0J2gIL42IZHa9CBEXwBY9szT0U%3D' (2025-07-15)
• Added input 'clan-core/sops-nix/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'clan-core/systems':
'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Added input 'clan-core/treefmt-nix':
'github:numtide/treefmt-nix/421b56313c65a0815a52b424777f55acf0b56ddf?narHash=sha256-tzbhc4XttkyEhswByk5R38l%2BztN9UDbnj0cTcP6Hp9A%3D' (2025-07-20)
• Added input 'clan-core/treefmt-nix/nixpkgs':
follows 'clan-core/nixpkgs'
• Added input 'flake-parts':
'github:hercules-ci/flake-parts/644e0fc48951a860279da645ba77fe4a6e814c5e?narHash=sha256-TVcTNvOeWWk1DXljFxVRp%2BE0tzG1LhrVjOGGoMHuXio%3D' (2025-07-21)
• Added input 'flake-parts/nixpkgs-lib':
follows 'clan-core/nixpkgs'
• Added input 'nixpkgs':
follows 'clan-core/nixpkgs'
```
Those are 48 lines that seldom carry actual useful information.
This can be shown on running `clan flakes create` with the `--debug`
flag.
Closes : #4496
2025-07-26 14:11:56 +02:00
Kenji Berthold
1d8ac7b1b5
Merge pull request 'pkgs/cli/lib: Allow clan templates list to function outside a clan' ( #4490 ) from kenji/ke-templates-list-without-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4490
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-07-25 14:32:15 +00:00
a-kenji
5b5f1975c5
pkgs/cli/lib: Allow clan templates list to function outside a clan
...
Allow `clan templates list` to function outside a clan.
Currently when bootstrapping a clan and trying to list the templates
it fails as follows:
```
Traceback (most recent call last):
File "/nix/store/pkrsr8zr90bps1fwrl8n74zbb9g038b8-clan-cli/bin/.clan-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/pkrsr8zr90bps1fwrl8n74zbb9g038b8-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 516, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/nix/store/pkrsr8zr90bps1fwrl8n74zbb9g038b8-clan-cli/lib/python3.13/site-packages/clan_cli/templates/list.py", line 11, in list_command
templates = list_templates(args.flake)
File "/nix/store/pkrsr8zr90bps1fwrl8n74zbb9g038b8-clan-cli/lib/python3.13/site-packages/clan_lib/templates/__init__.py", line 20, in list_templates
custom_templates = flake.select("clanInternals.inventoryClass.templatesPerSource")
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'select'
```
With the change we get the following output:
```
Available 'clan' templates
├── <builtin>
│ ├── default: Initialize a new clan flake
│ ├── flake-parts: Flake-parts
│ └── minimal: for clans managed via (G)UI
Available 'disko' templates
├── <builtin>
│ └── single-disk: A simple ext4 disk with a single partition
Available 'machine' templates
├── <builtin>
│ ├── flash-installer: Initialize a new flash-installer machine
│ └── new-machine: Initialize a new machine
```
Allowing to check for available templates without needing to have a
clan, which improves the bootstrapping experience.
2025-07-25 16:14:43 +02:00
Kenji Berthold
bac2f15668
Merge pull request 'docs: Fix typos in hero section of the documentation index' ( #4495 ) from kenji/ke-docs-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4495
2025-07-25 12:45:19 +00:00
Kenji Berthold
3804c62c7d
Merge pull request 'docs: Fix grammar of getting started card' ( #4494 ) from kenji/ke-fix-grammar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4494
2025-07-25 12:45:13 +00:00
a-kenji
326f418c88
pkgs/cli: Remove uncommented logic from creation test
2025-07-25 14:44:20 +02:00
a-kenji
9ebba12e5b
docs: Fix typos in hero section of the documentation index
2025-07-25 14:30:32 +02:00
a-kenji
1924d222e1
docs: Fix grammar of getting started card
2025-07-25 14:29:19 +02:00
Luis Hebendanz
15d88ba595
Merge pull request 'docs: Replace backup guide with the new one from Bruno Adele' ( #4493 ) from Qubasa/clan-core:improv_docs3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4493
2025-07-25 10:34:01 +00:00
Qubasa
986e74663a
docs: Replace backup guide with the new one from Bruno Adele
...
docs: fix build errors
2025-07-25 17:30:05 +07:00
hsjobeki
2d85230097
Merge pull request 'templates(default): Enable modern GNOME options by default' ( #4489 ) from kenji/ke-templates-enable-gnome into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4489
2025-07-25 09:57:05 +00:00
Luis Hebendanz
0e1fe60d8a
Merge pull request 'Improve landing page for docs, re-enable footer navigation' ( #4491 ) from Qubasa/clan-core:improv_docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4491
2025-07-25 09:32:44 +00:00
Qubasa
cad7d2d95f
docs: reword concepts description
...
docs: fix build errors
2025-07-25 16:29:22 +07:00
Qubasa
e1f57cd618
docs: Improve the documentation index page
2025-07-25 16:07:18 +07:00
Qubasa
51b4b0b647
docs: FIx old nix symlinks not being cleaned up
2025-07-25 15:20:26 +07:00
Qubasa
abc78bac57
docs: Add a navigation footer button
2025-07-25 15:20:03 +07:00
Luis Hebendanz
510ab2811a
Merge pull request 'docs(borgbackup): add detailed usage and management guide for borgbackup clanServices' ( #4484 ) from badele/fork-clan-core:docs/clanservices-borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4484
2025-07-25 07:43:44 +00:00
Bruno Adelé
5e81b26b87
fix(readme): correct relative link to state documentation
2025-07-25 09:08:08 +02:00
Bruno Adelé
2618d0d68f
Merge branch 'main' into docs/clanservices-borgbackup
2025-07-24 22:43:19 +00:00
lassulus
55d944ff55
Merge pull request 'networking module part 2' ( #4471 ) from networking_2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4471
2025-07-24 20:34:27 +00:00
lassulus
1a5b77d47a
refactor: generalize Tor support to SOCKS5 proxy in network module
...
- Replace Tor-specific implementation with generic SOCKS5 proxy support
- Change `tor_socks` boolean to `socks_port` and `socks_wrapper` parameters
- Move Tor functionality to clan_lib.network.tor submodule
- Add connection context managers to NetworkTechnologyBase
- Improve network abstraction with proper remote() and connection() methods
- Update all callers to use new SOCKS5 proxy interface
- Fix network ping command to properly handle connection contexts
This allows for more flexible proxy configurations beyond just Tor,
while maintaining backward compatibility for Tor usage.
2025-07-24 22:26:44 +02:00
lassulus
9e85c64139
clan-cli flake: show cache file location
2025-07-24 22:24:34 +02:00
lassulus
7dd9e6b97c
clan-cli vars: show which var we are getting in debug log
2025-07-24 22:24:15 +02:00
a-kenji
6cd75f5abd
templates(default): Enable modern GNOME options by default
...
Closes : #4474
2025-07-24 22:07:46 +02:00
a-kenji
6cea3e6c60
pkgs/cli: machines install handle invalid character
...
Re-request prompt, if invalid character is specified.
None is still treated as no as per CLI hint [y/N].
We now also accept Y/N.
Closes : #4475
2025-07-24 22:00:31 +02:00
hsjobeki
f5b4e44aed
Merge pull request 'docs: unify documentation' ( #4485 ) from migration-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4485
2025-07-24 14:59:03 +00:00
Johannes Kirschbauer
b6a04e4f12
docs: restore index page
2025-07-24 16:54:49 +02:00
Johannes Kirschbauer
caaf9dc4f3
docs: unify documentation
...
Strictly enforce diataxis
Use resource driven approach
Can extend later to add 'developer' link index page
2025-07-24 16:51:57 +02:00
Luis Hebendanz
9668c318dc
Merge pull request 'fix flake select logging' ( #4483 ) from Qubasa/clan-core:fix_flake_select_logging into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4483
2025-07-24 11:44:21 +00:00
Bruno Adelé
e5befb9226
docs(borgbackup): add detailed usage and management guide
2025-07-24 13:36:04 +02:00
Qubasa
033f34c0b8
ruff: Ignore accessed internal variable error as it is needed in tests quite often
...
remove incorrect doc change
2025-07-24 18:30:19 +07:00
Qubasa
7146c97362
clan_lib: Fix flake.select logging, now we log the first time select queries a path for the first time, it doesn't matter if it is cached or not.
2025-07-24 18:27:40 +07:00
brianmcgee
428451dca6
Merge pull request 'feat(ui): animate sidebar pane entry/exit' ( #4482 ) from ui/sidebar-pane-animation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4482
2025-07-24 10:44:49 +00:00
Brian McGee
d3d1489829
feat(ui): animate sidebar pane entry/exit
2025-07-24 11:40:54 +01:00
Qubasa
b74aa31b87
clan-lib: Fix missing logging for flake.select execution
2025-07-24 17:29:09 +07:00
brianmcgee
20550baa38
Merge pull request 'fix(ui): increase z index for sidebar dropdown' ( #4481 ) from fix/sidebar-dropdown-z-index into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4481
2025-07-24 09:27:16 +00:00
Brian McGee
f18e70dda6
fix(ui): increase z index for sidebar dropdown
2025-07-24 10:23:43 +01:00
hsjobeki
5ddeb41a5d
Merge pull request 'ui/cubes: add labels' ( #4469 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4469
2025-07-24 08:56:41 +00:00
brianmcgee
5d431094bb
Merge pull request 'feat(ui): waiting for necessary queries before dropping clan loader' ( #4479 ) from ui/refine-initial-loading into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4479
2025-07-24 08:52:54 +00:00
Johannes Kirschbauer
fb5229a5f3
ui/cubes: adjust label style
2025-07-24 10:52:21 +02:00
Brian McGee
694059d3ce
feat(ui): waiting for necessary queries before dropping clan loader
2025-07-24 09:48:57 +01:00
hsjobeki
2299feb809
Merge pull request 'docs/options: expose all clan options in NüschtOS search' ( #4478 ) from migration-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4478
2025-07-24 07:50:51 +00:00
Johannes Kirschbauer
59105bd1da
docs/options: expose all clan options in NüschtOS search
2025-07-24 09:42:21 +02:00
Luis Hebendanz
9018ffce7a
Merge pull request 'clan-lib: Remove injected "op_key" argument from all functions and do it over the threadcontext instead. Remove double threading in http server' ( #4477 ) from Qubasa/clan-core:get_rid_of_opkey into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4477
2025-07-24 07:38:58 +00:00
Qubasa
94662b722d
clan-lib: Remove injected "op_key" argument from all functions and do it over the threadcontext instead. Remove double threading in http server
2025-07-24 14:25:20 +07:00
pinpox
0ffad32657
Merge pull request 'Add general intro doc text' ( #4470 ) from add-banner-doctext into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4470
2025-07-23 16:36:03 +00:00
pinpox
50803c2e25
Add general intro doc text
2025-07-23 18:32:28 +02:00
Johannes Kirschbauer
334fe45adc
ui/cubes: add labels
2025-07-23 16:41:24 +02:00
hsjobeki
ebdd3e8413
Merge pull request 'ui/cubes: reactive wiring, use orthographic camera' ( #4468 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4468
2025-07-23 14:09:42 +00:00
hsjobeki
ffe58fc189
Merge pull request 'feat(ui): move toolbar lower down' ( #4467 ) from ui/refine-toolbar-position into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4467
2025-07-23 14:07:02 +00:00
Johannes Kirschbauer
7065464227
ui/cubes: reactive updates, use orthographic
2025-07-23 16:05:51 +02:00
Johannes Kirschbauer
5f567e2473
hooks: add maybeMachine hook
2025-07-23 16:04:55 +02:00
Johannes Kirschbauer
46ffcdf182
ui/css: format extra css
2025-07-23 16:04:41 +02:00
Johannes Kirschbauer
9afeec5683
ui: remove left over process-compose-2d.yml
2025-07-23 16:04:16 +02:00
Luis Hebendanz
329047e865
Merge pull request 'Move developer guides to the "Developer" section' ( #4462 ) from Qubasa/clan-core:dev_docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4462
2025-07-23 12:10:45 +00:00
Qubasa
5c7e6b3830
docs: Move developer guides into the Developer section
...
nix fmt
address davhau review
2025-07-23 18:31:19 +07:00
hsjobeki
1e51439414
Merge pull request 'pytest: add simple clan_flake function' ( #4453 ) from api-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4453
2025-07-23 10:27:05 +00:00
Brian McGee
a472f7f696
feat(ui): move toolbar lower down
2025-07-23 11:23:31 +01:00
Johannes Kirschbauer
29c764773f
pytest: clan_flake allow usage of plain dicts
2025-07-23 12:15:54 +02:00
brianmcgee
af056f2355
Merge pull request 'feat(ui): set a fixed width for welcome screen' ( #4464 ) from ui/max-width-onboarding into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4464
2025-07-23 09:32:12 +00:00
Brian McGee
6803f3c6f5
feat(ui): set a fixed width for welcome screen
2025-07-23 10:27:33 +01:00
brianmcgee
6b9ce0da66
Merge pull request 'feat(ui): add sidebar and flesh out app routes' ( #4463 ) from ui/add-sidebar-nav into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4463
2025-07-23 09:26:43 +00:00
Brian McGee
38d62af1ba
feat(ui): add sidebar and flesh out app routes
2025-07-23 10:16:00 +01:00
Luis Hebendanz
c880ab7cc1
Merge pull request 'feat(docs): enhance styling for typeset' ( #4461 ) from badele/fork-clan-core:docs/update-style into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4461
2025-07-23 08:50:44 +00:00
Bruno Adelé
613a1fb553
feat(docs): enhance styling for typeset
2025-07-23 10:08:52 +02:00
Kenji Berthold
14f255c2d5
Merge pull request 'pkgs/cli: Fix fstring interplolation' ( #4459 ) from kenji/ke-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4459
2025-07-23 07:55:04 +00:00
hsjobeki
eaa5a9a204
Merge pull request 'ui/scene: add timeout for splashscreen' ( #4460 ) from ui-scene-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4460
2025-07-23 07:55:01 +00:00
Johannes Kirschbauer
34ccbcc13d
ui/scene: add timeout for splashscreen
2025-07-23 09:50:59 +02:00
a-kenji
f58a120db1
pkgs/cli: Fix fstring interplolation
...
Closes : #4458
2025-07-23 09:43:51 +02:00
Qubasa
5b59cfbc34
docs: Remove emojies from getting started
2025-07-23 13:57:51 +07:00
DavHau
cc69892e3b
create clan: better info about existing sop keys
...
When creating a new clan, the key selection now looks like this:
```
Found existing admin keys on this machine:
1: type: AGE
pubkey: age1xyz...
source: /home/grmpf/.config/sops/age/keys.txt
2: type: PGP
pubkey: abc...
source: SOPS_PGP_FP
Select keys to use (comma-separated list of numbers, or leave empty to select all):
```
This is achieved by adding a `source` attribute to `SopsKey`.
2025-07-23 13:22:19 +07:00
DavHau
c94330ee9c
clan create: fix failure when path was single word
...
This should better be fixed with types. It should be possible to initialize a flake from a Path, making it very clear that a path `foo` is meant and not a remote flake called `foo`
2025-07-23 12:33:57 +07:00
Jörg Thalheim
377056e80c
clan flakes create: initialize keys automatically ( #4435 )
...
fixes https://git.clan.lol/clan/clan-core/issues/2665
fixes https://git.clan.lol/clan/clan-core/issues/4407
Co-authored-by: DavHau <d.hauer.it@gmail.com >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4435
Co-authored-by: Jörg Thalheim <joerg@thalheim.io >
Co-committed-by: Jörg Thalheim <joerg@thalheim.io >
2025-07-23 04:44:55 +00:00
Johannes Kirschbauer
1dbaff7b61
pytest: add simple clan_flake function
...
Takes a clan nix expression as a string
Is empty by default and does nothing
Expensive lockfile patching is done once per session
2025-07-22 23:24:40 +02:00
clan-bot
bf416f1b5f
Merge pull request 'Update disko' ( #4452 ) from update-disko into main
2025-07-22 20:12:35 +00:00
gitea-actions[bot]
d83bcf638f
Update disko
2025-07-22 20:00:49 +00:00
Kenji Berthold
acfe3b0a04
Merge pull request 'pkgs/clan: Fix common command flags registering' ( #4451 ) from kenji/ke-completions-add-flake into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4451
2025-07-22 18:10:15 +00:00
a-kenji
04f36a4cb1
pkgs/clan: Fix common command flags registering
...
Fix common command flags registering.
Register the common command flags before triggering autocomplete,
that way we can use the flags in the autocompletions themselves.
2025-07-22 19:56:07 +02:00
hsjobeki
41a0138c16
Merge pull request 'clan/create: api fixes and unit tests' ( #4449 ) from api-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4449
2025-07-22 17:28:37 +00:00
Johannes Kirschbauer
f1be729206
create/clan: unit tests init
2025-07-22 19:17:41 +02:00
a-kenji
cacd853374
pkgs/cli: Support the flake argument for clan shell completions
2025-07-22 19:06:42 +02:00
brianmcgee
07caa6890f
Merge pull request 'chore(ui): finish simplifying clan query params' ( #4450 ) from ui/simplify-clan-params into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4450
2025-07-22 16:49:29 +00:00
Brian McGee
9706285474
chore(ui): finish simplifying clan query params
2025-07-22 17:45:23 +01:00
Kenji Berthold
1510b4014b
Merge pull request 'pkgs/cli: Autocomplete various vars subcommands' ( #4447 ) from kenji/ke-complete-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4447
2025-07-22 16:27:32 +00:00
lassulus
d5e0f7e505
Merge pull request 'fix: handle arbitrary store paths references in flake cache' ( #4441 ) from fix-flake-caching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4441
2025-07-22 16:18:15 +00:00
Johannes Kirschbauer
b9e5cf1220
clan/create: use post_processing hook
2025-07-22 18:14:56 +02:00
Johannes Kirschbauer
f4eb59c373
create/clan: add validation to create arguments
2025-07-22 18:13:56 +02:00
brianmcgee
09b92084c8
Merge pull request 'ui/simplify-clan-params' ( #4448 ) from ui/simplify-clan-params into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4448
2025-07-22 16:13:37 +00:00
Johannes Kirschbauer
06257d044a
test_create: fix duplicated variables
2025-07-22 18:12:51 +02:00
Johannes Kirschbauer
34ca7a4a7b
create/clan: add abstraction for initial meta
...
Directly passing through persisted data is bad
2025-07-22 18:12:17 +02:00
brianmcgee
ce70be5ca3
Merge pull request 'Add tanstack devtools to UI' ( #4446 ) from feat/tanstack-devstools into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4446
2025-07-22 16:11:27 +00:00
Brian McGee
dd3051d62b
chore(ui): simplify clan uri params
...
Now that everything lives under `/clans/:clanURI` we don't need to handle the case where the param might be null.
2025-07-22 17:08:12 +01:00
Brian McGee
5f290fed7f
chore(ui): remove solid-devtools
...
It's a chrome extension which is pointless inside of webview which is webkit.
2025-07-22 17:07:44 +01:00
Johannes Kirschbauer
a34ec8ed22
templates: add post_process hook for tests or other extensions
2025-07-22 18:07:26 +02:00
Johannes Kirschbauer
4597b207e7
pytest: fixtures offline_flake_hook init
2025-07-22 18:06:47 +02:00
Johannes Kirschbauer
9257cb02ee
validator: hostname init
2025-07-22 18:06:27 +02:00
a-kenji
cd8a1d9a32
pkgs/cli: Autocomplete various vars subcommands
...
Add autocomplete for `vars` for the following subcommands:
```
clan vars get [machine] [var_id]
clan vars set [machine] [var_id]
```
2025-07-22 18:03:55 +02:00
Brian McGee
ee9ae21bd2
feat(ui): add tanstack devtools for debugging queries
2025-07-22 16:33:53 +01:00
Jörg Thalheim
bd1451ce18
fix: handle arbitrary store paths references in flake cache
...
Previously, paths like /nix/store/hash-file.nix:123 were incorrectly
treated as pure store paths and wrapped in {"outPath": ...}, breaking
the cache. This fix:
- Adds helper functions to properly detect and handle store references
- Distinguishes between pure store paths and paths with metadata (line numbers)
- Supports multiple store references in a single string
- Handles custom NIX_STORE_DIR correctly
- Ensures existence checks work for all store references
Also fixes test_cache_gc to delete NIX_REMOTE for proper local store testing.
2025-07-22 17:13:04 +02:00
pinpox
a94cc4b7f7
Merge pull request 'Add wait_for_file testing helper' ( #4442 ) from add-wait-for-file into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4442
2025-07-22 14:38:07 +00:00
pinpox
cf2ccd7e14
Add wait_for_file testing helper
2025-07-22 16:27:20 +02:00
hsjobeki
69ab00b34b
Merge pull request 'store: move merge_objects into persistence helpers' ( #4440 ) from api-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4440
2025-07-22 13:12:04 +00:00
Johannes Kirschbauer
0043870882
merge_objects: add unit tests
2025-07-22 15:01:00 +02:00
Johannes Kirschbauer
0ea42ae541
store: move merge_objects into persistence helpers
2025-07-22 15:01:00 +02:00
Kenji Berthold
ad50cfbcbb
Merge pull request 'docs: Fix typo' ( #4439 ) from kenji/ke-typo-getting-started into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4439
2025-07-22 11:30:58 +00:00
Kenji Berthold
cf65ae81cf
Merge pull request 'pkgs/cli: Add disko template completion to clan templates apply disk' ( #4438 ) from kenji/ke-complete-disko into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4438
2025-07-22 11:26:58 +00:00
a-kenji
19ca7d9a77
docs: Fix typo
2025-07-22 13:26:06 +02:00
Kenji Berthold
0b2ee45526
Merge pull request 'pkgs/cli: Add completions to clan flakes create --template [TEMPLATE]' ( #4437 ) from kenji/ke-complete-template into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4437
2025-07-22 11:25:04 +00:00
a-kenji
28e39ada84
pkgs/cli: Add disko template completion to clan templates apply disk
2025-07-22 13:04:45 +02:00
a-kenji
fb52b955cc
pkgs/cli: Add completions to clan flakes create --template [TEMPLATE]
...
Add completions to `clan flakes create --template [TEMPLATE]`
2025-07-22 13:01:45 +02:00
pinpox
77f75b916d
Merge pull request 'Fix store symlinks in container test' ( #4436 ) from fix-container-symlinks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4436
2025-07-22 10:45:02 +00:00
pinpox
97022ba873
Fix store symlinks in container test
2025-07-22 12:28:11 +02:00
Luis Hebendanz
aee71b3fd6
Merge pull request 'pkgs/cli: Validate flake for network subcommands' ( #4433 ) from kenji/ke-networks-validate-flake into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4433
2025-07-22 05:27:45 +00:00
Luis Hebendanz
76535852e4
Merge pull request 'pkgs/cli: Add machine to output while uploading sources' ( #4429 ) from kenji/ke-update-add-machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4429
2025-07-22 05:27:06 +00:00
Kenji Berthold
a694e8d122
Merge pull request 'pkgs/cli: Fix typo in networking help' ( #4431 ) from kenji/ke-network-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4431
2025-07-21 20:38:54 +00:00
Kenji Berthold
93fee8263f
Merge pull request 'pkgs/cli: Fix typo in networking list help' ( #4432 ) from kenji/ke-networks-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4432
2025-07-21 20:23:55 +00:00
clan-bot
28859641eb
Merge pull request 'Update flake-parts' ( #4430 ) from update-flake-parts into main
2025-07-21 20:18:37 +00:00
a-kenji
3a2be243c0
pkgs/cli: Add machine to output while uploading sources
...
Add the `machine` to it's output while uploading sources.
2025-07-21 22:15:43 +02:00
a-kenji
9fdf41813a
pkgs/cli: Validate flake for network subcommands
...
When running for example `clan networks list` we now get a reasonable
error message, instead of:
```
Traceback (most recent call last):
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/bin/.clan-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 516, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/lib/python3.13/site-packages/clan_cli/network/list.py", line 12, in list_command
networks = networks_from_flake(flake)
File "/nix/store/8ygq8bfxqydk2917mmg32wy9wb0qzzzd-clan-cli/lib/python3.13/site-packages/clan_lib/network/network.py", line 106, in networks_from_flake
networks_ = flake.select("clan.exports.instances.*.networking")
^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'select'
```
2025-07-21 22:13:48 +02:00
a-kenji
04f3a9480f
pkgs/cli: Fix typo in networking list help
2025-07-21 22:07:29 +02:00
a-kenji
f7762b3119
pkgs/cli: Fix typo in networking help
2025-07-21 22:06:03 +02:00
gitea-actions[bot]
634e4116cf
Update flake-parts
2025-07-21 20:00:52 +00:00
Kenji Berthold
015c09b0e5
Merge pull request 'docs: Fix typos in getting-started guide' ( #4428 ) from kenji/ke-getting-started-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4428
2025-07-21 18:54:37 +00:00
Kenji Berthold
6e0a43c777
Merge pull request 'clanServices/zerotier: Make moon configuration optional' ( #4427 ) from kenji/ke-zerotier-make-moon-optional into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4427
2025-07-21 18:54:30 +00:00
a-kenji
7fc527b649
docs: Fix typos in getting-started guide
2025-07-21 20:47:41 +02:00
a-kenji
2f0ba0782a
clanServices/zerotier: Make moon configuration optional
...
Make moon configuration optional. Before the `attrNames` evaluated the
attributes eagerly, which in practice meant that you had to set a moon,
if there was a controller configured, which is not on purpose.
2025-07-21 20:43:25 +02:00
hsjobeki
bc3b6c792f
Merge pull request 'services: fix extraModules as path' ( #4422 ) from fix-extra-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4422
2025-07-21 17:56:58 +00:00
Johannes Kirschbauer
b5a3d617fd
services: fix extraModules as path
2025-07-21 19:51:16 +02:00
Mic92
579492f071
Merge pull request 'migration guide: fix moon example' ( #4423 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4423
2025-07-21 17:11:14 +00:00
Jörg Thalheim
0ed02da28f
migration guide: fix moon example
2025-07-21 19:07:47 +02:00
Mic92
4abfbb05a2
Merge pull request 'extend migration guide' ( #4421 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4421
2025-07-21 16:23:58 +00:00
Jörg Thalheim
6126cccbcc
extend migration guide
2025-07-21 18:10:58 +02:00
brianmcgee
9e77d16e6d
Merge pull request 'fix(ui): alignment issues with forms' ( #4418 ) from ui/minor-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4418
2025-07-21 12:13:36 +00:00
Brian McGee
53752d4a69
fix(ui): alignment issues with forms
2025-07-21 13:09:53 +01:00
DavHau
38955f763f
clan default template: add inputs to specialArgs
2025-07-21 18:39:51 +07:00
brianmcgee
bd97896899
Merge pull request 'fix(ui): remove extra margin in modal title' ( #4415 ) from ui/minor-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4415
2025-07-21 10:22:15 +00:00
Brian McGee
d6efeb3295
fix(ui): remove extra margin in modal title
2025-07-21 11:18:22 +01:00
Luis Hebendanz
e3247d9c36
Merge pull request 'Fix multiple bugs in 'clan networking' command' ( #4389 ) from Qubasa/clan-core:deploy_network into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4389
2025-07-21 07:35:54 +00:00
Qubasa
4055508588
clan-lib: Add object_name to ClassSource and don't override __repr__ from NetworkTechnologyBase instead overwrite it in ClassSource
2025-07-21 14:25:01 +07:00
Qubasa
ff65dfc883
clanServices: change tor service to have "client" and "server" roles instead of just "default"
...
also improve error message when user forgot to update machine in clan
networking command
2025-07-21 14:25:01 +07:00
Qubasa
1f5ef04a61
clan-lib: Fix network.py missing vars generation and use import_with_source for better trace ability
2025-07-21 12:40:49 +07:00
Qubasa
89f0e90910
clan-lib: Init import_utils to add debug information to dynamically imported modules
2025-07-21 12:40:49 +07:00
Qubasa
137aa71529
clan-lib: Fix is_running of tor.py
2025-07-21 12:40:49 +07:00
Qubasa
4b5273fbc1
clanServices: Fix tor service not exposing SOCKS port
2025-07-21 12:40:49 +07:00
clan-bot
aed48be645
Merge pull request 'Update data-mesher' ( #4414 ) from update-data-mesher into main
2025-07-21 05:16:44 +00:00
gitea-actions[bot]
5fdc9823d1
Update data-mesher
2025-07-21 05:00:49 +00:00
clan-bot
f6284a7ac2
Merge pull request 'Update treefmt-nix' ( #4405 ) from update-treefmt-nix into main
2025-07-20 15:15:54 +00:00
gitea-actions[bot]
72473746ff
Update treefmt-nix
2025-07-20 15:01:26 +00:00
hsjobeki
4b36b3e07c
Merge pull request 'ui/scene: mock create machine modal for testing' ( #4404 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4404
2025-07-19 16:23:56 +00:00
Johannes Kirschbauer
5a63eeed4e
ui/scene: mock create machine modal for testing
2025-07-19 18:19:37 +02:00
Johannes Kirschbauer
ac96d67f09
components/modal: fix missing onClose call
2025-07-19 18:19:19 +02:00
Johannes Kirschbauer
d01342aa79
components/modal: add missing properties {mount, class}
2025-07-19 18:18:56 +02:00
Johannes Kirschbauer
2d404254da
ui/scene: fix initBase visibility
2025-07-19 18:18:05 +02:00
Johannes Kirschbauer
71b69c1010
ui/scene: add promise based create machine callback"
2025-07-19 18:17:38 +02:00
Johannes Kirschbauer
f155c68efe
ui/scene: fix animateToPosition
2025-07-19 18:16:53 +02:00
hsjobeki
e57741b60c
Merge pull request 'ui/scene: clean up initBase' ( #4403 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4403
2025-07-19 12:51:04 +00:00
Johannes Kirschbauer
c9cacfcf62
ui/scene: fix typing checks
2025-07-19 14:47:23 +02:00
Johannes Kirschbauer
2d937b80b1
ui/scene: clean up initBase
2025-07-19 14:40:32 +02:00
clan-bot
e8b91e63bc
Merge pull request 'Update treefmt-nix' ( #4402 ) from update-treefmt-nix into main
2025-07-19 10:17:05 +00:00
gitea-actions[bot]
a9d6fa7712
Update treefmt-nix
2025-07-19 10:01:30 +00:00
hsjobeki
65a23983c2
Merge pull request 'ui/scene: add loading splash screen' ( #4400 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4400
2025-07-18 17:42:15 +00:00
Johannes Kirschbauer
c181400267
ui/scene: add loading splash screen
2025-07-18 19:37:06 +02:00
hsjobeki
e8ff0d1ad4
Merge pull request 'ui/render: optimize rendering, requestRenderIfNotRequested' ( #4398 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4398
2025-07-18 17:36:44 +00:00
Johannes Kirschbauer
f9f8a947e2
ui/splash: add scene splash screen
2025-07-18 19:36:02 +02:00
Johannes Kirschbauer
c5b0154af7
ui/logos: add darknet-builder logo
2025-07-18 19:35:11 +02:00
brianmcgee
864742f05f
Merge pull request 'feat(ui): add creating cube animation' ( #4399 ) from ui/creating-animation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4399
2025-07-18 16:39:08 +00:00
Brian McGee
38b043f625
feat(ui): add creating cube animation
2025-07-18 17:31:30 +01:00
Johannes Kirschbauer
174e66ef95
ui/render: optimize rendering, requestRenderIfNotRequested
2025-07-18 18:15:30 +02:00
hsjobeki
315049de20
Merge pull request 'ui/controls: replace manual listeners with mapControl' ( #4397 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4397
2025-07-18 15:49:36 +00:00
Johannes Kirschbauer
2e577dbd1e
ui/controls: replace manual listeners with mapControl
2025-07-18 17:45:53 +02:00
Mic92
a9b457e063
Merge pull request 'clanServices/wifi: handle multiple instances' ( #4260 ) from nim65s/clan-core:multi-wifi into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4260
2025-07-18 15:19:24 +00:00
hsjobeki
4281770ec7
Merge pull request 'ui/scene: hook up api' ( #4388 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4388
2025-07-18 15:15:41 +00:00
Johannes Kirschbauer
1bd950fa39
ui/scene: remove all unneded complexity to reduce complexity and improve performance
2025-07-18 17:12:09 +02:00
Johannes Kirschbauer
e37b61240b
ui/routing: move scene down clans/:id"
2025-07-18 17:11:32 +02:00
Johannes Kirschbauer
23d2975bb5
ui/store: add methods for sceneData
2025-07-18 17:11:04 +02:00
Johannes Kirschbauer
d441d4c1c1
ui/hooks: add overloaded useClanUri
2025-07-18 17:10:39 +02:00
Mic92
840cb7e2cb
Merge pull request 'nginx: drop recommendedZstdSettings' ( #4396 ) from zstd into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4396
2025-07-18 14:23:52 +00:00
Jörg Thalheim
cf232e1002
nginx: drop recommendedZstdSettings
...
nixpkgs no longer recommends it.
2025-07-18 16:17:36 +02:00
Mic92
7414dc6e7e
Merge pull request 'clan-app: fix x86_64-darwin build' ( #4395 ) from darwin-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4395
2025-07-18 14:10:26 +00:00
Jörg Thalheim
d97f997349
clan-app: fix x86_64-darwin build
2025-07-18 16:06:12 +02:00
pinpox
0621ae1ca6
Merge pull request 'fix workfow' ( #4393 ) from fix-clan-core-workflow into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4393
2025-07-18 13:37:56 +00:00
pinpox
992048e1b2
Fix update-clan-core-for-checks script
...
create-pr needs to use /bin/sh to work. This PR makes the script posix
compliant, replacing any bash specific features with plain sh
alternatives
2025-07-18 15:33:36 +02:00
Mic92
261cad7674
Merge pull request 'build x86_64-darwin on main every few hours' ( #4392 ) from darwin-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4392
2025-07-18 12:43:17 +00:00
Jörg Thalheim
a012e4b1af
build x86_64-darwin on main every few hours
2025-07-18 14:39:07 +02:00
Guilhem Saurel
158b98ee05
clanServices/wifi: fix for multiple instances
...
Without this, `nix build .#checks.x86_64-linux.wifi` fails with:
```
error: The option `nodes.first.systemd.services.NetworkManager-setup-secrets.serviceConfig.ExecStart' has conflicting definition values:
- In `/nix/store/x0…45-source/clanServices/wifi/default.nix, via option mappedServices."self-@clan/wifi".roles.default.perInstance, via option nixosModule': <derivation wifi-secrets>
- In `/nix/store/x0…45-source/clanServices/wifi/default.nix, via option mappedServices."self-@clan/wifi".roles.default.perInstance, via option nixosModule': <derivation wifi-secrets>
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
```
2025-07-17 23:30:50 +02:00
Guilhem Saurel
14d367e50f
clanServices/wifi: update test with a second instance
2025-07-17 23:30:47 +02:00
lassulus
48c575699e
Merge pull request 'network module + CLI' ( #4344 ) from networking into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4344
2025-07-17 13:36:53 +00:00
lassulus
60768cc537
Add networking module
...
This adds a (for now hidden) clan network command that exposes list,
ping, overview subcommands to get informations about configured
networks.
ClanServices can now use the exports to define network specific
information.
This is not the complete feature yet, as we are lacking more tests and
documentation, but merging this now makes it easier to iterate.
2025-07-17 15:23:08 +02:00
Johannes Kirschbauer
c26dff282b
ui/queries: init queries folder
2025-07-17 13:49:16 +02:00
hsjobeki
5022f6f26c
Merge pull request 'ui/clan: rework routing concept' ( #4385 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4385
2025-07-17 11:39:33 +00:00
Johannes Kirschbauer
94b93074bc
ui/query: add correct resource path
2025-07-17 13:35:50 +02:00
Johannes Kirschbauer
d962033236
ui/clan: rework routing concept
2025-07-17 10:54:48 +02:00
Johannes Kirschbauer
a548851245
ui/hooks: useMaybeClanUri init hook
...
Needed for pre-rendering the cube scene with clanURI = null
When it later receives a value scene will get populated without completely re-rendering
2025-07-17 10:51:32 +02:00
Johannes Kirschbauer
b32e61bb6d
ui/app: wrap with query client povider to make api cached calls
2025-07-17 10:49:47 +02:00
Johannes Kirschbauer
e731322af3
ui/store: infer type from return arg
2025-07-17 10:49:12 +02:00
hsjobeki
fd21c6b4ee
Merge pull request 'buildClan: Add deprecation warning' ( #4384 ) from Qubasa/clan-core:migrate_away_buildClan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4384
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-07-17 08:44:04 +00:00
Qubasa
5a86862f47
buildClan: Add deprecation warning
2025-07-17 15:32:12 +07:00
Michael Hoang
1d1a2563c3
Merge pull request 'flake: remove unnecessary follows for data-mesher' ( #4383 ) from push-yzqmtrtrkkzt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4383
2025-07-17 07:37:20 +00:00
Michael Hoang
4bc57980ff
flake: remove unnecessary follows for data-mesher
2025-07-17 17:30:36 +10:00
Luis Hebendanz
3afd0c0971
Merge pull request 'inventory: Add missing default value for exports.instances and exports.machines' ( #4382 ) from Qubasa/clan-core:fix_inv_missing_default into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4382
2025-07-17 06:17:37 +00:00
Qubasa
e6a6cb27ec
inventory: Add missing default value for exports.instances and exports.machines
2025-07-17 13:10:30 +07:00
clan-bot
dcd78c5d84
Merge pull request 'Update disko' ( #4381 ) from update-disko into main
2025-07-17 05:16:49 +00:00
gitea-actions[bot]
2a1ad66292
Update disko
2025-07-17 05:00:49 +00:00
brianmcgee
5d0d4404b8
Merge pull request 'chore: add a check for background.jpg' ( #4380 ) from chore/stupid-jpg-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4380
2025-07-16 16:15:38 +00:00
Brian McGee
7b369c77b5
chore: add a check for background.jpg
2025-07-16 18:11:40 +02:00
hsjobeki
06b70a982b
Merge pull request 'UI/cubes: extend cubes scene' ( #4375 ) from scene-progress into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4375
2025-07-16 15:20:27 +00:00
Johannes Kirschbauer
c9b1b0fb94
ui/cubes: align with design
2025-07-16 17:12:09 +02:00
Johannes Kirschbauer
66bdbb0959
ui/cubes: init story
2025-07-16 17:12:09 +02:00
Johannes Kirschbauer
752f030d03
ui/storybook: add all stories
2025-07-16 17:12:09 +02:00
Johannes Kirschbauer
8c7e93c92e
UI/cubes: group logic to add more meshed
2025-07-16 17:12:09 +02:00
Johannes Kirschbauer
579885a6e2
cubes: scene extend
2025-07-16 17:12:09 +02:00
brianmcgee
45f7ebc0c9
Merge pull request 'feat: onboarding workflow' ( #4379 ) from ui/onboarding-workflow into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4379
2025-07-16 15:10:04 +00:00
Brian McGee
997d675f8c
feat: onboarding workflow
2025-07-16 17:04:34 +02:00
Mic92
65608ad401
Merge pull request 'Update data-mesher' ( #4370 ) from update-data-mesher into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4370
2025-07-16 09:42:26 +00:00
gitea-actions[bot]
f46bf04b30
Update data-mesher
2025-07-16 09:30:40 +00:00
Mic92
d036f98cd4
Merge pull request 'clan-cli: Move flash.py to clan_lib/flash' ( #4374 ) from Qubasa/clan-core:move_flash into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4374
2025-07-16 09:30:04 +00:00
DavHau
81df09a284
Merge pull request 'cleanup_install' ( #4373 ) from Qubasa/clan-core:cleanup_install into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4373
2025-07-16 09:18:09 +00:00
Qubasa
a90cb56886
clan-cli: Move flash.py to clan_lib/flash
2025-07-16 15:29:18 +07:00
brianmcgee
af2ad09517
Merge pull request 'feat: ui/toolbar' ( #4357 ) from ui/toolbar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4357
2025-07-16 08:00:11 +00:00
Brian McGee
08ee06447b
feat(ui): toolbar component
2025-07-16 09:55:11 +02:00
brianmcgee
b741340607
Merge pull request 'onboarding workflow' ( #4366 ) from ui/onboarding-workflow into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4366
Reviewed-by: Mic92 <joerg@thalheim.io >
2025-07-16 07:17:26 +00:00
Qubasa
cfba97eee5
clan-cli: Reference HostKeyCheck literal instead of duplicating the list everywhere
2025-07-16 13:12:48 +07:00
Qubasa
fb4ccd1f63
clan-lib: Remove duplicate fields from installOptions and instead use them from Remote
2025-07-16 13:05:05 +07:00
Qubasa
2c4e688b0a
clan-lib: Change BuildOn enum to Literal type. Literals can be translated better to typescript
2025-07-16 12:48:04 +07:00
Qubasa
f8a0943fbd
clan-cli: Fix incorrect ipv6 check in check_machine_ssh_reachable
2025-07-16 12:34:30 +07:00
hsjobeki
9d61e550d5
Merge pull request 'cli: fix dot files not copied to $out in buildPythonApplication' ( #4371 ) from pkgs-for into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4371
2025-07-15 21:44:19 +00:00
Johannes Kirschbauer
5742b88777
cli: fix dot files not copied $out in buildPythonApplication
...
File such as .envrc, .gitignore where not copied into the package and thus missing in all templates
2025-07-15 23:33:34 +02:00
hsjobeki
2ef3e4cac4
Merge pull request 'clanInternals: refactor configsPerSystem, minimize diff' ( #4369 ) from pkgs-for into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4369
2025-07-15 20:04:10 +00:00
Johannes Kirschbauer
5fc98a9611
clanInternals: refactor configsPerSystem, minimize diff
2025-07-15 21:40:22 +02:00
Kenji Berthold
79922e57b2
Merge pull request 'pkgs/cli: Validate clan directory for update-hardware-config' ( #4367 ) from kenji/ke-hardware-update-validation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4367
2025-07-15 18:07:12 +00:00
hsjobeki
164cc4a455
Merge pull request 'revert bd3861c58056a847556c459ce420968044ce1459' ( #4368 ) from hsjobeki-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4368
2025-07-15 18:02:53 +00:00
hsjobeki
341f444fa0
revert bd3861c580
...
revert Merge pull request 'Remove clanModules/*' (#4202 ) from remove-modules into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202
See: https://git.clan.lol/clan/clan-core/issues/4365
Not all modules are migrated.
If they are not migrated, we need to write migration docs and please display the link to the migration docs
2025-07-15 17:51:36 +00:00
a-kenji
a76bea3537
pkgs/cli: Validate clan directory for update-hardware-config
2025-07-15 19:11:07 +02:00
Mic92
9bb366cdd7
Merge pull request 'gitignore-images' ( #4364 ) from gitignore-images into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4364
2025-07-15 15:03:31 +00:00
Brian McGee
9f582cd338
wip: onboarding workflow
2025-07-15 15:42:37 +01:00
Jörg Thalheim
028700b058
update-flake-inputs: email/user doesn't need to be configured
2025-07-15 16:19:45 +02:00
Jörg Thalheim
e8b111e229
run flake updates every 5 hours
2025-07-15 16:11:54 +02:00
Luis Hebendanz
1d8445a347
Merge pull request 'pkgs/cli: Fix ssh logging' ( #4362 ) from kenji/ke-ssh-remove-debug into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4362
2025-07-15 13:00:00 +00:00
kenji
d84822ae39
Merge pull request 'pkgs/clan(templates): Add shell completions' ( #4327 ) from kenji/ke-disko-shell into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4327
2025-07-15 12:58:59 +00:00
a-kenji
c40fca6261
pkgs/clan(templates): Add shell completions
2025-07-15 14:46:04 +02:00
kenji
c2229b4da3
Merge pull request 'pkgs/cli: Add facts deprecation warning to clan facts help output' ( #4329 ) from kenji/ke-facts-cli-warning into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4329
2025-07-15 12:43:19 +00:00
a-kenji
936290b01d
pkgs/cli: Add facts deprecation warning to clan facts help output
2025-07-15 14:28:36 +02:00
clan-bot
d8dbdb4419
Merge pull request 'Update sops-nix' ( #4361 ) from update-sops-nix into main
2025-07-15 12:28:25 +00:00
pinpox
bd3861c580
Merge pull request 'Remove clanModules/*' ( #4202 ) from remove-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4202
2025-07-15 12:25:15 +00:00
pinpox
13d69bcd66
Merge pull request 'clanServices: users -> remove isNormalUser option, set automatically' ( #4351 ) from Qubasa/clan-core:good_default_for_users into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4351
Reviewed-by: lassulus <clanlol@lassul.us >
Reviewed-by: pinpox <clan@pablo.tools >
2025-07-15 12:24:55 +00:00
a-kenji
e342996306
pkgs/cli: Fix ssh logging
...
Fix the ssh logging level.
Currently the ssh commands is printed every time on an ssh connection.
While seeing the command is useful, we should print this when running
clan with the `--debug` flag.
2025-07-15 14:20:40 +02:00
kenji
bfec09e652
Merge pull request 'pkgs/clan: Add clan validation to vars' ( #4360 ) from kenji/ke-add-clan-validation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4360
2025-07-15 12:14:18 +00:00
gitea-actions[bot]
42ac9f3579
Update sops-nix
2025-07-15 12:14:08 +00:00
a-kenji
8178c41c7b
pkgs/clan: Add clan validation to vars
...
Add clan validation to vars and facts subcommmands
2025-07-15 14:01:41 +02:00
pinpox
2a50dadf84
fmt
2025-07-15 13:48:37 +02:00
kenji
143fbb929f
Merge pull request 'pkgs/clan: Further unify clan flake validation' ( #4358 ) from kenji/ke-non-clan-commands into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4358
2025-07-15 11:46:04 +00:00
pinpox
aeb555a320
Fix tests
2025-07-15 13:40:54 +02:00
pinpox
8caaaa5b8b
wip
2025-07-15 13:17:34 +02:00
a-kenji
6347bb7f3a
pkgs/clan: Further unify clan flake validation
...
Further unify clan flake validation and improve test coverage.
2025-07-15 13:03:49 +02:00
Mic92
9a7288df3d
Merge pull request 'add images to gitignore' ( #4355 ) from gitignore-images into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4355
2025-07-15 10:37:25 +00:00
kenji
ce0ff60ad3
Merge pull request 'pkgs/clan: Add flake validation to clan show' ( #4352 ) from kenji/ke-non-clan-show into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4352
2025-07-15 10:30:19 +00:00
Jörg Thalheim
d76dc55325
add images to gitignore
...
images now needed to be added with `git add --force`.
This makes accidential commits of large files harder.
2025-07-15 12:30:04 +02:00
Qubasa
70c1648caf
clanServices: users -> remove isNormalUser option, set automatically
...
nix fmt
2025-07-15 17:21:52 +07:00
a-kenji
2ddba36b17
pkgs/clan: Add flake validation to clan show
2025-07-15 12:04:23 +02:00
a-kenji
d4cb206e3e
pkgs/cli: Add require_flake clan validation logic
...
Add a `require_flake` function that checks, if no argument is passed, if
we are in a clan directory.
If not will throw a helpful error.
Before `clan show`:
```
Traceback (most recent call last):
File "/nix/store/8kb3l3yvz6svygnxdlrw5lmd3h3chc8a-clan-cli/bin/.clan-wrapped", line 9, in <module>
sys.exit(main())
~~~~^^
File "/nix/store/8kb3l3yvz6svygnxdlrw5lmd3h3chc8a-clan-cli/lib/python3.13/site-packages/clan_cli/cli.py", line 493, in main
args.func(args)
~~~~~~~~~^^^^^^
File "/nix/store/8kb3l3yvz6svygnxdlrw5lmd3h3chc8a-clan-cli/lib/python3.13/site-packages/clan_cli/clan/show.py", line 12, in show_command
meta = get_clan_details(flake)
File "/nix/store/8kb3l3yvz6svygnxdlrw5lmd3h3chc8a-clan-cli/lib/python3.13/site-packages/clan_lib/clan/get.py", line 22, in get_clan_details
if flake.is_local and not flake.path.exists():
^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'is_local'
```
with `require_flake`:
```
No clan flake found in the current directory or its parents - Use the --flake flag to specify a clan flake path or URL
```
2025-07-15 12:01:20 +02:00
pinpox
0e53499f40
Remove clanModules
2025-07-15 11:53:32 +02:00
Mic92
1befc86308
Merge pull request 'Update disko' ( #4347 ) from update-disko into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4347
2025-07-15 09:50:39 +00:00
gitea-actions[bot]
999ade9dc4
Update disko
2025-07-15 09:03:02 +00:00
Mic92
01ab9e5dbf
Merge pull request 'update-flake-inputs: enable auto-merge' ( #4346 ) from flakes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4346
2025-07-15 09:02:06 +00:00
Jörg Thalheim
2ef248a10e
update-flake-inputs: enable auto-merge
2025-07-15 10:55:28 +02:00
Mic92
24493e8768
Merge pull request 'Update nixpkgs' ( #4340 ) from update-nixpkgs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4340
2025-07-15 08:43:26 +00:00
DavHau
b91158f454
vars/interface: make type of dependencies configurable
...
One vars get lifted to the global scope, dependencies need to be structured differently, eg. categorized by instances
2025-07-15 13:41:05 +07:00
DavHau
66a6758db4
vars/interface: cleanup + don't use specialArgs for pkgs
2025-07-15 13:07:18 +07:00
DavHau
61df393c2d
vars: reduce dependency on pkgs
...
pass pkgs only to generators submodule which is the only place where it is needed because of finalScript
2025-07-15 12:15:12 +07:00
gitea-actions[bot]
13458e4f58
Update nixpkgs
2025-07-14 18:45:03 +00:00
Mic92
dc3a41f403
Merge pull request 'update-flake-inputs: set gitea-token/github-token correctly' ( #4339 ) from flakes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4339
2025-07-14 18:32:00 +00:00
Jörg Thalheim
a424f318e4
update-flake-inputs: set gitea-token/github-token correctly
2025-07-14 20:28:30 +02:00
Mic92
36adc38ec4
Merge pull request 'update-flake-inputs: drop gitea vars' ( #4338 ) from flakes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4338
2025-07-14 15:45:21 +00:00
Jörg Thalheim
29581cd1f4
update-flake-inputs: drop gitea vars
2025-07-14 17:41:48 +02:00
Mic92
4523596eba
Merge pull request 'drop renovate' ( #4337 ) from merge-when-green-joerg into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4337
2025-07-14 15:41:00 +00:00
Jörg Thalheim
e97b06c410
drop renovate
...
we now use gitea actions for it.
2025-07-14 17:37:32 +02:00
Mic92
f79b3c2761
Merge pull request 'add new workflow to do flake updates' ( #4336 ) from flakes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4336
2025-07-14 15:14:42 +00:00
Jörg Thalheim
a509e16627
add new workflow to do flake updates
2025-07-14 17:11:22 +02:00
Luis Hebendanz
e05f4380d4
Merge pull request 'clan-cli: Make 'clan ssh' read out the targetHost to connect to' ( #4335 ) from Qubasa/clan-core:fix_clan_ssh into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4335
2025-07-14 13:57:45 +00:00
Qubasa
e8b5e2c2c5
clan-cli: Fixup clan install which depends on ssh_parseargs.
...
clan-cli: Remove --ssh-option for now, as it can't work in current state
clan-cli: Remove nix_config from test as its impure
2025-07-14 20:47:49 +07:00
Qubasa
9630b6dbe4
clan-cli: Make 'clan ssh' read out the targetHost to connect to
2025-07-14 19:35:48 +07:00
DavHau
1c2b72c6f0
vars: cleanup nix interface
2025-07-14 18:20:04 +07:00
pinpox
c49a7c8277
Merge pull request 'Remove clanModules dependencies from admin service' ( #4237 ) from admin-no-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4237
2025-07-14 08:32:27 +00:00
pinpox
939f724878
Remove clanModules dependencies from admin service
2025-07-14 10:26:35 +02:00
Luis Hebendanz
8a56776032
Merge pull request 'Simplify flake.select logs, make logs readable again' ( #4333 ) from Qubasa/clan-core:improve_log_output into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4333
2025-07-14 05:14:12 +00:00
Qubasa
60f7f8598b
docs: Document new debug env vars in debugging.md
2025-07-14 12:11:16 +07:00
Qubasa
36282b92bc
clan-cli: improve log messages further
...
nix fmt
2025-07-14 12:02:03 +07:00
Qubasa
0cf35480a2
clan-cli: Filter out flake select traces to improve debug log visibility
2025-07-14 11:51:35 +07:00
renovate[bot]
e875df5665
chore(deps): update data-mesher digest to 309e06f
2025-07-14 00:10:13 +00:00
hsjobeki
92d5ea82a7
Merge pull request 'deploy: add warning about disko.nix' ( #4330 ) from docs-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4330
2025-07-13 19:29:52 +00:00
Johannes Kirschbauer
8f5bf1ff2a
deploy: add warning about disko.nix
2025-07-13 21:26:07 +02:00
hsjobeki
311d68dfff
Merge pull request 'ui/scene: refactor simplify select animation' ( #4325 ) from ui-scene-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4325
2025-07-13 18:56:12 +00:00
Johannes Kirschbauer
8627398e3e
ui/scene: simplify select animation
2025-07-13 20:44:12 +02:00
Johannes Kirschbauer
d87a771a78
ui/scene: rename file
2025-07-13 20:43:35 +02:00
hsjobeki
e8ecd22bab
Merge pull request 'clan_cli: move __init__.py into cli.py' ( #4323 ) from cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4323
2025-07-13 16:14:21 +00:00
Johannes Kirschbauer
b0ef0cf341
clan_cli: add empty __init__.py for relative imports
2025-07-13 18:03:56 +02:00
Johannes Kirschbauer
3e82e63443
clan_cli: rename references
2025-07-13 15:53:10 +02:00
Johannes Kirschbauer
f3dab3f9bb
clan_cli: move __init__.py into cli.py
...
This helps to reduce import cycles in python
If ANY python module from clan_cli is imported all the imports of the __init__.py are executed leading to a lot of cycles
2025-07-13 15:52:29 +02:00
hsjobeki
22ba30896b
Merge pull request 'api/services: add get_service_module_schema endpoint' ( #4324 ) from lazy-schemas into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4324
2025-07-13 13:07:48 +00:00
Johannes Kirschbauer
fc6faa882b
api/services: add get_service_module_schema
2025-07-13 14:56:57 +02:00
Johannes Kirschbauer
e7c9d1e6d0
services: add modules schema to inventoryClass
2025-07-13 14:17:57 +02:00
hsjobeki
b0a1f5e0c7
Merge pull request 'api/modules: remove redundant localModules' ( #4322 ) from api-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4322
2025-07-13 12:05:11 +00:00
Johannes Kirschbauer
9c7f684ec5
instances: create_service_instance init
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
6d2f522cbb
lib/modules: list modules consistent argument
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
079f5d1033
lib/modules: rename 'list_modules' to 'list_service_modules'
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
ceb0221daf
lib/disks: move from api to templates
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
943dde4bbf
lib/modules: move from api to services module
2025-07-13 13:57:02 +02:00
Johannes Kirschbauer
5f19e76cd0
api/modules: remove redundant localModules
2025-07-13 11:52:19 +02:00
hsjobeki
9e0bdafa51
Merge pull request 'docs/getting-started: seperate step to add a user' ( #4321 ) from docs-users into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4321
2025-07-13 09:37:17 +00:00
Johannes Kirschbauer
6f13a8ec85
docs/users: add explanation for groups
2025-07-13 11:33:22 +02:00
Johannes Kirschbauer
77736090fd
docs/getting-started: seperate step to add a user
2025-07-13 11:31:14 +02:00
Michael Hoang
38eb690bc5
Merge pull request 'users: fix eval when used to manage root' ( #4319 ) from push-qnllumxpxumt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4319
2025-07-13 02:35:35 +00:00
Michael Hoang
4ec435d2fa
users: fix eval when used to manage root
2025-07-13 12:30:16 +10:00
hsjobeki
f5c5aed7ec
Merge pull request 'docs/deploy: remove unneeded --update-hardware-config nixos-facter' ( #4318 ) from templates-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4318
2025-07-12 15:51:13 +00:00
Johannes Kirschbauer
ae47f49343
docs/deploy: remove unneeded --update-hardware-config nixos-facter
2025-07-12 17:48:13 +02:00
hsjobeki
cb5cdace3f
Merge pull request 'Templates/cli: improve ux and docs' ( #4317 ) from templates-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4317
2025-07-12 15:31:55 +00:00
Johannes Kirschbauer
9ece8c6d10
Templates/cli: improve ux and docs
2025-07-12 17:21:23 +02:00
hsjobeki
7e5a3b4744
Merge pull request 'Templates: remove deprecated files' ( #4316 ) from templates-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4316
2025-07-12 15:11:32 +00:00
hsjobeki
f9f9d8b936
Merge pull request 'pkgs/clan(templates): Fix template help' ( #4315 ) from ke-fix-template-help into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4315
2025-07-12 15:06:31 +00:00
Johannes Kirschbauer
6062d065c2
Templates/flake-parts: remove machines
...
Users create machines if they need them
2025-07-12 16:59:16 +02:00
Johannes Kirschbauer
5d4118354e
Templates: remove disko.nix from all templates
2025-07-12 16:58:52 +02:00
Johannes Kirschbauer
2f645983f2
Templates: remove shared.nix
...
- user-password is now part of the new 'users' module (https://docs.clan.lol/reference/clanServices/users/ )
- setting 'users.users.user' is not needed and also part of the 'users' module
- services.avahi.enable = true; is not strictly needed can become part of an mdns guide, but shouldnt be part of the default template
2025-07-12 16:58:02 +02:00
hsjobeki
b3d63e86e4
Merge pull request 'docs/getting-started: refactor and align with new templates' ( #4313 ) from getting-started into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4313
2025-07-12 14:43:29 +00:00
a-kenji
9a5fa7406d
pkgs/clan(templates): Fix template help
...
Currently the template help has the following interface:
```
usage: clan [-h] [SUBCOMMAND]
The clan cli tool
positional arguments:
{show,backups,b,flakes,f,templates,flash,ssh,secrets,facts,vars,va,machines,m,vms,select,se,state,st}
show Show meta information about the clan
backups (b) Manage backups of clan machines
flakes (f) Create a clan flake inside the current directory
templates Subcommands to interact with templates
flash Flashes your machine to an USB drive
ssh Ssh to a remote machine
secrets Manage secrets
facts Manage facts
vars (va) Manage vars
machines (m) Manage machines and their configuration
vms Manage virtual machines
select (se) Select nixos values from the flake
state (st) Query state information about machines
options:
-h, --help show this help message and exit
Online reference for the clan cli tool: ]8;;https://docs.clan.lol/reference/cli\https://docs.clan.lol/reference/cli ]8;;\
For more detailed information, visit: ]8;;https://docs.clan.lol\https://docs.clan.lol ]8;;\
```
2025-07-12 16:42:05 +02:00
hsjobeki
ee68650463
Merge pull request 'pkgs/clan(templates): Add machine completions' ( #4312 ) from ke-templates-machines-add-shell-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4312
2025-07-12 14:40:57 +00:00
Johannes Kirschbauer
0ec26ff0ab
Docs: fix code annotations
2025-07-12 16:40:02 +02:00
Johannes Kirschbauer
582cbff138
Docs: fix typos
2025-07-12 16:39:20 +02:00
Johannes Kirschbauer
6d24117d0c
Docs: align workflow, remove targetHost before deployment
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
821f5c2bc2
Docs: rewrite deployment instructions
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
0dc867c0b6
docs: add guide how to create configuration.nix
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
83278097f6
docs: add service update instructions
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
fb60ae8082
docs: add machines update instructions
2025-07-12 16:35:43 +02:00
Johannes Kirschbauer
4b8f83de9e
docs: create clan update cli instructions
2025-07-12 16:35:41 +02:00
a-kenji
3ad2e045e8
pkgs/clan(templates): Add machine completions
...
Add machine completions for the `--to-machine` subcommand
2025-07-12 16:02:51 +02:00
hsjobeki
d861fb435b
Merge pull request 'cli/create: add interactive name method' ( #4310 ) from getting-started into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4310
2025-07-12 13:27:38 +00:00
Johannes Kirschbauer
135df0dbe6
clan/create: rename path to name argument
2025-07-12 15:16:31 +02:00
Johannes Kirschbauer
c1bad93d36
templates/copy: fix use shutil to copy hidden dot files
2025-07-12 15:08:40 +02:00
kenji
d590ced366
Merge pull request 'pkgs/clan: Fix command typos' ( #4309 ) from kenji/ke-fix-command-typos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4309
2025-07-12 12:49:57 +00:00
Johannes Kirschbauer
81419cfb71
templates: add example how to add inventory.machines
2025-07-12 14:49:27 +02:00
Johannes Kirschbauer
f7b39fc941
cli/create: add interactive name method
2025-07-12 14:12:10 +02:00
hsjobeki
dc817cd818
Merge pull request 'modules/user: Improve user module' ( #4305 ) from user into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4305
2025-07-12 11:57:44 +00:00
a-kenji
f97bbc946e
pkgs/clan: Fix command typos
2025-07-12 13:54:37 +02:00
Johannes Kirschbauer
bd833ae2ad
Users: add option for regularUser
2025-07-12 13:44:16 +02:00
hsjobeki
72f33f736d
Merge pull request 'diskId: add migration docs and a big fat warning' ( #4307 ) from disk-migration into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4307
2025-07-12 11:15:51 +00:00
hsjobeki
76f94b97f1
Merge pull request 'cli/templates: init apply disk' ( #4306 ) from templates-cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4306
2025-07-12 11:15:47 +00:00
Johannes Kirschbauer
4800fec13c
diskId: add migration docs and a big fat warning
2025-07-11 20:47:53 +02:00
Johannes Kirschbauer
4c4a17ed0c
cli/templates: init apply disk
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
78b1931271
lib/disks: add parameter to disable hardware checking
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
c26809df16
cli/machine/hardware: improve error message
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
6d90a39747
get_machine: fix error message for not existing machine
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
615607730d
lib/copy: fix, copying the content of tempate directory, not the directory itself
2025-07-11 18:53:54 +02:00
Johannes Kirschbauer
33b47604ee
Templates: keep clan.nix in sync between default and flake-parts
2025-07-11 16:42:20 +02:00
Johannes Kirschbauer
b47c85fdaa
Modules/users: add isNormalUser true
...
NormalUsers get:
- Home directory
- Can login
This is expected for users created through this module. We can make it configurable if the use arises
2025-07-11 16:32:16 +02:00
hsjobeki
f5f77d96ee
Merge pull request 'Vars/helper: remove unneeded wrapper arount collectFiles' ( #4304 ) from vars-angnostic into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4304
2025-07-11 14:31:20 +00:00
Johannes Kirschbauer
ac745a1740
Templates/flake-parts: consistent default clan
2025-07-11 16:19:01 +02:00
Johannes Kirschbauer
c285c737fe
Vars/helper: remove unneeded wrapper arount collectFiles
2025-07-11 16:14:02 +02:00
hsjobeki
f7671c8f0b
Merge pull request 'templates/flake-parts: remove importing clanModules' ( #4300 ) from templates-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4300
2025-07-11 13:53:37 +00:00
Johannes Kirschbauer
85943e22a3
Template/docs: improve gnome example
2025-07-11 14:56:40 +02:00
Johannes Kirschbauer
a1e9195cd2
Templates/minimal: move name to flake.nix
2025-07-11 14:53:41 +02:00
hsjobeki
26e71729de
Merge pull request 'modules/user: add extraGroups setting with default' ( #4301 ) from user-groups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4301
2025-07-11 12:51:58 +00:00
hsjobeki
1e70f576ed
Merge pull request 'modules: add explicit class constraints' ( #4303 ) from module-classes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4303
2025-07-11 12:51:29 +00:00
Johannes Kirschbauer
bb20e3926f
modules: add explicit class constraints
2025-07-11 14:38:59 +02:00
Johannes Kirschbauer
e5c9fbb16a
modules/user: improce description, drop default groups
2025-07-11 14:35:28 +02:00
Johannes Kirschbauer
3696994941
modules/user: add extraGroups setting with default
2025-07-11 09:13:59 +02:00
Johannes Kirschbauer
4f98f8c2f0
templates: remove duplicate logic, update gnome template
2025-07-11 08:57:06 +02:00
Johannes Kirschbauer
5e8faa144d
templates/flake-parts: remove importing clanModules
2025-07-11 08:46:21 +02:00
Johannes Kirschbauer
c56bb3c37f
docs: fix user module prompt description
2025-07-11 08:46:21 +02:00
hsjobeki
b969b84a43
Merge pull request 'Docs: improve api docs of {open_file, open_clan_folder}' ( #4299 ) from open-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4299
2025-07-10 16:54:35 +00:00
Johannes Kirschbauer
69e432e727
openapi: remove verb {open}, noun {file}
2025-07-10 18:44:34 +02:00
Johannes Kirschbauer
480fdfaf8a
API: rename {open_file, open_clan_folder} into {get_system_file, get_clan_folder}
2025-07-10 18:42:03 +02:00
Johannes Kirschbauer
7f3292ceb0
Docs: improve api docs of {open_file, open_clan_folder}
2025-07-10 18:40:48 +02:00
hsjobeki
387807800e
Merge pull request 'UI/App: improve cube scene' ( #4298 ) from ui-scene into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4298
2025-07-10 16:27:49 +00:00
Johannes Kirschbauer
d0bc2e9074
UI/Cubes: init circle positioning
2025-07-10 18:23:32 +02:00
Johannes Kirschbauer
a5d5736981
UI/qubescene: add create animation
2025-07-10 17:00:36 +02:00
Johannes Kirschbauer
219e974fc6
UI/qubescene: add delete and reposition animation
2025-07-10 16:53:49 +02:00
Johannes Kirschbauer
57fb62c2c8
UI/qubescene: dynamically recalculate the positions
2025-07-10 16:49:14 +02:00
Johannes Kirschbauer
0d5199604e
UI/cubescene: init delete cube
2025-07-10 16:45:49 +02:00
pinpox
bc11db6cff
Merge pull request 'Add example for data-mesher service usage' ( #4297 ) from data-mesher-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4297
2025-07-10 10:59:12 +00:00
pinpox
2d7ee965b4
Add example for data-mesher service usage
2025-07-10 12:54:04 +02:00
pinpox
049cadc9cf
Merge pull request 'Migrate data-mesher to clan service' ( #4240 ) from migrate-data-mesher-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4240
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-07-10 10:35:48 +00:00
Luis Hebendanz
02bbb47c52
Merge pull request 'impl_non_blocking_http' ( #4296 ) from Qubasa/clan-core:impl_non_blocking_http into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4296
2025-07-10 10:32:03 +00:00
pinpox
84b23489f7
Migrate data-mesher to clan service
2025-07-10 12:30:29 +02:00
Qubasa
695141b2ae
clan-app: Make http server non blocking, add tests for the http server and for cancelling tasks
2025-07-10 17:21:18 +07:00
Qubasa
70eb67ffd2
stash
2025-07-10 16:09:08 +07:00
Qubasa
90a32dba0f
clan-app: Working swagger requests
2025-07-10 16:09:08 +07:00
Luis Hebendanz
df245ff232
Merge pull request 'Add check_valid_clan and open_clan_folder api requests' ( #4295 ) from Qubasa/clan-core:impl_open_clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4295
2025-07-10 08:14:12 +00:00
Qubasa
dbb3e889e1
clan-lib: Fix @API.register_abstract not throwing correct error when called directly without implementation
...
clan-app: Fix mypy lint
clan-lib: Mark test as with_core
2025-07-10 15:09:51 +07:00
Qubasa
f3873683cc
clan_lib: Add test for check_valid_clan function
2025-07-10 14:20:02 +07:00
Qubasa
b1c3acb008
clan-app: Implement open_clan_folder api request
2025-07-10 14:19:19 +07:00
Qubasa
70f7f7e676
clan-app: Moved thread handling up to the ApiBridge
2025-07-10 12:02:30 +07:00
Michael Hoang
dbe40e6f5b
Merge pull request 'docs: set manifest.readme for services to include README in the docs' ( #4294 ) from push-rlukssmkxtky into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4294
2025-07-10 03:00:36 +00:00
Michael Hoang
957598e449
docs: set manifest.readme for services to include README in the docs
2025-07-10 12:55:27 +10:00
renovate[bot]
0d85633cfd
chore(deps): update disko digest to 7926429
2025-07-10 02:30:12 +00:00
kenji
fe29dc0146
Merge pull request 'pkgs/clan: Fix template listing' ( #4291 ) from kenji/ke-template-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4291
2025-07-09 17:40:01 +00:00
a-kenji
80655edf6a
pkgs/clan: Fix template listing
2025-07-09 19:29:15 +02:00
hsjobeki
f9de0206eb
Merge pull request 'refactor: move docs transformOptions to clanLib to reduce rebuilds' ( #4259 ) from self into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4259
2025-07-09 15:31:25 +00:00
hsjobeki
73c74cb967
Merge pull request 'openapi: add strict top-level checking' ( #4280 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4280
2025-07-09 15:24:45 +00:00
Johannes Kirschbauer
5c234ac643
Docs: fix rendering clan source code url
2025-07-09 17:24:20 +02:00
Jörg Thalheim
0e97efbbef
refactor: move docs transformOptions to clanLib to reduce rebuilds
...
- Add clanLib.docs.stripStorePathsFromDeclarations to deduplicate code
- Update all documentation generation to use the shared function
- This strips store paths from option declarations to prevent options.json
from rebuilding when only store paths change but content remains the same
- Reduces unnecessary documentation rebuilds when making unrelated changes
2025-07-09 16:59:58 +02:00
Johannes Kirschbauer
e4de5fe035
openapi: add strict top-level checking
2025-07-09 16:57:06 +02:00
Johannes Kirschbauer
474a0a3f9d
api: rename {list_system_services_mdns, list_system_storage_devices}
2025-07-09 16:51:42 +02:00
lassulus
e5f07cd0d2
Merge pull request 'feat: implement macOS sandboxing for vars generation using sandbox-exec' ( #4228 ) from darwin-sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4228
2025-07-09 14:37:24 +00:00
Jörg Thalheim
f646890bb3
sandbox_exec: refactor to use context manager for cleanup
...
Changed sandbox_exec_cmd to return a context manager that automatically
handles profile file cleanup. This ensures the temporary profile is
always removed, even if exceptions occur.
2025-07-09 16:27:04 +02:00
Mic92
959116cf9b
Merge pull request 'bump flake.lock' ( #4290 ) from flakes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4290
2025-07-09 12:53:20 +00:00
Jörg Thalheim
31e81366dd
bump flake.lock
2025-07-09 14:38:23 +02:00
Luis Hebendanz
260448d734
Merge pull request 'clan-app: init clan http api' ( #4278 ) from Qubasa/clan-core:add_middleware_tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4278
2025-07-09 11:53:10 +00:00
lassulus
194647dc71
clan-cli: implement macOS sandboxing for vars generation using sandbox-exec
...
Adds macOS sandboxing support similar to Linux bubblewrap implementation:
- Created clan_lib/sandbox_exec module with sandbox profile creation
- Implemented file system isolation allowing only tmpdir and nix store access
- Added network restrictions (deny outbound except localhost)
- Integrated sandbox-exec command into vars generation on macOS
- Added comprehensive test suite for macOS sandbox functionality
- Fixed working directory handling for generators writing to CWD
2025-07-09 13:51:18 +02:00
Mic92
6ced2eac05
Merge pull request 'generate_test_vars: fix it' ( #4289 ) from generate_test_vars-fix-it into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4289
2025-07-09 11:49:06 +00:00
Qubasa
97650daa10
clan-app: Add swagger redirect
2025-07-09 18:48:00 +07:00
Qubasa
6d166cc7a7
clan-app: Cleaned up http code
2025-07-09 18:45:42 +07:00
Qubasa
0987c4b2cc
clan-app: Working swagger
2025-07-09 18:34:58 +07:00
kenji
4cb4a1b81c
Merge pull request 'pkgs/clan: Fix state list and add regression tests' ( #4284 ) from kenji/ke-test-state-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4284
2025-07-09 11:33:59 +00:00
a-kenji
83c3abc225
pkgs/clan: Fix state list and add regression tests
...
Fix the `clan state list` subcommands, it now correctly propagates the
flake argument.
Also adds regression tests.
2025-07-09 13:22:21 +02:00
Mic92
e12311ff3b
Merge pull request 'fix build host with sudo' ( #4267 ) from fix-sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4267
2025-07-09 10:03:01 +00:00
Qubasa
0b4eb9202e
clan-app: Better http architecture
2025-07-09 16:40:49 +07:00
Qubasa
053ed833d9
clan-app: init clan http api
...
clan-app: nix fmt
2025-07-09 16:40:49 +07:00
DavHau
8ed2adbc5b
generate_test_vars: fix it
2025-07-09 16:20:37 +07:00
kenji
db0f01a20a
Merge pull request 'pkgs/clan: Add test for clan flash list' ( #4281 ) from kenji/ke-test-flash into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4281
2025-07-09 09:08:34 +00:00
a-kenji
7ea0c6d2d1
pkgs/clan: Add test for clan flash list
...
Add a test for `clan flash list`.
This tests the basic functionality, as well as that listing actually
works.
2025-07-09 11:02:24 +02:00
kenji
17073c5d38
Merge pull request 'pkgs/clan: Add test for clan templates list' ( #4282 ) from kenji/ke-test-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4282
2025-07-09 08:37:26 +00:00
a-kenji
6b4c8fa222
pkgs/clan: Add test for clan templates list
...
Add a test for clan templates list.
This tests the basic functionality, as well as that listing actually
works.
2025-07-09 10:29:29 +02:00
hsjobeki
f0c908ab3f
Merge pull request 'openapi: improve spec compat with swagger.io' ( #4279 ) from openapi into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4279
2025-07-09 07:52:49 +00:00
Johannes Kirschbauer
186ce03e6d
api: rename run_blocking_task into run_task_blocking
2025-07-09 09:43:56 +02:00
Johannes Kirschbauer
dcc54185f3
openapi: improve spec compat with swagger.io
2025-07-09 09:40:06 +02:00
hsjobeki
7096ed8959
Merge pull request 'API Improvements' ( #4276 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4276
2025-07-08 21:17:12 +00:00
Johannes Kirschbauer
da04ab63b2
api/docs: sort resources into tree order
2025-07-08 23:06:20 +02:00
hsjobeki
5881d7e1e0
Merge pull request 'UI: init cubes scene' ( #4277 ) from ui-scene into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4277
2025-07-08 20:40:42 +00:00
Johannes Kirschbauer
040df8529e
UI: fix lint
2025-07-08 22:36:14 +02:00
Johannes Kirschbauer
8493776ea6
UI: Cubes improve memory usage
2025-07-08 22:33:52 +02:00
Johannes Kirschbauer
f555dd349e
UI: dispay selected cube base
2025-07-08 22:14:44 +02:00
Johannes Kirschbauer
0b2657cb0c
UI: Init CubesScene
...
UI: init cube base scene
2025-07-08 22:14:42 +02:00
kenji
07f30928e6
Merge pull request 'refactor: decouple vars stores from machine instances' ( #4269 ) from davhau/vars-new into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4269
2025-07-08 18:11:03 +00:00
Johannes Kirschbauer
4beff2e023
api: rename 'run_machine_deploy' into 'run_machine_update'
2025-07-08 17:21:18 +02:00
Johannes Kirschbauer
dbafd01482
api/disk_schema: make getter consistent
2025-07-08 17:20:59 +02:00
hsjobeki
311f11698b
Merge pull request 'api/disk_schema: rename getter consistent' ( #4274 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4274
2025-07-08 14:43:29 +00:00
hsjobeki
d38ebe1605
Merge pull request 'docs: disable footer navigation' ( #4275 ) from docs-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4275
2025-07-08 14:42:36 +00:00
Johannes Kirschbauer
04fe1d2a8d
docs: disable footer navigation
...
This gives the content more space
Especially for plugins (options, developer tabs)
2025-07-08 16:38:33 +02:00
Johannes Kirschbauer
3e295869cc
api/disk_schema: make getter consistent
2025-07-08 16:31:51 +02:00
hsjobeki
f908afdf11
Merge pull request 'UI: remove 2d-ui, its broken now since we deleted the symlinked files in #4266 ' ( #4273 ) from ui-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4273
2025-07-08 14:28:56 +00:00
Johannes Kirschbauer
ff9f657ba5
UI: remove 2d-ui, its broken now since we deleted the symlinked files in #4266
2025-07-08 16:23:30 +02:00
kenji
cb73479865
Merge pull request 'pkgs/cli: Add regression test for clan show' ( #4272 ) from kenji/ke-test-add-show into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4272
2025-07-08 14:01:02 +00:00
a-kenji
5c960cfdab
pkgs/cli: Add regression test for clan show
2025-07-08 15:55:01 +02:00
hsjobeki
e10b2fd954
Merge pull request 'Templates/default: move clan configuration into its own file' ( #4262 ) from templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4262
2025-07-08 13:46:19 +00:00
Johannes Kirschbauer
43cda7d13a
Tests: dont expect a hardware-configuration.nix file
2025-07-08 15:34:16 +02:00
Johannes Kirschbauer
a9e50154d0
Docs: mention clan.nix file, which is present in the default template now
2025-07-08 14:58:24 +02:00
Johannes Kirschbauer
1a861cd889
tests: dont expect .clan-flake file, it is not strictly required
2025-07-08 14:58:24 +02:00
Jörg Thalheim
124badc7ed
checks/nixos-test-flash: increase ram to workaround gc bug in nix
2025-07-08 14:25:44 +02:00
Jörg Thalheim
a1ff5e3e5e
fix build host with sudo
2025-07-08 14:25:44 +02:00
kenji
b1a0a0ae07
Merge pull request 'templates(minimal): Add .envrc' ( #4268 ) from kenji/ke-template into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4268
2025-07-08 11:58:36 +00:00
DavHau
0aa6288edb
refactor: decouple vars stores from machine instances
...
Stores now get machine context from generator objects instead of storing
it internally. This enables future machine-independent generators and
reduces coupling.
- StoreBase.__init__ only takes flake parameter
- Store methods receive machine as explicit parameter
- Fixed all callers to pass machine context
2025-07-08 18:30:16 +07:00
Luis Hebendanz
bfa53cb4e5
Merge pull request 'Add middleware interface to clan-app' ( #4265 ) from Qubasa/clan-core:generalize_webview into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4265
2025-07-08 11:16:36 +00:00
Qubasa
0c54a0f6de
clan-app: Fix delete tasks
...
clan-app: Fix delete tasks
2025-07-08 18:11:59 +07:00
a-kenji
90704eb452
templates(minimal): Add .envrc
...
Add .envrc also to the minimal template to homogenize our templates.
2025-07-08 13:09:04 +02:00
brianmcgee
21b3a5f366
Merge pull request 'prep-ui-version2' ( #4266 ) from prep-ui-version2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4266
2025-07-08 10:57:54 +00:00
Qubasa
60263bac8a
clan-cli: Add verb 'cancel' to openapi
2025-07-08 17:43:14 +07:00
Brian McGee
3a74ac4857
fix(ui): display required asterisk in label
2025-07-08 11:41:34 +01:00
Brian McGee
0d487d19f5
feat(ui): prep V2
...
Preparation for rebuilding the UI with V2 components.
2025-07-08 11:41:33 +01:00
Qubasa
26710c0aca
clan-app: Move json.loads to try catch
2025-07-08 17:38:24 +07:00
Qubasa
876a90cfc3
clan-app: Ignore ruff errors
2025-07-08 17:32:59 +07:00
Qubasa
d8251dce2b
clan-app: Generalize architecture for API requests
2025-07-08 17:32:59 +07:00
Qubasa
be10d99015
clan-app: Add plug and play middleware interface
2025-07-08 17:32:59 +07:00
Qubasa
389e726521
clan-app: Add plug and play middleware interface
2025-07-08 17:32:59 +07:00
Luis Hebendanz
2b11cc64eb
Merge pull request 'fix_ruff_regression' ( #4264 ) from Qubasa/clan-core:fix_ruff_regression into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4264
2025-07-08 10:30:45 +00:00
Qubasa
152ac2c07e
clan-cli: Fix Ruff linting errors
...
clan-cli: Ruff fixes
ignore noqa lint
fix more ruff issues
2025-07-08 17:25:02 +07:00
Qubasa
ad243d843e
ruff: Ignore TRY301 'raise-within-try' as there are legitimate reasons to do this
2025-07-08 17:23:32 +07:00
Qubasa
f854c39292
clan-cli: Fix regression in ruff linter, where linter rules got overriden by local pyproject.toml
...
clan-app: Fix ruff regression where linter rules got overriden by local pyproject.toml
2025-07-08 17:23:32 +07:00
Johannes Kirschbauer
0cbdfb26f1
test: don't expect a machines folder
2025-07-08 11:53:20 +02:00
Johannes Kirschbauer
8d5740fd16
Docs: execute 'clan show' as first step
2025-07-08 10:24:01 +02:00
Johannes Kirschbauer
f691f5a310
clan/show: fix cli command
2025-07-08 10:15:35 +02:00
Johannes Kirschbauer
6e58d189e5
Templates/default/modules/gnome: Add doc-comment - what the module does, how to use it
2025-07-08 10:06:22 +02:00
Johannes Kirschbauer
672838e2a0
Templates/default: remove predefined machines
2025-07-08 10:05:35 +02:00
Johannes Kirschbauer
e39a83c849
Templates/default: move clan configuration into its own file
...
Doing this with the idea in mind, that flake-parts / default should define the same clan in clan.nix
We can add a CI check to ensure both are the same files
They got desynced in the past and describe completely different clans now
2025-07-08 10:04:17 +02:00
Johannes Kirschbauer
dfb3a45fa5
Docs: remove 'replaces' sentence; it is not describing any purpose
2025-07-08 10:01:51 +02:00
brianmcgee
de664fbf17
Merge pull request 'feat(ui): SidebarPane component' ( #4248 ) from ui/sidebar-pane into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4248
2025-07-08 07:37:47 +00:00
hsjobeki
8b7fdc776e
Merge pull request 'templates: rename 'new_clan' to default' ( #4244 ) from templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4244
2025-07-08 07:31:22 +00:00
Mic92
786434eff7
Merge pull request 'checks/backup: no longer depend on self' ( #4258 ) from self into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4258
2025-07-07 19:57:30 +00:00
Jörg Thalheim
0363dd29d0
checks/backup: no longer depend on self
2025-07-07 21:51:51 +02:00
Mic92
25413c2e75
Merge pull request 'override-inputs: filter out self' ( #4257 ) from improve-perf into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4257
2025-07-07 19:32:51 +00:00
Jörg Thalheim
3c6771ecae
override-inputs: filter out self
2025-07-07 21:25:33 +02:00
Mic92
0da44389cf
Merge pull request 'checks/eval-module-clan-vars: optimize to use filtered source' ( #4255 ) from borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4255
2025-07-07 19:02:25 +00:00
Jörg Thalheim
453691d0bf
checks/eval-module-clan-vars: optimize to use filtered source
...
- Replace self.filter with lib.fileset for more precise filtering
- Remove unnecessary clan-core dependency from the test
- Test only needs lib and pkgs, not the full flake context
- Prevents unnecessary rebuilds when unrelated files change
2025-07-07 20:55:04 +02:00
Mic92
41de95039b
Merge pull request 'checks/inventory: optimize eval tests to use filtered sources' ( #4254 ) from borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4254
2025-07-07 18:48:58 +00:00
Jörg Thalheim
462974b85c
checks/inventory: optimize eval tests to use filtered sources
...
Replace full flake source (self) with minimal filtered filesets to prevent
unnecessary rebuilds when unrelated files change. All three inventory eval
tests now use the same unified fileset containing only necessary files.
This follows the same optimization pattern applied to other eval tests,
significantly reducing rebuild frequency during development.
2025-07-07 20:41:20 +02:00
Mic92
a3b3310a46
Merge pull request 'docs: no longer depend on self' ( #4253 ) from borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4253
2025-07-07 18:31:35 +00:00
Jörg Thalheim
8b7bdc2b23
docs: no longer depend on self
2025-07-07 20:24:11 +02:00
Mic92
ca7fc54169
Merge pull request 'don't rebuild eval tests on each ci run' ( #4252 ) from borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4252
2025-07-07 18:13:57 +00:00
Jörg Thalheim
833e872ccf
don't rebuild eval tests on each ci run
2025-07-07 20:05:45 +02:00
Mic92
cf2c409a61
Merge pull request 'checks/borgbackup: don't rebuild on every pull request' ( #4251 ) from borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4251
2025-07-07 17:44:16 +00:00
Jörg Thalheim
bfb9aaaaef
checks/borgbackup: don't rebuild on every pull request
2025-07-07 19:35:48 +02:00
Mic92
1fbfd9296d
Merge pull request 'avoid shebang in update-private-flake-inputs' ( #4250 ) from fix-devflake-tryeval into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4250
2025-07-07 16:56:21 +00:00
Jörg Thalheim
78e4610dd2
avoid shebang in update-private-flake-inputs
2025-07-07 18:48:11 +02:00
Mic92
c68b0677b9
Merge pull request 'devFlake: don't load if sources have been filtered out' ( #4249 ) from fix-devflake-tryeval into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4249
2025-07-07 16:47:27 +00:00
Jörg Thalheim
4c13dd38f3
devFlake: don't load if sources have been filtered out
2025-07-07 18:38:01 +02:00
Brian McGee
edfb9d8cfc
feat(ui): SidebarPane component
...
* implement Divider component using Kobalte's Separator
* refine read only state of form components to match the Sidebar Pane design
* introduce a SidebarPane component with sections that can toggle between editing and view states.
2025-07-07 17:31:58 +01:00
Mic92
57fe4568ad
Merge pull request 'add dev flake pattern' ( #4245 ) from private-flake into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4245
2025-07-07 16:02:29 +00:00
Jörg Thalheim
8d3bd6b690
add dev flake pattern
...
This allows us to have dev dependencies which are not propagated to the user.
2025-07-07 15:59:09 +00:00
Jörg Thalheim
494226d923
add gitea action to update private flake inputs
2025-07-07 15:59:09 +00:00
Jörg Thalheim
b692f6fcfe
put flake input overrides into a helper function
2025-07-07 15:59:09 +00:00
Johannes Kirschbauer
cfa22d2e74
create/clan: do initial commit
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
47016de802
templates: add .gitignore files to all templates
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
91f7f21b0c
Templates: remove 'minimal-flake-parts'
2025-07-07 15:50:00 +00:00
Johannes Kirschbauer
5d6a0c9883
templates: rename 'new_clan' to default
2025-07-07 15:50:00 +00:00
brianmcgee
d4fba5d42d
Merge pull request 'ui: Modal component' ( #4241 ) from feat/modal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4241
2025-07-07 15:16:50 +00:00
Mic92
5b127b7255
Merge pull request 'make treefmt work with git-worktrees' ( #4246 ) from pytest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4246
2025-07-07 15:07:53 +00:00
Jörg Thalheim
409cbb969e
make treefmt work with git-worktrees
2025-07-07 16:55:36 +02:00
hsjobeki
ad997319fa
Merge pull request 'Docs: add missing documentation to api functions' ( #4243 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4243
2025-07-07 14:02:08 +00:00
Johannes Kirschbauer
23fd4c6e6a
openapi: error on missing api function docstring
2025-07-07 15:48:36 +02:00
Johannes Kirschbauer
79321485c7
docs/api: add docstrings to {list_mdns_services, set_clan_details}
2025-07-07 15:47:14 +02:00
Johannes Kirschbauer
d0c6cfaed0
api: remove unused get_directory
2025-07-07 15:45:51 +02:00
Johannes Kirschbauer
b05e3cfb6b
docs/api: add docstrings to {run_machine_install,run_machine_deploy}
2025-07-07 15:41:02 +02:00
Johannes Kirschbauer
b409913229
docs/api: add docstrings to {check_machine_ssh_login}
2025-07-07 15:38:09 +02:00
Johannes Kirschbauer
7a21915931
docs/api: add docstrings to {delete_machine}
2025-07-07 15:36:16 +02:00
Johannes Kirschbauer
a99ab3d3ca
docs/api: add docstrings to {get_flash_options, run_machine_flash}
2025-07-07 15:34:49 +02:00
Johannes Kirschbauer
0699dd6fb3
docs/api: add docstrings to {get_clan_details}
2025-07-07 15:31:06 +02:00
Johannes Kirschbauer
35cf84c96b
docs/api: add docstrings to {create_clan}
2025-07-07 15:29:19 +02:00
Johannes Kirschbauer
7ab0e8377b
docs/api: add docstrings to {get_generators, run_generators}
2025-07-07 15:22:44 +02:00
Johannes Kirschbauer
5d15ccbc72
api/machines: document {get_machine,get_machine_details}
2025-07-07 15:13:23 +02:00
hsjobeki
0532284387
Merge pull request 'api/generators: remove term 'vars' interact purely with 'generators'' ( #4242 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4242
2025-07-07 13:04:00 +00:00
Johannes Kirschbauer
aacc6dfad8
api/check_machine_ssh_reachable: add function docs
2025-07-07 15:02:35 +02:00
Johannes Kirschbauer
5531bcd2b0
openapi: warn on missing description
2025-07-07 14:52:49 +02:00
Johannes Kirschbauer
67973d1382
api: expose docstring as function description
2025-07-07 14:51:15 +02:00
Johannes Kirschbauer
e12ee3f03e
openapi: add strict verb checking
2025-07-07 14:35:56 +02:00
Mic92
94d77b67fd
Merge pull request 'Add missing f to f-string' ( #4234 ) from jfly/clan-core:oops-f-string into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4234
2025-07-07 12:30:20 +00:00
Mic92
1b084c8bf9
Merge pull request 'Fix bug? member_id -> member_ip' ( #4235 ) from jfly/clan-core:possible-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4235
2025-07-07 12:30:08 +00:00
Johannes Kirschbauer
cc0382fb57
api/tasks: rename 'cancel_task' into 'delete_task'
2025-07-07 14:07:53 +02:00
Johannes Kirschbauer
fcef864ee3
api/hw: rename 'describe_machine_hardware' into 'get_machine_hardware_summary'
2025-07-07 14:05:57 +02:00
Johannes Kirschbauer
5b6f5e812b
api/hw: rename generate_machine_hardware_info into 'run'
2025-07-07 14:04:39 +02:00
Johannes Kirschbauer
fcc3387332
api/generators: remove term 'vars' interact purely with 'generators'
2025-07-07 13:59:12 +02:00
Brian McGee
22bfc9104d
feat(ui): update playwright to match version in nixpkgs
2025-07-07 12:51:22 +01:00
hsjobeki
7001a82196
Merge pull request 'api/tasks: prefix impure actions with run' ( #4239 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4239
2025-07-07 11:28:07 +00:00
Johannes Kirschbauer
6560738502
api/machine checks: rename, add checkResult
2025-07-07 13:13:00 +02:00
hsjobeki
5750f4bbe7
Merge pull request 'machine/host: degrade into info and add docs' ( #4238 ) from host-info into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4238
Reviewed-by: Luis Hebendanz <consulting@qube.email >
2025-07-07 11:10:05 +00:00
Johannes Kirschbauer
19d86cc431
api/clan: rename 'update_clan_meta' -> 'set_clan_details'
2025-07-07 12:51:32 +02:00
Johannes Kirschbauer
97c27b9449
api/keygen: add todo comment
2025-07-07 12:49:37 +02:00
Johannes Kirschbauer
1180ace4d7
api/admin: remove maybe_get_admin_public_keys
2025-07-07 12:43:11 +02:00
DavHau
ed0b86385b
Refactor StoreBase to take machine name string instead of Machine object
...
- Updated StoreBase.__init__ to accept machine: str and flake: Flake
- Modified all StoreBase subclasses (in_repo, vm, fs, sops, password_store) to match new signature
- Added select_machine method to Flake class for machine-specific attribute selection
- Updated Machine.select to use the new Flake.select_machine method
- Fixed all test cases to pass machine name and flake to store constructors
- Maintained backward compatibility by keeping the same external API
This reduces coupling between the store system and the Machine class,
making the architecture more modular and flexible.
2025-07-07 10:24:11 +00:00
Johannes Kirschbauer
3a237796d9
api/tasks: prefix impure actions with run
2025-07-07 12:09:43 +02:00
hsjobeki
979d5dcdd1
Merge pull request 'api/clan: rename 'show_clan_meta' -> 'get_clan_details'' ( #4236 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4236
2025-07-07 10:00:10 +00:00
Johannes Kirschbauer
eaae9b0025
machine/host: degrade into info and add docs
2025-07-07 11:52:46 +02:00
Brian McGee
f04089a406
feat(ui): refine Fieldset API
2025-07-07 10:51:43 +01:00
Johannes Kirschbauer
0f2fb7302c
api: chore rename outdated reference
2025-07-07 10:53:32 +02:00
Johannes Kirschbauer
874faad285
api: rename 'show_mdns' -> 'list_mdns_services'
2025-07-07 10:49:46 +02:00
Johannes Kirschbauer
972059ebe4
api: rename to get_flash_options
2025-07-07 10:48:14 +02:00
Johannes Kirschbauer
c503f41b7c
docs: improve docstring for 'list_block_devices'
2025-07-07 10:46:26 +02:00
Johannes Kirschbauer
1c33f30135
api/clan: rename 'show_clan_meta' -> 'get_clan_details'
2025-07-07 10:41:00 +02:00
brianmcgee
dd7477a818
Merge pull request 'feat(ui): alert component' ( #4199 ) from ui/alerts into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4199
2025-07-07 08:11:13 +00:00
Jeremy Fleischman
1d9c126f2e
Fix bug? member_id -> member_ip
...
(I stumbled across this while reading code, I haven't tested this at
all.)
2025-07-07 00:49:45 -07:00
Jeremy Fleischman
8714bd2514
Add missing f to f-string
2025-07-07 00:48:32 -07:00
renovate[bot]
0b89811614
chore(deps): lock file maintenance
2025-07-07 05:40:16 +00:00
Michael Hoang
11334f2a3f
Merge pull request 'cli: don't log every public key we find' ( #4233 ) from push-lynrrnswopmw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4233
2025-07-07 05:38:03 +00:00
Michael Hoang
5667ad2994
cli: don't log every public key we find
2025-07-07 15:23:46 +10:00
Michael Hoang
3c0e2ad6cf
Merge pull request 'treewide: don't generate SSH keys with builder hostname' ( #4232 ) from push-suwrloyoqvlq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4232
2025-07-07 04:51:21 +00:00
Michael Hoang
ea1df1e9f4
treewide: don't generate SSH keys with builder hostname
2025-07-07 14:39:57 +10:00
Michael Hoang
1513a42c49
Merge pull request 'docs: misc improvements' ( #4231 ) from push-xlwnnlrownnv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4231
2025-07-07 04:03:33 +00:00
Michael Hoang
679359cb24
clanServices/sshd: add README
2025-07-07 13:54:26 +10:00
Michael Hoang
587db8510d
docs: fix highlighting in code block
2025-07-07 13:54:26 +10:00
Michael Hoang
a91756d54a
docs: remove colon from headings
2025-07-07 13:54:26 +10:00
lassulus
d608aab7ed
Merge pull request 'vars password-store: fix secret mangling due to string encoding' ( #4227 ) from pass-fix-bytes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4227
2025-07-07 00:50:58 +00:00
lassulus
ccd7e3d91d
vars password-store: fix secret mangling due to string encoding
2025-07-07 02:35:17 +02:00
renovate[bot]
9a073d2d58
Update data-mesher digest to a2166c1
2025-07-07 00:10:13 +00:00
lassulus
8b1cd1e0f8
Merge pull request 'rename lingering clan.vars -> clan.core.vars' ( #4224 ) from rip_clan_vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4224
2025-07-06 23:33:31 +00:00
lassulus
bbb7773567
rename lingering clan.vars -> clan.core.vars
2025-07-07 00:59:52 +02:00
hsjobeki
891402760f
Merge pull request 'API: refactor into resource oriented names' ( #4223 ) from api-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4223
2025-07-06 19:11:31 +00:00
Johannes Kirschbauer
045e297438
vars/api: rename 'get_generators_closure' into 'get_machine_generators'
2025-07-06 20:57:42 +02:00
Johannes Kirschbauer
0d0554cdf6
api/hardware: consolidate into 'describe_machine_hardware'
2025-07-06 20:57:42 +02:00
Johannes Kirschbauer
082a66f3fb
api/inventory: remove 'inventory' from api entirely
2025-07-06 20:57:42 +02:00
Johannes Kirschbauer
360766f7a6
api/flash: refactor into 'list_flash_options'
2025-07-06 20:57:42 +02:00
Johannes Kirschbauer
ad48771c98
vars/api: rename, unregister some unused vars functions
2025-07-06 20:57:42 +02:00
Johannes Kirschbauer
7370212ec2
Vars: rename public functions into 'create_machine_vars'
2025-07-06 20:57:42 +02:00
Johannes Kirschbauer
3af529d76e
Vars: rename 'keygen' to 'create_secrets_user'
2025-07-06 20:57:42 +02:00
hsjobeki
a269124840
Merge pull request 'Templates/cli: move display command into it own category' ( #4222 ) from clan-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4222
2025-07-06 18:26:45 +00:00
Johannes Kirschbauer
d4cbdcdc3b
Docs: update index
2025-07-06 20:06:17 +02:00
Johannes Kirschbauer
7916616373
machine: rename standalone 'get_host' to 'get_machine_host'
2025-07-06 19:47:58 +02:00
Johannes Kirschbauer
76da95c6ba
Templates/cli: move display command into it own category
2025-07-06 19:36:57 +02:00
hsjobeki
dc627a1b78
Merge pull request 'Templates: remove InputPrio and related classes' ( #4221 ) from clan-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4221
2025-07-06 17:19:31 +00:00
Johannes Kirschbauer
d49ff467db
Templates: remove InputPrio and related classes
2025-07-06 19:08:45 +02:00
renovate[bot]
ab15187f58
Lock file maintenance
2025-07-06 15:00:31 +00:00
hsjobeki
a4f0bf409f
Merge pull request 'templates_url: add clan template url test' ( #4216 ) from clan-templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4216
2025-07-06 14:54:42 +00:00
Johannes Kirschbauer
072654abd6
Templates: fix invalid mock flake
2025-07-06 16:43:38 +02:00
Johannes Kirschbauer
ad169d4d52
Fix/ui: update create argument
2025-07-06 15:48:35 +02:00
Johannes Kirschbauer
f2db543651
Templates: migrate clan templates to flake identifiers
2025-07-06 15:37:10 +02:00
Johannes Kirschbauer
e18fe13430
Templates: remove outdated check for 'configuration.nix' in machine templates
2025-07-06 15:37:10 +02:00
Johannes Kirschbauer
8de70da475
Templates: replace leftover MachineID, by Machine
2025-07-06 15:37:10 +02:00
Johannes Kirschbauer
091c567570
templates_url: add clan template url test
2025-07-06 15:37:10 +02:00
lassulus
5845b3f90d
Merge pull request 'Revert "make host key check an enum instead of an literal type"' ( #4220 ) from revert_host_key_check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4220
2025-07-06 13:19:00 +00:00
lassulus
045b250f9a
Revert "make host key check an enum instead of an literal type"
...
This reverts commit 3d83017acd .
2025-07-06 14:51:19 +02:00
hsjobeki
254569481a
Merge pull request 'Templates/list: display templates via exposed nix value' ( #4219 ) from templates-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4219
2025-07-06 12:49:58 +00:00
Johannes Kirschbauer
adb726c318
Templates/list: display templates via exposed nix value
2025-07-06 14:37:03 +02:00
lassulus
a903bf2cd9
Merge pull request 'vars/password-store: replace passBackend option with passPackage' ( #4134 ) from lassulus/passage_compat into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4134
2025-07-06 11:44:27 +00:00
hsjobeki
2d23c22024
Merge pull request 'clan-cli: fix incorrect field name in deploy warning messages. The warning for missing buildHost/targetHost always showed targetHost in the path, even when buildHost was the missing field.' ( #4217 ) from pr-4215 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4217
2025-07-06 10:54:55 +00:00
lassulus
2f0f9a9fba
vars/password-store: replace passBackend option with passPackage
...
The `clan.core.vars.settings.passBackend` option has been replaced with
`clan.vars.password-store.passPackage` to provide better type safety and
clearer configuration.
Changes:
- Remove problematic mkRemovedOptionModule that caused circular dependency
- Add proper option definition with assertion-based migration
- Users setting the old option get clear migration instructions
- Normal evaluation continues to work for users not using the old option
Migration: Replace `clan.core.vars.settings.passBackend = "passage"`
with `clan.vars.password-store.passPackage = pkgs.passage`
2025-07-06 12:46:39 +02:00
lassulus
d3cd481600
fix(flake): handle file paths with line numbers in cache existence check
...
The is_cached method now correctly handles store paths that have line
numbers appended (e.g., /nix/store/file.nix:123:456). Previously, these
paths would fail the existence check because the exact path with line
numbers doesn't exist as a file.
The fix adds a helper method that:
- First checks if the exact path exists
- If not, and the path contains colons, validates that the suffix
consists only of numbers (line:column format)
- If valid, strips the line numbers and checks the base file path
This ensures that cached references to specific file locations are
properly validated while avoiding false positives with files that
have colons in their names.
2025-07-06 12:44:15 +02:00
adeci
5e55f07846
clan-cli: fix incorrect field name in deploy warning messages. The warning for missing buildHost/targetHost always showed targetHost in the path, even when buildHost was the missing field.
2025-07-06 12:44:02 +02:00
hsjobeki
cff2d9d901
Merge pull request 'lib/get_host: improve abstraction, turn missconfiguration into a warning' ( #4201 ) from cli-fixup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4201
2025-07-06 10:38:03 +00:00
Johannes Kirschbauer
87fc3e01d1
cli/update: refactor machine selection logic into 'get_machines_for_update'
2025-07-06 12:27:28 +02:00
Johannes Kirschbauer
b406d364a9
machines/list: rename helper to instantiate_inventory_to_machines
2025-07-06 12:24:16 +02:00
Johannes Kirschbauer
a315e114bc
machines/list: remove duplicate query_machines_by_tags
2025-07-06 12:23:47 +02:00
Johannes Kirschbauer
605a0242c2
CLI: update requireExplicitUpdate in help
2025-07-06 12:22:25 +02:00
Johannes Kirschbauer
826ea7d515
cli: return validated list from validate_machine_names
2025-07-06 12:22:00 +02:00
Johannes Kirschbauer
1166d45352
lib/get_host: improve abstraction, turn missconfiguration into a warning
...
Motivation: A warning should encourage consistent usage of inventory.machines setting targetHost inside the machine should be considered a custom override
Changing the warning strings to avoid the term 'nix'/'json' both inventory and nixos machines are nix features
2025-07-06 12:08:00 +02:00
lassulus
104bedceaa
Merge pull request 'better_select_output' ( #4213 ) from better_select_output into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4213
2025-07-06 00:24:06 +00:00
lassulus
aaa27a0d0e
clan_cli: better select debug output
2025-07-06 01:17:55 +02:00
lassulus
af33f122b0
clan_cli flake: remove apply from select, as it will break stuff in horrible ways
...
Since apply changes the structure of the retuned value, the cache will
be confused about the structure and in subsequent request will use this
wrong structure.
For example: we would use builtins.attrNames on inputs, the flake will
forever think that inputs is a list of strings and will report errors
whenever we try to fetch subkeys from it
2025-07-06 01:17:55 +02:00
lassulus
8bbee566fc
clan_cli run: add trace runOption to disable verbose traces in debug mode
2025-07-05 19:48:50 +02:00
lassulus
883cdd71d9
Merge pull request 'clan_cli machines update: remove caching of sometimes missing pass config' ( #4212 ) from fix_update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4212
2025-07-05 17:42:45 +00:00
lassulus
453aec3273
clan_cli machines update: remove caching of sometimes missing pass config
...
This config value is not set if people don't use pass, it's also at the wrong location
We could cache it with a maybe, but we plan to move it anyway
2025-07-05 18:39:53 +02:00
DavHau
bfc8c4c399
refactor: reduce coupling to Machine class in vars module
...
- Change Generator class to store machine name as string instead of Machine reference
- Update Generator.generators_from_flake() to only require machine name and flake
- Refactor check_vars() to accept machine name and flake instead of Machine object
- Create Machine instances only when needed for specific operations
This continues the effort to reduce dependencies on the Machine class,
making the codebase more modular and easier to refactor.
2025-07-05 16:30:05 +07:00
DavHau
3d2ede9f8e
refactor: remove Machine.vars_generators() method
...
Replace all calls to machine.vars_generators() with direct calls to
Generator.generators_from_flake() to make the dependency more explicit
and remove unnecessary indirection.
This reduces coupling to the Machine class, making the codebase more
modular and easier to refactor in the future.
2025-07-05 15:26:31 +07:00
renovate[bot]
3934ca6908
chore(deps): update disko digest to da6109c
2025-07-04 16:50:11 +00:00
Mic92
44312657aa
Merge pull request 'Qubasa-hsjobeki/bump-nixpkgs' ( #4205 ) from Qubasa-hsjobeki/bump-nixpkgs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4205
2025-07-04 16:47:23 +00:00
Jörg Thalheim
e383a8ddf4
zerotierone: disable tests on macos
2025-07-04 18:39:01 +02:00
Jörg Thalheim
c5bc1a225d
terminate_process_group: also properly yield iterator when we return early
2025-07-04 18:39:01 +02:00
Jörg Thalheim
3e2459fa40
migrate all projects to python 3.13 linting
2025-07-04 18:39:01 +02:00
Jörg Thalheim
e8247533a9
clan-cli: handle None in union types to prevent TypeError
...
Add comprehensive test coverage for union types with None to prevent
regression of the issubclass() TypeError that was occurring when
checking if None is in a union type.
2025-07-04 18:39:01 +02:00
Jörg Thalheim
cb89457731
migrate all projects to python 3.13 linting
2025-07-04 18:39:01 +02:00
Mic92
d8a658dbce
Merge pull request 'change install test to run clan outside of the VM' ( #3906 ) from vm-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3906
2025-07-04 15:17:14 +00:00
Qubasa
0d1e1d9796
treefmt/ruff: Set python lint version to 3.13. Fix all new lints coming up.
2025-07-04 17:11:31 +02:00
Johannes Kirschbauer
69b9187598
Chore: bump nixpkgs
2025-07-04 17:11:31 +02:00
Jörg Thalheim
15b0a84314
nixoTestLib: split setting up function for port-forwarding and setuping up flake
2025-07-04 16:56:42 +02:00
Michael Hoang
fecbb1f017
Merge pull request 'clanServices/wifi: fix autoConnect setting not doing anything' ( #4204 ) from push-msokoouryrwq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4204
2025-07-04 14:33:49 +00:00
Michael Hoang
2b6fc723cc
clanServices/wifi: fix autoConnect setting not doing anything
2025-07-05 00:05:48 +10:00
pinpox
3df848c42c
Merge pull request 'Re-introduce state-version option' ( #4179 ) from state-version-option-again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4179
2025-07-04 14:02:05 +00:00
Jörg Thalheim
f24e1beb98
only override identify/host_key_check in a single place
2025-07-04 14:36:05 +02:00
Jörg Thalheim
3d83017acd
make host key check an enum instead of an literal type
...
this is more typesafe at runtime.
2025-07-04 14:36:05 +02:00
Jörg Thalheim
7f744079a6
nixosTestLib: use xargs for copying store inputs
2025-07-04 14:36:05 +02:00
Jörg Thalheim
4775f2b473
nixosTestLib: substitute dependencies on tools in
2025-07-04 14:36:05 +02:00
Jörg Thalheim
764cd54ee5
nixosTestLib: fix various linting issues
2025-07-04 14:36:05 +02:00
Jörg Thalheim
a58e128b3a
inline create_test_machine again
2025-07-04 14:36:05 +02:00
Jörg Thalheim
81774c4ac4
setup_nix_in_nix: use cp intead of shutil
...
it's faster and handles symlinks
2025-07-04 14:36:05 +02:00
Jörg Thalheim
f5b54443da
move nixosTestLib to pkgs/testing
2025-07-04 14:36:05 +02:00
Jörg Thalheim
3059f10da3
move setup_nix_in_nix into nixos_test_lib
2025-07-04 14:36:02 +02:00
Jörg Thalheim
63397a7c8b
share more code between installation and update test
2025-07-04 14:14:28 +02:00
Jörg Thalheim
0bd66be152
add -i option to update-hardware-config
2025-07-04 14:14:28 +02:00
Jörg Thalheim
d9da9e4676
add port_utils module for installation testions
2025-07-04 14:14:28 +02:00
Jörg Thalheim
fe633d9c09
bump clan-core-for-checks
2025-07-04 14:14:28 +02:00
Jörg Thalheim
2a64e50798
change install test to run clan outside of the VM
2025-07-04 14:14:28 +02:00
pinpox
7414bd8024
Merge branch 'main' into state-version-option-again
2025-07-04 11:56:15 +00:00
hsjobeki
5b61c4253a
Merge pull request 'clan_lib/openapi: add openapi rendering' ( #4200 ) from lib-openapi into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4200
2025-07-04 11:54:13 +00:00
hsjobeki
2c8b457fd5
Merge pull request 'Clan_lib: add filtering by tag to list API' ( #4197 ) from cli-fixup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4197
2025-07-04 11:53:43 +00:00
Johannes Kirschbauer
12a77da0ae
api: rename script to openapi.py
2025-07-04 13:40:59 +02:00
Luis Hebendanz
9fb7f12ee3
Merge pull request 'clan-app: Implement dynamic groups and array based filtering of logs and groups' ( #4190 ) from Qubasa/clan-core:add_clan_group into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4190
2025-07-04 11:06:50 +00:00
Qubasa
5b21a266fc
clan-app: Implement dynamic log groups into javascript callApi
...
nix fmt
2025-07-04 17:49:00 +07:00
Johannes Kirschbauer
38b8722e2e
Docs: init redoc internal rest inspired docs
2025-07-04 12:45:39 +02:00
Johannes Kirschbauer
dc4733d0d0
clan_lib/openapi: add openapi rendering
2025-07-04 12:09:16 +02:00
pinpox
9a293f790e
Add state-version nixos option
...
This reverts commit 8f6f06bef3 .
2025-07-04 11:54:12 +02:00
Brian McGee
a5dfb25dc7
feat(ui): alert component
2025-07-04 10:51:18 +01:00
brianmcgee
1b34aa06a4
Merge pull request 'ui/form-components' ( #4118 ) from ui/form-components into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4118
2025-07-04 08:30:22 +00:00
Johannes Kirschbauer
512f7294e6
lib/convert_inventory_to_machines: add classmethod for common conversion of Machine and InventoryMachine
2025-07-04 10:18:14 +02:00
Johannes Kirschbauer
2e38b314ad
lib/get_host: improve abstraction, turn missconfiguration into a warning
...
Motivation: A warning should encourage consistent usage of inventory.machines setting targetHost inside the machine should be considered a custom override
Changing the warning strings to avoid the term 'nix'/'json' both inventory and nixos machines are nix features
2025-07-04 10:02:06 +02:00
Johannes Kirschbauer
41cafe828f
Clan_lib: add filtering by tag to list API
2025-07-04 09:48:21 +02:00
Johannes Kirschbauer
b0c24edd48
cli: move some references to duplicate list machines
2025-07-04 09:32:43 +02:00
Qubasa
e982daf9d9
clan_lib: Move load_in_all_api_functions to clan_lib
2025-07-04 14:22:40 +07:00
Qubasa
d4a67eb1a6
clan_lib: Heavily simplified log_manager and test suite to concentrate on actually used features
2025-07-04 14:05:31 +07:00
Qubasa
43e6351a21
clan_lib: Add better docstrings to log_manager
2025-07-04 13:35:34 +07:00
Qubasa
a4964c4c93
clan_lib: expose log_manager with API.register properly
2025-07-04 13:19:09 +07:00
Qubasa
83e4dcf8f7
clan-cli: Print function name to raise for unsupported types by API.register
2025-07-04 13:17:01 +07:00
renovate[bot]
6582a04b54
chore(deps): update sops-nix digest to 3633fc4
2025-07-04 05:30:12 +00:00
DavHau
81238599cc
Merge pull request 'reverting b1f71fe4fbd5533985e2a3f9f69ecba2b382b58b' ( #4194 ) from davhau/dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4194
2025-07-04 03:51:22 +00:00
DavHau
67a37a9d2c
reverting b1f71fe4fb
2025-07-04 10:35:30 +07:00
Mic92
546b963f01
Merge pull request 'actually import state-version' ( #4193 ) from fix-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4193
2025-07-03 18:32:15 +00:00
Jörg Thalheim
ca3f6bd160
actually import state-version
2025-07-03 20:19:19 +02:00
lassulus
401799b5bc
Merge pull request 'refactor: remove _serialized field and implement efficient vars selection' ( #4187 ) from remove_serialized into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4187
2025-07-03 17:18:27 +00:00
lassulus
c760561dbd
refactor: remove _serialized field and implement efficient vars selection
...
- Remove _serialized field from vars interface to prevent serialization
errors with throwing passBackend field
- Implement direct selection of generator fields using multi-select syntax
- Refactor vars_generators() to use new Generator.from_flake() method that
selects only safe fields (avoiding non-serializable values)
- Remove unused legacy methods: Generator.from_json(), Var.from_json(),
Prompt.from_json()
- Update precaching to match new selection approach
This fixes the serialization errors that were preventing vars from working
with the new password-store implementation by avoiding the problematic
_serialized field entirely.
2025-07-03 18:53:36 +02:00
lassulus
30bc8cb5d3
flake: prevent outPath in multiselect to avoid serialization issues
...
When using multiselect with outPath like {outPath,?meta}, nix evaluation
collapses the attrset to just the outPath string, breaking further selection.
Add validation during selector parsing to catch this and provide a clear error.
2025-07-03 18:53:36 +02:00
Brian McGee
98c9414071
fix(ui): disabled storybook derivation
...
Something about passing orientation in any of the Form stories is causing the browser to crash
`npm run test-storybook-static` works fine in the devshell.
Disabling for now as it's slowing down development.
2025-07-03 17:50:42 +01:00
Brian McGee
dcb7e546ca
feat(ui): flatten the Field pattern and introduce Orienter component
2025-07-03 17:50:41 +01:00
Brian McGee
d2a76f4e83
feat(ui): simplify timeout speedup for button stories
2025-07-03 17:50:40 +01:00
Brian McGee
b7792a34c8
feat(ui): Combobox component and style tooltip for label
2025-07-03 17:50:40 +01:00
Brian McGee
3b4fa41840
feat(ui): simplify form components
...
Better pass through to the underlying Kobalte API without re-defining types.
2025-07-03 17:50:39 +01:00
Brian McGee
9d257c1538
fix(ui): hover and inverted colors for checkbox
2025-07-03 17:50:39 +01:00
Brian McGee
dffbc28723
feat(ui): add fieldset component
2025-07-03 17:50:38 +01:00
Brian McGee
b2a1c8cf6a
feat(ui): add form field with text, textarea and checkbox support
2025-07-03 17:50:38 +01:00
hsjobeki
d5a1aba480
Merge pull request 'docs: update vpn setup instructions' ( #4192 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4192
2025-07-03 14:32:13 +00:00
Johannes Kirschbauer
0f6f0a6237
docs: add zerotier debugging commands
2025-07-03 16:25:10 +02:00
Qubasa
85670d1dda
clan-app: Implement dynamic groups and array based filtering of logs and groups
2025-07-03 17:49:34 +07:00
hsjobeki
0d771ffd10
Merge pull request 'inventory: fix missing default for instances.*.module' ( #4189 ) from fix-inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4189
2025-07-03 10:13:57 +00:00
Johannes Kirschbauer
f40ceccdc0
inventory: fix missing default for instances.*.module
2025-07-03 12:06:29 +02:00
Johannes Kirschbauer
62ada9e1c2
docs: update vpn setup instructions
2025-07-03 12:04:56 +02:00
Johannes Kirschbauer
fe47157a7c
docs: fix wrong roles assignment syntax
2025-07-03 11:42:26 +02:00
lassulus
b607e1ac25
Merge pull request 'refactor: remove deployment.json and use direct selectors' ( #4142 ) from lassulus/remove-deployment-json into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4142
2025-07-02 19:13:39 +00:00
lassulus
a055b4d1eb
refactor: remove deployment.json and use direct selectors
...
- Remove deployment.json file generation from outputs.nix
- Add throw for deprecated deployment.file usage with upgrade instructions
- Remove vars data from deployment.data
- Update Machine class to use direct select() calls instead of deployment property
- Update all deployment property accesses to use direct selectors
- Add precaching for frequently accessed values in update.py:
- Module paths for facts and vars
- Deployment settings (requireExplicitUpdate, nixosMobileWorkaround)
- Services and generators data
- Secret upload locations
- This removes unnecessary JSON serialization and makes the code more composable
2025-07-02 20:56:23 +02:00
hsjobeki
40cd8672f1
Merge pull request 'machines/update: queue update only for machines_to_update' ( #4186 ) from cli-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4186
2025-07-02 17:16:12 +00:00
Johannes Kirschbauer
9932f170ca
machines/update: queue update only for machines_to_update
2025-07-02 19:05:37 +02:00
hsjobeki
93fc836e6b
Merge pull request 'clan.deployment: unify deprecated options' ( #4184 ) from cli-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4184
2025-07-02 16:48:19 +00:00
Johannes Kirschbauer
b1f71fe4fb
clan.deployment: unify deprecated option
2025-07-02 18:37:29 +02:00
hsjobeki
6dbd4596a3
Merge pull request 'docs/secrets: setup move plugins section to the bottom. Normal users don't have that, smart people read from bottom up' ( #4185 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4185
2025-07-02 16:32:31 +00:00
Johannes Kirschbauer
35b426f943
docs/secrets: setup move plugins section to the bottom. Normal users don't have that, smart people read from bottom up
2025-07-02 18:23:48 +02:00
Johannes Kirschbauer
dfb53deeca
cli: fix listing maschines by their name
2025-07-02 18:18:48 +02:00
hsjobeki
77f73c7abc
Merge pull request 'docs/index: encourage non-linear flow' ( #4183 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4183
2025-07-02 15:13:50 +00:00
Johannes Kirschbauer
54396e8744
docs/index: add progress tracker, encourage non-linear flow
2025-07-02 17:02:16 +02:00
Johannes Kirschbauer
bcebfc7b8e
docs: rephrase add machines for planned dynamic templates
2025-07-02 17:01:40 +02:00
Johannes Kirschbauer
83b38e9e01
docs: add emojis to getting-started
2025-07-02 17:00:51 +02:00
hsjobeki
d872a76345
Merge pull request 'docs: clarify project structure exploration in Getting Started' ( #4182 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4182
2025-07-02 14:39:42 +00:00
Johannes Kirschbauer
2079fe06be
docs: clarify project structure exploration in Getting Started
2025-07-02 16:32:30 +02:00
hsjobeki
3f22c53e28
Merge pull request 'docs: remove step numbers' ( #4181 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4181
2025-07-02 14:01:43 +00:00
Johannes Kirschbauer
454e68615c
docs: remove api reference build command
2025-07-02 15:53:48 +02:00
Johannes Kirschbauer
8097d491cd
docs: remove step numbers
...
Numerating steps is not informative and considered bad style
People tend to follow documentation non-linearly
leaving of at one point, starting over from the middle
Documentation should be written in a way that allow for that
2025-07-02 15:53:24 +02:00
Mic92
fb3685d721
Merge pull request 'vars: make debug logging less verbose' ( #4171 ) from merge-when-green-joerg into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4171
2025-07-02 11:48:59 +00:00
Luis Hebendanz
412602161c
Merge pull request 'clan-app: Init machine based API logging' ( #4133 ) from Qubasa/clan-core:improve_ui_logs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4133
2025-07-02 11:30:22 +00:00
Qubasa
903331a789
clan-app: whitelist necessary any usage in api./index.tsx
2025-07-02 18:11:28 +07:00
Jörg Thalheim
d434731c22
clan_lib/test_create: fix test when running outside of the sandbox...
2025-07-02 13:04:46 +02:00
Qubasa
721941031e
clan-cli: api.py add python header
2025-07-02 17:59:24 +07:00
Qubasa
9cf6cecdae
clan-app: Add logging middleware
2025-07-02 17:59:05 +07:00
hsjobeki
f372660ed5
Merge pull request 'pytest: improve logging a bit' ( #4180 ) from pytest-logs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4180
2025-07-02 10:47:14 +00:00
Johannes Kirschbauer
e6b163cb7a
pytest: improve logging a bit
2025-07-02 12:35:02 +02:00
Qubasa
26680bc784
clan-app: simplified task function, moved them to a separate file
2025-07-02 16:18:37 +07:00
Qubasa
7d378ca9fa
webview-lib: Moved repo to gitea, updated revision. Removed set_icon
2025-07-02 16:16:37 +07:00
Qubasa
ee5510eda6
clan-app: Add pygdb.sh for debugging crashes in webview-lib
2025-07-02 16:00:55 +07:00
Qubasa
7520f202dd
clan-app: Fix .local.env not being sourced
2025-07-02 16:00:34 +07:00
Qubasa
7d307b9b81
ui-2d: Fix build errors
2025-07-02 15:59:50 +07:00
hsjobeki
6a411250b7
Merge pull request 'clanServices: add flake level exports' ( #4172 ) from flake-exports into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4172
2025-07-02 08:42:07 +00:00
Johannes Kirschbauer
2afc653877
clan/exportsModule: add missing default
2025-07-02 10:32:56 +02:00
Johannes Kirschbauer
416d789188
flake-exports: add options documentation
2025-07-02 10:22:09 +02:00
hsjobeki
978c893184
Merge pull request 'Revert "Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main"' ( #4176 ) from revert-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4176
2025-07-02 07:37:37 +00:00
Johannes Kirschbauer
12730428bb
test: enable unsafe teardown of tempDir
...
aarch64 libc or kernel might be stricter in keeping files locked while they're open.
This causes failed teardown of the tmpdir
2025-07-02 09:27:05 +02:00
renovate[bot]
9235917d5b
chore(deps): update data-mesher digest to 246f0d6
2025-07-02 00:20:19 +00:00
renovate[bot]
5870323717
chore(deps): update flake-parts digest to 7782624
2025-07-02 00:00:16 +00:00
Johannes Kirschbauer
8f6f06bef3
Revert "Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main"
...
This reverts commit 8a7b6d13b5 , reversing
changes made to 7a4eeb5b16 .
2025-07-01 18:15:11 +02:00
kenji
5bec753fda
Merge pull request 'docs(clan): Improve state-version documentation' ( #4174 ) from kenji/ke-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4174
2025-07-01 15:40:33 +00:00
Johannes Kirschbauer
af06dec6f4
clanServices: add test to ensure nixosModule is imported
2025-07-01 17:35:04 +02:00
a-kenji
8199e53918
docs(clan): Improve state-version documentation
2025-07-01 17:32:20 +02:00
hsjobeki
41743be468
Merge pull request 'clanServices: remove recursive services' ( #4173 ) from revert-recursive-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4173
2025-07-01 15:11:57 +00:00
Johannes Kirschbauer
8d15a7ed62
clanServices: remove recursive services
...
Initially added in #3972 we've decided to remove them, because they are to complex to use correctly
2025-07-01 17:03:58 +02:00
Johannes Kirschbauer
a89502e47f
clanServices: add flake level exports
2025-07-01 16:54:19 +02:00
Jörg Thalheim
41862ef3d3
vars: make debug logging less verbose
2025-07-01 15:04:03 +02:00
hsjobeki
a052f30b10
Merge pull request 'clanServices: clean up, add tests' ( #4157 ) from default-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4157
2025-07-01 12:09:28 +00:00
hsjobeki
69f070ac70
Merge pull request 'Lib/flakes: remove self references' ( #4165 ) from fix-lib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4165
2025-07-01 12:03:52 +00:00
Johannes Kirschbauer
d785169fbf
lib.clan: properly merge self attrs
2025-07-01 14:02:02 +02:00
Johannes Kirschbauer
20e17b0e56
Lib/flakes: remove self references
2025-07-01 13:57:49 +02:00
Johannes Kirschbauer
27a3333c9e
tests: update buildClan args
2025-07-01 13:21:12 +02:00
Johannes Kirschbauer
42d1cd2a83
modules/clan: inject .clan into self.inputs if self is an attribute set
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
afd1ba6306
checks: mock self.inputs.self by default
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
e260168a6b
clanServices: add tests for resolve modules
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
1e94fd18f8
clanServices: remove unnecessary localModules
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
65f01c72bd
clanServices: remove unneeded self reference in lib
2025-07-01 13:19:37 +02:00
hsjobeki
bacff5c49f
Merge pull request 'clan_lib/tests: add big fat warning comment to save peoples time' ( #4168 ) from test-1+ into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4168
2025-07-01 11:19:13 +00:00
Mic92
b766d290cd
Merge pull request 'vars-check: replace slow python implementation with pure nix' ( #4144 ) from machine-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4144
2025-07-01 10:53:27 +00:00
Jörg Thalheim
a780dbe60c
vars-check: replace slow python implementation with pure nix
2025-07-01 12:46:50 +02:00
Johannes Kirschbauer
9e8bf61156
clan_lib/tests: add big fat warning comment to save peoples time
2025-07-01 12:30:17 +02:00
hsjobeki
8419077777
Merge pull request 'buildClan: replace all usages by lib.clan' ( #4167 ) from build-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4167
2025-07-01 10:19:07 +00:00
Johannes Kirschbauer
667cee0f6e
buildClan: replace all usages by lib.clan
2025-07-01 11:56:31 +02:00
kenji
78379e81e4
Merge pull request 'checks/syncthing: Disable the syncthing check for now' ( #4160 ) from kenji/ke-syncthing-disable-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4160
2025-07-01 09:23:40 +00:00
renovate[bot]
20e9544cbf
chore(deps): update nix-darwin digest to e04a388
2025-06-30 21:30:17 +00:00
a-kenji
bd15d52625
checks/syncthing: Disable the syncthing check for now
...
This particular check has been gotten quite slow over time,
as the upstream module has been updated.
This will be reintroduced in a more performant fashion, once the
`syncthing` module has been ported.
2025-06-30 17:47:31 +02:00
lassulus
5262eaeedf
Merge pull request 'clanLib: remove select' ( #4158 ) from fix-lib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4158
Reviewed-by: lassulus <clanlol@lassul.us >
2025-06-30 15:31:06 +00:00
brianmcgee
9c0aeb7516
Merge pull request 'feat(ui): use fake timer in tests and real timer in browser for storybook interaction tests' ( #4159 ) from feat/storybook-fake-timers into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4159
2025-06-30 14:50:31 +00:00
Brian McGee
839f94d2c7
feat(ui): use fake timer in tests and real timer in browser for storybook interaction tests
...
I believe the time-based tests are falsely failing when the CI machine is under high load. This also speeds up the tests in CI.
I'm not 100% happy with the approach, but this should resolve CI issues in the short term until I can improve things.
2025-06-30 15:19:57 +01:00
hsjobeki
abbf2c1083
Merge pull request 'Docs: getting started add services' ( #4156 ) from doc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4156
2025-06-30 14:16:00 +00:00
Johannes Kirschbauer
4f496a84f9
clanLib: remove select
2025-06-30 16:14:01 +02:00
Johannes Kirschbauer
eab918324b
Docs: getting started add services
2025-06-30 15:14:47 +02:00
DavHau
88dcd5c052
Merge pull request 'checks: introduce check.<system> for faster local checks' ( #4155 ) from dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4155
2025-06-30 13:08:33 +00:00
DavHau
913ea5b30b
checks: introduce check.<system> for faster local checks
...
We haven many VM tests which are quite slow, therefore q local `nix flake check` doesn't make sense anymore in most cases.
This introduces a set of cheaper local tests to be run via:
```
nix run .#check.x86_64-linux -L
```
2025-06-30 19:55:25 +07:00
DavHau
e219a636ca
checks: fix some tests not named correctly
2025-06-30 19:50:16 +07:00
DavHau
a43eee2860
checks: prefix all nixos tests with nixos-test-
2025-06-30 19:14:24 +07:00
DavHau
acffa629e1
checks: rename dummy-inventory-test -> service-dummy-test
2025-06-30 19:06:13 +07:00
DavHau
73b298d0b2
checks: rename attributes for better discoverability
...
- all eval checks prefixed with `eval-`
- all service checks prefixed with `service-`
2025-06-30 19:04:21 +07:00
hsjobeki
8b1e8201aa
Merge pull request 'docs: move deployment docs from add machine to deploy' ( #4153 ) from doc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4153
2025-06-30 11:50:35 +00:00
DavHau
6f2672addd
services: improve error when module not found
2025-06-30 11:44:30 +00:00
DavHau
8a7b6d13b5
Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4056
2025-06-30 11:24:42 +00:00
Johannes Kirschbauer
ff52f38f87
Docs: rename installer to usb installer
2025-06-30 13:03:07 +02:00
Johannes Kirschbauer
e55220ed47
docs: move deployment docs from add machine to deploy
2025-06-30 13:02:57 +02:00
Johannes Kirschbauer
a7bca56487
docs: mark getting-started/flash installer as optional"
2025-06-30 13:02:46 +02:00
pinpox
4709e8e2f6
Remove state-version module from tests
2025-06-30 12:58:05 +02:00
pinpox
507152a1cc
Add state-version option
2025-06-30 12:54:29 +02:00
pinpox
ef3c22f240
Remove state-version module and service
2025-06-30 12:54:29 +02:00
DavHau
7a4eeb5b16
docs: explain about simplified way of specifying instances
2025-06-30 10:27:37 +00:00
pinpox
3e882e3578
Merge pull request 'Add example for users service' ( #4150 ) from doc-users into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4150
2025-06-30 10:25:51 +00:00
DavHau
137d33285b
Merge pull request 'clan services: use clan-core as a default source for services' ( #4147 ) from davhau/dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4147
2025-06-30 10:13:46 +00:00
DavHau
2a3e786cfe
tests: explicitly specify services to be sourced from self
...
See previous commit
2025-06-30 10:13:46 +00:00
DavHau
f966f5b745
clan services: use service modules from clan-core by default
...
Users will use clan-core services first before making their own. Therefore this is a better default. Also it allow us to simplify rendering of our docs
2025-06-30 10:13:46 +00:00
pinpox
e01dd8f9e8
Add example
2025-06-30 12:09:29 +02:00
renovate[bot]
76ca59e9d3
chore(deps): update nix-darwin digest to 425c929
2025-06-30 09:00:18 +00:00
renovate[bot]
4bc93b2f30
chore(deps): update data-mesher digest to 97d8e88
2025-06-30 00:20:20 +00:00
Mic92
1b222ec377
Merge pull request 'Fix darwin support again' ( #4143 ) from machine-class into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4143
2025-06-29 22:08:52 +00:00
Jörg Thalheim
14226d222e
add regression test for macOS evaluation
2025-06-29 23:58:19 +02:00
Jörg Thalheim
37611d2477
overridePkgs: drop unneeded parantheses
2025-06-29 23:58:19 +02:00
Jörg Thalheim
ad85a7bac8
darwinConfigurations/darwinModules: export with right _file attributes
2025-06-29 23:58:19 +02:00
Jörg Thalheim
fd689a25f5
no longer fallback to "nixos" machineClass
...
we should always have a value defined.
2025-06-29 23:58:19 +02:00
lassulus
4b16a33340
Merge pull request 'refactor: replace eval_nix/build_nix with machine.select()' ( #4139 ) from lassulus/refactor-machine-select-clean into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4139
2025-06-29 16:57:27 +00:00
lassulus
cc923d5638
refactor: replace eval_nix/build_nix with machine.select()
...
- Remove nix(), eval_nix(), and build_nix() methods from Machine class
- Add select() method that handles machine-specific attribute prefixes
- Update all usages to use machine.select() directly
- Handle Path conversion and tmp_store logic at call sites
- This simplifies the Machine API and prepares for deployment.json removal
2025-06-29 17:00:27 +02:00
Luis Hebendanz
f9f7d65e94
Merge pull request 'revert_templates' ( #4132 ) from Qubasa/clan-core:revert_templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4132
2025-06-28 15:55:45 +00:00
Qubasa
51f9c5724a
Revert "add flakeparts to template test"
...
This reverts commit a263643cd7 .
2025-06-28 22:43:34 +07:00
Qubasa
4143e03042
Revert "Update new-clan template"
...
This reverts commit 7ad7c3f859 .
2025-06-28 22:42:46 +07:00
Qubasa
863aa9029c
Revert "Cleanup templates"
...
This reverts commit 77d8f76eb8 .
2025-06-28 22:42:39 +07:00
Qubasa
2b5f20c4f4
Revert "templates/minimal: consistent input names"
...
This reverts commit 8ab9556a12 .
2025-06-28 22:42:20 +07:00
Qubasa
1be70856d5
Revert "tests/create_clan: bring back read,write checks"
...
This reverts commit f6cad7c4a4 .
2025-06-28 22:42:11 +07:00
Qubasa
ed853e19f5
Revert "templates/minimal: reuse flake-parts from clan-core"
...
This reverts commit de7f2dc6cb .
2025-06-28 22:41:45 +07:00
Qubasa
9f1482e539
Revert "templates: fix tests"
...
This reverts commit df598275f9 .
2025-06-28 22:41:31 +07:00
Qubasa
ab872711c8
Revert "templates: remove .clan-flake"
...
This reverts commit 14eb541256 .
2025-06-28 22:40:55 +07:00
Mic92
15eec31684
Merge pull request 'drop more dependencies from pytest' ( #4131 ) from speed-up-vars-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4131
2025-06-28 07:42:01 +00:00
Jörg Thalheim
4704fff151
drop more dependencies from pytest
2025-06-28 09:27:34 +02:00
Mic92
a73f91c162
Merge pull request 'don't keep appending --impure to nix_options when running tests' ( #4128 ) from speed-up-flake-select into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4128
2025-06-28 07:26:16 +00:00
Jörg Thalheim
aba15d517f
consolidate clan-lib/clan-cli pytest into one test derivation
...
Than we can re-use test pytest worker better and it's less complex.
2025-06-28 09:11:14 +02:00
Jörg Thalheim
784828f966
drop virtviwer from testRuntimeDependencies
2025-06-28 09:11:14 +02:00
Jörg Thalheim
751a742a75
generate-test-vars: fix entrypoint
2025-06-28 08:50:41 +02:00
Jörg Thalheim
581dfeffeb
fix unlocked flake.lock in tests
2025-06-28 08:50:41 +02:00
hsjobeki
4d12af273d
Merge pull request 'machines/create: fix handle defaults' ( #4129 ) from update-templates-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4129
2025-06-27 18:59:39 +00:00
Johannes Kirschbauer
181d44e83c
machines/create: fix handle defaults
2025-06-27 20:28:11 +02:00
Jörg Thalheim
8fc67d00e3
select: drop unused --impure flag
2025-06-27 19:30:45 +02:00
Jörg Thalheim
6e8581189e
select: use nix_options copy
2025-06-27 19:30:45 +02:00
Jörg Thalheim
ad69b0a567
select: drop unused nixpkgs fallback
2025-06-27 19:30:45 +02:00
hsjobeki
b88e55364a
Merge pull request 'Update clan templates' ( #4099 ) from update-templates-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4099
2025-06-27 17:25:22 +00:00
Johannes Kirschbauer
14eb541256
templates: remove .clan-flake
2025-06-27 19:14:21 +02:00
Johannes Kirschbauer
df598275f9
templates: fix tests
2025-06-27 19:14:21 +02:00
Mic92
baf9f4722a
Merge pull request 'pkgs/clan: Fix clan ssh subcommand' ( #4124 ) from mic92/kenji/ke-fix-ssh-deploy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4124
2025-06-27 16:57:07 +00:00
Jörg Thalheim
1e6ceac2bd
don't keep appending --impure to nix_options when running tests
2025-06-27 18:54:13 +02:00
Mic92
f7c03de870
Merge pull request 'Add restricted network nixos modules' ( #4125 ) from speed-up-flake-select into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4125
2025-06-27 16:52:51 +00:00
Jörg Thalheim
5d88ac440a
add restricted network nixos modules
...
See README.md for explanation
2025-06-27 18:44:17 +02:00
Jörg Thalheim
044edc9d06
container-test-driver: implement wait_for_open_port
2025-06-27 18:35:55 +02:00
Jörg Thalheim
97e52a6946
markdown: ignore trailing whitespace
2025-06-27 16:26:39 +02:00
Johannes Kirschbauer
de7f2dc6cb
templates/minimal: reuse flake-parts from clan-core
2025-06-27 16:11:37 +02:00
a-kenji
73db293ec7
pkgs/clan: Fix clan ssh subcommand
2025-06-27 15:39:38 +02:00
Mic92
0741a49973
Merge pull request 'select: disable remote building and substitution' ( #4123 ) from speed-up-flake-select into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4123
2025-06-27 12:00:18 +00:00
Jörg Thalheim
6ae6f48586
select: disable remote building and substitution
...
this should make things faster since the derivation itself is trivial.
2025-06-27 13:37:16 +02:00
kenji
f0f06f7705
Merge pull request 'modules/zerotier: Fix typo in documentation' ( #4121 ) from kenji/ke-fix-zerotier-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4121
2025-06-27 11:24:28 +00:00
kenji
bb2f99dafe
Merge pull request 'modules/users: Fix the password deployment' ( #4113 ) from kenji/ke-fix-user-password-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4113
2025-06-27 11:20:59 +00:00
kenji
2467039fe2
Merge pull request 'pkgs/clan: Add machine validator with suggestion logic' ( #4112 ) from ke-machines-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4112
2025-06-27 11:09:05 +00:00
a-kenji
bba75f5f4a
modules/zerotier: Fix typo in documentation
2025-06-27 12:58:59 +02:00
kenji
fcc862ac3d
Merge pull request 'pkgs/clan: Improve error message on clan secrets users add' ( #4095 ) from kenji/ke-clan-age-key-error into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4095
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-06-27 10:52:16 +00:00
a-kenji
e731a20497
modules/users: Fix the password deployment
...
The password needs to be available prior to logging in,
this is why we need to set `neededFor = users`.
2025-06-27 12:48:15 +02:00
kenji
e6a8f507dd
Merge pull request 'lib/test/sops: Fix secret deployment for test machines' ( #4120 ) from kenji/ke-fix-sops-test-integration into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4120
2025-06-27 10:45:41 +00:00
a-kenji
5a81adfc68
pkgs/clan: Add machine validator with suggestion logic
...
Add machine validator with suggestion logic to:
- `clan machines update`
- `clan machines delete`
- `clan machines update-hardware-config`
2025-06-27 12:32:36 +02:00
a-kenji
465548db26
lib/test/sops: Fix secret deployment for test machines
...
Fix secret deployment for test machines in our NixOS vm and container
tests.
We filter now if we really need to deploy a certain set of files as a
deployment script, which alleviates us running into these edgecases:
```
error: The option `nodes.server.system.activationScripts.setupSecrets.text'
was accessed but has no value defined. Try setting the option.
```
2025-06-27 12:19:46 +02:00
Johannes Kirschbauer
f6cad7c4a4
tests/create_clan: bring back read,write checks
2025-06-27 11:04:31 +02:00
Johannes Kirschbauer
8ab9556a12
templates/minimal: consistent input names
2025-06-27 11:04:31 +02:00
pinpox
a263643cd7
add flakeparts to template test
2025-06-27 11:04:31 +02:00
pinpox
77d8f76eb8
Cleanup templates
2025-06-27 10:39:59 +02:00
pinpox
7ad7c3f859
Update new-clan template
2025-06-27 10:39:59 +02:00
hsjobeki
2dd1e31e97
Merge pull request 'modules/clan: consistent logic for auto injecting nixpkgs, nix-darwin' ( #4117 ) from hsjobeki/fix-clan.nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4117
2025-06-27 08:35:01 +00:00
Johannes Kirschbauer
8e5f03bd71
modules/clan: consistent logic for auto injecting nixpkgs, nix-darwin
...
We want to make them options this is a temporary fix
2025-06-27 10:23:53 +02:00
hsjobeki
33633be797
Merge pull request 'Fix(clan-module): pass clan-core not a module' ( #4116 ) from hsjobeki/fix-clan.nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4116
2025-06-27 08:21:44 +00:00
Johannes Kirschbauer
4c0cc45e9f
Fix(clan-module): pass clan-core not a module
2025-06-27 10:13:58 +02:00
hsjobeki
382fe7181b
Merge pull request 'modules: add explizit class to clan module' ( #4115 ) from hsjobeki/buildClan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4115
2025-06-27 08:13:54 +00:00
Johannes Kirschbauer
731de62876
docs: rename all references from 'buildClan' to 'lib.clan'
2025-06-27 09:54:23 +02:00
Johannes Kirschbauer
35d50489bb
modules: add explizit class to clan module
2025-06-27 09:53:40 +02:00
hsjobeki
f3134b93e1
Merge pull request 'buildClan: deprecate in favor of 'clan'' ( #4111 ) from hsjobeki/buildClan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4111
2025-06-27 07:29:32 +00:00
Johannes Kirschbauer
04a31bea67
modules: fix consistent nixpkgs and nix-darwin injection
2025-06-27 09:21:19 +02:00
Johannes Kirschbauer
5dc8865da1
modules.nixosVmTest: rename to nixosTest to match the target module _class
2025-06-26 17:37:42 +02:00
Johannes Kirschbauer
e9600a19c1
modules.clan.default: move specialArgs into common place
2025-06-26 17:37:42 +02:00
Johannes Kirschbauer
a35e2d84d1
buildClan: deprecate in favor of 'clan'
...
clan.lib.clan { <your definition> } returns an eval result
In contrast to buildClan which returns the .config
This allows for better introspection
2025-06-26 17:08:47 +02:00
Johannes Kirschbauer
f6de6632e4
modules: move clan module to flake.modules.clan.default
2025-06-26 17:08:47 +02:00
Johannes Kirschbauer
5f4775ef10
flake-parts: enable modules feature
2025-06-26 17:08:47 +02:00
hsjobeki
8012a38ffc
Merge pull request 'chore: clean up logic around clanInternals' ( #4110 ) from hsjobeki/buildClan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4110
2025-06-26 14:21:59 +00:00
Johannes Kirschbauer
d8d49c9d72
chore: clean up logic around clanInternals
2025-06-26 16:12:35 +02:00
pinpox
27d7b03265
Merge pull request 'Fix machine-id on macos' ( #4109 ) from fix-mac-machine-id into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4109
2025-06-26 13:57:19 +00:00
hsjobeki
055c7b8259
Merge pull request 'chore: buildClan warn access without .config prefix' ( #4108 ) from hsjobeki/buildClan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4108
2025-06-26 13:39:39 +00:00
pinpox
9adbc37ebd
Fix machine-id on macos
2025-06-26 15:35:34 +02:00
hsjobeki
9e51ce08cc
Merge pull request 'refactor: unify evalClanService with evalService' ( #4106 ) from hsjobeki/eval service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4106
2025-06-26 13:22:03 +00:00
Johannes Kirschbauer
6b1722d3c3
chore: buildClan warn access without .config prefix
...
Makes behavior consistent with nixosSystem, nixpkgs.
Alows access to options and other eval modules results
Needed for error tracking and better devx
2025-06-26 15:21:49 +02:00
Johannes Kirschbauer
48e37b55fc
chore: remove spurious class
2025-06-26 15:20:18 +02:00
Johannes Kirschbauer
761e8b0ec5
refactor: clanLib buildClan
2025-06-26 15:20:05 +02:00
Johannes Kirschbauer
9ef518fa20
refactor: unify evalClanService with evalService
2025-06-26 14:50:35 +02:00
hsjobeki
50918c268c
Merge pull request 'refactor: simplify buildClan remove any filtering' ( #4105 ) from hsjobeki/buildClan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4105
2025-06-26 12:04:37 +00:00
Johannes Kirschbauer
fa525304ac
refactor: simplify buildClan remove any filtering
2025-06-26 13:56:14 +02:00
hsjobeki
7f489c5232
Merge pull request 'refactor: clan expose the clan module as is' ( #4101 ) from hsjobeki/clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4101
2025-06-26 11:44:24 +00:00
Johannes Kirschbauer
66ee74e193
schema: update clan option source
2025-06-26 13:24:34 +02:00
renovate[bot]
d42cb695c5
Update data-mesher digest to 32b1ff6
2025-06-26 10:50:17 +00:00
renovate[bot]
524844c68b
Update treefmt-nix digest to ac8e6f3
2025-06-26 10:30:17 +00:00
Johannes Kirschbauer
d9dda1825d
feat(darwinModules): add module location analog to flake-parts
2025-06-26 11:55:55 +02:00
Johannes Kirschbauer
af007bfe4a
refactor: clan expose the clan module as is
2025-06-26 11:47:53 +02:00
hsjobeki
a5c5777a9e
Merge pull request 'inventory.json: remove all services from local inventory' ( #4100 ) from clan-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4100
2025-06-26 09:45:04 +00:00
Johannes Kirschbauer
ce70291ee6
inventory.json: remove all services from local inventory
2025-06-26 11:28:33 +02:00
hsjobeki
c2e66ce968
Merge pull request 'Refactor(build-inventory): remove build-inventory in favor of simple and expressive evalModules' ( #4097 ) from clan-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4097
2025-06-26 09:27:55 +00:00
Johannes Kirschbauer
d9da723d5d
Refactor(build-inventory): remove build-inventory in favor of simple and expressive evalModules
2025-06-26 11:11:50 +02:00
pinpox
5ece3d7360
Merge pull request 'Add deprecation warnings to all clanModules' ( #4098 ) from all-deprecations into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4098
2025-06-26 08:43:55 +00:00
pinpox
c7afab9d92
Add deprecation warnings to all clanModules
2025-06-26 10:35:47 +02:00
renovate[bot]
8b2c6fc316
Update disko digest to 83c4da2
2025-06-26 02:50:17 +00:00
hsjobeki
d4be7053b5
Merge pull request 'importer: Fix the documentation for the importer service' ( #4062 ) from kenji/importer: Fix the documentation for the importer service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4062
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-06-25 16:30:04 +00:00
hsjobeki
f357ff51c0
Merge pull request 'build-inventory: refactor into seperate folders and explizit submodule' ( #4094 ) from clan-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4094
2025-06-25 16:23:58 +00:00
Johannes Kirschbauer
c81ba4b6fa
build-inventory: fix tests temporarily
2025-06-25 18:15:47 +02:00
Johannes Kirschbauer
345aa12e99
build-inventory: move inventory and inventoryClass into explizitly different folders
2025-06-25 17:55:45 +02:00
a-kenji
aaac5b5b7c
pkgs/clan: Improve error message on clan secrets users add
...
Improve error message on `clan secrets users add [user] --age-key
`AGE-PLUGIN-YUBIKEY`
Since there is no way to get the recipient through the AGE-PLUGIN-YUBIKEY,
we should fail fast and give an actionable error to the user.
2025-06-25 17:30:59 +02:00
Johannes Kirschbauer
ae4e18c152
build-inventory: replace by equivalent submodule
2025-06-25 17:23:46 +02:00
hsjobeki
3585470759
Merge pull request 'inventory/interface: reduce apply arguments chain by adding options' ( #4092 ) from clan-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4092
2025-06-25 14:41:55 +00:00
Johannes Kirschbauer
0c8f23ed3e
Chore: add _file for internals error tracing
2025-06-25 15:47:18 +02:00
Johannes Kirschbauer
0bb621f0f7
inventory/interface: reduce apply arguments chain by adding it to _module.args
2025-06-25 15:15:22 +02:00
kenji
ac7c51d2b3
Merge pull request 'pkgs/agit: Pre-fill the editor with commit messages' ( #4083 ) from kenji/pkgs/agit: Pre-fill the editor with commit messages into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4083
2025-06-25 10:52:22 +00:00
kenji
98db4e72f5
Merge pull request 'pkgs/agit: Autofill AGit topic based on the current branch name' ( #4091 ) from kenji/ke-topic-name-from-branch into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4091
2025-06-25 10:47:44 +00:00
a-kenji
3f947b11ba
pkgs/agit: Autofill AGit topic based on the current branch name
...
This makes it more likely that AGit topics are compatible with git
commands.
2025-06-25 12:32:32 +02:00
hsjobeki
3df7d8a769
Merge pull request 'build-clan: always use a single entry point' ( #4089 ) from clan-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4089
2025-06-25 10:28:50 +00:00
Johannes Kirschbauer
e1cb17db35
build-clan: export default.nix that injects clanLib
...
This should be the single entry point, that includes clanLib
instead of importApply propagation
2025-06-25 12:07:59 +02:00
kenji
fb139d5c07
Merge pull request 'pkgs/clan-cli: Fix typo in sshd test' ( #4088 ) from kenji/pkgs/clan-cli: Fix typo in sshd test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4088
2025-06-25 10:00:06 +00:00
Johannes Kirschbauer
72ca729ba2
build-clan: move clan attribute relates modules into subfolder
2025-06-25 10:55:37 +02:00
hsjobeki
26b2911d52
Merge pull request 'build-clan: move clan attribute relates modules into subfolder' ( #4063 ) from clan-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4063
2025-06-25 08:46:18 +00:00
a-kenji
7c9600b427
pkgs/clan-cli: Fix typo in sshd test
2025-06-25 10:13:06 +02:00
DavHau
28a221b79d
Merge pull request 'docs: add clan options search page' ( #4077 ) from davhau/docs: add clan options search page into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4077
2025-06-25 06:56:55 +00:00
DavHau
2a7827eb03
nuschtos: fix flake dependencies crashing tests
2025-06-25 13:48:50 +07:00
DavHau
e70afa9511
bring back services rendering for docs
...
Setting services to visible = false breaks stuff
2025-06-25 13:48:50 +07:00
DavHau
d9d1ab97a9
docs/devshell: unbreak - add options-page
...
Create the options-page subpage when the docs dev shell is loaded.
Also simplify the dev shell definition by just utilizing what's in configurePhase of the docs derivation
2025-06-25 13:48:50 +07:00
DavHau
12682b608c
docs: add clan options search page
...
This provides a simpler and more intuitive search over a flat list of possible options.
Styling still to be improved
2025-06-25 12:55:25 +07:00
DavHau
3cb91769ca
nix_modules: generate clan.py in top-level shell
...
Generally I don't think dev shells are the right place to trigger generation of files.
This should be part of the formatter and pre-commit hook
@hsjobeki
2025-06-25 12:33:36 +07:00
a-kenji
ef839c1b89
pkgs/agit: Pre-fill the editor with commit messages
...
Pre-fill the editor with commit messages for the AGit PR.
2025-06-25 01:56:46 +02:00
Luis Hebendanz
67b338918b
Merge pull request 'clan-app: Add a 'group' to log_manager. Move log_manager to own subdirectory' ( #4081 ) from Qubasa/clan-core:improve_ui_logs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4081
2025-06-24 19:53:09 +00:00
Qubasa
43df077dda
clan-app: Add a 'group' to log_manager. Move log_manager to own subdirectory
2025-06-24 21:42:18 +02:00
kenji
0ad361be9d
Merge pull request 'pkgs/agit: Document agit PR fetching' ( #4080 ) from kenji/pkgs/agit: Document agit PR fetching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4080
2025-06-24 17:21:34 +00:00
Luis Hebendanz
6d6d492e75
Merge pull request 'clan-lib: Move nix_options from Machine class to Flake class' ( #4048 ) from Qubasa/clan-core:move_nix_options into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4048
Reviewed-by: lassulus <clanlol@lassul.us >
2025-06-24 17:19:16 +00:00
kenji
9287c0d664
Merge pull request 'pkgs/agit: Add proper closing message for aborting an AGit PR' ( #4076 ) from kenji/pkgs/agit: Add proper closing message for aborting an AGit PR into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4076
2025-06-24 17:18:00 +00:00
a-kenji
08cf7ac9c5
pkgs/agit: Document agit PR fetching
2025-06-24 19:13:04 +02:00
Qubasa
cb2097c1e5
clan-cli: Remove unecessary nix_options args from functions
2025-06-24 19:07:41 +02:00
Qubasa
f3305a968d
generate-test-vars: Fix wrong Flake function invocations
2025-06-24 19:03:20 +02:00
Qubasa
fd931bef9c
formatter.iix: Add generate-test-vars to be typechecked
2025-06-24 19:03:20 +02:00
Qubasa
cd1d49b603
clan-lib: Move nix_options from Machine class to Flake class
2025-06-24 19:03:20 +02:00
Luis Hebendanz
20080f8857
Merge pull request 'Move update.py to clan_lib/machines part 4' ( #4073 ) from Qubasa/clan-core:move_to_clan_lib6 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4073
2025-06-24 14:52:10 +00:00
Luis Hebendanz
2ec23b96cf
Merge pull request 'Move delete.py to clan_lib/machines part 3' ( #4069 ) from Qubasa/clan-core:move_to_clan_lib5 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4069
2025-06-24 14:51:19 +00:00
Luis Hebendanz
d477018e72
Merge pull request 'Move list.py to clan_lib/machines part 2' ( #4068 ) from Qubasa/clan-core:move_to_clan_lib4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4068
2025-06-24 14:51:06 +00:00
a-kenji
a9980b5f55
pkgs/agit: Add proper closing message for aborting an AGit PR
...
Add a proper closing message for aborting an AGit PR.
Also add documentation directly to the comments of the COMMIT_EDITMSG.
2025-06-24 16:47:10 +02:00
renovate[bot]
aa8f83b50f
Update dependency vite to v7
2025-06-24 13:10:33 +00:00
pinpox
805ae8cbf5
Merge pull request 'Make machine ID a option' ( #4013 ) from machine-id-option into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4013
2025-06-24 12:13:22 +00:00
Johannes Kirschbauer
2d2476602b
build-clan: move clan attribute relates modules into subfolder
2025-06-24 13:13:59 +02:00
pinpox
7fc8776742
Merge branch 'main' into machine-id-option
2025-06-24 11:12:24 +00:00
kenji
5b933f0dfb
Merge pull request 'pkgs/agit: Add all commits since main to edit comment' ( #4071 ) from kenji/pkgs/agit: Add all commits since main to edit comment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4071
2025-06-24 11:01:15 +00:00
a-kenji
c4cfa5713e
pkgs/agit: Add all commits since main to edit comment
...
This is a first step for adding all the commits to the `agit c` and
prefilling it.
2025-06-24 12:18:15 +02:00
Qubasa
6e4dc03b1d
clan-cli: Move update.py to clan_lib/machines
2025-06-24 12:17:21 +02:00
Qubasa
f89b5063af
clan-vm-manager: Fix list_machines import
2025-06-24 12:16:38 +02:00
Qubasa
2bfc33bc31
clan-cli: Move delete.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
Qubasa
21b0c00c05
clan-cli: Move list.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
Qubasa
d65bdb30eb
clan-cli: Move morph.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
renovate[bot]
6974070eda
Update dependency tailwindcss to v4
2025-06-24 10:10:27 +00:00
DavHau
7745e9eec6
inventory interface: add description for module.name
2025-06-24 10:09:05 +00:00
pinpox
4f4153660f
Merge branch 'main' into machine-id-option
2025-06-24 10:08:04 +00:00
Qubasa
b5bf59bfbe
clan-vm-manager: Fix list_machines import
2025-06-24 12:03:56 +02:00
Qubasa
ded7f0eb39
clan-cli: Move list.py to clan_lib/machines
2025-06-24 11:57:02 +02:00
kenji
2e403425f9
Merge pull request 'pkgs/clan: Add --tags support to clan machines update' ( #4061 ) from kenji/pkgs/clan: Add --tags support to clan machines update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4061
2025-06-24 09:43:35 +00:00
pinpox
b0575e79e1
Merge branch 'main' into machine-id-option
2025-06-24 09:41:42 +00:00
Qubasa
f09656bbf6
clan-cli: Move delete.py to clan_lib/machines
2025-06-24 11:37:21 +02:00
Qubasa
0451f917ed
clan-cli: Move list.py to clan_lib/machines
2025-06-24 11:32:42 +02:00
Qubasa
20822c932d
clan-cli: Move morph.py to clan_lib/machines
2025-06-24 11:24:38 +02:00
Luis Hebendanz
feb47ffe33
Merge pull request 'clan-cli: Move hardware.py to clan_lib/machines part2' ( #4066 ) from Qubasa/clan-core:move_to_clan_lib2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4066
2025-06-24 09:19:41 +00:00
Luis Hebendanz
74abda09e7
Merge pull request 'clan-cli: Add missining propagation of host-key-check in machines.update' ( #4053 ) from Qubasa/clan-core:fix_host_key_check_in_update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4053
2025-06-24 09:10:30 +00:00
Qubasa
168e1d8c96
clan-cli: Move hardware.py to clan_lib/machines
2025-06-24 11:07:37 +02:00
pinpox
d88ac429cb
Make machine ID a option
2025-06-24 10:42:03 +02:00
Qubasa
78fdd21610
clan-cli: Add missining propagation of host-key-check in machines.update
2025-06-24 10:35:53 +02:00
brianmcgee
0dd3b498ac
Merge pull request 'add Tag and TagGroup components' ( #4038 ) from ui/tags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4038
2025-06-24 08:30:06 +00:00
a-kenji
fc0e8fa1bd
pkgs/clan: Add --tags support to clan machines update
2025-06-23 23:51:43 +02:00
a-kenji
33ccd83df0
importer: Fix the documentation for the importer service
2025-06-23 23:27:37 +02:00
hsjobeki
1afc3a8d8e
Merge pull request 'pkgs/clan-cli: Remove confusing note from the CLI help' ( #4045 ) from kenji/pkgs/clan-cli: Remove confusing note from the CLI help into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4045
2025-06-23 14:22:28 +00:00
hsjobeki
29199e96da
Merge pull request 'Feat(inventory): simplify instance module spec, by applying a default' ( #4054 ) from hsjobeki/module-default into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4054
2025-06-23 14:21:55 +00:00
hsjobeki
5467f50b93
Merge pull request 'Refactor(build-clan): rename to lib/modules' ( #4055 ) from clan-unify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4055
2025-06-23 14:16:54 +00:00
Johannes Kirschbauer
1ceec8ba8a
Chore(classes): update classes
2025-06-23 16:11:12 +02:00
Johannes Kirschbauer
ac5cc85d57
Refactor(build-clan): rename to lib/modules
...
This is a preparation for moving everything into clan, to make it all one module evaluation
2025-06-23 16:06:49 +02:00
Luis Hebendanz
3d3929ee0a
Merge pull request 'Simplify parse_deployment_address function' ( #4052 ) from Qubasa/clan-core:simplify_parse_deployment_address into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4052
2025-06-23 13:51:37 +00:00
Johannes Kirschbauer
18af41cc19
Feat(inventory): simplify instance module spec, by applying a default
2025-06-23 15:46:52 +02:00
Qubasa
071151f300
clan-lib: Rename parse_deployment_address to parse_ssh_uri
2025-06-23 15:32:35 +02:00
Qubasa
255f2da358
clan-lib: Remove override args from parse_deployment_address, instead use the Remote.override method where necessary
2025-06-23 15:28:22 +02:00
Luis Hebendanz
6350978ad0
Merge pull request 'Simplify handling of HostKeyCheck' ( #4051 ) from Qubasa/clan-core:make_host_key_check_literal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4051
2025-06-23 13:22:23 +00:00
Qubasa
054ea67fb7
clan-cli: Simplify HostKeyCheck to a Literal instead of an Enum
2025-06-23 15:08:44 +02:00
Qubasa
65bb9021de
clan-cli: Move clan_cli/ssh/host_key.py to clan_lib/ssh
2025-06-23 15:07:18 +02:00
Luis Hebendanz
caf7132fe6
Merge pull request 'clan-lib: Rename check_machine_online to can_ssh_login. Move to Remote object' ( #4050 ) from Qubasa/clan-core:fix_check_online_machine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4050
2025-06-23 12:32:39 +00:00
Qubasa
bc6b7e4ae9
clan-lib: Rename check_machine_online to can_ssh_login. Move to Remote object
2025-06-23 14:21:51 +02:00
renovate[bot]
aa6b98b460
chore(deps): update disko digest to 8fd2d6c
2025-06-23 12:10:18 +00:00
a-kenji
eaa2eaff84
pkgs/clan-cli: Remove confusing note from the CLI help
...
Remove a now obsolete and thus confusing note from the help output
of `clan show`.
2025-06-23 08:57:43 +02:00
renovate[bot]
533e404886
chore(deps): update data-mesher digest to f072536
2025-06-23 00:20:19 +00:00
renovate[bot]
9161fc17f7
chore(deps): update nix-darwin digest to 04a3412
2025-06-22 19:20:17 +00:00
hsjobeki
0f6477d28a
Merge pull request 'feat(clan-services): enable recursive services' ( #3972 ) from hsjobeki/nested-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3972
2025-06-20 12:51:27 +00:00
Johannes Kirschbauer
39d0347c22
Fix(clan-services): allMachines might not contain the machineName
2025-06-20 14:41:17 +02:00
Brian McGee
57c77e039d
feat(ui): add TagGroup component
...
Introduces a new `TagGroup` component for rendering grouped tags with optional inverted styling.
2025-06-20 12:22:59 +01:00
Brian McGee
1b5d2bc538
feat(ui): add Tag component
...
Adds a reusable `Tag` component with support for default and inverted styles. Also includes cleanup of unused dependencies in `package.json`.
2025-06-20 12:22:58 +01:00
renovate[bot]
02c6e08acf
chore(deps): update nixos-facter-modules digest to 14df13c
2025-06-20 10:20:16 +00:00
pinpox
1021c0c682
Merge pull request 'fix: use custom git config in impure-checks to avoid system dependency' ( #4037 ) from fix-impure-checks-git-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4037
2025-06-20 09:32:10 +00:00
pinpox
3ac8ec31c7
fix: use custom git config in impure-checks to avoid system dependency
2025-06-20 10:40:32 +02:00
Brian McGee
79765b516d
feat(ui): rename TagStatus to MachineStatus
...
Standardizes naming and updates related props, classes, and types for clarity and consistency.
2025-06-20 09:13:55 +01:00
brianmcgee
0a30562b64
Merge pull request 'feat(ui): consolidate and simplify how we use colors' ( #4035 ) from ui/color-and-css-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4035
2025-06-20 07:49:40 +00:00
Brian McGee
101f97bc4a
feat(ui): consolidate and simplify how we use colors
...
* reconciles latest color variables from Figma
* defines the primary colors and the color system in tailwind config.
* refines how we generate utilities within the color system for `bg`, `fg` and `border`.
* removes custom box shadows, instead leaning on direct definition in CSS and `theme()`.
This change removes duplicate color information being defined as CSS variables in `index.css`
and co-locates all style information with the component
whilst retaining the ability to tie in to the color system when mapping styles from Figma.
2025-06-19 17:28:47 +01:00
Luis Hebendanz
ed4c7e6834
Merge pull request 'clan-lib: machines.py: Remove host_key attribute' ( #4034 ) from Qubasa/clan-core:minimize_machine_obj into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4034
2025-06-19 16:14:49 +00:00
Qubasa
274c552365
clan-lib: machines.py: Remove host_key attribute
2025-06-19 17:55:56 +02:00
Luis Hebendanz
14587c1fbf
Merge pull request 'clan-lib: machines.py: Remove private_key attribute' ( #4033 ) from Qubasa/clan-core:minimize_machine_obj into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4033
2025-06-19 15:40:13 +00:00
Qubasa
aac07ddd25
clan-lib: machines.py: Remove private_key attribute
2025-06-19 17:28:50 +02:00
brianmcgee
36facc2bac
Merge pull request 'feat(ui): Sidebar nav' ( #4018 ) from ui/sidebar into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4018
2025-06-19 15:19:07 +00:00
Luis Hebendanz
ebded3ca74
Merge pull request 'clan-app: ui-2d remove unecessary imports' ( #4032 ) from Qubasa/clan-core:ui-2d-logs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4032
2025-06-19 15:15:36 +00:00
Brian McGee
0603c13db9
feat(ui): Sidebar nav
2025-06-19 16:03:21 +01:00
Qubasa
e5b7685269
clan-app: Add vscode workspace for ui-2d
2025-06-19 17:03:04 +02:00
Qubasa
378f68bb5f
clan-app: ui-2d remove unecessary imports
2025-06-19 16:52:45 +02:00
Luis Hebendanz
6314dfdb3b
Merge pull request 'clan-app: 3d UI Remove unused files and exports' ( #4029 ) from Qubasa/clan-core:ui_minimize-3d into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4029
2025-06-19 14:48:51 +00:00
Qubasa
109f7c40cd
clan-app: Add unused import checker and autofixer. Remove unused files.
2025-06-19 15:14:08 +02:00
renovate[bot]
bdb4af1e01
chore(deps): update nix-darwin digest to 0d71cbf
2025-06-19 10:20:15 +00:00
kenji
c27463a62d
Merge pull request 'pkgs/agit: Support osc8 in list subcommand' ( #4028 ) from kenji/pkgs/agit: Support osc8 in list subcommand into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4028
2025-06-19 09:15:46 +00:00
Qubasa
0686d83b21
clan-app: 3d UI Remove unused files and exports
2025-06-18 22:42:00 +02:00
Luis Hebendanz
fb985608c7
Merge pull request 'clan-app: Remove unused files and exports from ui-2d' ( #4027 ) from Qubasa/clan-core:ui_minimize into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4027
2025-06-18 20:36:04 +00:00
Qubasa
4e0a9dea01
clan-app: Remove unused files and exports
2025-06-18 22:11:38 +02:00
a-kenji
ea08edf328
pkgs/agit: Support osc8 in list subcommand
...
Support osc8 escape sequences in `agit list` subcommand.
2025-06-18 21:47:27 +02:00
renovate[bot]
e81c879386
chore(deps): update dependency playwright to ~1.53.0
2025-06-18 19:34:21 +00:00
renovate[bot]
67e50df9b2
fix(deps): update dependency three to ^0.177.0
2025-06-18 19:20:28 +00:00
Luis Hebendanz
4e78395c8e
Merge pull request 'ui_minimize' ( #4024 ) from Qubasa/clan-core:ui_minimize into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4024
2025-06-18 19:17:59 +00:00
Qubasa
6ff6a543e1
clan-app: Add knip dead code analyzer
2025-06-18 21:10:18 +02:00
Qubasa
9f08e5265c
clan-app: Fix npm run build in ui-2d
2025-06-18 20:56:52 +02:00
kenji
98243ce946
Merge pull request 'pkgs/agit: Add PR status checks to the list subcommand' ( #4021 ) from kenji/pkgs/agit: Add PR status checks to the list subcommand into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4021
2025-06-18 18:52:16 +00:00
kenji
d01eb21667
Merge pull request 'pgks/agit: Update documentation' ( #4022 ) from kenji/pgks/agit: Update documentation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4022
2025-06-18 18:52:10 +00:00
Qubasa
6be0281588
clan-app: Add more symlinks to ui-2d
2025-06-18 20:34:54 +02:00
Qubasa
a39fe0564d
clan-app: Working npm run check in ui-2d folder
2025-06-18 20:31:47 +02:00
a-kenji
d03e947dd0
pgks/agit: Update documentation
2025-06-18 20:31:44 +02:00
a-kenji
6b157e5472
pkgs/agit: Add PR status checks to the list subcommand
2025-06-18 20:28:36 +02:00
Luis Hebendanz
83dd36c784
Merge pull request 'UI create a separate ui-2d folder' ( #3998 ) from Qubasa/clan-core:ui_overhaul into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3998
2025-06-18 18:11:28 +00:00
Qubasa
97699d2ea8
clan-app: Symlink more stuff from ui to ui-2d
2025-06-18 18:07:58 +02:00
Qubasa
b0ecf23074
clan-app: Move changes for 2D view to separate ui-2d folder
2025-06-18 17:58:49 +02:00
Luis Hebendanz
3c428948be
Merge pull request 'pkgs/cli(machines): Move inventory warning to debug information' ( #4012 ) from kenji/ke-iventory-warning-debug into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4012
2025-06-18 15:39:08 +00:00
kenji
191485fe8b
Merge pull request 'pkgs/clan: Improve machines list tests' ( #4014 ) from kenji/pkgs/clan: Improve machines list tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4014
2025-06-18 14:39:54 +00:00
DavHau
020c74de92
vars-check: enable debug logging for cache misses
2025-06-18 14:22:57 +00:00
brianmcgee
ec46674f1c
Merge pull request 'feat(ui): upgrade to storybook 9' ( #3954 ) from feat/storybook-9 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3954
2025-06-18 14:19:12 +00:00
Brian McGee
85328ab55e
feat(ui): upgrade to storybook 9
...
Replaces rollup with wasm version for portability.
2025-06-18 15:03:43 +01:00
kenji
b18bedf7fc
Merge pull request 'agit: Add list subcommand to list current open AGit PRs' ( #4015 ) from kenji/agit: Add list subcommand to list current open AGit PRs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4015
2025-06-18 14:03:29 +00:00
a-kenji
1f692c91e4
pkgs/clan: Improve machines list tests
...
Extend and Improve `clan machines list` testing as well as the `--tags`
subcommand.
2025-06-18 16:03:02 +02:00
a-kenji
cee82e9063
agit: Add list subcommand to list current open AGit PRs
...
Add a `list` subcommand to list currently open `AGit` PRs through the
cli.
2025-06-18 15:45:41 +02:00
pinpox
33a243a85d
Merge pull request 'Deprecated unsused modules' ( #3996 ) from remove-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3996
2025-06-18 11:43:02 +00:00
pinpox
60ad5e6dba
Merge branch 'main' into remove-services
2025-06-18 11:30:31 +00:00
pinpox
27dc5306ad
Remove services and add deprecation warning
2025-06-18 13:18:25 +02:00
a-kenji
d67f855d1f
pkgs/cli(machines): Move inventory warning to debug information
...
Move the inventory warning to debug information and improve the error.
This is an alternative proposal to: #4009
2025-06-18 13:15:37 +02:00
Luis Hebendanz
30ffef515e
Merge pull request 'pkgs/clan: Rename target_host_str' ( #4010 ) from kenji/ke-iventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4010
Reviewed-by: Luis Hebendanz <consulting@qube.email >
2025-06-18 10:58:58 +00:00
Qubasa
66b5116483
clan-app: Fix storybook tests
2025-06-18 12:55:47 +02:00
Qubasa
48ef8dd33b
clan-app: Untangle Machine Details into separate components. Makes it non functional for now.
2025-06-18 12:49:43 +02:00
Qubasa
f0913e331a
clan-app: Improve api test page
2025-06-18 12:49:43 +02:00
Qubasa
a3478d8cc7
clan-lib: Set "root" as default user in Remote object
2025-06-18 12:49:43 +02:00
a-kenji
8e128239d9
pkgs/clan: Rename target_host_str
...
The `target_host_str` is a confusing choice, since it can be either
the `targetHost` or `buildHost`.
2025-06-18 12:03:57 +02:00
Michael Hoang
1ad8b85b15
Merge pull request 'cli: fix machines update failing with protocol mismatch on macOS' ( #4008 ) from push-rmpkuustzxxu into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4008
2025-06-18 10:01:32 +00:00
kenji
f4973a48a7
Merge pull request 'docs/testing: Improve testing documentation' ( #4007 ) from kenji/docs/testing: Improve testing documentation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4007
2025-06-18 09:41:37 +00:00
Michael Hoang
a0f39a4a66
cli: fix machines update failing with protocol mismatch on macOS
2025-06-18 16:30:11 +07:00
a-kenji
17f0d9b6d3
docs/testing: Improve testing documentation
2025-06-18 11:12:30 +02:00
kenji
cf227c5fa2
Merge pull request 'gitignore: Remove unused dream2nix rules' ( #4005 ) from kenji/gitignore: Remove unused dream2nix rules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4005
2025-06-18 09:12:15 +00:00
kenji
94a59bcfea
Merge pull request 'gitignore: Remove obsolete or unused rules' ( #4004 ) from kenji/gitignore: Remove obsolete or unused rules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4004
2025-06-18 09:11:10 +00:00
kenji
1deffe80cf
Merge pull request 'clanServices/hello-world: Fix eval-test example formatting' ( #4003 ) from kenji/clanServices/hello-world: Fix eval-test example formatting into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4003
2025-06-18 09:08:27 +00:00
a-kenji
a78b412523
gitignore: Remove unused dream2nix rules
2025-06-18 10:52:18 +02:00
a-kenji
1b46b86455
gitignore: Remove flatpak
2025-06-18 10:50:37 +02:00
a-kenji
83acc0758a
gitignore: Remove unclear gitignored files
2025-06-18 10:50:20 +02:00
Mic92
50e516e054
Merge pull request 'pkgs/agit: Update documentation' ( #3995 ) from kenji/pkgs/agit: Update documentation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3995
2025-06-18 08:48:11 +00:00
a-kenji
afafee8079
clanServices/hello-world: Fix eval-test example formatting
2025-06-18 10:45:59 +02:00
renovate[bot]
1e8845003a
chore(deps): update data-mesher digest to cb75111
2025-06-17 19:21:50 +00:00
Mic92
a0b77d0a8f
Merge pull request 'Introduce flake parts module for clan nixos tests' ( #4000 ) from speed-up-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4000
2025-06-17 19:20:08 +00:00
Jörg Thalheim
2f5489a8b7
fix(vars-check): include generator scripts in test closure
...
The vars-check test was failing because it only included the
runtimeInputs of generators but not the actual generator scripts
themselves. This caused the test to fail when trying to execute
generators that reference local files (like generate.py).
Added allGeneratorScripts to the closureInfo to ensure all generator
scripts and their dependencies are available in the test environment.
2025-06-17 21:09:59 +02:00
Jörg Thalheim
691401f674
no longer make test derivation depends on vars-check
...
this triggers more builds than necessary.
2025-06-17 21:09:59 +02:00
Jörg Thalheim
77382936da
zerotier: migrate to clan.nixosTests module
2025-06-17 21:09:59 +02:00
Jörg Thalheim
8476051512
wifi: migrate to clan.nixosTests module
2025-06-17 20:39:06 +02:00
Jörg Thalheim
845952ab86
users: migrate to clan.nixosTests module
2025-06-17 20:39:06 +02:00
Jörg Thalheim
6e6167ac64
trusted-nix-caches: migrate to clan.nixosTests module
2025-06-17 20:38:31 +02:00
Jörg Thalheim
7f0cb6aeef
state-version: migrate to clan.nixosTests module
2025-06-17 20:38:31 +02:00
Jörg Thalheim
b5bdf4b0c7
sshd: migrate to clan.nixosTests module
2025-06-17 19:32:04 +02:00
Jörg Thalheim
2c0c4cf342
packages: migrate to clan.nixosTests module
2025-06-17 19:31:09 +02:00
Jörg Thalheim
3524b4a368
mycelium: migrate to clan.nixosTests module
2025-06-17 19:30:21 +02:00
Jörg Thalheim
6bc4523835
localsend: migrate to clan.nixosTests module
2025-06-17 19:29:08 +02:00
Jörg Thalheim
5d4dc437c2
hello-world: migrate to clan.nixosTests module
2025-06-17 19:28:12 +02:00
Jörg Thalheim
47ac9afe0b
heisenbridge: migrate to clan.nixosTests module
2025-06-17 19:27:15 +02:00
Jörg Thalheim
68808ca792
garage: migrate to clan.nixosTests module
2025-06-17 19:26:25 +02:00
Jörg Thalheim
b91cf851f9
ergochat: migrate to clan.nixosTests module
2025-06-17 19:24:09 +02:00
Jörg Thalheim
70cc2ea7c0
deltachat: make test more robust with wait_until_succeeds
...
Use wait_until_succeeds for the first network check to ensure the
service is fully ready before testing connectivity.
2025-06-17 19:18:04 +02:00
Jörg Thalheim
c0cf5f5e5c
deltachat: migrate to clan.nixosTests module
2025-06-17 19:13:25 +02:00
Jörg Thalheim
54b7822a7d
borgbackup: migrate to clan.nixosTests module
2025-06-17 19:04:47 +02:00
Jörg Thalheim
fe1c9c3c74
clan-nixos-test: pass clan-core to test nodes via module args
...
This allows tests that need access to clan-core (e.g. for clan-cli or
dependencies) to use it within their node configurations.
2025-06-17 19:04:47 +02:00
Jörg Thalheim
a19f960ac5
admin: migrate to clan.nixosTests module
2025-06-17 19:04:47 +02:00
Jörg Thalheim
e500eb6cdf
clan-nixos-test: add individual vars-checks back
...
The consolidated vars-check was too slow to eval. Individual vars-checks allow for better parallelization.
2025-06-17 18:49:16 +02:00
Jörg Thalheim
7515d54d9e
introduce flake parts module for clan nixos tests
2025-06-17 18:38:52 +02:00
Mic92
3b2290da8f
Merge pull request 'fix: correctly check existence of CLAN_TEST_STORE paths in cache' ( #3999 ) from fix-clan-test-store-caching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3999
2025-06-17 15:38:13 +00:00
Jörg Thalheim
097024e8a9
fix: correctly check existence of CLAN_TEST_STORE paths in cache
...
The flake cache was only checking existence for paths starting with
NIX_STORE_DIR (defaulting to /nix/store), but not for paths in the
test store when CLAN_TEST_STORE is set. This caused the cache to
return stale references to paths that had been garbage collected.
This fix updates the is_cached method to also check for paths in
the test store, preventing cache misses during tests.
2025-06-17 17:21:06 +02:00
Mic92
3ea159721c
Merge pull request 'machines: fix remote-program for darwin nix copy' ( #3993 ) from darwin-remote-program into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3993
2025-06-17 14:45:43 +00:00
Jörg Thalheim
a2eaf20492
machines: fix remote-program for darwin nix copy
...
MacOS doesn't come with a proper login shell for ssh and therefore
doesn't have nix in $PATH as it doesn't source /etc/profile.
This restores the remote-program parameter that was accidentally
removed in commit e14f30bdc0 .
2025-06-17 16:30:04 +02:00
Mic92
096f1203ab
Merge pull request 'garage: make test more reliable' ( #3997 ) from garage-test-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3997
2025-06-17 14:26:48 +00:00
Jörg Thalheim
cb04ba7285
garage: make test more reliable
2025-06-17 16:10:38 +02:00
Mic92
50486d8035
Merge pull request 'add run-vm-test-offline package for offline VM testing' ( #3994 ) from run-vm-test-offline into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3994
2025-06-17 13:20:19 +00:00
kenji
1c8a8afee9
Merge pull request 'chore(deps): lock file maintenance' ( #3975 ) from renovate/lock-file-maintenance into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3975
2025-06-17 12:47:57 +00:00
renovate[bot]
4defda47aa
chore(deps): lock file maintenance
2025-06-17 12:47:57 +00:00
Mic92
15b08116b9
Merge pull request 'clan-lib: Make Remote overridable over function arguments' ( #3969 ) from Qubasa/clan-core:nix_transform_host_options into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3969
2025-06-17 12:47:00 +00:00
a-kenji
ae7257c75e
pkgs/agit: Update documentation
2025-06-17 14:45:43 +02:00
kenji
6b6bad88e9
Merge pull request 'agit: Add latest commit information to comment' ( #3990 ) from kenji/agit: Add latest commit information to comment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3990
2025-06-17 12:43:22 +00:00
Jörg Thalheim
0200a0c16e
add run-vm-test-offline package for offline VM testing
...
This package allows running NixOS VM tests in an offline environment
using network namespace isolation. It builds the test driver and runs
it with unshare to ensure no network access.
2025-06-17 14:41:12 +02:00
Qubasa
86536bae42
clan-lib: Refactor remote host handling to function parameters
...
This refactoring improves the separation of concerns by moving remote host creation logic from the Machine class to the calling functions, making the code more flexible and testable.
2025-06-17 14:04:22 +02:00
kenji
b94934e5c0
Merge pull request 'agit: Set COMMIT_EDITMSG as filetype' ( #3991 ) from kenji/agit: Set COMMIT_EDITMSG as filetype into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3991
2025-06-17 12:02:03 +00:00
Qubasa
8941b75d48
clan-app: Fix UI errors
2025-06-17 13:53:43 +02:00
Qubasa
b66f4c889d
genmoon.py: Fix type error
2025-06-17 13:53:43 +02:00
Qubasa
d29bba48e7
clan-lib: Make Remote overridable over function arguments
2025-06-17 13:53:43 +02:00
a-kenji
9523a9135d
agit: Add latest commit information to comment
...
Add latest commit information to the editor comments.
That way we can easily adjust the PR based on the latest commit.
2025-06-17 13:50:36 +02:00
Mic92
520c0d78af
Merge pull request 'install: correctly pass nix options to nixos-anywhere' ( #3989 ) from nixos-anywhere-options into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3989
2025-06-17 11:49:13 +00:00
kenji
5a3d225ea5
Merge pull request 'agit: Add -a flag alias for --auto' ( #3992 ) from kenji/agit: Add -a flag alias for --auto into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3992
2025-06-17 11:44:04 +00:00
a-kenji
def1a6a20c
agit: Add -a flag alias for --auto
2025-06-17 12:45:37 +02:00
Jörg Thalheim
28a0f09514
install: correctly pass nix options to nixos-anywhere
...
The nix_options were collected but never passed to the nixos-anywhere command.
This fix adds the options to the command before the target host argument.
2025-06-17 12:43:20 +02:00
a-kenji
aee4ee67d6
agit: Set COMMIT_EDITMSG as filetype
2025-06-17 12:42:12 +02:00
kenji
080951aafb
Merge pull request 'clanServices: Enable garage by default' ( #3987 ) from kenji/clanServices: Enable garge by default into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3987
2025-06-17 10:33:26 +00:00
Mic92
d6bc409418
Merge pull request 'make setupNixInNixPython a python package' ( #3984 ) from setupNixInNixPython-only into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3984
2025-06-17 10:14:53 +00:00
kenji
91d8accbf8
Merge pull request 'pyproject: Fix typo' ( #3963 ) from kenji/pyproject: Fix typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3963
2025-06-17 10:08:53 +00:00
a-kenji
73d626343a
clanServices/garage: Enable garage by default
2025-06-17 12:06:41 +02:00
kenji
0c15687790
Merge pull request 'agit: Add documentation to EDIT_MSG and strip comments' ( #3986 ) from kenji/agit: Add documentation to EDIT_MSG and strip comments into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3986
2025-06-17 10:01:29 +00:00
Jörg Thalheim
e5ff78c28f
Apply nix fmt on setupNixInNixPython-only
2025-06-17 12:01:12 +02:00
a-kenji
b22f706101
agit: Add documentation to EDIT_MSG and strip comments
...
Add documentation to EDIT_MSG and strip comments
2025-06-17 11:48:12 +02:00
kenji
cbfed21946
Merge pull request 'agit: Allow specifying commit information through the editor' ( #3982 ) from kenji/agit: Allow specifying commit information through the editor into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3982
2025-06-17 09:27:39 +00:00
a-kenji
f4faa3853f
agit: Allow specifying through EDITOR
2025-06-17 11:00:03 +02:00
renovate[bot]
4ecf71824c
chore(deps): update sops-nix digest to 77c423a
2025-06-17 00:20:11 +00:00
a-kenji
dd3662b81e
pkgs/*: Remove pytest coverage testing from every single test run
...
There was no noticeable positive impact from having coverage reports on
every single test run.
While adding a separate command to check coverage might be added in the
future, the overhead of collecting the coverage for every test run made
seems not worth it currently.
2025-06-16 15:46:36 +00:00
pinpox
6fe4dd2a32
Merge pull request 'Migrate state-version to clanServices' ( #3947 ) from migrate-state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3947
2025-06-16 13:29:20 +00:00
pinpox
d97c44e653
Merge pull request 'Migrate packages module to clanServices' ( #3945 ) from migrate-packages into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3945
2025-06-16 10:36:56 +00:00
pinpox
1fe311460f
add docs
2025-06-16 12:22:25 +02:00
pinpox
faa1bf21e0
Migrate packages module to clanServices
2025-06-16 12:22:24 +02:00
kenji
8435c71da7
Merge pull request 'zerotier: Add a default to the allowedIps controller setting' ( #3959 ) from kenji/zerotier: Add a default to the allowedIps controller setting into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3959
2025-06-16 10:07:11 +00:00
pinpox
d9b3587ed3
migrate state-version
2025-06-16 11:28:35 +02:00
pinpox
84f7f6e277
Merge pull request 'Migrate trusted-nix-caches to clanServices' ( #3949 ) from migrate-nix-caches into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3949
2025-06-16 09:03:08 +00:00
renovate[bot]
ced9d2223e
chore(deps): update disko digest to 7f1857b
2025-06-16 02:50:14 +00:00
Johannes Kirschbauer
aa26d2ebf2
feat(clan-services): enable recursive services
...
Using recursive services is potentially complex and requires carefully
designed services. Nested Services create nixos modules which must be
mergable as always.
2025-06-15 20:06:02 +02:00
Michael Hoang
3f8e68f985
Merge pull request 'clanServices/emergency-access: use more descriptive instance name' ( #3974 ) from push-nmlzqzptwsmv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3974
2025-06-15 06:39:54 +00:00
Michael Hoang
46681fa7d7
clanServices/emergency-access: use more descriptive instance name
2025-06-15 13:27:40 +07:00
Johannes Kirschbauer
aa65e8e533
chore(clan-service): remove and unify unecessary bindings
2025-06-14 20:03:53 +02:00
Johannes Kirschbauer
216494c3db
feat(clan-service): add module context for better error messages
2025-06-14 20:03:53 +02:00
hsjobeki
4e2ccf0117
Merge pull request 'Feat(machine/templates): simplify template args for machines command' ( #3937 ) from hsjobeki/template-ux into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3937
2025-06-14 08:25:28 +00:00
hsjobeki
e589aeb2b9
Merge pull request 'Docs(cli/flash): improve disk instructions' ( #3958 ) from hsjobeki/ux into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3958
2025-06-14 08:13:50 +00:00
renovate[bot]
1ca0a5ab57
chore(deps): update nix-darwin digest to 2f140d6
2025-06-14 05:00:12 +00:00
renovate[bot]
91d7d719ab
chore(deps): update data-mesher digest to b7cc9ee
2025-06-13 18:00:12 +00:00
kenji
974cf0af82
Merge pull request 'clanServices/zerotier: Add eval tests' ( #3968 ) from kenji/clanServices/zerotier: Add eval tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3968
2025-06-13 13:21:20 +00:00
a-kenji
a9d662d812
clanServices/zerotier: Add eval tests
...
Add eval tests to the zerotier clanService module.
The vm module is a stub that acts as an api for the `generate-test-vars`
script, as that currently only works with a vm, not with an eval test.
This checks, if all the peers pick up their respective configuration
correctly. Without running the service itself.
2025-06-13 14:58:27 +02:00
kenji
caefaaf735
Merge pull request 'emergency-access: Don't deploy plaintext passwords' ( #3966 ) from kenji/emergency-access: Don't deploy plaintext passwords into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3966
Reviewed-by: Michael Hoang <enzime@noreply.git.clan.lol >
2025-06-13 11:50:00 +00:00
kenji
881e5083e6
Merge pull request 'emergency-access: Use default instead of mylounge instance name' ( #3965 ) from kenji/emergency-access: Use default instead of mylounge instance name into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3965
2025-06-13 11:49:47 +00:00
a-kenji
4db52a2bc0
emergency-access: Don't deploy plaintext passwords
...
Don't deploy the plaintext emergency password to the target machine.
It doesn't seem to be used anywhere.
2025-06-13 13:30:59 +02:00
a-kenji
e422237342
emergency-access: Use default instead of mylounge instance name
...
The mylounge instance name seems confusing.
2025-06-13 13:26:19 +02:00
kenji
3fd49606f5
Merge pull request 'checks: Remove the syncthing check again' ( #3964 ) from kenji/checks: Remove the syncthing check again into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3964
2025-06-13 11:23:18 +00:00
a-kenji
fac9ca497d
checks: Remove the syncthing check again
...
Someone readded it for some unknown reason.
2025-06-13 13:08:29 +02:00
a-kenji
46abba7614
pyproject: Fix typo
2025-06-13 13:05:21 +02:00
Luis Hebendanz
04fee3af09
Merge pull request 'clan-app: Propagate op_key to callApi callers.' ( #3961 ) from Qubasa/clan-core:ui_get_op_key into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3961
2025-06-13 10:55:23 +00:00
Qubasa
2df223c7e8
clan-app: Propagate op_key to callApi callers.
2025-06-13 12:41:58 +02:00
a-kenji
25a0b15053
zerotier: Add a default to the allowedIps controller setting
2025-06-13 11:48:58 +02:00
Johannes Kirschbauer
99e5d7e671
Docs(cli/flash): improve disk instructions
2025-06-13 11:37:39 +02:00
Michael Hoang
371fe3181e
Merge pull request 'cli: don't error when more than one SOPS key found locally' ( #3946 ) from push-tmsrnssnwrvn into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3946
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-06-13 08:00:37 +00:00
pinpox
d8d4d88b19
Merge pull request 'emergency-access: init service' ( #3950 ) from emergency-access into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3950
Reviewed-by: pinpox <clan@pablo.tools >
2025-06-13 07:45:05 +00:00
Michael Hoang
7f667ccc16
cli: don't error when more than one SOPS key found locally
2025-06-13 14:37:19 +07:00
Michael Hoang
ebd4970947
emergency-access: init service
2025-06-13 14:21:01 +07:00
Michael Hoang
b3e1a35e63
Merge pull request 'cli: fix secrets key update failing when used with Nix in Nix' ( #3956 ) from push-kzwtmtqokywm into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3956
2025-06-13 06:49:32 +00:00
Michael Hoang
5dc321cfb0
cli: fix secrets key update failing when used with Nix in Nix
2025-06-13 13:36:29 +07:00
renovate[bot]
c3562cb537
chore(deps): update nix-darwin digest to 72c88d5
2025-06-12 16:00:14 +00:00
brianmcgee
6810a03960
Merge pull request 'UI: new Loader component; Button and Icon v2' ( #3908 ) from ui/button into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3908
2025-06-12 15:52:17 +00:00
Luis Hebendanz
344bff03ad
Merge pull request 'init machine from inventory' ( #3862 ) from Qubasa/clan-core:refactor_machinev2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3862
2025-06-12 15:05:44 +00:00
Qubasa
c47b2ba869
clan-lib: unify get_taget_host and get_build_host
2025-06-12 16:42:28 +02:00
Qubasa
1a33f6a632
clan-cli: machine.get_inv_machine now uses actions.get_machine in the background
2025-06-12 16:36:55 +02:00
Qubasa
87f4fbfcbf
clan-cli: Fix check_machine_online to use Remote object instead of machine, this makes it possible to override HostKeyCheck properly
2025-06-12 16:36:55 +02:00
Qubasa
68b7c22faf
clan-cli: init machine from inventory
2025-06-12 16:36:55 +02:00
Luis Hebendanz
fca772a4f4
Merge pull request 'clan-lib: Add log_manager api, clan-app: Fix API test page' ( #3943 ) from Qubasa/clan-core:ui_log_collection2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3943
2025-06-12 14:35:15 +00:00
Qubasa
e27bb956c9
clan-lib: Add LogManager class
2025-06-12 16:24:40 +02:00
Qubasa
25a6108198
clan-lib: Move task functions to own file
2025-06-12 16:23:53 +02:00
Qubasa
18be41082b
clan-app: Fix api test page
2025-06-12 16:23:33 +02:00
lassulus
98e6c7056a
Merge pull request 'generate_test_vars: add support for darwin' ( #3952 ) from lassulus/clanTest_darwin into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3952
2025-06-12 13:58:30 +00:00
lassulus
6aaedaa6df
generate_test_vars: add support for darwin
2025-06-12 14:49:12 +02:00
pinpox
56fef67fd5
migrate trusted-nix-caches
2025-06-12 14:01:51 +02:00
Brian McGee
ec62419668
feat(ui): new loader component; button and icon v2
2025-06-12 11:29:41 +01:00
renovate[bot]
a537f44b6d
chore(deps): update nix-darwin digest to e2da333
2025-06-12 08:10:12 +00:00
pinpox
563f4f361f
Merge pull request 'Migrate user-password and root-password to clan Services' ( #3918 ) from migrate-user-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3918
Reviewed-by: lassulus <clanlol@lassul.us >
2025-06-12 08:08:36 +00:00
pinpox
39a8374dee
migrate clanmodules/{user,root}-password to clanServices/users
...
Move the functionality of both modules into a new clanService.
root-password was previously just a special case of user-password. This
migrates it into a deduplicated clan service and adds checks
2025-06-12 09:04:26 +02:00
Johannes Kirschbauer
abee3147ea
Fix(morph): ensure machine dir exists
2025-06-11 20:38:15 +02:00
Johannes Kirschbauer
fafb4d8b4e
fix(templates): add error handling
2025-06-11 20:22:20 +02:00
Johannes Kirschbauer
1724f127d5
feat(templates_urls): short circuit input names
2025-06-11 20:21:29 +02:00
Johannes Kirschbauer
32b5b7dc93
feat(flake): add function to get input names
2025-06-11 20:21:29 +02:00
Johannes Kirschbauer
6b684c45c3
feat(flake/select): add apply argument
2025-06-11 20:21:29 +02:00
pinpox
774c3ff5dc
Merge pull request 'Migrate sshd to clanServices' ( #3912 ) from migrate-sshd into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3912
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-06-11 16:29:43 +00:00
Johannes Kirschbauer
799c23bb56
doc(cli/templates): improve help description
2025-06-11 17:00:10 +02:00
Johannes Kirschbauer
a254ff46a1
fix(tess/morph): skip creating existing machine
2025-06-11 17:00:10 +02:00
Johannes Kirschbauer
b5ed9fdfed
Docs(cli/machines): improve description of '--template'
2025-06-11 17:00:10 +02:00
Johannes Kirschbauer
1e3e7b6d37
Chore(machine/templates): simplify template args for machines command
2025-06-11 17:00:08 +02:00
Johannes Kirschbauer
1249a18901
Feat(template_url): substitute local refs
...
To execute the CLI in foreign directories
.#new-machine needs to get tranformed into /path/to/clan#new-machine
Otherwise it might pick-up some random flake that is in scope where the cli started executing
2025-06-11 16:59:32 +02:00
Johannes Kirschbauer
0280d3a6a6
Feat(templates): init with_machine_template context handler
2025-06-11 16:52:52 +02:00
Johannes Kirschbauer
217360fa1e
Feat(templates): export clan templates statically
2025-06-11 16:52:52 +02:00
Johannes Kirschbauer
5acac54f48
Feat(templates): add template selector tranformation
2025-06-11 16:52:50 +02:00
pinpox
c5341837b4
Migrate sshd to clanServices
...
- migrate service
- add deprecation notice to old module
- add check
- update docs
2025-06-11 15:43:51 +02:00
lassulus
19b8d67115
Merge pull request 'bugfix for persistent loginctl sessions' ( #3903 ) from pr-3886 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3903
2025-06-11 13:15:04 +00:00
kenji
32559c0424
Merge pull request 'pkgs/distro-packages: Remove the distro packages' ( #3941 ) from kenji/pkgs/distro-packages: Remove the distro packages into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3941
Reviewed-by: lassulus <clanlol@lassul.us >
2025-06-11 13:00:44 +00:00
DavHau
fb80e13b04
Merge pull request 'dummy-test: add vars' ( #3940 ) from davhau/test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3940
2025-06-11 12:55:41 +00:00
lassulus
3784682c3a
clan-cli: reduce ssh controlmaster timeout to 1min
2025-06-11 14:39:50 +02:00
adeci
ad5ab560b4
bugfix for persistent loginctl sessions
2025-06-11 14:38:37 +02:00
DavHau
572e02c806
dummy-test: add vars
2025-06-11 19:30:13 +07:00
DavHau
6f451c700d
clan tests: allow testing CLI interactions
...
This is an improvement of the clanTest nixos vm test module.
The module now has a new option clan.test.fromFlake that allows to specify a flake.nix as the source for the test clan instead of specifying clan.XXX options.
This in turn allows accessing the `flake.nix` inside the test driver allowing to use the clan cli on it
2025-06-11 19:30:13 +07:00
kenji
86f6458cce
Merge pull request 'borgbackup: Move tests close to service' ( #3939 ) from kenji/borgbackup: Move tests close to service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3939
2025-06-11 12:05:50 +00:00
a-kenji
ae2d9e57ab
pkgs/distro-packages: Remove the distro packages
...
Remove the distro packages for now.
They can be added back, if we actually need them again.
2025-06-11 13:54:13 +02:00
a-kenji
316ec8c526
borgbackup: Move tests close to service
2025-06-11 13:47:29 +02:00
kenji
600310f263
Merge pull request 'agit: init agit helper' ( #3938 ) from kenji/agit: init agit helper into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3938
2025-06-11 10:39:48 +00:00
a-kenji
6b206deb72
agit: init agit helper
...
This initializes a very simple AGit helper script.
Usage:
```
agit create
```
or
```
agit c
```
To create a new AGit Pr.
Integrate Pulling from an AGit remote.
Gitea doesn't expose an AGit endpoint in the api, or the `tea` cli.
This makes pulling not feasible, since there is no robust way to query
the AGit topic, which is the ref that need to be pulled.
One possible solution currently could be scraping the gitea instructions
for forking a pull request on an AGit PR.
2025-06-11 12:26:19 +02:00
renovate[bot]
3b33d42ef3
chore(deps): update sops-nix digest to 50754df
2025-06-10 22:10:12 +00:00
hsjobeki
fb842ba846
Merge pull request 'Chore(templates): move helper functions into a util file' ( #3930 ) from hsjobeki/utils into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3930
2025-06-10 17:52:44 +00:00
hsjobeki
86c343ab34
Merge pull request 'Chore(complete_machines): simplify by using inventoryStore' ( #3929 ) from hsjobeki/cleanups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3929
2025-06-10 17:42:55 +00:00
Johannes Kirschbauer
92fdba3965
Chore(templates): move helper functions into a util file
2025-06-10 19:38:10 +02:00
Johannes Kirschbauer
7df1dc1833
chore(clanInternals): remove unused 'templates' attribute"
2025-06-10 19:26:04 +02:00
Johannes Kirschbauer
0885f9e301
feat(clanInternals): dont allow superfluous options
2025-06-10 19:16:26 +02:00
Johannes Kirschbauer
a98b2fb60c
Chore(complete_machines): simplify by using inventoryStore
2025-06-10 19:15:07 +02:00
Johannes Kirschbauer
7d3b5ecec9
Chore(flake.py): remove unused uncached_nix_eval_with_args
2025-06-10 19:15:07 +02:00
hsjobeki
44f8edd52f
Merge pull request 'Chore(clanInternals): remove unused attributes' ( #3925 ) from hsjobeki/clanInternals into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3925
2025-06-10 17:12:33 +00:00
Johannes Kirschbauer
4e008166be
Fix(tests/buildClan): reduce expected attributes
2025-06-10 19:00:57 +02:00
Johannes Kirschbauer
c26743c247
Fix(clan.nix): create public attributes from 'clan', dont expose them from clanInternals
...
ClanInternals is already exposed at the toplevel the API can access anything
This also deduplicated 'templates' and 'modules' into 'clan.modules' and 'clan.templates' repsectively
Only this one path is its source
2025-06-10 18:51:42 +02:00
Johannes Kirschbauer
01a3151968
Chore(clanInternals): remove unused attributes
2025-06-10 18:27:16 +02:00
hsjobeki
490a77ef54
Merge pull request 'Refactor(clanInternals): remove depending on clanInternals.inventory' ( #3928 ) from hsjobeki/no-more-inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3928
2025-06-10 16:00:50 +00:00
Johannes Kirschbauer
80ead1bf4d
Refactor(clanInternals): remove depending on clanInternals.inventory
2025-06-10 17:43:59 +02:00
hsjobeki
78e719f5fb
Merge pull request 'Refactor(autocompletions): use inventoryStore' ( #3927 ) from hsjobeki/completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3927
2025-06-10 15:39:56 +00:00
Johannes Kirschbauer
8de654f381
Refactor(autocompletions): use inventoryStore
2025-06-10 17:02:16 +02:00
Johannes Kirschbauer
10cf0bfafe
Feat(inventoryStore): add get_raw to read all the values unsafe
2025-06-10 17:02:16 +02:00
hsjobeki
6a279157bd
Merge pull request 'Chore(show_clan_meta): use data from inventoryStore' ( #3926 ) from hsjobeki/show_clan_meta into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3926
2025-06-10 14:58:58 +00:00
Johannes Kirschbauer
f6102e5ae7
Chore(show_clan_meta): use data from inventoryStore
2025-06-10 16:46:18 +02:00
hsjobeki
0df7712bb8
Merge pull request 'Fix(tests/templates): add narHash to allow local tests execution in devShell' ( #3922 ) from fix-tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3922
2025-06-10 13:50:34 +00:00
Johannes Kirschbauer
20618d11fd
Fix(tests/substitutions): use different substitutions for nix-build and local environment
2025-06-10 15:34:56 +02:00
Johannes Kirschbauer
afc441c376
Fix(tests/templates): add narHash to allow local tests execution in devShell
2025-06-10 12:36:58 +02:00
kenji
c8c2730ddd
Merge pull request 'user-password: Improve prompting documentation' ( #3920 ) from ke-prompt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3920
2025-06-10 09:48:16 +00:00
a-kenji
8e997864c3
user-password: Improve prompting documentation
2025-06-10 11:04:22 +02:00
kenji
03aa534ea4
Merge pull request 'checks: Disable syncthing test for now' ( #3919 ) from ke-disable-syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3919
2025-06-10 09:00:19 +00:00
a-kenji
80d0449a5b
checks: Disable syncthing test for now
...
Syncthing is currently being migrated and we can look at the test again
once we migrated.
It recently got changes upstream which might explain the spurious test
failures.
2025-06-10 10:46:28 +02:00
Michael Hoang
80366afbfc
Merge pull request 'cli: fix clan secrets key update not working when age plugins defined' ( #3916 ) from push-xrynsrlvulmu into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3916
2025-06-10 07:29:35 +00:00
Michael Hoang
6dd6a641f5
cli: fix clan secrets key update not working when age plugins defined
2025-06-10 14:07:10 +07:00
Michael Hoang
e70fe677f9
Merge pull request 'vars: don't use sops.secrets.*.restartUnits on macOS' ( #3917 ) from push-mtooonxozntq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3917
2025-06-10 07:05:53 +00:00
Michael Hoang
ad963a75c5
vars: don't expose restartUnits on macOS
2025-06-10 13:48:06 +07:00
Michael Hoang
e8ebd887d0
vars: don't use sops.secrets.*.restartUnits on macOS
2025-06-10 13:27:15 +07:00
hsjobeki
931f0b00d0
Merge pull request 'chore(api/create_clan): remove unused reponse class' ( #3907 ) from api-narrowing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3907
2025-06-09 19:00:27 +00:00
Johannes Kirschbauer
ca8a228fba
chore(flake): move 'inputs-from' into templates handling
2025-06-09 20:40:20 +02:00
Johannes Kirschbauer
217df6b98c
chore(inspect): use simple list_machines
2025-06-09 20:33:17 +02:00
Johannes Kirschbauer
7a1cab1412
chore(api/create_clan): remove unused reponse class
2025-06-09 20:30:20 +02:00
Luis Hebendanz
ab29c87d31
Merge pull request 'clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser' ( #3914 ) from Qubasa/clan-core:deploy_info2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3914
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-06-09 17:45:30 +00:00
Qubasa
ee802ad723
clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser
2025-06-09 19:27:01 +02:00
Michael Hoang
d915400b97
Merge pull request 'testing: fix Nix in Nix when remote building' ( #3911 ) from ninixx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3911
2025-06-09 14:10:35 +00:00
Michael Hoang
b81d0e9ba6
testing: fix Nix in Nix when remote building
2025-06-09 20:58:08 +07:00
kenji
dccadcaf32
Merge pull request 'clanServices: Move service tests to appropriate locations' ( #3909 ) from ke-move-service-checks-to-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3909
2025-06-09 13:26:31 +00:00
a-kenji
025dd0f9b3
clanServices: Move ergochat test to appropriate location
...
Move the ergochat clanService test to the ergochat clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
a-kenji
7fb182d7be
clanServices: Move heisenbridge test to appropriate location
...
Move the heisenbridge clanService test to the heisenbridge clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
a-kenji
95acdfa4f8
clanServices: Move deltachat test to appropriate location
...
Move the deltachat clanService test to the deltachat clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 15:05:40 +02:00
DavHau
d37c7c4c05
buildClan function: export all machines via nixosModules/darwinModules
...
We want each machine not only to be exposed via nixosConfigurations but also as a module.
This allows re-importing the machine in tests and override the architecture for example.
2025-06-09 12:51:22 +00:00
kenji
baeefc8ba1
Merge pull request 'clanServices: Move mycelium test to appropriate location' ( #3902 ) from ke-move-mycelium-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3902
2025-06-09 12:04:39 +00:00
hsjobeki
78c0ad24d9
Merge pull request 'Refactor(api/update_machine): rename to set_machine; use name, flake' ( #3899 ) from api-narrowing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3899
2025-06-09 11:55:28 +00:00
Johannes Kirschbauer
2685db33d7
Refactor(cli/list_machines): rename to list_full_machines
...
This makes it clear that this should be used with care
It is potentially more expensive to create the full object, therefore it should be discouraged by its longer name
This listing is implemented based on the basic listing, where each item is turned into the bigger machine class
2025-06-09 13:40:57 +02:00
Johannes Kirschbauer
57e71e6c66
Refactor(api/list_machines): rename from list_inv_machines
2025-06-09 13:33:25 +02:00
Johannes Kirschbauer
e65cba43f7
refactor: cleanup unused imports
...
They are registered already if they are located as module in clan_lib
2025-06-09 13:33:25 +02:00
Johannes Kirschbauer
7c4b836963
refactor(clan_lib): move show_clan_meta to clan_lib
2025-06-09 13:33:25 +02:00
Johannes Kirschbauer
ad948ec097
refactor(clan_lib): move update to clan_lib.clan
2025-06-09 13:33:25 +02:00
Johannes Kirschbauer
7f478bffe2
Refactor(api/update_machine): rename to set_machine; use name, flake
2025-06-09 13:33:19 +02:00
kenji
a82244fc29
Merge pull request 'clanServices: Move admin test to appropriate location' ( #3905 ) from ke-move-admin-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3905
2025-06-09 11:30:43 +00:00
a-kenji
147cb81ba2
clanServices: Move mycelium test to appropriate location
...
Move the mycelium clanService test to the mycelium clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 13:17:36 +02:00
a-kenji
8e2f308cc4
clanServices: Move admin test to appropriate location
...
Move the admin clanService test to the admin clan service.
The tests should live close to the definition of the service, so that
debugging and discoverability is better.
2025-06-09 13:01:48 +02:00
kenji
8f1a80c778
Merge pull request 'clanServices: Move garage test to appropriate location' ( #3901 ) from ke-move-garage-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3901
2025-06-09 10:55:44 +00:00
kenji
e8a8fa79fd
Merge pull request 'clanServices: Move localsend test to appropriate location' ( #3900 ) from ke-move-localsend-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3900
2025-06-09 10:55:28 +00:00
a-kenji
dd85bcda11
clanServices: Move localsend test to appropriate location
...
Move the localsend clanService test to the localsend clan service.
2025-06-09 12:38:39 +02:00
a-kenji
fef0225c74
clanServices: Move garage test to appropriate location #3900
...
Move the garage clanService test to the garage clan service.
2025-06-09 12:37:49 +02:00
lassulus
3d0c076035
Merge pull request 'revert #3883 ' ( #3898 ) from lassulus/revert_qubasa into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3898
2025-06-09 09:58:09 +00:00
lassulus
8ce860f0d3
Revert "clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser"
...
This reverts commit b1ef5f00bf .
2025-06-09 11:28:15 +02:00
hsjobeki
4faec2c4d2
Merge pull request 'Chore(api): narrow down get_machine' ( #3863 ) from api-narrowing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3863
2025-06-09 08:59:36 +00:00
DavHau
828e97775a
lib: mkOfflineFlakeLock init
...
copied from the clan-core-flake module
I plan to re-use this function to improve the clan test framework to allow cli execution
2025-06-09 15:23:09 +07:00
DavHau
ae5781c09c
build-clan: refactor: don't only use imports
2025-06-09 13:24:27 +07:00
renovate[bot]
4541e8e2ad
chore(deps): update disko digest to dfa4d1b
2025-06-09 02:50:13 +00:00
renovate[bot]
0cb50fab03
chore(deps): update data-mesher digest to ae2b263
2025-06-09 00:20:24 +00:00
renovate[bot]
a5068968ee
chore(deps): lock file maintenance
2025-06-09 00:00:32 +00:00
renovate[bot]
85eb738312
chore(deps): update flake-parts digest to 9305fe4
2025-06-08 17:10:20 +00:00
renovate[bot]
1cb8e213b4
chore(deps): update data-mesher digest to 24b49db
2025-06-08 16:50:16 +00:00
Luis Hebendanz
36fcf689c8
Merge pull request 'clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser' ( #3883 ) from Qubasa/clan-core:test_for_deploy_info into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3883
2025-06-06 23:02:45 +00:00
Qubasa
b1ef5f00bf
clan-cli: Use Remote class in DeployInfo, add tests for qrcode parser and json parser
2025-06-07 00:51:24 +02:00
Luis Hebendanz
e4b7462551
Merge pull request 'fix the infoboxes not rendering correctly' ( #3885 ) from RuboGubo/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3885
2025-06-06 21:34:08 +00:00
RuboGubo
7d930d15fd
fix the infoboxes not rendering correctly
2025-06-06 20:54:14 +01:00
Mic92
5842d64da5
Merge pull request 'cli: fix buildHost source upload destination' ( #3884 ) from clan-core-update-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3884
2025-06-06 13:06:54 +00:00
Jörg Thalheim
b4263caf37
cli: fix buildHost source upload destination
...
Sources were being uploaded to target host instead of build host,
causing nixos-rebuild to fail with "no such file or directory".
2025-06-06 14:51:12 +02:00
Mic92
e499308489
Merge pull request 'facts: Add deprecation warning' ( #3851 ) from kenji/clan-core:ke-deprecation-warning-facts into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3851
2025-06-06 12:09:52 +00:00
Mic92
b97d250656
Merge pull request 'Expose all clanServices/<subfolder>/flake-module.nix' ( #3874 ) from auto-import-all-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3874
2025-06-06 12:09:40 +00:00
Mic92
c63e959124
Merge pull request 'Add a note about giving the Zerotier network a better name' ( #3876 ) from jfly/clan-core:add-note-about-vpn-name into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3876
2025-06-06 12:09:11 +00:00
lassulus
d3d5cd70cb
Merge pull request 'fix select escaping' ( #3857 ) from lassulus/test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3857
2025-06-06 10:58:14 +00:00
renovate[bot]
9de1386d64
chore(deps): update disko digest to 6d06f63
2025-06-06 09:20:10 +00:00
renovate[bot]
ca68867d6f
chore(deps): update nix-darwin digest to 1934680
2025-06-06 08:30:19 +00:00
lassulus
4d07e90930
select: fix error message showing nonsense
2025-06-06 10:12:15 +02:00
lassulus
e96099d588
select: fix non escaped '
2025-06-06 10:12:15 +02:00
renovate[bot]
800f36b411
chore(deps): update data-mesher digest to 5e87f09
2025-06-06 08:00:24 +00:00
renovate[bot]
868ccfe0c8
chore(deps): update treefmt-nix digest to a05be41
2025-06-06 07:40:11 +00:00
pinpox
352548f536
Merge branch 'main' into auto-import-all-services
2025-06-06 07:39:23 +00:00
renovate[bot]
ac5a242329
chore(deps): update nix-darwin digest to 9753a87
2025-06-06 07:00:14 +00:00
renovate[bot]
8fd0c0dadf
chore(deps): update disko digest to d74db62
2025-06-06 02:40:11 +00:00
Michael Hoang
73a569e2cf
Merge pull request 'cli: don't generate a sops key that is world readable' ( #3877 ) from push-ytvoytptyzrz into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3877
2025-06-06 02:30:48 +00:00
Michael Hoang
4b26108b3d
cli: don't generate a sops key that is world readable
...
Fixes https://git.clan.lol/clan/clan-core/issues/3808
2025-06-06 12:15:19 +10:00
Jeremy Fleischman
d2b8307e77
Add a note about giving the Zerotier network a better name
...
It's *very* easy to miss the "default" in the following code snippet.
It's quite useful to have a non-"default" Zerotier network name, for
example, when configuring data-mesher, you need to specify the
`network.interface` setting.
2025-06-05 13:21:48 -07:00
pinpox
cda2d216c6
Expose all clanServices/<subfolder>/flake-module.nix
2025-06-05 20:28:55 +02:00
pinpox
fbdf750694
Merge pull request 'Expose importer module' ( #3873 ) from expose-importer-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3873
2025-06-05 18:11:44 +00:00
pinpox
9663b68eae
Expose importer module
2025-06-05 19:57:19 +02:00
kenji
94e26fb9de
Merge pull request 'zerotier: Allow the controller to accept external Ips' ( #3871 ) from kenji/clan-core:ke-zerotier-allow-external-ips into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3871
2025-06-05 16:53:46 +00:00
a-kenji
e2f8266390
zerotier: Allow the controller to accept external Ips
...
Allow the controller to accept external zerotier Ips into the network
through declarative settings.
Closes: #3787
2025-06-05 16:53:46 +00:00
pinpox
5cdba53949
Merge pull request 'clanServices/importer: fix manifest name' ( #3872 ) from migrate-importer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3872
2025-06-05 16:49:06 +00:00
pinpox
5b2f77e06c
fix manifest name
2025-06-05 18:37:15 +02:00
pinpox
5a4044815d
Merge pull request 'Migrate Importer module' ( #3854 ) from migrate-importer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3854
Reviewed-by: Luis Hebendanz <consulting@qube.email >
2025-06-05 16:29:37 +00:00
pinpox
8263c0cc6c
wait for mycelium port
2025-06-05 18:03:59 +02:00
pinpox
9bf0d133c8
Add readme for clanServices/importer
2025-06-05 17:49:22 +02:00
pinpox
7f6abbd87d
migrate importer module
2025-06-05 17:49:22 +02:00
Luis Hebendanz
e5f6167d5f
Merge pull request 'clan_lib: Fix quoting issues' ( #3870 ) from Qubasa/clan-core:fix_quoting_issues into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3870
2025-06-05 15:41:04 +00:00
kenji
d35616acf9
Merge pull request 'Open port for localsend' ( #3869 ) from localsend-open-fw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3869
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-06-05 15:33:11 +00:00
Qubasa
4fa73e4b92
clan_lib: Fix quoting issues
2025-06-05 17:24:36 +02:00
pinpox
4c42af872b
Open port for localsend
2025-06-05 17:19:45 +02:00
kenji
f12b933638
Merge pull request 'zerotier: Emphasize that moons are optional' ( #3868 ) from kenji/clan-core:ke-zerotier-documentation-expand into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3868
2025-06-05 14:07:47 +00:00
a-kenji
be86c31d42
zerotier: Emphasize that moons are optional
2025-06-05 15:56:05 +02:00
kenji
e9bfc562b6
Merge pull request 'zerotier: Add a usage example to the documentation' ( #3867 ) from kenji/clan-core:ke-zerotier-documentation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3867
2025-06-05 13:47:25 +00:00
a-kenji
ee0891f8f0
zerotier: Add a usage example to the documentation
2025-06-05 15:28:01 +02:00
kenji
d26b885005
Merge pull request 'Migrate localsend to clanServices' ( #3866 ) from migrate-localsend into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3866
2025-06-05 13:26:06 +00:00
pinpox
cf4ac219b3
Fix manifest.name
2025-06-05 15:14:15 +02:00
pinpox
fed5613874
Add README
2025-06-05 14:54:27 +02:00
pinpox
bbd123b4c9
Add roles directory
2025-06-05 13:27:55 +02:00
pinpox
38dd90bc62
Migrate localsend to clanServices
2025-06-05 12:49:51 +02:00
pinpox
a6759af65f
Merge pull request 'Clean up checks' ( #3853 ) from cleanup-checks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3853
2025-06-05 10:40:55 +00:00
renovate[bot]
b6b010077c
chore(deps): update disko digest to a4f7deb
2025-06-05 02:30:11 +00:00
Johannes Kirschbauer
730ab8a25e
Chore(specific_machine_dir): use protocol to avoid direct dependency on machine class
2025-06-04 20:51:27 +02:00
Johannes Kirschbauer
ea1c1a5185
Chore(api): narrow down get_machine
...
Dont require the user to pass the machine into the same getter function
The workflow contradicts itself here
2025-06-04 20:38:45 +02:00
hsjobeki
9a77e0db43
Merge pull request 'Feat(jsonschema): simplify isRequired, look into default and defaultText' ( #3861 ) from json-schema into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3861
2025-06-04 18:34:40 +00:00
Johannes Kirschbauer
1019911b20
feat(jsonschema): filter out $exportedModuleInfo by default
2025-06-04 20:22:54 +02:00
Johannes Kirschbauer
7a7bcf68c6
feat(jsonschema): remove 'default' if 'defaultText' is present
...
default is likely to contain an error thunk if defaultText is set
including it into $exportedModuleInfo makes it non-serializable
2025-06-04 20:22:32 +02:00
Johannes Kirschbauer
dad55040ba
Feat(jsonschema): simplify isRequired, look into default and defaultText
2025-06-04 19:57:39 +02:00
Luis Hebendanz
5a85d4e1ce
Merge pull request 'clan-app: Catch method not found error in api' ( #3860 ) from Qubasa/clan-core:clan_app_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3860
2025-06-04 16:28:24 +00:00
Qubasa
7df19df224
clan-app: Catch method not found error in api
2025-06-04 18:16:58 +02:00
kenji
0d79f8de2b
Merge pull request 'zerotier: Simplify endpoint configuration for moons' ( #3859 ) from kenji/clan-core:ke-zerotier-option-moon into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3859
2025-06-04 15:09:48 +00:00
a-kenji
41c7a99b6b
zerotier: Simplify endpoint configuration for moons
2025-06-04 16:46:39 +02:00
kenji
7dad9e65cf
Merge pull request 'zerotier: Get settings from the instance' ( #3855 ) from kenji/clan-core:ke-zerotier-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3855
2025-06-04 13:17:46 +00:00
a-kenji
37e473e4ca
zerotier: Get settings from the instance
2025-06-04 13:17:46 +00:00
kenji
b988e5018a
Merge pull request 'Make IPv4 address optional in localsend module' ( #3856 ) from optional-localsend-ipv4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3856
2025-06-04 13:14:26 +00:00
pinpox
2faf802f64
cleanup checks/flake-module.nix
2025-06-04 14:59:30 +02:00
pinpox
4cafd7df1f
Make ipv4Addr optional in localsend module
2025-06-04 14:53:04 +02:00
hsjobeki
f5ae0fc394
Merge pull request 'docs(service-modules): add description and docs for options' ( #3848 ) from doc-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3848
2025-06-04 12:44:32 +00:00
kenji
fbff43a16a
Merge pull request 'Migrate mycelium from clanModule to clanService' ( #3852 ) from migrate-mycelium into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3852
2025-06-04 12:34:26 +00:00
Johannes Kirschbauer
b3321d5482
Fix(tests/inventory): fix test by adding passtrhough
...
Since nixosModule is not inspectable during unit test
2025-06-04 14:30:12 +02:00
Johannes Kirschbauer
4883b11bb6
Feat(clanServices): expose all other instance options than nixosModule
...
This is usefull for augmenting the perInstance module
2025-06-04 14:29:36 +02:00
pinpox
8c0107481e
Migrate mycelium from clanModule to clanService
2025-06-04 14:10:32 +02:00
pinpox
b77a471a42
Merge pull request 'Re-introduce clanModules/*/default.nix for backward compatibility' ( #3850 ) from add-module-default-nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3850
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-06-04 11:22:53 +00:00
a-kenji
5b6bd74748
facts: Add deprecation warning
2025-06-04 13:21:09 +02:00
pinpox
0c2a570282
Apply suggestions
2025-06-04 13:12:28 +02:00
pinpox
ff943ecf41
Merge pull request 'Remove Golem-provider module' ( #3847 ) from migrate-golemprovider into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3847
2025-06-04 11:09:35 +00:00
pinpox
c7e08d8646
Re-introduce clanModules/*/default.nix for backward compatibility
2025-06-04 13:05:27 +02:00
pinpox
b27046c604
Remove yagna package and golem-provider
2025-06-04 12:55:46 +02:00
pinpox
c0728e13e6
Simplify and tidy up golem-provider module
2025-06-04 12:55:46 +02:00
Johannes Kirschbauer
6e7b2f94e5
docs: expose clan service authoring interface
2025-06-04 12:43:03 +02:00
Johannes Kirschbauer
0180013e68
docs(service-modules): add description and docs for options
2025-06-04 12:40:37 +02:00
kenji
8a9843e7ca
Merge pull request 'zerotier: Migrate from clanModule to clanServices' ( #3820 ) from kenji/clan-core:ke-migrate-clan-module-zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3820
2025-06-04 10:37:35 +00:00
a-kenji
bd7e93e330
!fixup: Remove ', because it breaks nix-select
2025-06-04 12:23:53 +02:00
Mic92
7050db796a
Merge pull request 'Add warning note for users on cloud machines' ( #3806 ) from RuboGubo/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3806
2025-06-04 10:09:19 +00:00
a-kenji
24cf1bcc50
zerotier: Migrate from clanModule to clanServices
...
This migrates zerotier from clanModules to clanServices.
This is a graceful migration and does not yet disables any of the
clanModule functionality.
2025-06-04 11:04:51 +02:00
hsjobeki
31d0401cdd
Merge pull request 'Fix(docs): fix broken link to decision' ( #3844 ) from doc-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3844
2025-06-04 08:34:37 +00:00
Johannes Kirschbauer
13ab73873f
Fix(docs): fix broken link to decision
2025-06-04 09:11:02 +02:00
lassulus
b0bbf9d6bc
Merge pull request 'zerotier: fix targetHost' ( #3842 ) from connectivity_by_default_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3842
2025-06-04 06:58:40 +00:00
lassulus
39db9727d5
zerotier: fix targetHost
2025-06-04 08:46:01 +02:00
renovate[bot]
afd801e6f9
Update nix-darwin digest to fa6120c
2025-06-04 05:50:11 +00:00
renovate[bot]
b975d747c6
Update nix-darwin digest to d46a072
2025-06-04 01:30:11 +00:00
pinpox
a0f3835998
Merge pull request 'Migrate heisenbridge from clanModule to clanService' ( #3837 ) from migrate-heisenbridge into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3837
2025-06-04 00:56:42 +00:00
pinpox
1ec71dcdd1
Migrate heisenbridge from clanModule to clanService
2025-06-04 02:45:41 +02:00
pinpox
49425775eb
Merge pull request 'Migrate garage from clanModule to clanService' ( #3836 ) from migrate-garage into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3836
2025-06-03 23:43:58 +00:00
pinpox
243f90ef9e
Migrate garage from clanModule to clanService
2025-06-04 01:29:52 +02:00
pinpox
2ee3986a8c
Merge pull request 'Migrate ergochat from clanModule to clanService' ( #3835 ) from migrate-ergochat into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3835
2025-06-03 22:32:12 +00:00
pinpox
ccc64b6aca
migrate ergochat module to clanservice
2025-06-04 00:21:23 +02:00
pinpox
eb5fa75be6
Merge pull request 'Migrate auto-upgrade from clanModule to clanService' ( #3827 ) from migrate-auto-upgrade into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3827
2025-06-03 21:40:57 +00:00
pinpox
1b16d844e7
Add auto-upgrade.md to docs
2025-06-03 23:31:20 +02:00
pinpox
bd1703e8fd
nix fmt
2025-06-03 23:22:58 +02:00
pinpox
1f5bd06428
Migrate auto-upgrade from clanModule to clanService
2025-06-03 23:13:51 +02:00
pinpox
2b9e1b5d15
Merge pull request 'Migrate deltachat from clanModule to clanService' ( #3829 ) from migrate-deltachat into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3829
2025-06-03 21:12:28 +00:00
pinpox
009f841e4e
Add deltachat.md to docs
2025-06-03 23:02:42 +02:00
pinpox
bc97d84280
nix fmt
2025-06-03 22:54:02 +02:00
pinpox
c47c2235b8
Fix module category
2025-06-03 22:48:57 +02:00
pinpox
e70cf14e8e
Fix test runner for tests without vars
2025-06-03 22:35:10 +02:00
pinpox
d5a2685930
Add test for deltachat clanService
2025-06-03 22:35:10 +02:00
pinpox
badf5d1852
Migrate deltachat from clanModule to clanService
2025-06-03 22:34:03 +02:00
hsjobeki
6679a64dea
Merge pull request 'feat(inventory/instances): add option for extraModules to roles' ( #3830 ) from flake-models into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3830
2025-06-03 18:58:13 +00:00
hsjobeki
f50e40114e
Merge pull request 'Reaply: #3777 : fix/machine-detail-view' ( #3833 ) from ui-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3833
2025-06-03 17:19:43 +00:00
Johannes Kirschbauer
fc98df01be
Chore(ui/taglist): snapshot test
2025-06-03 19:09:43 +02:00
Johannes Kirschbauer
ac0477e710
Fix(inventory/extraModules): use more narrow type for better persistence
2025-06-03 18:57:34 +02:00
hsjobeki
98ee538124
Merge pull request 'chore: delete duplicate inventory models' ( #3831 ) from chores-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3831
2025-06-03 16:49:40 +00:00
hsjobeki
d3549e82be
Merge pull request 'iwd: fix deprecation spam' ( #3832 ) from DavHau-dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3832
2025-06-03 16:47:27 +00:00
hsjobeki
f57a9b5ea9
Reaply: #3777 : fix/machine-detail-view
2025-06-03 18:42:47 +02:00
hsjobeki
b9c7c530f7
Merge pull request 'Typography component V2' ( #3797 ) from ui/typography into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3797
2025-06-03 16:36:19 +00:00
Johannes Kirschbauer
58a75e7f17
Fix(docs): dont link to assumed successor
2025-06-03 18:35:00 +02:00
Johannes Kirschbauer
9214559d38
Fix(tests/inventory): fix test assertions due to change in the exported structure
2025-06-03 18:30:04 +02:00
Johannes Kirschbauer
724e307cac
Chore: update clan nix_models
2025-06-03 18:18:12 +02:00
Johannes Kirschbauer
8aa957a012
Fix(classgen): support listOf union
2025-06-03 18:18:02 +02:00
Johannes Kirschbauer
c6947a8fab
feat(inventory/instances): add option for extraModules to roles
2025-06-03 18:17:16 +02:00
Johannes Kirschbauer
77c2fc7ba1
chore: delete duplicate inventory models
2025-06-03 17:52:07 +02:00
Johannes Kirschbauer
97d7c38ba7
chore(inventory/instances): add forward all role attributes to the service
2025-06-03 17:38:02 +02:00
Johannes Kirschbauer
582841ba05
feat(inventory/instances): map over all machines and return lazy attributes
2025-06-03 17:37:04 +02:00
lassulus
2e2b90677e
Merge pull request 'zerotier: set targetHost if var is generated' ( #3823 ) from connectivity_by_default_hack into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3823
2025-06-03 13:53:28 +00:00
RuboGubo
f8be0d883b
Merge branch 'main' of git.clan.lol:RuboGubo/clan-core
2025-06-03 14:33:12 +01:00
RuboGubo
0046af127b
remove unnecessary note and re-work requirements
2025-06-03 14:31:34 +01:00
DavHau
e2454db2fe
Merge pull request 'makeTestClan: simplify - move parameters into module' ( #3825 ) from DavHau/clan-core:emergency into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3825
2025-06-03 12:54:09 +00:00
DavHau
a279c2b48f
iwd: fix deprecation spam
...
use config.warnings instead of lib.warn
2025-06-03 19:38:10 +07:00
DavHau
1add6a6314
clan tests: convert makeTestClan to a module
...
Let's not put yet another wrapper around runTest, instead expose our logic as a module that can be imported into any nixos-vm-test
2025-06-03 19:38:02 +07:00
DavHau
9cb6382cec
makeTestClan: simplify - move parameters into module
...
... in preparation of removing the makeTestClan wrapper and make this a module instead that can be imported into any test.
2025-06-03 19:38:02 +07:00
DavHau
9069421c7f
Revert "Merge pull request 'fix/machine-detail-view' ( #3777 ) from fix/machine-detail-view into main"
...
This reverts commit 98c1e9ac5b , reversing
changes made to 972825ab7e .
2025-06-03 19:35:19 +07:00
RuboGubo
db654775c2
Add warning note for users on cloud machines
2025-06-03 12:24:54 +00:00
Mic92
c8be43c8b9
Merge pull request 'fix buildhost re-using control socket for updates' ( #3824 ) from build-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3824
2025-06-03 12:21:22 +00:00
hsjobeki
98c1e9ac5b
Merge pull request 'fix/machine-detail-view' ( #3777 ) from fix/machine-detail-view into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3777
2025-06-03 12:10:21 +00:00
Jörg Thalheim
97209c53e4
fix buildhost re-using control socket for updates
...
this is actually a serious issue because it also would result doing ssh
to the wrong host: https://git.clan.lol/clan/clan-core/issues/3822
2025-06-03 14:01:49 +02:00
lassulus
6bd697ed75
zerotier: set targetHost if var is generated
2025-06-03 12:16:09 +02:00
Michael Hoang
972825ab7e
Merge pull request 'cli: allow using commands from local flakerefs for debugging' ( #3819 ) from push-quvsovsorszu into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3819
2025-06-03 04:20:58 +00:00
Michael Hoang
06d0612b5f
cli: allow using commands from local flakerefs for debugging
2025-06-03 14:07:45 +10:00
Luis Hebendanz
46e3180414
Merge pull request 'Fix test_create.py' ( #3818 ) from Qubasa/clan-core:minimized-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3818
2025-06-02 15:08:00 +00:00
Luis Hebendanz
b0c7b5cc38
Merge pull request 'inventory: Add buildHost argument' ( #3817 ) from Qubasa/clan-core:minimized into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3817
2025-06-02 15:07:38 +00:00
pinpox
899514cfe7
Merge pull request 'Migrate borgbackup to clan Services' ( #3711 ) from migrate-borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3711
2025-06-02 15:07:05 +00:00
pinpox
41484d5443
Update clan-core-for-checks
2025-06-02 16:19:06 +02:00
pinpox
4098e9ccaf
Update hash
2025-06-02 16:16:17 +02:00
pinpox
64c339dafe
modules/borgbackup: migrate to clanServices
...
Migrates the borgbackup module to clanServices, preserving it's original
configuration syntax and functionality
2025-06-02 16:12:37 +02:00
Qubasa
2bbf97199f
clan-cli: Fix test_create::test_clan_create_api
2025-06-02 15:39:50 +02:00
Qubasa
ae41bfad8c
inventory: Add buildHost argument
2025-06-02 14:52:13 +02:00
renovate[bot]
f088ae35c5
chore(deps): lock file maintenance
2025-06-02 03:00:12 +00:00
renovate[bot]
085a1c1119
chore(deps): lock file maintenance
2025-06-02 01:00:23 +00:00
renovate[bot]
eccace6f4b
chore(deps): lock file maintenance
2025-06-02 00:40:41 +00:00
renovate[bot]
63e80c7f64
chore(deps): update data-mesher digest to fcb19d9
2025-06-02 00:20:12 +00:00
renovate[bot]
f111e30221
chore(deps): update flake-parts digest to 49f0870
2025-06-01 23:50:10 +00:00
RuboGubo
8fcb4b202e
Add warning note for users on cloud machines
2025-05-31 20:10:10 +01:00
DavHau
6422e77244
iwd: fix typo in deprecation message
2025-05-31 17:58:44 +07:00
DavHau
63a7c3e20c
Merge pull request 'clanModules/iwd: deprecate gracefully' ( #3804 ) from DavHau/clan-core:vars2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3804
2025-05-31 10:55:27 +00:00
DavHau
9122199b2d
deprecate iwd module gracefully
2025-05-31 17:46:07 +07:00
DavHau
d527d2605f
services/wifi: rename ssid -> network-name
2025-05-31 17:34:47 +07:00
DavHau
bee1834d93
serivces/wifi: make generator names generic
...
rename from iwd.<name> to wifi.<name>
2025-05-31 17:34:40 +07:00
DavHau
3032aa110f
Merge pull request 'tests: actually execute vars checks in CI' ( #3803 ) from DavHau/clan-core:vars2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3803
2025-05-31 10:27:36 +00:00
DavHau
d9f69d7007
generate-test-vars: fake prompt inputs
...
Use fake prompt inputs when generating vars for testing
2025-05-31 17:14:26 +07:00
DavHau
60f07c3472
tests: actually execute vars checks in CI
2025-05-31 16:16:09 +07:00
clan-bot
4518bf6ca4
Merge pull request 'Update Clan Core for Checks' ( #3799 ) from update-clan-core-for-checks into main
2025-05-31 07:37:42 +00:00
DavHau
0060424152
tests: test vars generation for all clan service tests
2025-05-31 12:17:52 +07:00
DavHau
de3a08ab63
sops: initialize age_plugins early
...
This avoids re-initializing the Flake object deep in the tree, which in turn leads to issue when overriding the Flake for testing, eg the URl would reset.
2025-05-31 11:27:17 +07:00
DavHau
f58a729c43
vars: fix spelling in docs
2025-05-31 11:13:17 +07:00
clan-bot
55c8d17779
Update pinned clan-core for checks
2025-05-31 02:51:24 +00:00
Mic92
8584d15cf8
Merge pull request 'Add inputs to specialArgs and make templates use it' ( #3798 ) from templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3798
2025-05-30 18:33:33 +00:00
Jörg Thalheim
00984ec581
add inputs to specialArgs and make templates use it.
2025-05-30 19:53:12 +02:00
Jörg Thalheim
8cb6424504
templates: unify specialArgs across examples
2025-05-30 19:22:45 +02:00
Brian McGee
ac8e639348
feat(ui): Typography V2
2025-05-30 14:58:50 +01:00
Brian McGee
d417901dab
feat(ui): update border and background colors
...
To match latest design.
2025-05-30 13:46:57 +01:00
Brian McGee
359624c8af
feat(ui): update primary colors
...
To match latest design.
2025-05-30 13:46:56 +01:00
Brian McGee
ed4581e4ea
chore(ui): setup base for Typography V2
...
Also removes Button stories for V1 component.
2025-05-30 13:46:55 +01:00
clan-bot
18d451bfa5
Merge pull request 'Update Clan Core for Checks' ( #3781 ) from update-clan-core-for-checks into main
2025-05-30 10:41:20 +00:00
Mic92
a4e80cd892
Merge pull request 'container-test: better error message for nsenter' ( #3794 ) from container-test-improv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3794
2025-05-30 10:35:02 +00:00
clan-bot
86d03dc9dc
Update pinned clan-core for checks
2025-05-30 10:29:19 +00:00
Jörg Thalheim
9bf919ffad
container-test: better error message for nsenter
2025-05-30 12:27:51 +02:00
brianmcgee
cb79e4716b
Merge pull request 'feat(ui): enable storybook snapshot tests' ( #3789 ) from feat/storybook-snapshot-tests into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3789
2025-05-30 10:22:10 +00:00
Mic92
fef11dd51c
Merge pull request 'Revert "services/wifi: rename ssid -> network-name"' ( #3796 ) from revert-wifi-change into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3796
2025-05-30 10:15:45 +00:00
Jörg Thalheim
84fec82408
Revert "services/wifi: rename ssid -> network-name"
...
This reverts commit 2ac07ff559 .
2025-05-30 12:09:46 +02:00
Jörg Thalheim
2cc0818c50
Revert "serivces/wifi: make generator names generic"
...
This reverts commit af4b2f861b .
2025-05-30 12:09:30 +02:00
Brian McGee
93e7ff78f6
fix(ui): disable storybook devshell and package on Darwin
2025-05-30 11:06:14 +01:00
Brian McGee
41f7ae08a8
feat(ui): enable storybook snapshot tests
...
- adds a process-compose namespace for running `storybook` and `luakit` together to replicate the `webkit`-based rendering that happens inside of `webview`
- adds some helper scripts for running storybook tests and updating snapshots, with documentation in the README.
- adds a `clan-app-ui-storybook` package which builds and tests the storybook, checking for rendering changes
Currently, we’re only doing markup-based snapshot tests. We’re also using headless chromium for the tests by default as I couldn't get webkit to work in the nix build.
As we’re only markup-based for the time being, this should be ok. But eventually I'd like to get it working with webkit.
2025-05-30 11:06:14 +01:00
Mic92
d863861793
Merge pull request 'container-test: disable UsePam for ssh' ( #3795 ) from use-pam into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3795
2025-05-30 10:05:08 +00:00
Jörg Thalheim
f17dc9897d
container-test: disable UsePam for ssh
...
doesn't work without setuid, which we currently do not support.
2025-05-30 11:53:20 +02:00
Mic92
7842b5654f
Merge pull request 'vars: add restartUnits option' ( #3784 ) from vars-userborn into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3784
2025-05-30 09:45:17 +00:00
hsjobeki
526a992101
Merge pull request 'Tests(inventoryStore): add tests for intersecting nix/json lists' ( #3783 ) from flake-models into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3783
2025-05-30 08:35:13 +00:00
Johannes Kirschbauer
e4b95b5465
Test(InventoryPersistence): improve error message
2025-05-30 10:23:57 +02:00
DavHau
2ac07ff559
services/wifi: rename ssid -> network-name
2025-05-29 20:21:09 +07:00
DavHau
af4b2f861b
serivces/wifi: make generator names generic
...
rename from iwd.<name> to wifi.<name>
2025-05-29 20:06:19 +07:00
Mic92
bd6ab5d895
Merge pull request 'vars upload: also add become_root' ( #3788 ) from sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3788
2025-05-28 18:45:34 +00:00
Jörg Thalheim
dcb430037f
vars upload: also add become_root
2025-05-28 20:35:45 +02:00
Mic92
743c31d788
Merge pull request 'add sudo_askpass_proxy' ( #3642 ) from sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3642
2025-05-28 18:32:16 +00:00
Jörg Thalheim
1cbc1d9af8
test_upload_single_file: add missing ssh_control_master
2025-05-28 20:25:53 +02:00
Jörg Thalheim
1688972bce
move test_ssh_remote to remote_test
2025-05-28 20:13:48 +02:00
Jörg Thalheim
8860a58deb
vars: add restartUnits option
...
For secrets not part of the nix store there is no other way in NixOS to
restart a service after the secret is updated. One example is changing
password in userborn, which doesn't run as a activation script but as a
systemd service.
2025-05-28 16:44:19 +02:00
Jörg Thalheim
ddab4b5b94
re-store controllmaster in various places where it got removed.
2025-05-28 16:21:30 +02:00
Jörg Thalheim
f3cdcef523
no longer require controlmaster for interactive ssh
...
we only run one ssh command, so control master is not needed
2025-05-28 16:21:30 +02:00
Jörg Thalheim
7b8b23b39b
ssh/remote: Improve error message if _control_path_dir is not set
2025-05-28 16:21:30 +02:00
Jörg Thalheim
2ef379b4df
update/upload_sources remove ssh_control_master again from upload_sources
2025-05-28 16:21:30 +02:00
Jörg Thalheim
cedc5113ea
add sudo_askpass_proxy
2025-05-28 16:21:30 +02:00
Jörg Thalheim
6839b9616d
ssh/remote: make sure we also cleanup clan-ssh in the error case
2025-05-28 16:21:30 +02:00
Jörg Thalheim
37840dd203
remove unused method
2025-05-28 16:21:30 +02:00
Johannes Kirschbauer
976c4d52cb
Tests(inventoryStore): add tests for intersecting nix/json lists
2025-05-28 15:39:52 +02:00
hsjobeki
367f32cf90
Merge pull request 'Tests(inventoryStore): add fixture, make extensible' ( #3782 ) from flake-models into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3782
2025-05-28 13:12:19 +00:00
Johannes Kirschbauer
07a574cbb0
Tests(inventoryStore): add fixture, make extensible
2025-05-28 15:06:17 +02:00
hsjobeki
b326ae4d47
Merge pull request 'chore(nix_models): use exported clan models' ( #3773 ) from flake-models into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3773
2025-05-28 12:25:07 +00:00
Johannes Kirschbauer
4b5880d1cb
Fix(machines/create): use 'InventorySnapshot' as init argument
...
Inventory as a model is generally not json serializable
InventorySnapshot is the return value of InventoryStore.{read, write}
And should be used in API calls, because the other fields might not be compatible in general
2025-05-28 14:09:45 +02:00
Johannes Kirschbauer
104343a334
feat(InventoryStore): return a restricted view of the inventory
2025-05-28 14:04:34 +02:00
Johannes Kirschbauer
bac3e6c2b2
Chore: update clan nix_models
2025-05-28 14:03:23 +02:00
Johannes Kirschbauer
d482e22610
chore(nix_models): migrate import to use exported clan models
2025-05-28 14:03:22 +02:00
Johannes Kirschbauer
1ef2e13c85
feat(nix_models): replace inventory model by holistic clan model
2025-05-28 14:02:43 +02:00
Johannes Kirschbauer
7957fbaa4f
feat(classgen): make type generation more predictable across
2025-05-28 14:02:43 +02:00
Johannes Kirschbauer
ad1f3bfa92
fix(clan/interface): minor fixes
2025-05-28 14:02:43 +02:00
hsjobeki
bc016ee23e
Merge pull request 'Tests(clan_lib): enable clan_lib pytests not marked with_core' ( #3779 ) from inventory-0 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3779
2025-05-28 09:45:56 +00:00
Johannes Kirschbauer
db31b91401
Fix(inventoryStore): use 'nix_eval' wrapper to set the store correct
2025-05-28 11:34:16 +02:00
Johannes Kirschbauer
3e160d6392
Fix(clan_cli): filter tests files from source
2025-05-28 11:34:12 +02:00
Johannes Kirschbauer
84622222d8
Fix(tests): fix failing pytests
2025-05-28 11:01:54 +02:00
Johannes Kirschbauer
4c6063c75e
Tests(inventoryStore): fixup tests to run in ci
2025-05-28 10:42:47 +02:00
Johannes Kirschbauer
a49466e1a9
Feat(inventoryStore): add possibility to turn off output filtering
2025-05-28 10:42:47 +02:00
Johannes Kirschbauer
8ea35b2b99
Tests(clan_lib): enable clan_lib pytests not marked with_core
2025-05-28 10:42:47 +02:00
hsjobeki
8ebd7365b0
Merge pull request 'refactor(persist/utils): rename apply_patch to 'set_value_by_path'' ( #3780 ) from rename-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3780
2025-05-28 08:19:10 +00:00
Johannes Kirschbauer
dd9ea44770
refactor(persist/utils): rename apply_patch to 'set_value_by_path'
2025-05-28 10:16:48 +02:00
Brian McGee
32cdbd2530
chore: fmt
2025-05-28 08:24:03 +01:00
Brian McGee
c9a3f6ea33
fix(ui): use asterisk html entity code
...
It wasn't rendering for me when using "*".
2025-05-28 08:20:45 +01:00
Brian McGee
1a31f12366
feat(ui): improve tags display in machine detail
...
Also introduces a new TagList component.
2025-05-28 08:20:45 +01:00
Brian McGee
4bdbe94dcd
fix(ui): normalize font sizes in machine detail view
2025-05-28 08:20:44 +01:00
Brian McGee
14a58238be
feat(ui): refine Button stories
...
Add separate examples of start and end icon
2025-05-28 08:20:44 +01:00
Brian McGee
2e9d3e8dbb
fix(ui): add default css in storybook preview
2025-05-28 08:20:43 +01:00
hsjobeki
ed851eddf3
Merge pull request 'Feat(inventory): remove legacy action functions' ( #3778 ) from inventory-0 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3778
2025-05-27 16:09:16 +00:00
Johannes Kirschbauer
63733f2c14
Fix(test): migrate machine cli command tests to use the new functions
2025-05-27 17:57:08 +02:00
Johannes Kirschbauer
f591ac0c32
Feat(inventoryStore): add 'invalidate_cache' to the Flake protocol
2025-05-27 17:56:35 +02:00
Johannes Kirschbauer
e6d1f71907
Feat(inventory): remove legacy action functions
...
Inventory should only and always be accessed through the inventory store.
Manually reading and writing to the json file is highly insecure
2025-05-27 17:20:04 +02:00
hsjobeki
1c6e0d5bf5
Merge pull request 'Fix: configure deferred setting module path correctly' ( #3776 ) from fix-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3776
2025-05-27 14:46:09 +00:00
Johannes Kirschbauer
c32d196428
Fix: configure deferred setting module path correctly
2025-05-27 16:31:54 +02:00
Mic92
65613b60e0
Merge pull request 'chore(deps): update nix-darwin digest to 44a7d0e' ( #3775 ) from renovate/nix-darwin-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3775
2025-05-27 14:23:32 +00:00
Mic92
ea37716ab6
Merge pull request 'docs: clarify when to override the nixpkgs input of clan-core' ( #3774 ) from push-kylqnyonxntl into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3774
2025-05-27 14:23:21 +00:00
renovate[bot]
9a80bbfaf9
chore(deps): update nix-darwin digest to 44a7d0e
2025-05-27 14:10:10 +00:00
Michael Hoang
04185a168f
docs: clarify when to override the nixpkgs input of clan-core
...
To match 9643548fff/docs/site/guides/migrations/migration-guide.md (L54-L55)
2025-05-27 22:48:08 +10:00
Michael Hoang
9643548fff
Merge pull request 'docs: point users towards passing in self to buildClan' ( #3772 ) from push-wluozlqruukw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3772
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-05-27 12:34:27 +00:00
Michael Hoang
b6d20a63f5
docs: point users towards passing in self to buildClan
2025-05-27 13:49:14 +10:00
clan-bot
5b5ebaf3ef
Merge pull request 'Update Clan Core for Checks' ( #3771 ) from update-clan-core-for-checks into main
2025-05-27 03:01:12 +00:00
clan-bot
0e168b93fa
Update pinned clan-core for checks
2025-05-27 02:51:23 +00:00
hsjobeki
744a5593db
Merge pull request 'Refactor(lib/inventory): move machine actions into clan_lib/machines/actions.py' ( #3770 ) from chores-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3770
2025-05-26 16:05:26 +00:00
Johannes Kirschbauer
2312a65c17
Chore: rename secrets.get_machine to avoid ambiguity
2025-05-26 17:52:46 +02:00
Johannes Kirschbauer
90d9dbb242
Refactor(lib/inventory): move machine actions into clan_lib/machines/actions.py
2025-05-26 17:51:12 +02:00
hsjobeki
91a6f814d6
Merge pull request 'Feat(persist): add support for deferredModule read/write' ( #3752 ) from deferredModule-serde into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3752
2025-05-26 14:18:53 +00:00
Johannes Kirschbauer
55195e57e0
fix(morph/test): temporary workaround for morph test
2025-05-26 16:06:12 +02:00
Johannes Kirschbauer
14701fda01
chore: add todo comments for template logic in create machine
2025-05-26 16:05:20 +02:00
brianmcgee
85c20ccb49
Merge pull request 'feat(ui): introduces storybook' ( #3767 ) from feat/storybook into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3767
2025-05-26 13:55:46 +00:00
kenji
516612c9f4
Merge pull request 'pkgs/generate-test-vars: Fix build' ( #3769 ) from kenji/clan-core:ke-vars-generator-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3769
2025-05-26 13:48:49 +00:00
a-kenji
c0d7e85446
pkgs/generate-test-vars: Fix erroneous module import
...
The machines module lives in the `clan_lib` library.
2025-05-26 15:43:41 +02:00
a-kenji
cca0c2aff8
pkgs/generate-test-vars: Add basic module test
...
Add a basic module test that can catch breaking changes in module
usage.
2025-05-26 15:41:48 +02:00
kenji
f7399d1344
Merge pull request 'clanServices/wifi/tests: Use undeprecated module registration' ( #3768 ) from kenji/clan-core:ke-wifi-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3768
2025-05-26 12:59:01 +00:00
a-kenji
f50529572a
clanServices/wifi/tests: Use undeprecated module registration
2025-05-26 14:44:00 +02:00
DavHau
94deed32b9
Merge pull request 'services/wifi: migrate to NetworkManager' ( #3766 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3766
2025-05-26 12:14:08 +00:00
DavHau
fe5fcf26c8
clanModules/wifi: remove module
...
It was replaces by a service module and experimental anyways
2025-05-26 19:09:20 +07:00
DavHau
40b0175dbd
services/wifi: migrate to NetworkManager
2025-05-26 19:09:20 +07:00
Brian McGee
717f78b29c
feat(ui): introduces storybook
...
- adds the necessary dependencies and configuration for Storybook.
- refactors the `Button` component and adds some stories for it.
2025-05-26 12:56:51 +01:00
brianmcgee
784e90096b
Merge pull request 'feat(ui): add a clan context provider' ( #3744 ) from feat/clan-uri-context into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3744
2025-05-26 09:26:07 +00:00
renovate[bot]
82f5e60566
Update data-mesher digest to f52e3ee
2025-05-26 08:00:31 +00:00
renovate[bot]
9cef08f5dc
Update treefmt-nix digest to 1f3f7b7
2025-05-26 07:40:10 +00:00
clan-bot
b24808885c
Merge pull request 'Update Clan Core for Checks' ( #3762 ) from update-clan-core-for-checks into main
2025-05-26 03:01:06 +00:00
clan-bot
a9a1d3fa7c
Update pinned clan-core for checks
2025-05-26 02:51:22 +00:00
renovate[bot]
f6ff3c7121
Update disko digest to a894f28
2025-05-26 02:22:29 +00:00
renovate[bot]
664dc0d43a
Lock file maintenance
2025-05-26 00:20:21 +00:00
renovate[bot]
25a887a91b
Lock file maintenance
2025-05-26 00:00:32 +00:00
Luis Hebendanz
5cc757f620
Merge pull request 'clan-cli: Fix too long path for socket issue #3756 ' ( #3757 ) from Qubasa/clan-core:fix_path_to_long into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3757
2025-05-25 20:28:46 +00:00
Qubasa
b85aead33c
clan-cli: Fix too long path for socket issue #3756
2025-05-25 22:16:51 +02:00
kenji
6b5bfb8274
Merge pull request 'typo' ( #3755 ) from nim65s/clan-core:typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3755
2025-05-25 17:05:30 +00:00
Guilhem Saurel
f7dc8c07ce
another typo
2025-05-25 18:02:06 +02:00
Guilhem Saurel
2a67fd8935
typo
2025-05-25 17:36:14 +02:00
clan-bot
fc78c418cb
Merge pull request 'Update Clan Core for Checks' ( #3754 ) from update-clan-core-for-checks into main
2025-05-25 03:01:27 +00:00
clan-bot
33455a2090
Update pinned clan-core for checks
2025-05-25 02:51:32 +00:00
clan-bot
37a75df12d
Merge pull request 'Update Clan Core for Checks' ( #3753 ) from update-clan-core-for-checks into main
2025-05-24 03:00:43 +00:00
clan-bot
4179b06ae9
Update pinned clan-core for checks
2025-05-24 02:51:23 +00:00
Johannes Kirschbauer
fe933d8eb7
Fix(machines/create): check if machine is already created
2025-05-23 22:31:06 +02:00
Johannes Kirschbauer
c8588eddb6
Fix(machines/create): always add 'deploy.targetHost'
...
Rationale: not passing the value, is equivalent to deleting a value from the inventory store
See: 'delete_by_path'
deploy.targetHost has a default of null (None)
2025-05-23 22:07:09 +02:00
Johannes Kirschbauer
a7f4927e0c
test(persist/inventory): add test for adding deferredModule
...
This feature will allow us to read/write to 'settings' of service
'instances' which are of type deferredModule.
Usually a deferredModule needs to be evaulated, but because we use our
own type, which forces some constraints, we can safely perform read and
write
2025-05-23 21:49:16 +02:00
Johannes Kirschbauer
9cea8e8901
fix(persist/delete): delete explizitly
2025-05-23 21:47:12 +02:00
Johannes Kirschbauer
0bf183b73b
fix(tests): use inventory store to interact with the inventory
2025-05-23 21:46:35 +02:00
Johannes Kirschbauer
4d9202551f
feat(persist/inventory): add transformation and filtering to support deferredModules
2025-05-23 21:45:52 +02:00
Johannes Kirschbauer
1b11ecf37a
fixes(persist/util): fix some expected error messages in tests
2025-05-23 21:43:49 +02:00
Johannes Kirschbauer
38b2f0ca0f
test(persist/util): add test for adding empty submodules
2025-05-23 21:43:09 +02:00
Johannes Kirschbauer
040e12c3e9
refactor(persist/util): improve calc_patches
2025-05-23 21:42:35 +02:00
Johannes Kirschbauer
9572f36175
feat(persist/util): init parent_is_dict
...
Check if a parent value is of type dict
This utility is helpfull for cross checking of flattened dicts
2025-05-23 21:41:34 +02:00
Johannes Kirschbauer
598902a766
chore(inventory): find_deleted_paths rename variables
2025-05-23 21:40:02 +02:00
Johannes Kirschbauer
29f1c6ee0a
fix(inventory/store): keep empty dicts as leafs
2025-05-23 21:39:23 +02:00
Johannes Kirschbauer
3f82ceddb3
test(inventory/store): clean up simple test
2025-05-23 21:38:16 +02:00
Johannes Kirschbauer
6cd2c1ce1a
feat(inventory/store): init path_match utility
2025-05-23 21:36:14 +02:00
lassulus
0f31f90509
Merge pull request 'clan_lib flake_test: fix on darwin' ( #3750 ) from clan-lib-darwin-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3750
2025-05-23 10:43:31 +00:00
lassulus
c7384a60c2
clan_lib flake_test: fix on darwin
2025-05-23 12:29:34 +02:00
clan-bot
a9b1e5f6aa
Merge pull request 'Update Clan Core for Checks' ( #3749 ) from update-clan-core-for-checks into main
2025-05-23 03:01:12 +00:00
clan-bot
e71857d5a7
Update pinned clan-core for checks
2025-05-23 02:51:24 +00:00
Luis Hebendanz
4cac61cd35
Merge pull request 'clan-cli: Move Machine object to clan_lib' ( #3747 ) from Qubasa/clan-core:machine_object into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3747
2025-05-22 17:23:46 +00:00
Qubasa
8b1968cca6
clan-cli: Move Machine object to clan_lib
2025-05-22 19:11:19 +02:00
Brian McGee
4bba02afd4
feat(ui): add a clan context provider
...
- introduces a new consolidated store with `localStorage` support
- introduces a top-level `ClanProvider` providing access to `activeClanURI` and `clanURIs`
- redirects to `/welcome` if `activeClanURI` is `undefined`
- consolidates clan meta querying
- centralises the logic for removal of clan uri's which no longer exist
- fixed some miscellaneous missing `await` calls
2025-05-22 13:24:27 +00:00
Luis Hebendanz
bbca0c9eed
Merge pull request 'clan-cli: Fix ctrl+c cancelling tasks' ( #3746 ) from Qubasa/clan-core:fix_ctrl_c into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3746
2025-05-22 13:14:30 +00:00
Qubasa
d42dcb0e2a
clan-cli: Fix ctrl+c cancelling tasks
2025-05-22 15:01:58 +02:00
Luis Hebendanz
73373acec8
Merge pull request 'clan-cli: Rename Host -> Remote move to clan_lib and mark as frozen' ( #3726 ) from Qubasa/clan-core:fix_ui_stuff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3726
2025-05-22 12:20:55 +00:00
Qubasa
e14f30bdc0
clan-cli: Rename Host -> Remote move to clan_lib and mark as frozen
2025-05-22 14:08:27 +02:00
Mic92
91994445ff
Merge pull request 'fix build_host not beeing applied' ( #3740 ) from fix-build-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3740
2025-05-22 11:25:20 +00:00
brianmcgee
4f676a395b
Merge pull request 'fix(ui): hot-reload of clan-cli' ( #3745 ) from fix/clan-lib-hot-reload-ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3745
2025-05-22 11:01:13 +00:00
Brian McGee
8c5a30ff28
fix(ui): hot-reload of clan-cli
2025-05-22 11:47:35 +01:00
Michael Hoang
43bffead29
Merge pull request 'docs: misc clean up 2' ( #3742 ) from push-wzkskzxyzkwt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3742
2025-05-22 04:16:34 +00:00
Michael Hoang
faba92206d
docs: format code blocks in migration guide
2025-05-22 14:12:40 +10:00
Michael Hoang
4641bb8e94
docs: clean up flake-parts guide
2025-05-22 14:12:40 +10:00
clan-bot
2be7606f8a
Merge pull request 'Update Clan Core for Checks' ( #3741 ) from update-clan-core-for-checks into main
2025-05-22 03:01:07 +00:00
clan-bot
698e982535
Update pinned clan-core for checks
2025-05-22 02:51:23 +00:00
Jörg Thalheim
e275bb20bc
fix build_host not beeing applied
2025-05-22 00:22:04 +02:00
hsjobeki
7f813b0237
Merge pull request 'Feat(clanLib): init types {uniqueDeferredSerializableModule}' ( #3737 ) from hsjobeki/clan-core:fix-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3737
2025-05-21 18:50:42 +00:00
lassulus
798cdc1584
Merge pull request 'clan-cli: split clan into cli and lib' ( #3738 ) from clan_lib_clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3738
2025-05-21 18:50:08 +00:00
Johannes Kirschbauer
c4980d3990
fix(clanLib): propagate clanLib into module apply
2025-05-21 20:44:56 +02:00
lassulus
c64895fdff
clan-cli: split clan into cli and lib
2025-05-21 20:28:41 +02:00
Johannes Kirschbauer
f16cfe68b6
Tests(deferred custom module): add more tests, dissallow nested imports
2025-05-21 18:54:07 +02:00
Johannes Kirschbauer
3951889b74
Feat(settings): use uniqueDeferredSerializableModule for settings
2025-05-21 18:41:20 +02:00
Johannes Kirschbauer
7dc03f8eee
Feat(clanLib): init types {uniqueDeferredSerializableModule}
2025-05-21 18:41:14 +02:00
hsjobeki
51df03bb8d
Merge pull request 'Test(InventoryPersistence): add persist integration tests' ( #3736 ) from hsjobeki/clan-core:fix-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3736
2025-05-21 16:10:11 +00:00
Johannes Kirschbauer
e2520f6aa8
Test(InventoryPersistence): add persist integration tests
2025-05-21 17:55:43 +02:00
Johannes Kirschbauer
e17327bea8
Fix(introspection): 'lazyAttrsOf' needs to get the same handling as 'attrsOf'
2025-05-21 16:45:19 +02:00
Johannes Kirschbauer
0f7cc56776
Feat(inventoryStore): add FlakeInterface protocol
2025-05-21 16:44:28 +02:00
Michael Hoang
efddad6b0f
Merge pull request 'docs: misc clean up' ( #3735 ) from push-kpzwvynvlszo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3735
2025-05-21 14:12:47 +00:00
Michael Hoang
508bb14809
docs: misc clean up
2025-05-22 00:01:01 +10:00
Michael Hoang
fcf8f410e2
gitignore: drop superfluous **/
2025-05-22 00:01:01 +10:00
kenji
dd85f9b557
Merge pull request 'pkgs/clan: Clean select symlink up' ( #3734 ) from kenji/clan-core:ke-fix-clan-cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3734
Reviewed-by: lassulus <clanlol@lassul.us >
2025-05-21 13:08:21 +00:00
a-kenji
3662438f54
pkgs/clan: Clean select symlink up
...
If the symlink is not cleaned up this will break builds of the clan cli
from flakes with path references.
2025-05-21 14:18:26 +02:00
lassulus
cb0d7ae36a
Merge pull request 'clan-cli: split backups into cli and lib' ( #3733 ) from clan_lib_backups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3733
2025-05-21 12:16:02 +00:00
DavHau
d833b62614
GUI: add credentials page (vars)
...
add it to machine details
2025-05-21 11:47:04 +00:00
lassulus
44e3df3ebf
clan-cli: split backups into cli and lib
2025-05-21 13:46:35 +02:00
hsjobeki
70db1aae10
Merge pull request 'Fix: don't try to persist 'inventory.instances'' ( #3731 ) from hsjobeki/clan-core:fix-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3731
2025-05-21 10:36:29 +00:00
lassulus
4e1e35f88e
Merge pull request 'clan-cli: clan_cli.inventory -> clan_lib.inventory' ( #3730 ) from clan_lib_inv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3730
2025-05-21 10:33:08 +00:00
lassulus
cb84722c11
clan-cli: clan_cli.bwrap -> clan_lib.bwrap
2025-05-21 12:06:38 +02:00
lassulus
2de3dcef15
clan-cli: clan_cli.inventory -> clan_lib.inventory
2025-05-21 12:06:38 +02:00
Johannes Kirschbauer
069d6e5569
Fix: don't try to persist 'inventory.instances'
2025-05-21 11:42:29 +02:00
hsjobeki
952ed43de0
Merge pull request 'Update UI to Node 22 and update dependencies' ( #3729 ) from feat/update-ui-dependencies into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3729
2025-05-21 09:03:27 +00:00
hsjobeki
56a00e0afd
Merge pull request 'Refactor(clan_lib): move serde tests next to serde module' ( #3728 ) from hsjobeki/clan-core:chores-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3728
2025-05-21 08:15:11 +00:00
Johannes Kirschbauer
6c1f8638f5
chore(clan_lib) add api.serde tests for typed_dict
2025-05-21 10:01:27 +02:00
Johannes Kirschbauer
ffc82928a7
docs: add doc-string to api serde utilities
2025-05-21 10:00:42 +02:00
Johannes Kirschbauer
70d06a189b
Refactor(clan_lib): move serde tests next to serde module
2025-05-21 09:36:00 +02:00
hsjobeki
f470ebce1a
Merge pull request 'Refactor(docs): consistent structure across references & fix broken cli links' ( #3724 ) from hsjobeki/clan-core:docs-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3724
2025-05-21 07:23:16 +00:00
Johannes Kirschbauer
2ba110d354
docs: exclude options that are not modules from clan.core submodule index
2025-05-21 09:11:18 +02:00
clan-bot
afddcd2186
Merge pull request 'Update Clan Core for Checks' ( #3727 ) from update-clan-core-for-checks into main
2025-05-21 03:02:07 +00:00
clan-bot
b30119b1ab
Update pinned clan-core for checks
2025-05-21 02:52:08 +00:00
Mic92
c101bc527d
Merge pull request 'docs/macos: replace duplicate section' ( #3725 ) from docs-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3725
2025-05-20 16:53:17 +00:00
Mic92
a22d3e3ff2
Merge pull request 'fix sudo in clan flash when restoring auto-updates' ( #3717 ) from restore-automount into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3717
2025-05-20 16:49:39 +00:00
Johannes Kirschbauer
464e3c33cf
Docs: add links to submodules
2025-05-20 18:49:35 +02:00
Johannes Kirschbauer
d5c3b45404
Fix(docs): rename reference to clan.core
2025-05-20 18:49:35 +02:00
Johannes Kirschbauer
7d88389390
Refactor(docs): consistent structure across references
2025-05-20 18:49:35 +02:00
Johannes Kirschbauer
b7c6e8917b
docs: replace remote url by local file links to allow for checking
2025-05-20 18:49:35 +02:00
Johannes Kirschbauer
d3fc1725f0
docs: replace outdates reference links to 'guides' in the cli
2025-05-20 18:49:35 +02:00
Johannes Kirschbauer
8ad35c1bee
docs: fix clan-core should be called clan.core
...
Consistent with the module name
2025-05-20 18:49:35 +02:00
Johannes Kirschbauer
3c56ae1755
docs: consistent clan-core overview
2025-05-20 18:49:35 +02:00
Jörg Thalheim
46ef84a33e
docs/macos: replace duplicate section
2025-05-20 18:48:36 +02:00
renovate[bot]
a1ecbaadac
chore(deps): lock file maintenance
2025-05-20 15:30:13 +00:00
hsjobeki
3edd6487cc
Merge pull request 'feat(docs,api): expose inventory.instances interface' ( #3721 ) from hsjobeki/clan-core:inventory-services-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3721
2025-05-20 15:29:14 +00:00
Johannes Kirschbauer
7731699088
Chore(nix_models): update models after refactoring for inventory.instances
2025-05-20 17:10:43 +02:00
hsjobeki
6f571a40a0
Merge pull request 'feat(clanServices): add 'readme' to module manifest' ( #3723 ) from hsjobeki/clan-core:manifest-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3723
2025-05-20 15:07:34 +00:00
Johannes Kirschbauer
4f79c3e47d
feat(clanServices): add 'readme' to module manifest
2025-05-20 17:00:53 +02:00
Brian McGee
3328d2ca73
feat(ui): upgrade to nodejs_22 and update dependencies
2025-05-20 15:45:17 +01:00
lassulus
9d06c0466a
Merge pull request 'ADR: init 05-deployment-parameters' ( #3722 ) from adr-deployment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3722
2025-05-20 14:26:59 +00:00
lassulus
19f8da397c
ADR: init 05-deployment-parameters
2025-05-20 16:22:52 +02:00
lassulus
b4c0a717f4
Merge pull request 'move templates, custom_logger, async_run and jsonrpc to clan_lib' ( #3720 ) from clan_lib_misc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3720
2025-05-20 14:20:44 +00:00
Johannes Kirschbauer
6e822a2811
feat(docs,api): expose inventory.instances interface"
2025-05-20 16:10:32 +02:00
Johannes Kirschbauer
935d39abb3
chore(inventory/tags): remove unsupported settings from tags interface
2025-05-20 16:10:32 +02:00
Johannes Kirschbauer
026a088515
feat(classgen): add 'instances' as top level key
2025-05-20 16:10:32 +02:00
Johannes Kirschbauer
c86f39ba6b
feat(classgen): defer NotRequired type wrapper
2025-05-20 16:10:32 +02:00
Johannes Kirschbauer
9eeae6e229
feat(classgen): add support for unknown types
2025-05-20 16:10:25 +02:00
lassulus
f7f3173224
clan_cli flake_test: fix on non sandboxed runs
2025-05-20 16:08:02 +02:00
lassulus
03990ef7f0
clan-cli: clan_cli.templates -> clan_lib.templates
2025-05-20 16:08:02 +02:00
Johannes Kirschbauer
7a0665da6d
Feat(jsonschema): convert deferredModule to unknown
2025-05-20 15:48:28 +02:00
lassulus
7175fb74b4
Merge pull request 'ADR: add decision for nix-select' ( #3452 ) from select-adr into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3452
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
2025-05-20 13:43:31 +00:00
lassulus
348a7d24f5
ADR: add decision for nix-select
2025-05-20 15:26:53 +02:00
lassulus
1f0c355175
clan-cli: clan_cli.custom_logger -> clan_lib.custom_logger
2025-05-20 15:08:02 +02:00
lassulus
a4895a4d96
clan-cli: clan_cli.async_run -> clan_lib.async_run
2025-05-20 15:05:11 +02:00
lassulus
9809990350
clan-cli: clan_cli.jsonrpc -> clan_lib.jsonrpc
2025-05-20 15:05:11 +02:00
lassulus
18ee17c838
Merge pull request 'clan-cli: clan_cli.locked_open -> clan_lib.locked_open' ( #3719 ) from clan_lib_locked_open into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3719
2025-05-20 13:01:12 +00:00
lassulus
48595fe7f5
clan-cli: clan_cli.locked_open -> clan_lib.locked_open
2025-05-20 14:48:50 +02:00
lassulus
66415d3943
Merge pull request 'clan-cli: clan_cli.git -> clan_lib.git' ( #3718 ) from clan_lib_git into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3718
2025-05-20 12:46:48 +00:00
lassulus
f2bf142e80
clan-cli: clan_cli.git -> clan_lib.git
2025-05-20 14:35:14 +02:00
hsjobeki
84a5b74a4f
Merge pull request 'Classgen: export field type definitions' ( #3715 ) from hsjobeki/clan-core:inventory-services-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3715
2025-05-20 12:20:07 +00:00
Jörg Thalheim
416c715a6e
fix sudo in clan flash when restoring auto-updates
2025-05-20 14:03:25 +02:00
lassulus
9ecf98171b
Merge pull request 'clan_lib_colors' ( #3713 ) from clan_lib_colors into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3713
2025-05-20 11:59:18 +00:00
Mic92
64c0d2495a
Merge pull request 'upload: improve various things' ( #3714 ) from upload into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3714
2025-05-20 11:54:57 +00:00
Mic92
44559bec5d
Merge pull request 'mypy: ignore clan_lib.nixpkgs' ( #3716 ) from fix-mypy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3716
2025-05-20 11:51:44 +00:00
Johannes Kirschbauer
f721f4fa9f
Chore(formatter): exclude generated classes file
2025-05-20 13:42:18 +02:00
Johannes Kirschbauer
5727386691
Chore: re-generate nix models
2025-05-20 13:41:55 +02:00
Jörg Thalheim
2f2af072e4
upload: hide upload command by default
2025-05-20 13:37:46 +02:00
Jörg Thalheim
9c4333abcb
cmd/run: dont run logging code unless we have debugging enabled.
2025-05-20 13:37:46 +02:00
Jörg Thalheim
e2af063528
upload: stream tarball rather than read at once
2025-05-20 13:37:46 +02:00
Jörg Thalheim
a954b1b423
mypy: ignore clan_lib.nixpkgs
2025-05-20 13:37:46 +02:00
Jörg Thalheim
6cb6dec7d1
mypy: ignore clan_lib.nixpkgs
2025-05-20 13:36:18 +02:00
Johannes Kirschbauer
38de1d1022
UI: remove unused inventory.ts file
2025-05-20 13:32:13 +02:00
Johannes Kirschbauer
c61f318baa
Classgen: export field type definitions
2025-05-20 13:31:47 +02:00
Mic92
f9f29c4100
Merge pull request 'add documentation on how to use macOS' ( #3712 ) from macos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3712
2025-05-20 11:01:10 +00:00
Jörg Thalheim
575f5b6626
add documentation on how to use macOS
2025-05-20 12:56:02 +02:00
Brian McGee
f3d2e65ebb
fix(ui): Exectuting typo in toast message
2025-05-20 11:52:34 +01:00
lassulus
9063e4aae9
clan-cli: clan_cli.colors -> clan_lib.colors
2025-05-20 12:52:12 +02:00
lassulus
e6e74c6497
clan_cli mypy: ignore nixpkgs at new location
2025-05-20 12:51:44 +02:00
lassulus
ea7da55e86
Merge pull request 'clan-cli: clan_cli.dirs -> clan_lib.dirs' ( #3706 ) from clan_lib_dirs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3706
2025-05-20 10:34:40 +00:00
lassulus
dbedb882d3
clan-cli: clan_cli.dirs -> clan_lib.dirs
2025-05-20 12:17:52 +02:00
lassulus
ed89352ea1
clan-cli: clan_cli.dirs -> clan_lib.dirs
2025-05-20 12:08:30 +02:00
Mic92
a8c5676b43
Merge pull request 'Fix deploying to macOS as root' ( #3700 ) from nix-darwin into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3700
2025-05-20 09:08:04 +00:00
Jörg Thalheim
3543315f81
use absolute path to darwin-rebuild to workaround missing login shells used on macOS
2025-05-20 10:56:44 +02:00
Jörg Thalheim
cb2ccd33a4
add workaround for nix-copy on darwin
2025-05-20 10:56:44 +02:00
Jörg Thalheim
c5ba64bd30
host.run: improve quoting of bash command
2025-05-20 10:56:44 +02:00
Mic92
14a2ba5b81
Merge pull request 'Stop warning about inventory.instances' ( #3710 ) from stabilize-inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3710
2025-05-20 08:41:40 +00:00
Jörg Thalheim
cb1703d059
drop deploy_as_root check
...
We haven't documented macOS support yet, so I don't expect many people
using it yet. Now that the pull request is merged probably most people
starting with darwin-nix will be on that commit anyway, so it's not
worth the check, given that the sudo version doesn't work very well.
2025-05-20 10:38:54 +02:00
Jörg Thalheim
87f271172b
bump nix-darwin
2025-05-20 10:25:01 +02:00
Mic92
20dd75eb5c
Merge pull request 'fix logger no longer applying to clan_lib' ( #3709 ) from logging into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3709
2025-05-20 08:21:20 +00:00
Jörg Thalheim
09c62b8b2d
Stop warning about inventory.instances
...
we now marked inventory.modules as deprecated, so this new api can be no
longer under development
2025-05-20 10:12:34 +02:00
Jörg Thalheim
5d5cd1feb1
custom_logger/print_trace: no longer check for run_no_stdout
...
this function was removed.
2025-05-20 10:09:20 +02:00
Jörg Thalheim
bbb6a1546b
logger: only get file path if actually requested
...
this is a rather expensive operation.
2025-05-20 10:09:20 +02:00
Jörg Thalheim
5d99fb1e47
fix logger no longer applying to clan_lib
...
with moving code to clan_lib we are missing logging for some output. To
fix this we remove the module scoping from the logger and just set one
global logger.
2025-05-20 10:09:20 +02:00
DavHau
6e898a2c10
GUI/vars: refactor vars step
2025-05-20 11:32:32 +07:00
clan-bot
265a533a76
Merge pull request 'Update Clan Core for Checks' ( #3707 ) from update-clan-core-for-checks into main
2025-05-20 03:01:39 +00:00
clan-bot
0bb76b8917
Update pinned clan-core for checks
2025-05-20 02:52:07 +00:00
lassulus
494705e9d3
Merge pull request 'clan-cli: clan_cli.cmd -> clan_lib.cmd' ( #3705 ) from clan_lib_cmd into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3705
2025-05-19 17:19:55 +00:00
lassulus
9a0c6f55bd
clan-cli: clan_cli.cmd -> clan_lib.cmd
2025-05-19 19:07:24 +02:00
lassulus
7ec9f20a25
Merge pull request 'fix(cli/machines/deploy): warn on local input' ( #3687 ) from tennox/clan-core:warn-local-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3687
Reviewed-by: lassulus <clanlol@lassul.us >
2025-05-19 16:58:33 +00:00
lassulus
12b9da4781
Merge pull request 'clan-cli: move clan_cli.nix to clan_lib.nix' ( #3704 ) from clan_lib_nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3704
2025-05-19 16:56:10 +00:00
lassulus
cb74273da4
clan-cli: move clan_cli.nix to clan_lib.nix
2025-05-19 18:40:36 +02:00
lassulus
6812b0a739
Merge pull request 'clan_lib flake: fix handling garbage collected store paths as cached values' ( #3699 ) from select-path-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3699
2025-05-19 16:01:31 +00:00
lassulus
1861c4447f
clan_lib flake: remove redundant store definition
2025-05-19 17:49:12 +02:00
lassulus
107bc91fa1
clan_lib flake: test if cache gets invalidated with nix gc
2025-05-19 17:48:46 +02:00
lassulus
9685e00122
clan_lib flake: get select output without nixpkgs
2025-05-19 16:11:56 +02:00
lassulus
8218bd3539
clan_lib flake: get store path from NIX_STORE_DIR
2025-05-19 16:11:56 +02:00
lassulus
102fa21b9c
clan_lib flake: check the whole tree even if we fetched all keys before
...
This is needed because nix garbage collection can remove store paths. So
the cache can become invalid because a path needs to be rebuild.
2025-05-19 16:11:56 +02:00
DavHau
72fa59c9fa
UI: add vars step to installation flow
2025-05-19 19:11:19 +07:00
DavHau
2b4e624ee8
clan-app/devshell: add script to launch qemu VMs for testing
2025-05-19 18:37:09 +07:00
DavHau
4b1060e009
Merge pull request 'clanModules/wifi: refactor to use NetworkManager' ( #3701 ) from DavHau/clan-core:wifi into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3701
2025-05-19 11:33:22 +00:00
DavHau
fe0efcf0c2
clanModules/wifi: refactor to use NetworkManager
...
Neither iwd, nor wpa_supplicant seem to be very reliable on some machines I tested.
Also NetworkManager has generally the best GUI support so it makes sense to build ontop of it
2025-05-19 18:14:37 +07:00
pinpox
2f8b3316b1
Merge pull request 'docs: add glossary' ( #3698 ) from docs-glossary into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3698
2025-05-19 09:47:39 +00:00
pinpox
dca118d057
docs: add glossary
2025-05-19 11:41:00 +02:00
Mic92
161f192b73
Merge pull request 'machines/upload: start to use builtin sudo' ( #3697 ) from builtin-sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3697
2025-05-19 09:30:40 +00:00
Jörg Thalheim
daa0e0f4e6
machines/upload: start to use builtin sudo
2025-05-19 11:18:15 +02:00
clan-bot
fe44c24c9e
Merge pull request 'Update Clan Core for Checks' ( #3696 ) from update-clan-core-for-checks into main
2025-05-19 03:01:50 +00:00
clan-bot
d1bae72630
Update pinned clan-core for checks
2025-05-19 02:52:08 +00:00
Mic92
c6284e3c48
Merge pull request 'move flake test into flake folder' ( #3682 ) from flake-in-lib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3682
2025-05-18 20:13:14 +00:00
lassulus
1c8b8bf83d
clan_lib: move test_flake_caching into clan_lib flake folder
2025-05-18 21:35:56 +02:00
hsjobeki
5918f0525e
Merge pull request 'Docs: unify 'manual' with 'guides'' ( #3693 ) from hsjobeki/clan-core:docs-structure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3693
2025-05-18 18:52:40 +00:00
Johannes Kirschbauer
af58c32238
Docs: unify 'manual' with 'guides' folder
...
This is one of the final steps towards strictly following
https://diataxis.fr/
2025-05-18 20:40:40 +02:00
Johannes Kirschbauer
cd808f6c0f
Docs: update some references to contributing
2025-05-18 20:31:49 +02:00
hsjobeki
990e84ea57
Merge pull request 'Docs: move {contributing, disk, mesh, backups} into guides' ( #3692 ) from hsjobeki/clan-core:docs-structure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3692
2025-05-18 16:59:51 +00:00
Johannes Kirschbauer
a12afdb99f
Docs: move {flake, facts-vars} migration guides into 'migrations' folder
2025-05-18 18:56:03 +02:00
Johannes Kirschbauer
73d12e5aa3
Docs: remove useless repo-layout file
2025-05-18 18:49:29 +02:00
Johannes Kirschbauer
22f2f8ec6b
Docs: remove dafts folder
2025-05-18 18:48:23 +02:00
Johannes Kirschbauer
f387ab0882
Docs: create migrations subfolder in guides
2025-05-18 18:46:36 +02:00
Johannes Kirschbauer
b35c1c2e46
Docs: place reference to new ClanModules on index page
2025-05-18 18:40:10 +02:00
Johannes Kirschbauer
1806c6c16e
Docs: move 'getting-started' into guides section
2025-05-18 18:35:11 +02:00
Johannes Kirschbauer
7ff62958e6
Docs: move {contributing, disk, mesh, backups} into guides
2025-05-18 18:22:32 +02:00
clan-bot
f6239b1471
Merge pull request 'Update Clan Core for Checks' ( #3688 ) from update-clan-core-for-checks into main
2025-05-18 03:01:46 +00:00
clan-bot
f8fffb3a81
Update pinned clan-core for checks
2025-05-18 02:52:08 +00:00
Manu [tennox]
2f6dc9ba17
fix(cli/machines/deploy): warn on local input
...
see: https://git.clan.lol/clan/clan-core/issues/3112
2025-05-17 15:30:32 +01:00
clan-bot
f087db1928
Merge pull request 'Update Clan Core for Checks' ( #3685 ) from update-clan-core-for-checks into main
2025-05-17 03:01:12 +00:00
clan-bot
f301d01488
Update pinned clan-core for checks
2025-05-17 02:51:35 +00:00
renovate[bot]
29c1bf77f0
Update treefmt-nix digest to 42dd928
2025-05-17 00:50:18 +00:00
renovate[bot]
fefc9dbec4
Update data-mesher digest to 826a1ab
2025-05-16 18:50:12 +00:00
lassulus
fa052f45bd
clan_lib: move clan_lib.flake.flake to clan_lib.flake
2025-05-16 19:28:36 +02:00
hsjobeki
ae84ab983e
Merge pull request 'Refactor(cli): name set_inv_machine back to set_machine' ( #3681 ) from hsjobeki/clan-core:chores-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3681
2025-05-16 16:23:51 +00:00
Johannes Kirschbauer
f33952913e
Fix: typing cast dataclass_type into type explizitly
2025-05-16 18:11:46 +02:00
Johannes Kirschbauer
07b676e901
Fix: missing recipient should print a message
2025-05-16 18:09:53 +02:00
Johannes Kirschbauer
1afd5b273d
Fix(cli/machines/list): make listing machines safer
2025-05-16 18:05:49 +02:00
Johannes Kirschbauer
f189eeaff4
Fix(cli/state):_Make listing state folders more safe
2025-05-16 18:05:08 +02:00
Johannes Kirschbauer
49e8164ecb
Fix(cli/dirs): properly import urllib.parse module
2025-05-16 18:05:08 +02:00
Johannes Kirschbauer
b941d77cfa
Fix(cli/vars): log.info; since machine is unbound in this context
2025-05-16 18:05:08 +02:00
Johannes Kirschbauer
d7c541c508
Fix: typing in async_run
2025-05-16 18:05:08 +02:00
Johannes Kirschbauer
64e3d84cab
Refactor(cli): name set_inv_machine back to set_machine
...
We don't want to leak information about our internals
Such as 'inv' meaning 'inventory' this is not important from the outside
2025-05-16 18:05:07 +02:00
Johannes Kirschbauer
ec22a098e6
Refactor: rename api set_inv_machine parameter to 'machines,update'
2025-05-16 17:57:40 +02:00
hsjobeki
dce0ea4008
Merge pull request 'refactor: move clan_cli.error to clan_lib.error' ( #3677 ) from hsjobeki/clan-core:chores-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3677
2025-05-16 15:17:41 +00:00
Johannes Kirschbauer
8ddf0e50d3
Fix: dynamically import clan_cli in flake methods
...
This is a temporary workaround to solve cyclic imports all these modules should be moved to clan_lib
soon afterwards
2025-05-16 17:02:58 +02:00
Mic92
f5191b9998
Merge pull request 'installation: put use_tor option in right place' ( #3680 ) from installation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3680
2025-05-16 14:43:17 +00:00
hsjobeki
aaafde59cf
Merge pull request 'Docs: init migration guide for clanServices' ( #3679 ) from service-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3679
2025-05-16 14:39:22 +00:00
Johannes Kirschbauer
64bef5980f
docs: move authoring guides into guides subfolder
2025-05-16 16:33:39 +02:00
Jörg Thalheim
41598b8f34
machines.eval_nix: remove unused refresh parameter
2025-05-16 16:31:25 +02:00
Jörg Thalheim
13c6543a88
installation: put use_tor option in right place
...
we would always disable tor, even if enabled.
2025-05-16 16:18:25 +02:00
Johannes Kirschbauer
4ebdf021a3
Docs: init migration guide for clanServices
2025-05-16 16:15:51 +02:00
Johannes Kirschbauer
fe0507b47c
refactor: move clan_cli.error to clan_lib.error
2025-05-16 16:14:39 +02:00
Mic92
73fd4b00d0
Merge pull request 'upload: don't try to re-create directory if it already exists' ( #3678 ) from upload into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3678
2025-05-16 13:53:05 +00:00
Jörg Thalheim
3d743960a4
upload: don't try to re-create directory if it already exists
...
This allows bind mounts i.e. needed for preserveration/impermanence
2025-05-16 15:39:09 +02:00
hsjobeki
f1c028649d
Merge pull request 'Docs for clan service options' ( #3670 ) from service-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3670
2025-05-16 13:02:28 +00:00
Johannes Kirschbauer
62d2c08dd5
Docs: improve clanService docs
2025-05-16 14:58:46 +02:00
lassulus
dd922725df
Merge pull request 'clan_cli: move flake class to clan_lib' ( #3676 ) from flake-in-api into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3676
2025-05-16 12:00:00 +00:00
lassulus
5423b9af41
clan_cli: move flake class to clan_lib
2025-05-16 13:38:47 +02:00
hsjobeki
5a1bd4447e
Merge pull request 'Refactor: replace direct references to inventory' ( #3674 ) from hsjobeki/clan-core:chores-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3674
2025-05-16 10:43:24 +00:00
lassulus
47ba924b6b
Merge pull request 'clan_cli flake: get selectLib as path: as well' ( #3675 ) from select-as-path into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3675
2025-05-16 10:22:24 +00:00
lassulus
89c59b5358
clan_cli flake: get selectLib as path: as well
...
This is needed so older nix versions can get select in a pure way. Since
non path: paths can never be pure on older nix versions
2025-05-16 11:37:22 +02:00
Johannes Kirschbauer
6de58478fa
Refactor: replace direct references to inventory
...
Deprecated. Inventory should be accessed via InventoryStore {read(),write(),...}
2025-05-16 11:30:41 +02:00
pinpox
da3c1ceea3
Add clanServices to docs
...
Renders the documentation for clanServices. Options for the modules are
extracted and rendered the same way as for the existing clanModules.
Additionally tweaks the typography for the documentation of options
slightly
2025-05-16 11:29:50 +02:00
hsjobeki
2544e8df8c
Merge pull request 'clan-cli: Unify list_machines and use flake caching' ( #3673 ) from Qubasa/clan-core:fix_ui_stuff into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3673
2025-05-16 09:08:59 +00:00
Qubasa
2f0114a236
clan-cli: Unify list_machines and use flake caching
2025-05-16 10:47:49 +02:00
renovate[bot]
507fba8ede
chore(deps): update nix-darwin digest to 8817b00
2025-05-16 03:40:10 +00:00
clan-bot
a5f27f926e
Merge pull request 'Update Clan Core for Checks' ( #3671 ) from update-clan-core-for-checks into main
2025-05-16 03:00:46 +00:00
clan-bot
219daad626
Update pinned clan-core for checks
2025-05-16 02:51:34 +00:00
renovate[bot]
c9199a5874
chore(deps): update data-mesher digest to 7afcd6f
2025-05-15 17:50:25 +00:00
renovate[bot]
b5ad166cf7
chore(deps): update nixpkgs digest to b1bebd0
2025-05-15 17:30:26 +00:00
Mic92
1d35c5241c
Merge pull request 'Merge clan-app and ui environment into one' ( #3661 ) from feat/web-ui-process-compose into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3661
Reviewed-by: brianmcgee <brian@bmcgee.ie >
2025-05-15 13:19:31 +00:00
Jörg Thalheim
9e8fefc64b
clan-app/devshell: remove duplicate python3
...
we already get python3 from the frontend.
2025-05-15 15:03:35 +02:00
Jörg Thalheim
70409070e6
fix references in reload-python-api script
2025-05-15 15:03:05 +02:00
Jörg Thalheim
a2d86844b8
remove generated files from git.
2025-05-15 14:56:04 +02:00
Jörg Thalheim
f5249a6448
clan-app/README: more robust process-compose command
...
I had port conflicts with tcp, so let's use unix socket by default.
Also added --keep-project to make trouble-shouting easier in case
something is wrong.
2025-05-15 14:56:04 +02:00
Jörg Thalheim
28972a60d1
clan-app/ui: remove unused .envrc
...
this has been merged into clan-app's envrc
2025-05-15 14:56:04 +02:00
Jörg Thalheim
de0f78b0d2
clan-ui: remove intermediate app directory
2025-05-15 14:56:04 +02:00
Jörg Thalheim
3f7894ef03
clan-app: filter out unrelated files from build
...
this should help for faster ci builds.
2025-05-15 14:43:51 +02:00
Jörg Thalheim
3369e56d35
process-compose: simplify environment
...
we already are in the right devshell for clan-app, so we no longer need
direnv exec. Instead of depending on implicit enviroment variables we
can run change the directory based on the git root as this is easier to
read and follow.
2025-05-15 14:43:51 +02:00
Jörg Thalheim
bebab7691f
devshells.clan-app: require less environment variables
...
also sort shellHook by component
2025-05-15 14:43:51 +02:00
Jörg Thalheim
354353f941
rename devshells.ui to clan-app
2025-05-15 14:15:59 +02:00
Jörg Thalheim
57dcd47992
rename ui to clan-app and move clan-app one layer up
2025-05-15 14:15:59 +02:00
renovate[bot]
5753109b80
chore(deps): update dependency @types/node to v20.17.47
2025-05-15 11:10:14 +00:00
Mic92
528070d9aa
Merge pull request 'feat: use process-compose to run ui dev environment' ( #3646 ) from feat/web-ui-process-compose into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3646
2025-05-15 11:08:37 +00:00
Jörg Thalheim
7d1d0c3c3f
process-compose: integrate with direnv
2025-05-15 13:01:36 +02:00
Brian McGee
9f81d299d9
feat: use process-compose to run ui dev environment
2025-05-15 12:00:27 +01:00
Brian McGee
6df4705efc
fix: move vendoring of nixpkgs and select into root devshell
2025-05-15 12:00:26 +01:00
Brian McGee
faf8689ab1
feat: group ui related packages under a ui directory
2025-05-15 12:00:24 +01:00
Mic92
f2464af5a5
Merge pull request 'clan-app: set title and icon' ( #3658 ) from clan-app-title into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3658
2025-05-15 10:42:06 +00:00
Jörg Thalheim
30ff0a622a
clan-app: prepare icon support on linux
...
For some reason the icon is not shown when using the gtk backend but at
least the API calls look correct.
2025-05-15 12:36:30 +02:00
Jörg Thalheim
2f2ebdb41f
clan-app: set title
2025-05-15 12:36:24 +02:00
Jörg Thalheim
e5e10354ef
webview-lib: extend to support setting icons on Linux
2025-05-15 12:36:11 +02:00
Mic92
3ae7d72851
Merge pull request 'chore(deps): update data-mesher digest to ca961db' ( #3655 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3655
2025-05-15 10:18:13 +00:00
Mic92
8e98040f71
Merge pull request 'chore(deps): update nix-darwin digest to b6fff20' ( #3653 ) from renovate/nix-darwin-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3653
2025-05-15 10:18:03 +00:00
hsjobeki
6ad61e583c
Merge pull request 'Chore: remove spurious module.nix' ( #3657 ) from hsjobeki/clan-core:chores-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3657
2025-05-15 10:15:29 +00:00
Johannes Kirschbauer
ef6eba9df2
Chore: remove spurious module.nix
2025-05-15 12:08:44 +02:00
renovate[bot]
eae91fd863
chore(deps): update nix-darwin digest to b6fff20
2025-05-15 10:00:22 +00:00
renovate[bot]
bc920e402b
chore(deps): update data-mesher digest to ca961db
2025-05-15 10:00:20 +00:00
renovate[bot]
068b39141b
chore(deps): update nixpkgs digest to 2e1da60
2025-05-15 09:30:30 +00:00
renovate[bot]
b17eb57fb9
chore(deps): update treefmt-nix digest to e758f27
2025-05-15 09:10:13 +00:00
Mic92
e4394b8dc7
Merge pull request 'Add multiline-hidden-prompt' ( #3632 ) from multiline-hidden-prompt into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3632
Reviewed-by: hsjobeki <hsjobeki@gmail.com >
Reviewed-by: lopter <louis@opter.org >
2025-05-15 08:10:34 +00:00
lassulus
f9b910b5cb
clan-cli vars upload: create dir if provided
2025-05-15 06:42:24 +00:00
clan-bot
86da7060cd
Merge pull request 'Update Clan Core for Checks' ( #3652 ) from update-clan-core-for-checks into main
2025-05-15 03:01:17 +00:00
clan-bot
a0a7eb423b
Update pinned clan-core for checks
2025-05-15 02:51:34 +00:00
renovate[bot]
2337eeb3ad
chore(deps): update disko digest to ec7c109
2025-05-15 02:40:09 +00:00
Mic92
4058c8aede
Merge pull request 'fix ssh master on macos' ( #3649 ) from ssh-master into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3649
2025-05-14 22:19:51 +00:00
Jörg Thalheim
50dc6c4c50
fix ssh master on macos
2025-05-14 20:30:36 +02:00
Jörg Thalheim
31cb76721f
prompt: handle KeyboardInterrupt more gracefully
2025-05-14 19:53:36 +02:00
Jörg Thalheim
b5d132b193
do not instantiate vars_generators several times
...
We should really not have any property that has side effects i.e.
spawning processes.
2025-05-14 19:53:36 +02:00
Jörg Thalheim
75fa7ac609
add multiline-hidden prompt for both ui and cli
2025-05-14 19:53:36 +02:00
hsjobeki
410e01399e
Merge pull request 'feat(clanModules): add deprecation feature that generates a warning if the module is used' ( #3648 ) from hsjobeki/clan-core:persistence-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3648
2025-05-14 15:13:51 +00:00
hsjobeki
21cdd8db48
Merge pull request 'clan-app: draw header above other elements' ( #3647 ) from fix-header into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3647
2025-05-14 15:10:39 +00:00
Johannes Kirschbauer
aadc9082fc
clanModules/wifi: deprecate in favor of inventory.instances
2025-05-14 17:08:17 +02:00
Johannes Kirschbauer
f3c81f5095
feat(clanModules): add deprecation feature that generates a warning if the module is used
2025-05-14 17:06:58 +02:00
hsjobeki
fa5cfc5542
Merge pull request 'refactor(list/machines): use InventoryStore to interact with data"' ( #3645 ) from hsjobeki/clan-core:persistence-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3645
2025-05-14 15:03:48 +00:00
lassulus
d766349d6c
clan-app: draw header above other elements
2025-05-14 17:01:46 +02:00
pinpox
a40d2d82b8
Merge pull request 'Restore old admin module, with deprecation warning' ( #3639 ) from admin-module-warning into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3639
2025-05-14 14:25:13 +00:00
pinpox
857950d373
add back old module for compatibility
2025-05-14 16:19:55 +02:00
Johannes Kirschbauer
7e0c8c3672
refactor(list/machines): use InventoryStore to interact with data"
2025-05-14 16:18:12 +02:00
Johannes Kirschbauer
70e2a6d116
chore: remove unused iwd python module
2025-05-14 16:17:03 +02:00
Johannes Kirschbauer
633e6ffeae
refactor(lib/persist): rename 'patch' to 'apply_patch'
2025-05-14 16:16:16 +02:00
Johannes Kirschbauer
574ed11df4
feat(lib/InventoryStore): add read method
2025-05-14 16:10:49 +02:00
renovate[bot]
a52a314cdf
chore(deps): update disko digest to 490c0d6
2025-05-14 13:10:09 +00:00
hsjobeki
53477c88f1
Merge pull request 'refactor(cli/inventory): move functions and tests into clan_lib' ( #3641 ) from hsjobeki/clan-core:persistence-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3641
2025-05-14 11:47:37 +00:00
Johannes Kirschbauer
deb6b57a23
refactor(clan/lib): move tests for persist.util into clan_lib
2025-05-14 13:35:27 +02:00
hsjobeki
b12aaf6b86
Merge pull request 'fix(wifi): register new modules in clan.modules NOT inventory.modules' ( #3643 ) from hsjobeki/clan-core:fixes-module into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3643
2025-05-14 11:22:49 +00:00
Johannes Kirschbauer
aea396c8cd
refactor(modules/admin): consistent clan.module registering
2025-05-14 13:16:36 +02:00
Johannes Kirschbauer
8e1de6b75e
fix(wifi): register new modules in clan.modules NOT inventory.modules
2025-05-14 12:51:15 +02:00
Mic92
f332433d53
Merge pull request 'ui: Remove garbage collection thread' ( #3636 ) from remove-gc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3636
2025-05-14 10:19:44 +00:00
Johannes Kirschbauer
91034b66bf
refactor(lib/inventory): use util functions from clan_lib
2025-05-14 12:15:37 +02:00
Johannes Kirschbauer
bdb075be11
refactor(cli/inventory): remove unncessary init_inventory function
2025-05-14 12:15:36 +02:00
pinpox
030519413d
Add warning for deprecated admin module
2025-05-14 12:11:41 +02:00
Mic92
b53407c559
Merge pull request 'update cli vars on CLAN_CLI_PERF' ( #3640 ) from clan-cli-perf into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3640
2025-05-14 10:11:25 +00:00
clan-bot
424be43e3e
Merge pull request 'Update Clan Core for Checks' ( #3631 ) from update-clan-core-for-checks into main
2025-05-14 10:11:00 +00:00
Jörg Thalheim
c0376e374d
update cli vars on CLAN_CLI_PERF
2025-05-14 12:07:38 +02:00
clan-bot
587a4525f2
Update pinned clan-core for checks
2025-05-14 10:01:10 +00:00
Jörg Thalheim
b09e61f68d
clan-app: decode function arguments ahead of launching a thread.
...
If something goew wrong here we rather want to crash the app and get bug
reports.
2025-05-14 11:52:55 +02:00
kenji
04d1f10016
Merge pull request 'modules/wifi: migrate to clan service' ( #3638 ) from kenji/clan-core:ke-migrate-wifi into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3638
2025-05-14 09:52:15 +00:00
a-kenji
ff939040bb
modules/wifi: migrate to clanServices
2025-05-14 09:52:15 +00:00
Jörg Thalheim
b491e9cd51
clan-app: don't raise exception when we use ctr-c
2025-05-14 11:41:16 +02:00
Jörg Thalheim
a4057d39ae
api_wrapper: more descriptive parameter names
...
also only decode the op_key once
2025-05-14 11:39:25 +02:00
Jörg Thalheim
2283987bcd
bind_jsonschema_api: reduce method nesting
2025-05-14 11:39:25 +02:00
hsjobeki
d958aa4c73
Merge pull request 'docs(adrs): move decision folder into docs to make them publicly visible within docs' ( #3633 ) from hsjobeki/clan-core:docs-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3633
2025-05-14 09:32:57 +00:00
hsjobeki
f81dbd5195
Merge pull request 'Clan(lib): add persistence layer as inventoryStore' ( #3634 ) from hsjobeki/clan-core:persistence-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3634
2025-05-14 09:28:34 +00:00
Jörg Thalheim
bbac947496
make listing/cancelling tasks less nosy in the logs
2025-05-14 10:49:09 +02:00
Jörg Thalheim
80cadf9268
remove thread garbage collection
2025-05-14 10:49:09 +02:00
Johannes Kirschbauer
1a4922817a
refactor(lib/persist): move WriteInfo class into persistence lib
2025-05-14 10:19:07 +02:00
Johannes Kirschbauer
925756f7e0
chore(cli/inventory): add deprecation note for old python module
2025-05-14 10:18:27 +02:00
Johannes Kirschbauer
a1d2948914
docs(adrs): move decision folder into docs to make them publicly visible within docs
2025-05-14 10:06:24 +02:00
Johannes Kirschbauer
4507c4f3c3
chore(cli/inventory): remove unused 'default_inventory'
2025-05-14 09:28:06 +02:00
Johannes Kirschbauer
1860504fb0
feat(clan_lib): add 'InventoryStore' for persistence
2025-05-14 09:18:55 +02:00
hsjobeki
5a7c49ad82
Merge pull request 'Refactor(clan_lib): move nix bound classes out of the cli folder' ( #3629 ) from hsjobeki/clan-core:clan-lib-4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3629
2025-05-14 07:14:24 +00:00
Johannes Kirschbauer
45b12cdce6
Refactor(clan_lib): move nix bound classes out of the cli folder
2025-05-13 18:39:36 +02:00
Mic92
a97173f148
Merge pull request 'fix(ui): high cpu because of spinning garbage collection' ( #3630 ) from fix/ui-high-cpu into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3630
2025-05-13 16:38:14 +00:00
Brian McGee
a79d907484
fix(ui): high cpu because of spinning garbage collection
2025-05-13 17:06:19 +01:00
Mic92
8b1d1f9c25
Merge pull request 'cmd: wait on status after killing process' ( #3628 ) from misc into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3628
2025-05-13 14:29:58 +00:00
Michael Hoang
396898f842
Merge pull request 'Revert "disable age-plugin-se for now on aarch64-linuxql"' ( #3566 ) from push-vqkkqnuozxvx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3566
2025-05-13 14:24:11 +00:00
Jörg Thalheim
d8d0043249
cmd: wait on status after killing process
2025-05-13 16:18:03 +02:00
Michael Hoang
c7ca8945a3
Revert "disable age-plugin-se for now on aarch64-linuxql"
...
This reverts commit ee8921273a .
2025-05-14 00:12:49 +10:00
Jörg Thalheim
58c2cd8ffa
tests_secrets_cli: improve assertion message for pgp key
2025-05-13 16:10:54 +02:00
Mic92
3bedd44668
Merge pull request 'test_ssh_remote: skip whole module at once on macOS' ( #3626 ) from darwin-ssh-remote into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3626
2025-05-13 14:07:42 +00:00
Jörg Thalheim
0f7328ab89
filter out test files from clan-cli source
...
this means we can fix test without having to re-run the installation
tests.
2025-05-13 15:55:00 +02:00
Mic92
37d2f56662
Merge pull request 'chore(deps): update nix-darwin digest to f88be00' ( #3623 ) from renovate/nix-darwin-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3623
2025-05-13 13:32:20 +00:00
renovate[bot]
fcd4627ba3
chore(deps): update nix-darwin digest to f88be00
2025-05-13 13:20:10 +00:00
Mic92
90c95c9f14
Merge pull request 'installer: set requireExplicitUpdate' ( #3624 ) from installer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3624
2025-05-13 13:18:48 +00:00
Jörg Thalheim
c95237accd
test_ssh_remote: skip whole module at once on macOS
2025-05-13 15:18:21 +02:00
Jörg Thalheim
7eb0c0ad3d
installer: set requireExplicitUpdate
...
We usually don't want to update this system by default.
2025-05-13 15:02:05 +02:00
Luis Hebendanz
97e3a65ac0
Merge pull request 'clan-app: Fix machine update cancel task' ( #3622 ) from Qubasa/clan-core:fix_cancellation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3622
2025-05-13 12:19:35 +00:00
Qubasa
8d80fe343d
clan-app: Fix machine update cancel task
2025-05-13 14:06:02 +02:00
clan-bot
fe02cb299c
Merge pull request 'Update Clan Core for Checks' ( #3621 ) from update-clan-core-for-checks into main
2025-05-13 12:05:55 +00:00
clan-bot
78a96470b3
Update pinned clan-core for checks
2025-05-13 11:55:59 +00:00
Mic92
76d215540a
Merge pull request 'update-clan-core-for-checks: retry merge after delay' ( #3620 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3620
2025-05-13 11:54:43 +00:00
Jörg Thalheim
48bf2ac3bc
update-clan-core-for-checks: retry merge after delay
2025-05-13 13:51:03 +02:00
Mic92
0f9ebeba58
Merge pull request 'update-clan-core-for-checks: use correct pr number' ( #3618 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3618
2025-05-13 11:45:20 +00:00
Jörg Thalheim
6c99124ed8
update-clan-core-for-checks: use correct pr number
2025-05-13 13:40:27 +02:00
Mic92
6ee850df64
Merge pull request 'lib.filter: allow to name inputs' ( #3616 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3616
2025-05-13 11:35:54 +00:00
Jörg Thalheim
a058e1a6cd
lib.filter: allow to name inputs
2025-05-13 13:31:12 +02:00
Mic92
fd2ae5cd14
Merge pull request 'update-clan-core: fix json syntax' ( #3615 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3615
2025-05-13 11:15:34 +00:00
Mic92
0ebccc7ab1
Merge pull request 'fix(data-mesher): default bootstrap nodes' ( #3614 ) from fix/data-mesher-default-bootstrap-nodes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3614
2025-05-13 11:12:33 +00:00
Jörg Thalheim
d42cf8af70
update-clan-core: fix json syntax
2025-05-13 13:11:34 +02:00
kenji
bce75c06b4
Merge pull request 'docs/index: Surface reference documentation' ( #3612 ) from kenji/clan-core:ke-docs-index into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3612
2025-05-13 10:51:22 +00:00
a-kenji
fb29d38883
docs/index: Surface reference documentation
2025-05-13 10:51:22 +00:00
Brian McGee
8b518b78cd
fix(data-mesher): default bootstrap nodes
2025-05-13 11:48:01 +01:00
Mic92
d5531343b4
Merge pull request 'update-clan-core: use pr id' ( #3611 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3611
2025-05-13 10:47:08 +00:00
hsjobeki
f21b1269fe
Merge pull request 'Feat(UI/modules): clean up module list styles' ( #3591 ) from hsjobeki/clan-core:ui-fixes-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3591
2025-05-13 10:45:22 +00:00
Mic92
2a8b7cafbc
Merge branch 'main' into ci-fixes
2025-05-13 10:42:50 +00:00
hsjobeki
d5e0f866cd
Merge pull request 'GUI: fix target IP not always shown' ( #3610 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3610
2025-05-13 10:41:14 +00:00
Johannes Kirschbauer
54e9c5e0bb
Feat(UI/3d): init 3d prototype
2025-05-13 12:39:16 +02:00
Jörg Thalheim
7c045a9787
update-clan-core: use pr id
2025-05-13 12:37:02 +02:00
DavHau
1a59dd7ae8
merge-after-ci: don't format untracked files
2025-05-13 17:36:05 +07:00
DavHau
c9414b0457
pre-commit: don't format untracked files
2025-05-13 17:36:05 +07:00
DavHau
cb758a4849
GUI: fix target IP not always shown
2025-05-13 17:36:05 +07:00
Mic92
c8ea42b522
Merge pull request 'docs/devshell: make sure we are in the right directory before symlinking files' ( #3609 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3609
2025-05-13 10:28:14 +00:00
Mic92
a0e15d96a8
Merge pull request 'Update Clan Core for Checks' ( #3608 ) from update-clan-core-for-checks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3608
2025-05-13 10:24:45 +00:00
Jörg Thalheim
6abfd87858
docs/devshell: make sure we are in the right directory before symlinking files
2025-05-13 12:24:20 +02:00
clan-bot
60238b11f0
Update pinned clan-core for checks
2025-05-13 10:05:02 +00:00
Mic92
ebe5aedec1
Merge pull request 'update-clan-core-for-checks: update pr description' ( #3607 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3607
2025-05-13 09:22:39 +00:00
Mic92
73dadc3196
Merge pull request 'Automated Update: Clan Core' ( #3605 ) from update-clan-core-for-checks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3605
2025-05-13 09:21:25 +00:00
Jörg Thalheim
45a3bbb8fd
update-clan-core-for-checks: update pr description
2025-05-13 11:18:42 +02:00
clan-bot
d968b647ae
Update pinned clan-core for checks
2025-05-13 09:10:09 +00:00
Mic92
bf199b7f6e
Merge pull request 'update-clan-core-for-checks: use ci bot token for prs' ( #3604 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3604
2025-05-13 09:09:29 +00:00
Jörg Thalheim
fc7269924c
update-clan-core-for-checks: use ci bot token for prs
2025-05-13 11:05:06 +02:00
Mic92
516fbaf83c
Merge pull request 'update-clan-core-for-checks: fix head branch' ( #3603 ) from ci-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3603
2025-05-13 09:00:10 +00:00
Jörg Thalheim
8bdd6ba6d4
update-clan-core-for-checks: fix head branch
2025-05-13 10:52:52 +02:00
Mic92
85d4136ad8
Merge pull request 'docs/guides: Fix typos in migration guide' ( #3602 ) from kenji-ke-docs-vars-facts-migration-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3602
2025-05-13 08:37:37 +00:00
Mic92
ff4e19267f
Merge pull request 'chore(deps): update nixpkgs digest to eaeed95' ( #3596 ) from renovate/nixpkgs-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3596
2025-05-13 08:36:44 +00:00
a-kenji
3fc16c88f4
docs/guides: Fix typos in migration guide
2025-05-13 10:33:23 +02:00
renovate[bot]
4342f24c7a
chore(deps): update nixpkgs digest to eaeed95
2025-05-13 08:30:10 +00:00
Mic92
d553441039
Merge pull request 'update-clan-core: use https' ( #3600 ) from mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3600
2025-05-13 08:29:09 +00:00
Jörg Thalheim
d4dadaba79
update-clan-core: use https
2025-05-13 10:18:56 +02:00
Mic92
9d9070493d
Merge pull request 'update-clan-core-for-checks: pass GITEA_TOKEN correctly' ( #3599 ) from mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3599
2025-05-13 08:17:44 +00:00
kenji
be234a742a
Merge pull request 'docs/guides: facts vars migration guide' ( #3598 ) from kenji/clan-core:ke-docs-vars-facts-migration into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3598
2025-05-13 08:10:32 +00:00
a-kenji
35805204fb
docs/guides: facts vars migration guide
...
Add a migration guide from facts to vars.
2025-05-13 08:10:32 +00:00
Mic92
572a7a84c1
Merge pull request 'Update nix-darwin digest to d642c98' ( #3589 ) from renovate/nix-darwin-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3589
2025-05-13 08:08:55 +00:00
Jörg Thalheim
645be8a3ba
update-clan-core-for-checks: pass GITEA_TOKEN correctly
2025-05-13 10:06:29 +02:00
renovate[bot]
7554f92427
chore(deps): update nix-darwin digest to d642c98
2025-05-13 08:00:10 +00:00
Mic92
bee802b437
Merge pull request 'debug update-clan-core-for-checks action' ( #3597 ) from mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3597
2025-05-13 07:55:37 +00:00
Jörg Thalheim
4464470577
debug update-clan-core-for-checks action
2025-05-13 09:48:46 +02:00
Mic92
2e0b32bc08
Merge pull request 'fix: Documentation for inventory.tags.nixos option' ( #3595 ) from ginkogruen/clan-core:ginkogruen-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3595
2025-05-13 07:44:26 +00:00
ginkogruen
ba6f5e3552
fix: Documentation for inventory.tags.nixos option
...
Corrected documentation referencing machines with the machineClass = "darwin" set, when it should be: machineClass = "nixos"
2025-05-12 22:12:43 +00:00
Johannes Kirschbauer
c5ff7afd21
Feat(UI/modules): clean up module list styles
2025-05-12 20:48:25 +02:00
Luis Hebendanz
46ffca2cac
Merge pull request 'clan-app: Improved UX of handling toasts' ( #3588 ) from Qubasa/clan-core:fix_clan_install into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3588
2025-05-12 17:15:32 +00:00
Qubasa
804e46b8a6
clan-app: Improved UX of handling toasts
2025-05-12 18:54:53 +02:00
Mic92
7faa53095c
Merge pull request 'checks/update-clan-core-for-checks: provide missing curl' ( #3587 ) from mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3587
2025-05-12 16:28:23 +00:00
hsjobeki
310450d142
Merge pull request 'UI: make tasks cancleable' ( #3586 ) from hsjobeki/clan-core:qubasas into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3586
2025-05-12 16:24:45 +00:00
Jörg Thalheim
3da4c7a855
checks/update-clan-core-for-checks: provide missing curl
2025-05-12 18:24:31 +02:00
hsjobeki
0aab11f007
Merge pull request 'Feat(UI/modules): display more module informations' ( #3585 ) from hsjobeki/clan-core:ui-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3585
2025-05-12 16:21:10 +00:00
Johannes Kirschbauer
d95a827e55
Chore(UI): update some devDependencies in package.json
2025-05-12 18:18:11 +02:00
Johannes Kirschbauer
96d6ae68b7
Feat(UI/modules): display more module informations
2025-05-12 18:09:42 +02:00
Mic92
9c34a70eb7
Merge pull request 'checks/update-clan-core-for-checks: force push' ( #3584 ) from mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3584
2025-05-12 15:55:00 +00:00
Qubasa
3ea01c60f6
working fileSelect component
2025-05-12 17:54:10 +02:00
Qubasa
9544a3e522
clan-app: Working cancellable tasks
2025-05-12 17:54:10 +02:00
Qubasa
38ea6515cf
clan-app: Add cancellable tasks
2025-05-12 17:54:10 +02:00
Jörg Thalheim
fe50940464
checks/update-clan-core-for-checks: force push
2025-05-12 17:50:52 +02:00
hsjobeki
7f604e99bf
Merge pull request 'Migrate admin module to clanServices' ( #3530 ) from admin-migrate-service into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3530
2025-05-12 15:48:24 +00:00
Mic92
f1a197ddb2
Merge pull request 'clan_cli flake select: fix on older nix versions' ( #3580 ) from select-path into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3580
2025-05-12 15:31:13 +00:00
Mic92
4aad9f9660
Merge pull request 'checks/update-clan-core-for-checks: fix typo in git env' ( #3583 ) from Mic92/clan-core:mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3583
2025-05-12 15:02:37 +00:00
Jörg Thalheim
5dd3fea4c2
checks/update-clan-core-for-checks: fix typo in git env
2025-05-12 16:58:38 +02:00
Mic92
7b3e5a179d
Merge pull request 'Checks/update-clan-core-for-check: add email/name' ( #3582 ) from Mic92/clan-core:mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3582
2025-05-12 14:55:12 +00:00
Jörg Thalheim
fc8bc24b03
checks/update-clan-core-for-check: add email/name
2025-05-12 16:44:54 +02:00
lassulus
47abebb43e
clan_cli flake select: fix on older nix versions
2025-05-12 16:26:06 +02:00
Johannes Kirschbauer
a3f4a96c79
Docs: init empty migration guide with references
2025-05-12 16:13:08 +02:00
Johannes Kirschbauer
b3af5647a8
Feat: print better error if module was migrated
2025-05-12 16:12:43 +02:00
Jörg Thalheim
9733c41105
don't run impure checks on main
...
We need to make sure that these tests already pass in pull requests.
There is often no point running this on main because it's already to
late at this point.
2025-05-12 16:05:52 +02:00
Mic92
5ba0189648
Merge pull request 'clan/vars: Improve help for list subcommand' ( #3576 ) from kenji/clan-core:ke-fix-vars-help into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3576
2025-05-12 14:04:27 +00:00
Mic92
c2743504e0
Merge pull request 'Fix: remove unused service endpoints from UI' ( #3579 ) from hsjobeki/clan-core:ui-fixes-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3579
2025-05-12 14:04:01 +00:00
Johannes Kirschbauer
e2ab2fcfb3
Fix: update test and docs
2025-05-12 15:54:50 +02:00
pinpox
321c095528
Remove admin UI interface
2025-05-12 15:54:50 +02:00
pinpox
df953aef7f
Fix warning
2025-05-12 15:54:50 +02:00
pinpox
cea0d659c3
Remove unnecessary file
2025-05-12 15:54:50 +02:00
pinpox
3c35efa317
disable PAM for SSH check
2025-05-12 15:54:50 +02:00
pinpox
70a991f4f2
migrate admin module
2025-05-12 15:54:49 +02:00
Johannes Kirschbauer
8e433448ae
Fix: remove unused service endpoints from UI
2025-05-12 15:52:49 +02:00
Mic92
c6035b247b
Merge pull request 'checks/mumble: make delays between keyboard clicks more robust' ( #3578 ) from mumble-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3578
2025-05-12 13:39:21 +00:00
Jörg Thalheim
4a64ce2481
checks/mumble: disable on x86_64-linux for now
2025-05-12 15:32:52 +02:00
Jörg Thalheim
ffeaf2ee1f
checks/mumble: make delays between keyboard clicks more robust
2025-05-12 15:10:29 +02:00
kenji
a593e76feb
Merge pull request 'clan/vars: Fix vars help hyperlink' ( #3577 ) from kenji/clan-core:ke-docs-vars-cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3577
2025-05-12 13:08:13 +00:00
a-kenji
bdeb514eb1
clan/vars: Improve help for list subcommand
...
Closes #3550
2025-05-12 14:57:50 +02:00
a-kenji
02c5b60493
clan/vars: Fix vars help hyperlink
2025-05-12 14:55:34 +02:00
hsjobeki
e9ae0ce145
Merge pull request 'Refactor(inventory/constraints): use explizit dependency injections instead of specialArgs' ( #3553 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3553
2025-05-12 12:26:45 +00:00
Johannes Kirschbauer
4b36a6c170
Feat(inventory/manifest): vendor {description, categories} from 'clanModules'
2025-05-12 14:19:04 +02:00
renovate[bot]
6de1ee93f4
chore(deps): lock file maintenance
2025-05-12 14:05:14 +02:00
Mic92
f01d12934b
Merge pull request 'pinned-clan-core' ( #3574 ) from pinned-clan-core into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3574
2025-05-12 12:02:58 +00:00
Jörg Thalheim
51fb28c04c
morph: don't depend on clan-core
2025-05-12 13:56:10 +02:00
Jörg Thalheim
028f3ee8df
checks/backup: depend on pinned clan core
2025-05-12 13:52:21 +02:00
Mic92
13bf499166
Merge pull request 'ci/update-clan-core-for-checks: bump gitea-create-pull-request' ( #3573 ) from bump-update-flake into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3573
2025-05-12 11:46:01 +00:00
Jörg Thalheim
7d6188a2fc
ci/update-clan-core-for-checks: bump gitea-create-pull-request
2025-05-12 13:41:16 +02:00
Mic92
ae4c15be93
Merge pull request 'use a clan-core snapshots for ci tests' ( #3572 ) from misc-fixes-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3572
2025-05-12 11:26:31 +00:00
Jörg Thalheim
a6914a0598
use a clan-core snapshots for ci tests
...
We currently have to re-run our integration tests a lot because they are
depending on the whole repository. This pull request changes locks the
clan-core used for vm tests. This has the caveat that we might not run
the latest NixOS machine of our profiles. On the upside we can test
behaviour against an older clan-core version and capture breakages and
make it backwards compatible. If we actually want to test the latest
version, the PR that changes the exposed flake api, could also bump the
clan-core snapshot.
2025-05-12 13:21:25 +02:00
Jörg Thalheim
f30d57257a
docs/testing: update to latest api
2025-05-12 13:03:06 +02:00
Mic92
5cd8c3729a
Merge pull request 'Data-mesher: don't set owner for public vars' ( #3571 ) from misc-fixes-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3571
2025-05-12 10:27:05 +00:00
Mic92
a6a33372f9
Merge pull request 'Add /bin/sh to bubblewrap sandbox' ( #3551 ) from jfly/clan-core:bin-sh-in-sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3551
2025-05-12 10:07:56 +00:00
Jörg Thalheim
837d539826
data-mesher: don't set owner for public_key
2025-05-12 12:06:05 +02:00
Jörg Thalheim
5d1b49fbb6
move single dont-depend-on-repo-root check into checks
...
Doesn't seem to be a pattern yet with a single check.
2025-05-12 12:06:05 +02:00
Jörg Thalheim
bdc0265ccd
vars: improve warnings for non-public secrets
2025-05-12 12:06:05 +02:00
DavHau
1c3283ef6f
Merge pull request 'GUI/machines: enable grid view by default' ( #3570 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3570
2025-05-12 08:52:03 +00:00
DavHau
763eb38fc0
GUI/machines: enable grid view by default
2025-05-12 15:41:31 +07:00
DavHau
6bc556ea9a
Merge pull request 'vars: cleanup sops file module' ( #3569 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3569
2025-05-12 08:40:35 +00:00
DavHau
fa011934f8
vars: cleanup sops file module
2025-05-12 15:30:23 +07:00
DavHau
047a5f6869
Merge pull request 'gui/vars: fix vars screen doesn't appear on update' ( #3567 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3567
2025-05-12 07:23:51 +00:00
hsjobeki
51dadf6954
Merge pull request 'Docs: update 'clan.service' examples' ( #3568 ) from hsjobeki/clan-core:docs-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3568
2025-05-12 07:23:41 +00:00
DavHau
7ec47a60f1
gui/vars: fix vars screen doesn't appear on update
2025-05-12 13:52:16 +07:00
Michael Hoang
560c7958e7
Merge pull request 'cli: allow age-plugin-1p' ( #3565 ) from push-uzmrpnklrmxw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3565
2025-05-12 06:47:42 +00:00
Michael Hoang
e5250718e6
cli: allow age-plugin-1p
2025-05-12 16:36:24 +10:00
renovate[bot]
0c17fd3d0a
chore(deps): update data-mesher digest to 2666bb1
2025-05-12 00:50:11 +00:00
renovate[bot]
7c148fbeb8
chore(deps): update data-mesher digest to 20e20ac
2025-05-11 22:30:11 +00:00
renovate[bot]
45b64db5a0
chore(deps): update data-mesher digest to 61da4b5
2025-05-11 19:30:10 +00:00
renovate[bot]
4907f5f933
chore(deps): update treefmt-nix digest to 708ec80
2025-05-11 19:00:11 +00:00
Johannes Kirschbauer
abaa6d17f6
Docs: update 'clan.service' examples
2025-05-11 15:46:16 +02:00
renovate[bot]
214158675a
chore(deps): update data-mesher digest to f664c98
2025-05-11 11:30:21 +00:00
renovate[bot]
5716cace29
chore(deps): update treefmt-nix digest to 4819332
2025-05-11 11:10:10 +00:00
Johannes Kirschbauer
38b76aa5e5
Refactor(inventory/manifest): move into seperate file
2025-05-10 13:58:21 +02:00
Johannes Kirschbauer
0b5fa1c731
Refactor(inventory/constraints): use explizit dependency injections instead of specialArgs
2025-05-10 13:42:47 +02:00
Michael Hoang
efd8fa90ba
Merge pull request 'cli: fix machines update not outputting stdout of nixos-rebuild' ( #3552 ) from push-zmlxvwnvrpuk into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3552
2025-05-10 07:15:23 +00:00
Michael Hoang
b46ae13453
cli: fix machines update not outputting stdout of nixos-rebuild
2025-05-10 17:02:56 +10:00
Jeremy Fleischman
f3c2e8f33f
Add /bin/sh to bubblewrap sandbox
...
I ran into this error when trying to run `opendkim-genkey` in a vars
generator:
```console
=========================================================================== Command ===========================================================================
nix \
--extra-experimental-features 'nix-command flakes' \
shell \
--inputs-from /nix/store/9r3ddw80dz4qzci9pj57ppbh6gy2pgv9-clan-cli/lib/python3.12/site-packages/clan_cli/nixpkgs \
'nixpkgs#bash' \
'nixpkgs#bubblewrap' \
-c bwrap \
--unshare-all --tmpfs \
/ \
--ro-bind /nix/store \
/nix/store \
--dev /dev \
--bind /tmp/nix-shell.ClOjgJ/vars-kh4qrnas \
/tmp/nix-shell.ClOjgJ/vars-kh4qrnas \
--chdir / \
--bind /proc \
/proc \
--uid 1000 \
--gid 1000 \
-- bash \
-c /nix/store/p0089w4y1w3h535g7ipv4jl4r6mb2hs2-generator-dkim-playground.jflei.com.mail
=========================================================================== Stderr ============================================================================
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = (unset),
LC_NUMERIC = (unset),
LC_COLLATE = (unset),
LC_TIME = (unset),
LC_MESSAGES = (unset),
LC_MONETARY = (unset),
LC_ADDRESS = (unset),
LC_IDENTIFICATION = (unset),
LC_MEASUREMENT = (unset),
LC_PAPER = (unset),
LC_TELEPHONE = (unset),
LC_NAME = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "/bin/sh": No such file or directory at /nix/store/nfawbww80p1hgpymfgq1vq8wqlak75yh-opendkim-2.11.0-Beta2/sbin/.opendkim-genkey-wrapped line 139.
.opendkim-genkey-wrapped: openssl died with signal %d
127
Return Code: 1
1 hosts failed with an error. Check the logs above
```
As we allow `/bin/sh` in the nix build sandbox, I assume we're OK
allowing it here as well?
2025-05-09 18:33:08 -07:00
Luis Hebendanz
fc60796042
Merge pull request 'clan-cli: Use machine object everywhere instead of name + flake' ( #3541 ) from Qubasa/clan-core:replace_machine_name_with_machine_obj2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3541
2025-05-09 14:01:25 +00:00
Qubasa
01f9bb358e
clan-cli: Use machine object everywhere instead of name + flake
2025-05-09 13:13:14 +02:00
renovate[bot]
c2e1986246
chore(deps): update disko digest to 85555d2
2025-05-08 18:40:10 +00:00
hsjobeki
72091e6665
Merge pull request 'Refactor(inventory/modules): add support for local clan.modules and migrate all checks' ( #3547 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3547
2025-05-08 15:50:26 +00:00
Johannes Kirschbauer
258a5602ad
fix: make sure legacyModules dont end up in localModules for inventory.instances
2025-05-08 17:38:28 +02:00
Johannes Kirschbauer
b71e5378d6
Refactor(inventory/modules): add support for local clan.modules and migrate all checks
2025-05-08 17:17:46 +02:00
Mic92
5b4a0a0311
Merge pull request 'chore(deps): update nix-darwin digest to 6cb36e8' ( #3544 ) from renovate/nix-darwin-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3544
2025-05-08 14:49:18 +00:00
renovate[bot]
756b79da0f
chore(deps): update nix-darwin digest to 6cb36e8
2025-05-08 14:40:13 +00:00
Mic92
1ca577afeb
Merge pull request 'clan evaluation warnings for clan.inventory.modules' ( #3546 ) from improve-container into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3546
2025-05-08 14:38:13 +00:00
Jörg Thalheim
c59b818ff8
clan evaluation warnings for clan.inventory.modules
2025-05-08 16:29:23 +02:00
Mic92
9ce6e8cafd
Merge pull request 'Prettify nspawn output' ( #3545 ) from improve-container into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3545
2025-05-08 14:28:35 +00:00
pinpox
99d347409c
Prettify nspawn output
2025-05-08 16:20:29 +02:00
Qubasa
c87e768bfa
clan-cli: Fix clan not finding vendored packages when running from git repo
2025-05-08 12:31:21 +02:00
Qubasa
5f7b95ac73
clan-cli: remove useless run_no_stdout function
2025-05-08 12:30:16 +02:00
renovate[bot]
1ac55d7447
chore(deps): update disko digest to 6bb82b7
2025-05-08 09:30:10 +00:00
renovate[bot]
143b86a386
chore(deps): update disko digest to c4fe2d1
2025-05-08 02:50:10 +00:00
renovate[bot]
3547898c05
chore(deps): update disko digest to 78d6a13
2025-05-07 18:10:11 +00:00
hsjobeki
ae9f644c64
Merge pull request 'chore: deprecate usage of inventory.modules in favor of clan.modules' ( #3314 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3314
2025-05-07 17:21:19 +00:00
Johannes Kirschbauer
c78b736dd5
chore: deprecate usage of inventory.modules in favor of clan.modules
2025-05-07 19:12:07 +02:00
Mic92
3aec527a63
Merge pull request 'clan-cli: Refactor the API to use the Flake object' ( #3539 ) from Qubasa/clan-core:Qubasa-replace_machine_name_with_machine_obj into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3539
2025-05-07 16:57:32 +00:00
Qubasa
89decdaf7e
clan-cli: Refactor the API to use the Flake object
2025-05-07 16:43:50 +00:00
hsjobeki
60a2246944
Merge pull request 'Feat(modules): display clan.service modules' ( #3537 ) from hsjobeki/clan-core:module-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3537
2025-05-07 15:33:49 +00:00
Mic92
d1f428bf73
Merge pull request 'chore(deps): update data-mesher digest to 4347dfb' ( #3538 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3538
2025-05-07 14:53:57 +00:00
Johannes Kirschbauer
3c7f08ebaf
fix(tests/modules): list_modules returns moduleSets"
2025-05-07 16:46:13 +02:00
renovate[bot]
75de7eaf5f
chore(deps): update data-mesher digest to 4347dfb
2025-05-07 16:42:17 +02:00
hsjobeki
0b5d9bef8b
Merge pull request 'feat(UI): design fixups in {machineList, machineItem, machineDetails, sidebar, sidebarHeader, button, sidebar}' ( #3528 ) from amunsen/clan-core:ui-improvements into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3528
2025-05-07 14:23:49 +00:00
Timo
ba0297f098
fixes after npm run check
2025-05-07 16:12:35 +02:00
Johannes Kirschbauer
3413a08c4e
Feat(modules): display clan.service modules
2025-05-07 16:03:39 +02:00
Timo
71b51356a7
machine-list:loading skeleton
2025-05-07 15:31:44 +02:00
Timo
a584a6d6c5
sidebar-header: updates design
2025-05-07 15:31:44 +02:00
Timo
69d61abc91
flash install: fixes form layout
2025-05-07 15:31:42 +02:00
Timo
067e5936cc
tailwind: updates color values
2025-05-07 15:30:37 +02:00
Timo
b9bd2b3729
machine-details: updates form layout
2025-05-07 15:30:01 +02:00
Timo
3898f2f449
machine-item: adds border to thumb
2025-05-07 15:28:44 +02:00
Timo
9c09375805
machine-item: updates design and unifies
2025-05-07 15:28:44 +02:00
Timo
8f2794993d
button component: introduces button-ghost dedicated styles
2025-05-07 15:28:44 +02:00
Timo
4c62ea53c5
sidebar component: removes pseudo marker
2025-05-07 15:28:44 +02:00
Jörg Thalheim
1037bd115b
Revert "Merge pull request 'clan-cli: Refactor the API to use the Flake object' ( #3531 ) from Qubasa/clan-core:replace_machine_name_with_machine_obj into main"
...
This reverts commit c09618b323 , reversing
changes made to 45b2539455 .
2025-05-07 15:24:57 +02:00
Mic92
c09618b323
Merge pull request 'clan-cli: Refactor the API to use the Flake object' ( #3531 ) from Qubasa/clan-core:replace_machine_name_with_machine_obj into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3531
2025-05-07 13:21:13 +00:00
Mic92
45b2539455
Merge pull request 'Flake: remove unused variable and mark other fields as non-init' ( #3535 ) from cleanup-flake into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3535
2025-05-07 13:20:10 +00:00
Mic92
4733cc5241
Merge pull request 'chore(deps): update data-mesher digest to a454b9f' ( #3532 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3532
2025-05-07 13:18:25 +00:00
renovate[bot]
72fbb5282c
chore(deps): update data-mesher digest to a454b9f
2025-05-07 13:00:09 +00:00
Mic92
88d983a6e6
Merge pull request 'Fix debug command to attach to container' ( #3534 ) from container-debug into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3534
2025-05-07 12:56:33 +00:00
pinpox
f4d7e7a3cb
Fix debug command to attach to container
2025-05-07 14:41:18 +02:00
Jörg Thalheim
f3a6fe8870
Flake: remove unused variable and mark other fields as non-init
2025-05-07 14:40:22 +02:00
renovate[bot]
8cd3aad680
Update data-mesher digest to c14644b
2025-05-07 11:20:09 +00:00
DavHau
e85532ec7d
Merge pull request 'GUI: initialize support for vars prompts' ( #3529 ) from DavHau/clan-core:gui-prompts into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3529
2025-05-07 11:15:32 +00:00
Qubasa
a6a69bb09b
clan-cli: Refactor the API to use the Flake object
2025-05-07 13:12:48 +02:00
DavHau
18e75c9954
GUI: initialize support for vars prompts
...
... for now only when updating a machine (not when installing)
Whenever the user clicks on the update button in the machine view, and only if user input is needed for some missing vars, the user will be forwarded to a vars page.
2025-05-07 18:06:35 +07:00
kenji
c21262b52d
Merge pull request 'vars/interface: Fix typo' ( #3522 ) from kenji/clan-core:ke-vars-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3522
2025-05-06 19:48:08 +00:00
a-kenji
812b81f38e
vars/interface: Fix typo
2025-05-06 19:48:08 +00:00
kenji
c7468b9ddf
Merge pull request 'container-test-driver: Fix test naming' ( #3521 ) from kenji/clan-core:ke-vmctn into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3521
2025-05-06 19:47:53 +00:00
a-kenji
c782ef5a79
container-test-driver: Fix test naming
...
Fix the container test naming, as this otherwise can be very confusing.
2025-05-06 19:47:53 +00:00
hsjobeki
b522ec17b0
Merge pull request 'api-1' ( #3524 ) from hsjobeki/clan-core:api-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3524
2025-05-06 17:08:02 +00:00
hsjobeki
1ae278822b
Merge pull request 'Refactor(machine/class): use frozen dataclass for class 'machine'' ( #3520 ) from hsjobeki/clan-core:api-cleanup-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3520
2025-05-06 17:07:51 +00:00
Johannes Kirschbauer
f83a823e49
fix(services): features.API set to true and readOnly
2025-05-06 18:58:40 +02:00
Johannes Kirschbauer
cb8be5015b
feat(modules): derive module list from inputs and local modules
2025-05-06 18:57:54 +02:00
kenji
0108294b5f
Merge pull request 'adr/2: Fix typo' ( #3523 ) from kenji/clan-core:ke-adr-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3523
2025-05-06 16:33:19 +00:00
a-kenji
7a49235a24
adr/2: Fix typo
2025-05-06 18:23:45 +02:00
hsjobeki
140c987b9e
Merge pull request 'Refactor(machine/install): don't mutate the machine class during installation' ( #3519 ) from hsjobeki/clan-core:api-cleanup-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3519
2025-05-06 15:21:21 +00:00
Johannes Kirschbauer
f0d42c839b
Refactor(machine/class): use frozen dataclass for class 'machine'
2025-05-06 17:12:52 +02:00
Johannes Kirschbauer
79a54616e5
Refactor(machine/install): don't mutate the machine class during installation
2025-05-06 17:09:37 +02:00
hsjobeki
d10c57e647
Merge pull request 'Refactor(machine/update): cleanup dataflow and logic conditions to be intuitive' ( #3518 ) from hsjobeki/clan-core:api-cleanup-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3518
2025-05-06 15:02:05 +00:00
Johannes Kirschbauer
d8883db24d
Refactor(machine/update): cleanup dataflow and logic conditions to be intuitive
2025-05-06 16:49:32 +02:00
Mic92
ec5c87c47c
Merge pull request 'Host: actual setup ssh controlmaster' ( #3515 ) from fix-control-master into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3515
2025-05-06 11:21:05 +00:00
Jörg Thalheim
f3c673d165
only apply ssh control master to local ssh connection
2025-05-06 13:11:30 +02:00
Jörg Thalheim
5846f5d63a
Host: actual setup ssh controlmaster
...
before we were not entering the context manager
2025-05-06 13:11:30 +02:00
Mic92
cdcad175c4
Merge pull request 'Add CODEOWNERS and tag @lopter as a reviewer on vars and secrets changes' ( #3508 ) from lopter/clan-core:lo-vars-codeowner into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3508
2025-05-06 10:48:46 +00:00
hsjobeki
494c7139c5
Merge pull request 'chore(API): cleanup remove unnused functions' ( #3516 ) from hsjobeki/clan-core:api-cleanup-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3516
2025-05-06 10:42:37 +00:00
Johannes Kirschbauer
19dbab01d7
chore(API): cleanup remove unnused functions
2025-05-06 12:29:11 +02:00
kenji
05428c1c5c
Merge pull request 'container-test-driver/nsenter: Improve printing of command' ( #3514 ) from kenji/clan-core:ke-nsenter-pprint into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3514
2025-05-06 10:11:20 +00:00
a-kenji
80007942d5
container-test-driver/nsenter: Improve printing of command
...
Improves printing of `nsenter` command, so that it can easier be copied.
2025-05-06 10:11:20 +00:00
Mic92
83357ebc3c
Merge pull request 'fix clan machines update with build-host' ( #3512 ) from build-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3512
2025-05-06 09:56:48 +00:00
Jörg Thalheim
28227e8b0a
fix build_host set if it doesn't exist
2025-05-06 09:56:58 +02:00
Mic92
1d1b7c73b5
Merge pull request 'fix incorrect target host when build host is set' ( #3511 ) from ssh-foo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3511
2025-05-06 07:54:40 +00:00
Jörg Thalheim
e8d2ae2d7e
fix incorrect target host when build host is set
2025-05-06 09:54:08 +02:00
Mic92
d03ba3da7f
Merge pull request 'decisions: propose an ADR to formalize the ADR numbering process' ( #3507 ) from lopter/clan-core:lo-adr-numbering-process into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3507
2025-05-06 07:32:41 +00:00
Jörg Thalheim
19947c6d6b
fix incorrect target host when build host is set
2025-05-06 09:26:59 +02:00
Louis Opter
532d188612
Add CODEOWNERS and tag @lopter as a reviewer on vars and secrets changes
...
Since I am working in those areas through [ADR-7], I would like to know
when they get changed, and possibly have a say.
[ADR-7]: https://git.clan.lol/clan/clan-core/pulls/3196
2025-05-05 23:40:11 +00:00
Louis Opter
bc8253d556
decisions: propose an ADR to formalize the ADR numbering process
2025-05-05 23:22:31 +00:00
renovate[bot]
ef7478db10
chore(deps): update sops-nix digest to e93ee1d
2025-05-05 22:50:09 +00:00
Luis Hebendanz
a887e26fef
Merge pull request 'clan-cli: fix bubblewrap not finding bash when IN_NIX_SANDBOX=1 if prev environment doesn't have it in PATH' ( #3503 ) from Qubasa/clan-core:fix_bubblewrap_bash_path into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3503
2025-05-05 21:07:22 +00:00
Luis Hebendanz
d55e70506d
Merge pull request 'clan-cli: add test_create in clan_lib test folder' ( #3501 ) from Qubasa/clan-core:api_vm_test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3501
2025-05-05 20:29:57 +00:00
Qubasa
073304ec6b
clan-cli: fix bubblewrap not finding bash when IN_NIX_SANDBOX=1 if prev environment doesn't have it in PATH
2025-05-05 22:19:17 +02:00
hsjobeki
f6b0b5ada5
Merge pull request 'API(cli): add method to Flake class to allow calling nix functions' ( #3502 ) from hsjobeki/clan-core:improvements-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3502
2025-05-05 20:16:28 +00:00
Qubasa
b90812ecce
clan-cli: add test_create in clan_lib test folder
2025-05-05 22:16:02 +02:00
Johannes Kirschbauer
dfa5a228e8
feat(clanLib): init evalServiceSchema
2025-05-05 21:55:29 +02:00
Johannes Kirschbauer
750cca1991
API(cli): add method to Flake class to allow calling nix functions
2025-05-05 21:46:20 +02:00
Johannes Kirschbauer
c88c68749e
API(clanInternals): add 'evalServiceSchema' endpoint
2025-05-05 21:46:20 +02:00
Johannes Kirschbauer
2d5e337f81
tests: add error prefix for json schema in checks
2025-05-05 21:46:16 +02:00
renovate[bot]
2b7e14ab64
chore(deps): update nixpkgs digest to ed30f8a
2025-05-05 16:10:18 +00:00
renovate[bot]
f0a70d3625
chore(deps): update data-mesher digest to d63db16
2025-05-05 15:50:11 +00:00
Mic92
40fc0151fe
Merge pull request 'Log nsenter command on container tests' ( #3498 ) from log-nsenter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3498
2025-05-05 12:01:08 +00:00
pinpox
1708176dce
Log nsenter command on container tests
2025-05-05 13:00:11 +02:00
DavHau
23d19f1a52
vars: improve API of generate_vars_for_machine
...
receive list of generator names as an argument instead of generator objects
2025-05-05 15:55:04 +07:00
renovate[bot]
96f14fb861
chore(deps): update data-mesher digest to 0b5ff29
2025-05-05 08:10:11 +00:00
renovate[bot]
7c4de75462
chore(deps): update nixpkgs digest to 6b1c028
2025-05-05 07:30:25 +00:00
renovate[bot]
8c4a5255fa
chore(deps): lock file maintenance
2025-05-05 02:20:11 +00:00
renovate[bot]
ffb06d1032
chore(deps): update disko digest to 7b63642
2025-05-04 20:50:09 +00:00
Mic92
ccf3091819
Merge pull request 'bind ssh controlmaster to live time of CLI' ( #3491 ) from ssh-refactoring into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3491
2025-05-04 14:45:13 +00:00
Jörg Thalheim
be79d75c08
bind ssh controlmaster to live time of CLI
2025-05-04 16:28:14 +02:00
Mic92
310e8b7fe7
Merge pull request 'test vars permissions in dummy-test' ( #3490 ) from non-secret-var into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3490
2025-05-04 13:07:39 +00:00
Jörg Thalheim
6f70a9ec01
vars: warn if mode/owner/user is used on non-secret var
2025-05-04 14:59:22 +02:00
Jörg Thalheim
271618d182
clanTest: remove unneeded parantheses
2025-05-04 14:59:22 +02:00
Jörg Thalheim
f06296aa94
vars: fix defaultText
2025-05-04 14:59:22 +02:00
Jörg Thalheim
4ef664a496
test vars permissions in dummy-test
2025-05-04 14:59:22 +02:00
Jörg Thalheim
dc4268dbf2
fix ssh control master check ( #3488 )
...
Co-authored-by: pinpox <git@pablo.tools >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3488
Co-authored-by: Jörg Thalheim <joerg@thalheim.io >
Co-committed-by: Jörg Thalheim <joerg@thalheim.io >
2025-05-04 12:49:53 +00:00
Mic92
a9d1b776e3
Merge pull request 'Revert "Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main"' ( #3489 ) from revert-sudo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3489
2025-05-04 11:40:28 +00:00
Jörg Thalheim
9af16037a2
Revert "Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main"
...
This reverts commit fbc0f9cde5 , reversing
changes made to b47c25c620 .
2025-05-04 13:37:39 +02:00
Mic92
fbc0f9cde5
Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3470
2025-05-04 11:36:39 +00:00
Jörg Thalheim
f640beaec5
tests_secrets_cli: improve assertion message for pgp key
2025-05-04 10:51:49 +02:00
Jörg Thalheim
bd53342e50
fix terminal output when terminal is put into interactive mode
2025-05-04 10:51:49 +02:00
Jörg Thalheim
28c06bbdc1
update: fix sudo password prompt
2025-05-04 10:51:49 +02:00
Jörg Thalheim
39880f9434
fix upload when sudo prompts are needed
2025-05-04 10:51:49 +02:00
Mic92
b47c25c620
Merge pull request 'Miscellaneous ssh fixes.' ( #3487 ) from misc-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3487
2025-05-04 08:51:31 +00:00
Mic92
2b92b1f1b4
Merge pull request 'update_hardware_config: use host.run rather than adhoc ssh command' ( #3486 ) from control-master into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3486
2025-05-04 08:47:34 +00:00
Jörg Thalheim
7079e7f538
cmd: don't shadow time module
2025-05-04 10:39:50 +02:00
Jörg Thalheim
fb4421427b
Host: always set needs_user_terminal for ssh commands, only override prefix if given by user
2025-05-04 10:39:39 +02:00
Jörg Thalheim
ef07a5b217
run_local: allow stdin to be a file descriptor
2025-05-04 10:39:28 +02:00
Jörg Thalheim
d98c01bc3a
update_hardware_config: use host.run rather than adhoc ssh command
2025-05-04 10:30:46 +02:00
Jörg Thalheim
35ee7986d7
rename connect_ssh_shell to interactive_ssh
...
better name than secure shell shell
2025-05-04 10:28:43 +02:00
Jörg Thalheim
75cb031e6e
move password/tor_socks into Host attributes
...
we set those parameters usually just once.
2025-05-04 10:28:43 +02:00
Mic92
0dc7e71e21
Merge pull request 'configure ControlMaster and ControlPath for SSH connections' ( #3485 ) from control-master into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3485
2025-05-04 07:59:13 +00:00
Jörg Thalheim
2f32e5bde2
configure ControlMaster and ControlPath for SSH connections
...
This should speed up deployments by not having to reconnect to the server on each command
2025-05-04 09:48:37 +02:00
Mic92
f970d39eef
Merge pull request 'facts/sops: no longer upload age key' ( #3484 ) from facts-no-age-upload into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3484
2025-05-04 07:40:05 +00:00
Jörg Thalheim
f86c874ac8
facts/sops: no longer upload age key
...
The vars backend already does this for us.
This avoids duplicated work.
2025-05-04 09:29:29 +02:00
Mic92
376ab40c4b
Merge pull request 'chore(deps): update nixpkgs digest to f21e454' ( #3445 ) from renovate/nixpkgs-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3445
2025-05-04 07:16:50 +00:00
Mic92
655c7e4eed
Merge pull request 'Avoid a few cases of chmod-after-creation' ( #3438 ) from tangential/clan-core:it-s_a_race into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3438
2025-05-04 07:08:43 +00:00
Jörg Thalheim
ee8921273a
disable age-plugin-se for now on aarch64-linuxql
...
disable
2025-05-04 09:07:06 +02:00
Mic92
08a5ad0848
Merge pull request 'clanCore/vars/sops: only copy required secrets to store' ( #3457 ) from vdbe/clan-core:clanCore/vars/sops/only-copy-used into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3457
2025-05-04 06:41:37 +00:00
vdbe
26f336cf69
clanCore/vars/sops: add sops & switch to builtins.path
2025-05-04 08:08:58 +02:00
vdbe
f3e32ce827
clanCore/vars/sops: only copy required secrets to store
...
Create a store path per in repo secret/var to be copied, this prevents
unused secrets from being leaked.
For example the `root-password` generator contains both the hashed and
unhashed password but only the hash is used.
2025-05-04 08:08:58 +02:00
renovate[bot]
be95326fa9
chore(deps): update nixpkgs digest to f21e454
2025-05-04 06:00:13 +00:00
Mic92
dcb3eb95dc
Merge pull request 'Set terminal on nix flake update/archive' ( #3468 ) from fix-shell-on-copy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3468
2025-05-04 05:59:58 +00:00
Mic92
91f4ee0e5a
Merge pull request 'don't depend on git for flake inputs' ( #3483 ) from no-git into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3483
2025-05-04 05:48:10 +00:00
Mic92
1e2173284f
Merge pull request 'morph: speed up test by enabling useNixStoreImage' ( #3481 ) from morph into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3481
2025-05-04 05:40:50 +00:00
Jörg Thalheim
51a57ba962
don't depend on git for flake inputs
...
This makes migration of an existing machine without git installed
easier:
fixes:
https://git.clan.lol/clan/clan-core/issues/3465#issuecomment-28189
2025-05-04 07:30:49 +02:00
Jörg Thalheim
aa50a3e985
morph: speed up test by enabling useNixStoreImage
2025-05-04 07:29:31 +02:00
renovate[bot]
5ca344c285
chore(deps): update data-mesher digest to 6544fb9
2025-05-03 21:00:09 +00:00
DavHau
890eb3a882
GUI/devshell: hot reload python API
...
This change speeds up the development workflow on the GUI when modifying the python api
The GUI started from the devshell already hot reloads itself on any change of the typescript codebase.
But python api changes were not caught bu the hot reload and required a reload of the devshell which is slow.
This change implements a custom vite plugin to also listen to changes coming from the clan-cli python code and re-generate the python-ts api on any change.
2025-05-03 19:22:16 +07:00
renovate[bot]
1272dfd325
chore(deps): update data-mesher digest to 642de25
2025-05-03 08:50:09 +00:00
renovate[bot]
94cc972a21
chore(deps): update data-mesher digest to 13026a9
2025-05-03 08:10:09 +00:00
DavHau
71cdbc989c
GUI/vars: add endpoints for getting prompts and generating vars
2025-05-03 14:44:51 +07:00
DavHau
6e9382b942
refactor(vars): move migration logic to extra file
2025-05-03 07:33:11 +00:00
renovate[bot]
d0e3c3a76c
Update nix-darwin digest to 760a11c
2025-05-03 07:00:13 +00:00
DavHau
b9a20ef6a5
GUI: generate sops key when creating clan
2025-05-03 13:00:27 +07:00
renovate[bot]
d1021e24f4
Update treefmt-nix digest to 29ec502
2025-05-02 20:40:11 +00:00
pinpox
938dc5b155
Set terminal on nix flake update/archive
...
When using resident SSH-keys (-sk), e.g. from a Yubikey that require a
Pin, a terminal is needed to be able to enter it during deployment.
2025-05-02 15:41:29 +02:00
Mic92
2d1ddced6f
Merge pull request 'Update data-mesher digest to 80b8ba4' ( #3469 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3469
2025-05-02 13:31:17 +00:00
renovate[bot]
129411d22f
Update data-mesher digest to 80b8ba4
2025-05-02 13:20:10 +00:00
renovate[bot]
81cd4ea67a
Update data-mesher digest to ba46584
2025-05-02 03:40:09 +00:00
brianmcgee
300404c2e2
Merge pull request 'clan-cli select: fix returning early on list select' ( #3464 ) from select-lists-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3464
2025-05-01 16:06:31 +00:00
lassulus
8eeea85a16
clan-cli select: fix returning early on list select
2025-05-02 00:16:21 +09:00
renovate[bot]
f099a8e54e
Update data-mesher digest to 9d10655
2025-05-01 13:30:09 +00:00
Mic92
76275da3b0
Merge pull request 'correct capitilization for targetHost in error message' ( #3461 ) from target-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3461
2025-05-01 13:21:42 +00:00
Mic92
0b6ac9bf4c
Merge pull request 'clan_cli flake caching: fix caching of store files' ( #3458 ) from select-store-caching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3458
2025-05-01 13:12:05 +00:00
Jörg Thalheim
22608dd0c2
correct capitilization for targetHost in error message
2025-05-01 15:11:05 +02:00
renovate[bot]
ee283f6229
chore(deps): update data-mesher digest to 2327a7e
2025-05-01 06:50:09 +00:00
lassulus
fc1f563f7a
clan_cli flake caching: fix caching of store files
2025-05-01 13:40:12 +09:00
renovate[bot]
4ef8ef4542
chore(deps): update data-mesher digest to c74c5ed
2025-04-30 16:10:09 +00:00
hsjobeki
617b87b29e
Merge pull request 'Refactor(inventory): move prio 'introspection' into inventoryClass to minimize the 'clanInternals' api' ( #3440 ) from hsjobeki/clan-core:ui-fixups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3440
2025-04-30 10:24:34 +00:00
kenji
ceb706b38a
Merge pull request 'docs/reference: Improve wording of reference overview' ( #3454 ) from kenji/clan-core:ke-docs-improve-reference into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3454
2025-04-30 10:19:12 +00:00
a-kenji
e43ad8b217
docs/reference: Improve wording of reference overview
...
There is no value in calling it "automatically extracted" - but it is
potentially misleading.
2025-04-30 10:19:12 +00:00
hsjobeki
15fcb255d7
Merge pull request 'fix(clan-app): Misc ui styling fixes' ( #3451 ) from amunsen/clan-core:ui-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3451
2025-04-30 10:18:42 +00:00
Johannes Kirschbauer
06886d670f
Fix: fix sidebar marker for webkit
2025-04-30 12:05:51 +02:00
kenji
a3574079a8
Merge pull request 'clanModules/password: Fix vars documentation' ( #3453 ) from kenji/clan-core:ke-fix-vars-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3453
2025-04-30 10:05:22 +00:00
a-kenji
a0ec0a0bea
clanModules/password: Fix vars documentation
2025-04-30 11:55:23 +02:00
Johannes Kirschbauer
d0f708cce5
Fix: remove unused classNames
2025-04-30 11:43:29 +02:00
Timo
fd65b9c3c0
modules page: improves design cohesiveness of module components
2025-04-30 11:16:10 +02:00
Timo
26303eadaa
form component: unify values and improve cohesiveness of overall design within dyn-form component
2025-04-30 11:14:19 +02:00
Timo
6680044176
form components: adds general fieldset component and accordion component
2025-04-30 11:13:32 +02:00
Timo
5bbfb007a6
button component: adds button-group component
2025-04-30 11:12:06 +02:00
Timo
992a7774ff
button component: moves dark style button into dedicated style classes
2025-04-30 11:09:03 +02:00
Timo
55dedd8fe1
button component: orders classes and properties, moves tailwind classes to dedicates css file for better DOM readability
2025-04-30 11:09:03 +02:00
Timo
7dbc9b0593
sidebarListItem: fixed active states to be displayed in ui
2025-04-30 11:09:03 +02:00
Timo
34d4cc9b4f
general layout: removes drawer-component and adjusts font sizes in sidebar
2025-04-30 11:09:01 +02:00
Johannes Kirschbauer
0d003f5424
Refactor(inventory): move prio 'introspection' into inventoryClass to minimize the 'clanInternals' api
2025-04-30 11:02:58 +02:00
DavHau
e2d1ca0439
ci-performance: remove self reference from installation test
2025-04-30 15:53:18 +07:00
DavHau
02ca5bd870
gui: make update machine work
...
Also fix error when age plugins not defined
2025-04-30 15:28:49 +07:00
DavHau
e6ad61c266
app: open welcome page if clan doesn't exist
...
Previously if a user started the app and the last opened clan directory does not exist anymore, it would still show the clan screen but without any machines.
This changes catches this case and throws the user back to the clan selection page
2025-04-30 14:48:05 +07:00
Mic92
fcc293ab3a
Merge pull request 'chore(deps): update data-mesher digest to 517092d' ( #3441 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3441
2025-04-30 06:48:06 +00:00
renovate[bot]
899aa9a013
chore(deps): update data-mesher digest to 517092d
2025-04-30 06:40:11 +00:00
DavHau
f74e02f5e3
add select file that shouldn't exist but does to gitignore
2025-04-30 13:28:19 +07:00
DavHau
1e8864b9ec
ci performance: add check to ensure nothing depends on the whole repo
...
Since this project is an ever growing monorepo, having derivations depending on the whole repo leads to bad CI performance, as the cache is busted on every commit.
-> We never want any derivations depend on the whole repo
...except: the test that tests that nothing depends on the whole repo, which is added by this commit.
For now only add this check to packages to allow contributors to build it locally.
We might want to add it to the CI later once all occurrences are fixed.
2025-04-30 13:17:33 +07:00
hsjobeki
c1b64df806
Merge pull request 'refactor(clan.service): make evalClanService a standalone function to interact with standalone modules' ( #3444 ) from hsjobeki/clan-core:clan-services-4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3444
2025-04-29 13:38:02 +00:00
Johannes Kirschbauer
662787f96e
Checks: add json-compat check wrapper to ensure all clan.modules stay json-compatible
2025-04-29 15:31:02 +02:00
Johannes Kirschbauer
d6714355b5
refactor(clan.service): make evalClanService a standalone function to interact with standalone modules
2025-04-29 15:12:44 +02:00
renovate[bot]
4ad8734768
chore(deps): update treefmt-nix digest to 82bf32e
2025-04-29 13:00:11 +00:00
hsjobeki
059fd0fd01
Merge pull request 'Feat(clan.service): require roles.interface to be json serializable' ( #3442 ) from hsjobeki/clan-core:clan-services-4 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3442
2025-04-29 12:51:10 +00:00
Johannes Kirschbauer
12709227ee
Feat(clan.service): require roles.interface to be json serializable
2025-04-29 14:42:47 +02:00
kenji
6f1bb3ebb3
Merge pull request 'clanModules/iwd: Migrate from facts to vars' ( #3439 ) from kenji/clan-core:ke-iwd-migrate-to-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3439
2025-04-29 12:03:56 +00:00
a-kenji
287cd4b42a
clanModules/iwd: Migrate from facts to vars
2025-04-29 13:55:45 +02:00
Michael Hoang
5446923485
Merge pull request 'age plugin support' ( #3322 ) from feat/age-plugin-support into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3322
2025-04-29 06:12:44 +00:00
Brian McGee
651b277bb9
feat: configure age plugins for SOPS in buildClan
2025-04-29 16:02:32 +10:00
Brian McGee
e281b689df
fix: multiple user keys in secrets
...
We were not loading all the user keys, only the first one.
2025-04-29 15:47:54 +10:00
Brian McGee
1bfe318865
feat: support age plugins
...
Extends how we parse the contents of `SOPS_AGE_KEY` / `SOPS_AGE_KEY_FILE` / `keys.txt`, allowing a user to prepend a comment before any `AGE-PLUGIN-` secret key entry to indicate its corresponding public key.
For example:
```
AGE-PLUGIN-FIDO2-HMAC-xxxxxxxxxxxxx
```
The comment can use any prefix (e.g. `# public key: age1xxxx`, `# recipient: age1xxx`) as we are looking directly for `age1xxxx` within the line.
This change is necessary to support `age` plugins as there is no unified mechanism to recover the public key from a plugin's secret key.
If a plugin secret key does not have a preceding public key comment, an error will be thrown when attempting to set a secret.
2025-04-29 15:47:54 +10:00
Michael Hoang
3800b8cc1d
Merge pull request 'chore(deps): lock file maintenance' ( #3365 ) from renovate/lock-file-maintenance into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3365
2025-04-29 05:22:24 +00:00
Michael Hoang
41d875cb31
container-test-driver: fix SSH not working inside container tests
2025-04-29 15:10:09 +10:00
Michael Hoang
bfc4dc89f2
container-test-driver: add Machine.fail
2025-04-29 14:57:58 +10:00
renovate[bot]
84c169f695
chore(deps): lock file maintenance
2025-04-29 02:00:26 +00:00
renovate[bot]
100f1cee66
chore(deps): update data-mesher digest to 11b5673
2025-04-29 01:40:09 +00:00
Jonathan Thiessen
9f745ff637
Avoid a few cases of chmod-after-creation
2025-04-28 17:11:21 -07:00
DavHau
cbdfe35748
build-clan: Throw better error when _class is not provided by nixpkgs
2025-04-28 15:49:14 +00:00
renovate[bot]
8c58643d86
chore(deps): update treefmt-nix digest to 763f1ce
2025-04-28 14:30:15 +00:00
hsjobeki
70e0489560
Merge pull request 'ui-fixups' ( #3436 ) from hsjobeki/clan-core:ui-fixups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3436
2025-04-28 12:34:16 +00:00
Johannes Kirschbauer
5f31edf3a5
Fix(app/machine/create): fix css styling inconsistencies, remove ability to set tags
2025-04-28 14:25:29 +02:00
Johannes Kirschbauer
035b27a99c
Fix(app/sidebar): remove duplicate marker
2025-04-28 14:15:02 +02:00
Johannes Kirschbauer
1ac73ae866
Chore(app): re-enable classname linting to be an error
2025-04-28 14:14:42 +02:00
hsjobeki
45deca6959
Merge pull request 'Fix(app/machines): fix css styling of machine list overview' ( #3435 ) from hsjobeki/clan-core:ui-fixups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3435
2025-04-28 12:08:07 +00:00
Johannes Kirschbauer
e307d34e8b
Fix(app/machines): fix css styling of machine list overview
2025-04-28 14:00:17 +02:00
renovate[bot]
c1b3a58cd7
chore(deps): update treefmt-nix digest to d1863f3
2025-04-28 11:10:15 +00:00
DavHau
5a61af4ef1
Merge pull request 'Revert "chore(deps): update data-mesher digest to 41534a3"' ( #3432 ) from DavHau/clan-core:revert-data-mesher into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3432
2025-04-28 11:07:34 +00:00
DavHau
d4dcc1e4fc
Revert "chore(deps): update data-mesher digest to 41534a3"
...
This reverts commit 78a886c28c .
2025-04-28 17:55:04 +07:00
renovate[bot]
78a886c28c
chore(deps): update data-mesher digest to 41534a3
2025-04-28 08:00:20 +00:00
renovate[bot]
c3be0a9c94
chore(deps): update treefmt-nix digest to c6d3010
2025-04-28 07:40:10 +00:00
renovate[bot]
c04a56fa65
chore(deps): update nix-darwin digest to 4515dac
2025-04-28 05:30:10 +00:00
renovate[bot]
21422afc9f
chore(deps): update disko digest to d0c543d
2025-04-28 04:40:10 +00:00
Michael Hoang
5b04146ee3
Merge pull request 'cli: don't depend on the entire clan-core' ( #3424 ) from push-pzytrksvysmu into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3424
2025-04-28 03:30:01 +00:00
Michael Hoang
87e3e59ba0
cli: don't depend on the entire clan-core
2025-04-28 13:20:07 +10:00
Michael Hoang
2f95d2edf2
cli: fallback to bundled Nixpkgs
2025-04-28 13:10:00 +10:00
Michael Hoang
7100277599
Merge pull request 'cli: don't use select from clanLib' ( #3423 ) from push-ywotxpmyxlwp into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3423
2025-04-28 03:01:48 +00:00
Michael Hoang
c3842902ac
cli: don't use select from clanLib
2025-04-28 12:52:00 +10:00
renovate[bot]
79db3652df
chore(deps): update data-mesher digest to 8d0a67b
2025-04-28 00:30:10 +00:00
renovate[bot]
7322172796
chore(deps): update treefmt-nix digest to b2b6c02
2025-04-27 20:30:24 +00:00
renovate[bot]
2e6d39b2e1
chore(deps): update data-mesher digest to f05729d
2025-04-27 20:10:09 +00:00
hsjobeki
9c3d5ddfbd
Merge pull request 'Chore: remove unused legacy endpoints' ( #3418 ) from hsjobeki/clan-core:chores-remove-unused into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3418
2025-04-27 11:25:00 +00:00
Johannes Kirschbauer
fbd291ba11
chore: remove unused moduleSchemas and related API endpoint for legacy modules
...
We didn't reach the state where we would display these schemas in the
UI.
We might need to wire this up in a similar way for the newer
clan.services
2025-04-27 13:14:09 +02:00
Johannes Kirschbauer
06e2fcf9fa
refactor: rename clanLib.values to introspection
2025-04-27 13:10:42 +02:00
hsjobeki
45ff9c587c
Merge pull request 'Feat(clan.service): init automatic assertions for api schema checks' ( #3416 ) from hsjobeki/clan-core:new-json-schemas into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3416
2025-04-27 11:07:12 +00:00
hsjobeki
e8959b3e11
Merge pull request 'fix: typo in auto-upgrade clanModule' ( #3417 ) from hsjobeki/clan-core:fix-auto-upgrade into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3417
2025-04-27 10:13:22 +00:00
Johannes Kirschbauer
7708df94c0
fix: typo in auto-upgrade clanModule
2025-04-27 12:04:03 +02:00
Johannes Kirschbauer
be165c1462
Feat(clan.service): init automatic assertions for api schema checks
2025-04-27 11:49:56 +02:00
hsjobeki
8b1cc021f3
Merge pull request 'Feat(clan.service): enable opt-in json-schema restriction for clan.service interface modules' ( #3415 ) from hsjobeki/clan-core:new-json-schemas into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3415
2025-04-27 09:49:08 +00:00
Johannes Kirschbauer
5253c155c0
feat(services): init feature flags in the module manifest: 'manifest.features.API'
2025-04-27 11:07:45 +02:00
Johannes Kirschbauer
f5c61382dd
chore: remove unused option 'clanSchema' from core nixos modules
2025-04-27 11:07:45 +02:00
hsjobeki
8bff27a76d
Merge pull request 'Init 'clan_lib' namespace and migrate clan_cli.api' ( #3414 ) from hsjobeki/clan-core:clan-lib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3414
2025-04-26 18:29:35 +00:00
Johannes Kirschbauer
f67bf3c940
Fix(clan_lib.api): fix cyclic import problem for api schema export
2025-04-26 20:19:23 +02:00
Johannes Kirschbauer
f6628ec1a9
Refactor(clan_lib): move clan_cli.api into clan_lib.api
2025-04-26 19:51:35 +02:00
Johannes Kirschbauer
35c280ffa7
Refactor(clan_cli): init clan_lib folder
2025-04-26 19:50:11 +02:00
Mic92
d1041e400f
Merge pull request 'nixpkgs source: delete existing symlink' ( #3411 ) from nixpkgs-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3411
2025-04-25 14:41:23 +00:00
Jörg Thalheim
d57c1ec7d7
nixpkgs source: delete existing symlink
2025-04-25 16:31:35 +02:00
Luis Hebendanz
107170804b
Merge pull request 'clan-cli: Expose private_key to Machine class, in the future we should merge Machine and Host class' ( #3407 ) from Qubasa/clan-core:vpb-patches2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3407
2025-04-25 12:26:00 +00:00
Qubasa
3214d27f0b
clan-cli: Improve remote destination depth validation with detailed error messaging
2025-04-25 14:00:40 +02:00
Qubasa
f1a7f2aa69
clan-cli: Expose private_key to Machine class, in the future we should merge Machine and Host class
2025-04-25 13:38:03 +02:00
Mic92
0ceea4c8bf
Merge pull request 'clanCore/vars: allow mode to be set' ( #3404 ) from visualphoenix/clan-core:mode_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3404
2025-04-25 09:44:25 +00:00
Raymond Barbiero
4117eb2f37
clanCore/vars: allow mode to be set
...
fmt
2025-04-25 11:29:43 +02:00
Michael Hoang
a0f2eb9a30
Merge pull request 'lib: move select.select -> select for backwards compat with old CLIs' ( #3410 ) from push-vxxntzmwuzzx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3410
Reviewed-by: lassulus <clanlol@lassul.us >
2025-04-25 09:24:17 +00:00
Michael Hoang
4c2584e246
lib: move select.select -> select for backwards compat with old CLIs
2025-04-25 17:30:06 +10:00
Michael Hoang
28a508457c
Merge pull request 'Refactor select with new maybe selector' ( #3362 ) from better-select into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3362
2025-04-25 07:02:22 +00:00
Michael Hoang
a2124b4ded
cli: fix restoring backups
...
There was a bug in `select` that made it output attrsets instead of
lists so we fix the broken refactor done in
300aaa48e7 .
2025-04-25 16:52:13 +10:00
lassulus
b0fca138bb
clan-cli flake-module: get select from new lib location
2025-04-25 16:26:45 +10:00
lassulus
1a48ce593f
templates: fix usage with new select
2025-04-25 16:26:45 +10:00
lassulus
d93e58218d
Refactor select with new maybe selector
...
This is a great refactor of the select functionality in the flake class.
This now uses the same parser as the nix code, but runs it in python for
nice stacktraces.
Also we now have a maybe selector which can be used by prepending the
selector with a ?
Tests have been expanded to make sure the code is more stable and easier
to understand
2025-04-25 16:26:45 +10:00
Michael Hoang
f11ccac1b6
Merge pull request 'clan-app: improve README' ( #3409 ) from push-ystlwosvuxvw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3409
2025-04-25 01:20:40 +00:00
Michael Hoang
c227ee0c86
clan-app: improve README
2025-04-25 11:12:27 +10:00
renovate[bot]
d5b7da5204
Update disko digest to ca27b88
2025-04-24 13:50:10 +00:00
DavHau
c4b331adea
Merge pull request 'clan-app: add basic smoke test using OCR + nixos tests' ( #3406 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3406
2025-04-24 12:02:06 +00:00
DavHau
c97303cfab
clan-app: add basic smoke test using OCR + nixos tests
2025-04-24 18:17:09 +07:00
renovate[bot]
1b49751144
Update data-mesher digest to 4fdda23
2025-04-24 07:30:09 +00:00
hsjobeki
b6777cac93
Merge pull request 'Chore(clan/clan_uri): Remove ClanURI class from clan_cli' ( #3401 ) from hsjobeki/clan-core:remove-clan-uri into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3401
2025-04-23 15:13:32 +00:00
Johannes Kirschbauer
9b96f87160
Chore(clan/clan_uri): Remove ClanURI class from clan_cli
2025-04-23 16:53:11 +02:00
hsjobeki
cd5942d675
Merge pull request 'Refactor: move checks/lib into lib/ to avoid duplicate lib' ( #3399 ) from hsjobeki/clan-core:checks-lib-remove into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3399
2025-04-23 14:33:19 +00:00
Johannes Kirschbauer
b66b3458c3
lib/tests: fix container driver module path
2025-04-23 16:23:09 +02:00
Johannes Kirschbauer
abd9519412
Refactor: move checks/lib into lib/ to avoid duplicate lib
...
Lets avoid the mistake of nixpkgs having multiple
libs
2025-04-23 16:19:16 +02:00
DavHau
a2645f2176
Merge pull request 'inventory tests: use containers by default' ( #3398 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3398
2025-04-23 12:59:52 +00:00
DavHau
8b00edad4a
inventory tests: use containers by default
2025-04-23 19:49:02 +07:00
hsjobeki
502563a96a
Merge pull request 'UI: fix general layout' ( #3397 ) from hsjobeki/clan-core:ui-3 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3397
2025-04-23 11:33:35 +00:00
Mic92
3e31cca267
Merge pull request 'clanModules/vaultwarden: Migrate from facts to vars' ( #3394 ) from kenji/clan-core:ke-vaultwarden-migrate-to-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3394
2025-04-23 11:32:52 +00:00
a-kenji
68170ec9fb
clanModules/vaultwarden: Migrate from facts to vars
...
Closes : #3389
2025-04-23 13:01:52 +02:00
kenji
3a93f7e35b
Merge pull request 'clanModules/syncthing: Improve vars' ( #3391 ) from kenji/clan-core:syncthing-improve-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3391
2025-04-23 10:50:45 +00:00
a-kenji
6531de6c07
clanModules/syncthing: Improve vars
2025-04-23 10:50:45 +00:00
a-kenji
38ff3f5a14
clanModules/syncthing: Group vars files
2025-04-23 10:50:45 +00:00
Johannes Kirschbauer
5177b6c0b2
UI: fix general layout
2025-04-23 10:25:25 +00:00
renovate[bot]
301059dd40
chore(deps): update disko digest to c5140c6
2025-04-23 09:40:09 +00:00
Mic92
260539c512
Merge pull request 'temporary disabling the VM test until we have vars fixed' ( #3395 ) from vms into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3395
2025-04-23 09:38:26 +00:00
Jörg Thalheim
d730f73ace
temporary disabling the VM test until we have vars fixed
...
We are currently missing injecting public vars back into the vm.
To unblock the CI, we disable the test for a bit.
2025-04-23 11:26:05 +02:00
kenji
2d8847337c
Merge pull request 'syncthing: Migrate from facts to vars' ( #3388 ) from kenji/clan-core:syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3388
2025-04-23 06:25:12 +00:00
a-kenji
356b26e690
chore: treefmt
2025-04-23 08:00:16 +02:00
a-kenji
ca5ddcee93
clanModules/syncthing: Fix vars usage
...
This fixes vars usage in the syncthing module.
Also removes some of the assumptions that were made in order for
`sysuser` to work, as we now use `userborn` for the vm functionality.
2025-04-23 07:40:44 +02:00
a-kenji
08590281f2
checks/syncthing: Use default settings
2025-04-23 07:39:55 +02:00
a-kenji
f591a3ffe5
checks/syncthing: Remove nixos tests
2025-04-23 07:38:36 +02:00
hsjobeki
841ad6f48e
Merge pull request 'vars-fix-overeager-chache-invalidation' ( #3385 ) from hsjobeki/clan-core:vars-fix-overeager-chache-invalidation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3385
2025-04-22 18:28:27 +00:00
Johannes Kirschbauer
1a3346274e
Tests/fix: forbid dynamic invalidation
...
We cannot support dynamic hashInvalidation.
This means the invalidation can change *after* or *before* a 'vars generate'
But not during the generation itself. This causes heavy performance overhead.
Additionally this introduces a fixed-point-iteration (compare: fixed-point-iteration vs. fixed-point-function)
This iteration takes ~ 1min for two bare-bones machine with 1 generator (see: checks/data-mesher)
2025-04-22 20:19:15 +02:00
Michael Hoang
f0d2f6650b
Merge pull request 'cli/machines: don't allow installing on macOS' ( #3387 ) from push-zrqstttptroo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3387
2025-04-22 17:22:21 +00:00
Michael Hoang
d663744f40
cli/machines: don't allow installing on macOS
2025-04-23 03:13:39 +10:00
Mic92
936311be0e
Merge pull request 'zerotier: migrate from facts to vars' ( #3383 ) from zerotier-vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3383
2025-04-22 16:48:32 +00:00
Jörg Thalheim
4c78cce06e
drop overrides of nix version
2025-04-22 18:20:35 +02:00
Jörg Thalheim
26d635a283
drop test_secrets_password_store
...
we are phasing out facts and the only fact we had left for testing, got
now dropped. We still have a sops facts test, which we might also drop
soon.
2025-04-22 18:20:35 +02:00
Jörg Thalheim
05214084a6
vms/run: upload vars
2025-04-22 18:20:35 +02:00
Jörg Thalheim
c00ca85bc7
drop unused machine_get_fact
2025-04-22 18:20:35 +02:00
Jörg Thalheim
3ac1907201
use machine.{secrets,public}_{vars,fact}_store everywhere
2025-04-22 18:20:35 +02:00
Jörg Thalheim
cbde58e1d8
zerotier: migrate from facts to vars
2025-04-22 18:20:35 +02:00
Michael Hoang
3dd6c33200
Merge pull request 'networking: set targetHost if FQDN is explicitly set' ( #3386 ) from push-tylstpvrwsxv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3386
2025-04-22 15:40:45 +00:00
Michael Hoang
cd0867e402
networking: set targetHost if FQDN is explicitly set
2025-04-23 01:15:13 +10:00
hsjobeki
fae5cbd887
Merge pull request 'Fix: remove daisyui' ( #3384 ) from hsjobeki/clan-core:ui-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3384
2025-04-22 14:58:53 +00:00
Johannes Kirschbauer
21e286b619
pkgs/generate-test-vars: speed up vars generation by precaching
2025-04-22 16:47:39 +02:00
Johannes Kirschbauer
dc284e1c40
vars: move overeager cache invalidation after one generator closure is regenrated.
...
Invalidation doesn't need to be done after each generator is executed.
We cannot interpolate values from other generators into another
generator. The generators are executed in order. The finalScript of each
generator stays constant.
After the complete closure is generated the caller of generate may
decide to invalidate the flake cache
2025-04-22 16:42:21 +02:00
Michael Hoang
bf5bfbdc4d
Merge pull request 'nixosModules/clanCore: support nix-darwin' ( #3287 ) from nix-darwin into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3287
2025-04-22 13:50:38 +00:00
hsjobeki
c1320192d0
Merge pull request 'Checks: add nixosIntegration test example to hello-service' ( #3373 ) from hsjobeki/clan-core:checks-hello into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3373
2025-04-22 13:45:46 +00:00
Michael Hoang
f4b8f2e858
vars: fix default group on macOS
2025-04-22 23:39:47 +10:00
Michael Hoang
d3e474bb4b
docs: always evaluate with class of nixos
2025-04-22 23:39:47 +10:00
Michael Hoang
5eae0c65d8
cli: support updating nix-darwin machines
2025-04-22 23:39:47 +10:00
Michael Hoang
3480912d8d
cli: fix unnecessary sudo when unspecified user defaults to root
2025-04-22 23:39:46 +10:00
Johannes Kirschbauer
3970748a42
Fix: remove daisyui
...
We wanted to remove daisyui a long time ago
Since renovate updates broke all of the classes somehow we use the opportunity to remove daisyui
And will fix all the breakages continously as we work on the features
2025-04-22 15:24:52 +02:00
Michael Hoang
3151d4ba86
cli: only use sudo when deploying locally
2025-04-22 23:14:03 +10:00
Michael Hoang
2768d959e7
cli: use sudo consistently when running nixos-rebuild switch
2025-04-22 23:14:03 +10:00
Michael Hoang
5e61a6e41d
nixosModules/clanCore: support nix-darwin
2025-04-22 23:14:03 +10:00
Michael Hoang
f336f6514c
Back out "cli: don't update macOS machines"
...
This backs out commit 83a2de0f47 .
2025-04-22 23:14:03 +10:00
Johannes Kirschbauer
cab5d162f6
Fix: clnixos-integration tests only work on linux
2025-04-22 14:56:09 +02:00
Mic92
fe0d39bf11
Merge pull request 'Container-tests: add multi-container network' ( #3381 ) from netns into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3381
2025-04-22 12:11:27 +00:00
DavHau
1ca79610e0
container-tests: add multi-container network
2025-04-22 13:26:37 +02:00
Michael Hoang
121c72b288
Merge pull request 'Chore: restore ui lockfile from a27a2d5c12b8d6978c20fb9eb47c30d59153a76b' ( #3380 ) from hsjobeki/clan-core:ui-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3380
2025-04-22 10:41:20 +00:00
Johannes Kirschbauer
36872f4043
Fix: typescript problem with inventory indexing
2025-04-22 12:10:25 +02:00
renovate[bot]
7478bb47ad
chore(deps): update sops-nix digest to 5e3e92b
2025-04-22 08:50:11 +00:00
Johannes Kirschbauer
44358405e2
Chore: restore ui lockfile from a27a2d5c12
2025-04-22 09:48:46 +02:00
Jörg Thalheim
55b425670c
syncthing: warn that this module is currently not usuable without vms
2025-04-22 09:45:37 +02:00
Jörg Thalheim
3a1b49eaf8
syncthing: migrate to new inventory system
2025-04-22 09:45:37 +02:00
Johannes Kirschbauer
0756baa5dc
Checks: add nixosIntegration test example to hello-service
2025-04-22 06:32:32 +00:00
hsjobeki
4715c64425
Merge pull request 'Chore: disable renovate for the ui' ( #3375 ) from hsjobeki/clan-core:renovate-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3375
2025-04-21 18:52:16 +00:00
renovate[bot]
9d242e7058
chore(deps): update typescript-eslint monorepo to v8.31.0
2025-04-21 18:00:18 +00:00
renovate[bot]
c82070468b
chore(deps): update dependency eslint to v9.25.1
2025-04-21 17:20:16 +00:00
renovate[bot]
b445ad4b1c
chore(deps): update dependency @eslint/js to v9.25.1
2025-04-21 17:00:16 +00:00
Johannes Kirschbauer
3fbe60908f
Chore: disable renovate for the ui
...
We disable renovate until we have automated ui tests
Renovate broke our UI because we dont have test that would fail
2025-04-21 18:54:24 +02:00
Michael Hoang
417d5bd4c2
Merge pull request 'vars: improve messaging' ( #3372 ) from push-tktvqwxutpnx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3372
2025-04-21 16:11:41 +00:00
Michael Hoang
2c9b25624a
vars: improve messaging
2025-04-22 02:03:24 +10:00
Mic92
ce58aab21f
Merge pull request 'state-version: fix default of config.system.stateVersion' ( #3371 ) from test-vars-generate into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3371
2025-04-21 15:45:21 +00:00
Jörg Thalheim
a1a515e6d9
state-version: fix default of config.system.stateVersion
...
fixes https://git.clan.lol/clan/clan-core/issues/3360
2025-04-21 15:37:22 +00:00
hsjobeki
e1f9bc3c3e
Merge pull request 'Inventory/tags: init {nixos,darwin} tags' ( #3370 ) from hsjobeki/clan-core:tags-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3370
2025-04-21 15:27:13 +00:00
Johannes Kirschbauer
1bad82b5c0
Fix: manually define empty tags for testing
2025-04-21 17:17:56 +02:00
Johannes Kirschbauer
fc27c87e2b
Inventory/tags: init {nixos,darwin} tags
2025-04-21 16:43:15 +02:00
hsjobeki
a9c8f372f8
Merge pull request 'refactor(clanServices): add example of eval test' ( #3337 ) from hsjobeki/clan-core:clan-services-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3337
2025-04-21 14:19:26 +00:00
Johannes Kirschbauer
d7ce08d957
refactor: init hello-world module with unit tests (eval)
2025-04-21 16:10:05 +02:00
Johannes Kirschbauer
4cef5afde8
clanLib: init flakeModules for better testing
2025-04-21 16:10:05 +02:00
Johannes Kirschbauer
e21326054e
refactor(clanServices): add example of eval test
2025-04-21 16:10:05 +02:00
Mic92
29c735ffe2
Merge pull request 'test-vars-generate: override machines class yet' ( #3369 ) from test-vars-generate into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3369
2025-04-21 13:28:11 +00:00
Jörg Thalheim
8a47cc4e78
generate-test-vars: use shutil.rmtree instead of rm
...
More portable.
2025-04-21 15:18:14 +02:00
Jörg Thalheim
177dea9dff
generate-test-vars: improve caching and reduce number of overrides in base class
2025-04-21 15:18:14 +02:00
Jörg Thalheim
f69bfa7ea9
Machines: remove unused method argument from self.nix()
2025-04-21 15:18:14 +02:00
Jörg Thalheim
d12f7de9b4
generate-test-vars: use absolute paths in flake urls
...
flakes don't work with releative paths
2025-04-21 15:18:14 +02:00
Jörg Thalheim
180ee83e1d
rename vars-generate to generate-test-vars
2025-04-21 15:18:14 +02:00
Jörg Thalheim
59125a8f42
devshell/clan-cli: fix CLAN_PROVIDED_PACKAGES having too many packages
2025-04-21 15:18:14 +02:00
Jörg Thalheim
723d72255c
Reapply "remove nix_shell_legacy"
...
This reverts commit c5001f19fc .
2025-04-21 13:23:50 +02:00
hsjobeki
7c57b853e6
Merge pull request 'pkgs(vars-generator): init new package to generate vars' ( #3357 ) from hsjobeki/clan-core:patch-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3357
2025-04-21 11:13:49 +00:00
renovate[bot]
2371977c52
chore(deps): update dependency vitest to v3.1.2
2025-04-21 09:00:33 +00:00
renovate[bot]
ade9f3449c
chore(deps): update disko digest to 1770bf1
2025-04-21 08:50:11 +00:00
renovate[bot]
bb8e183a06
chore(deps): update data-mesher digest to 817a74e
2025-04-21 00:20:13 +00:00
hsjobeki
fcff27b835
Merge pull request 'chore(select/cache): rename 'prefetch' to 'invalidate_cache'' ( #3364 ) from hsjobeki/clan-core:vars-fixing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3364
2025-04-20 15:00:35 +00:00
Johannes Kirschbauer
1edeccc393
pkgs(vars-generator): init new package to generate vars
2025-04-20 14:08:52 +02:00
Johannes Kirschbauer
8efdfc6da1
chore(select/cache): rename 'prefetch' to 'invalidate_cache'
2025-04-20 13:34:52 +02:00
hsjobeki
7517a37167
Merge pull request 'machine/vars: expose result direclty via vars submodule; keep deployment.data alias for now' ( #3363 ) from hsjobeki/clan-core:vars-fixing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3363
2025-04-20 11:32:03 +00:00
Johannes Kirschbauer
9c3474f55f
machine/vars: expose result direclty via vars submodule; keep deployment.data alias for now
2025-04-20 13:23:01 +02:00
renovate[bot]
61b27af98d
chore(deps): update dependency eslint to v9.25.0
2025-04-18 18:40:14 +00:00
renovate[bot]
690de9972b
chore(deps): update dependency @eslint/js to v9.25.0
2025-04-18 18:20:14 +00:00
Michael Hoang
b494860275
Merge pull request 'vars: make wording nicer when multiple vars are found' ( #3351 ) from push-zrtnwqoxyzmz into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3351
2025-04-18 17:28:01 +00:00
Michael Hoang
f574eee5a3
vars: make wording nicer when multiple vars are found
2025-04-18 19:18:42 +02:00
hsjobeki
9846bf7cbe
Merge pull request 'Revert "remove nix_shell_legacy"' ( #3356 ) from hsjobeki/clan-core:patch-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3356
2025-04-18 12:58:57 +00:00
Johannes Kirschbauer
c5001f19fc
Revert "remove nix_shell_legacy"
...
This reverts commit f3512b853a .
2025-04-18 14:49:54 +02:00
pinpox
02720a503d
Merge pull request 'Fix conftest typo' ( #3355 ) from fix-conftest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3355
2025-04-18 12:35:31 +00:00
pinpox
0ac5fa4b8b
Fix conftest typo
2025-04-18 14:25:22 +02:00
hsjobeki
a8c401911e
Merge pull request 'test(cli/select): add simple caching test' ( #3342 ) from hsjobeki/clan-core:select-testing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3342
2025-04-18 12:15:05 +00:00
Johannes Kirschbauer
17fb2fc53d
test(cli/select): add simple caching test
2025-04-18 14:06:59 +02:00
renovate[bot]
5327c6dcf9
chore(deps): update treefmt-nix digest to 8d404a6
2025-04-18 08:10:19 +00:00
renovate[bot]
b3970b5a9a
chore(deps): update data-mesher digest to 0328b8c
2025-04-18 08:00:13 +00:00
renovate[bot]
0245e0eea3
chore(deps): update data-mesher digest to b824c4f
2025-04-18 06:10:22 +00:00
renovate[bot]
24563f0b56
chore(deps): update treefmt-nix digest to 2550683
2025-04-18 06:00:14 +00:00
renovate[bot]
d27a9a442b
chore(deps): update dependency vite to v6.3.2
2025-04-18 05:00:15 +00:00
renovate[bot]
b25a376f90
chore(deps): update disko digest to 51d33bb
2025-04-18 02:10:10 +00:00
Michael Hoang
c263d68653
Merge pull request 'build-clan: fix constructing nix-darwin machines' ( #3345 ) from push-rnzmyrvqrqmv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3345
2025-04-17 18:32:22 +00:00
Michael Hoang
40a3f6abce
build-clan: fix constructing nix-darwin machines
2025-04-17 20:23:54 +02:00
renovate[bot]
1aa392e5d3
fix(deps): update dependency @tanstack/solid-query to v5.74.4
2025-04-17 10:00:16 +00:00
renovate[bot]
e79e7e861a
chore(deps): update dependency vite to v6.3.1
2025-04-17 02:00:17 +00:00
Mic92
ff558615a5
Merge pull request 'Remove nix_shell_legacy' ( #3341 ) from nix_shell into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3341
2025-04-16 19:56:53 +00:00
Jörg Thalheim
f3512b853a
remove nix_shell_legacy
2025-04-16 21:03:58 +02:00
Mic92
a708ef3615
Merge pull request 'nix_shell' ( #3339 ) from nix_shell into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3339
2025-04-16 18:38:09 +00:00
Jörg Thalheim
435627d854
rename CLAN_STATIC_PROGRAMS -> CLAN_PROVIDED_PACKAGES
2025-04-16 18:27:01 +00:00
Jörg Thalheim
837789010e
rename nix_shell_legacy to nix_shell and run_cmd to nix_shell
...
Than it's more obvious that we need to migrate.
2025-04-16 18:27:01 +00:00
Mic92
ed123d2332
Merge pull request 'lib/jsonschema: make attrs required' ( #3335 ) from fricklerhandwerk/clan-core:required-attrs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3335
2025-04-16 18:26:46 +00:00
Mic92
46e56aec56
Merge pull request 'sunshine/moonlight/mumble: migrate to vars' ( #3338 ) from sunshine into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3338
2025-04-16 17:59:09 +00:00
Jörg Thalheim
9222574258
run_cmd: print what commands are allowed in if the current command is not in the allow list
2025-04-16 19:50:27 +02:00
Jörg Thalheim
4d4882ac7b
update_hardware_config: migrate from nix_shell to run_cmd
2025-04-16 19:32:40 +02:00
Jörg Thalheim
7e6e51ee1b
sort allowed-programs.json
2025-04-16 19:32:40 +02:00
Jörg Thalheim
3e8f3046ec
Host: migrate from nix_shell to run_cmd
2025-04-16 19:32:40 +02:00
Jörg Thalheim
1049cc6edd
mumble: fix certificate generator
...
no idea how this ever worked before.
2025-04-16 18:49:24 +02:00
Jörg Thalheim
16752e3e11
mumble: migrate to inventory
2025-04-16 18:49:24 +02:00
Jörg Thalheim
e956f2773e
mumble: remove duplicate nixos test
2025-04-16 18:49:24 +02:00
Jörg Thalheim
50eff54001
mumble: migrate to vars
2025-04-16 18:49:24 +02:00
Jörg Thalheim
7cd36b043d
update-vars: don't print private key
2025-04-16 18:49:24 +02:00
Jörg Thalheim
5cf47fc635
update-vars: fallback to gitroot
2025-04-16 18:49:24 +02:00
Jörg Thalheim
c05827abcc
moonlight/sunshine: mark as unusuable outside of our VM
...
we depend on VM user, which only will work with our vm nixos module
2025-04-16 17:48:09 +02:00
Jörg Thalheim
bb7617fe2a
migrate moonlight/sunshine to vars
2025-04-16 17:48:09 +02:00
Valentin Gagarin
c8b305c437
fixup(jsonschema): test attrsOf submodules with valid value
2025-04-16 16:55:50 +02:00
Valentin Gagarin
af7915a564
lib/jsonschema: render defaults for submodule options
...
this relaxes the constraint that options of type `submodule` are always
required, and will render benign default values.
2025-04-16 16:55:46 +02:00
Mic92
4f6764804f
Merge pull request 'Move clan history subcommand to clan-vm-manager' ( #3336 ) from fix-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3336
2025-04-16 13:14:34 +00:00
Jörg Thalheim
ec738fac30
impure-checks: limit number of workers to number of tests
2025-04-16 15:05:59 +02:00
Jörg Thalheim
0b4e896af3
migrate clan history to clan-vm-manager
...
this functionality is not really useful or used in clan-vm-manager and
therefore should live in the clan-vm-manager.
Not porting the test for now because we probably get rid of the clan-vm-manager soon in favour of the UI.
2025-04-16 14:51:37 +02:00
Jörg Thalheim
f4792109ec
Remove unused clan history update subcommand
2025-04-16 14:51:37 +02:00
Johannes Kirschbauer
15fe06fbf5
feat(jsonschema): add test for attrsof submodule
2025-04-16 14:48:49 +02:00
Valentin Gagarin
06e27c84de
lib/jsonschema: make attrs required
...
Before the change, modules of the form
```nix
{ lib, ... }: {
foo.bar = lib.mkOption {
# ...
};
}
```
or
```nix
{ lib, ... }: {
foo = lib.mkOption {
type = lib.types.subModule {
bar = lib.mkOption {
# ...
};
};
};
}
```
would not render with `foo` as required, which is not faithful to the
module system's semantics.
This change also tests that fields with defaults are not marked required.
Note that submodule options cannot have their defaults rendered to JSON
schema, and are therefore always marked required.
Architecturally this change is rather unfortunate: So far the checks for
defaults happen in the rendering (using `isDefault`) and not in the parsing,
but here we're adding a field to `$exportedModuleInfo`. While strictly
speaking we probably don't want to consider requiredness as module-level
information, it seems more reasonable to me to do it that way since at
the JSON schema level we have lost the distinction between `attrs`,
`attrsOf`, `submodule`.
2025-04-16 13:20:00 +02:00
renovate[bot]
3323d2aee8
chore(deps): update dependency vite to v6.3.0
2025-04-16 09:50:12 +00:00
hsjobeki
e5ac0eb425
Merge pull request 'init(clanServices): create a new folder for migrated modules (clanServices); add a module as example' ( #3334 ) from hsjobeki/clan-core:clanServices-init into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3334
2025-04-16 09:44:57 +00:00
Johannes Kirschbauer
101648d657
init(clanServices): add zerotier boilerplate to clanServices
2025-04-16 11:34:58 +02:00
hsjobeki
3f33cb7dee
Merge pull request 'feat(scripts/update-vars): expose all configurables as arguments {repo_root, test_dir, check_attr}' ( #3333 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3333
2025-04-16 08:50:44 +00:00
Johannes Kirschbauer
0bc2a068fe
chore(test/makeTestClan): document all options, remove magic specialArgs
2025-04-16 10:33:32 +02:00
Johannes Kirschbauer
7540242816
fix: rename folder lib/tests -> lib/test to be consistent with the attribute name
2025-04-16 10:04:31 +02:00
Johannes Kirschbauer
75932b7b7a
fixup: update commen in inventory example test
2025-04-16 10:02:20 +02:00
Johannes Kirschbauer
fa72ca3736
feat(scripts/update-vars): expose all configurables as arguments {repo_root, test_dir, check_attr}
2025-04-16 09:50:09 +02:00
hsjobeki
3865280619
Merge pull request 'revert vars: use writeShellApplication to shellcheck generators' ( #3331 ) from hsjobeki-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3331
2025-04-16 07:44:53 +00:00
hsjobeki
b48b30de0e
revert db50ffc4b7
...
revert vars: use writeShellApplication to shellcheck generators
Cannot re-generate the vars for data-mesher or any of our tests anymore
cc @DavHau @Qubasa Can we work together to fix this.
I like shellchecking but if we loose the ability to add tests thats unfortunate
This is blocking: the new 'restic' and 'zerotier' migrations because we need to write integration tests from the beginning.
2025-04-16 07:14:25 +00:00
hsjobeki
3ef83deeeb
Merge pull request 'tests(clan): move test-inventory.nix to clanLib. And name it 'makeTestClan'' ( #3330 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3330
2025-04-15 16:27:09 +00:00
Johannes Kirschbauer
75c8541a8d
tests(clan): move test-inventory.nix to clanLib. And name it 'makeTestClan'
...
Exposing the function via clanLib makes it more accessible to clan modules
This allows each module to define its own test without needing to depend on any fileSystem path assumptions in the clan-core repo
2025-04-15 18:17:40 +02:00
hsjobeki
360f2fd7c9
Merge pull request 'feat(buildClan): expose {nixosModules,darwinModules} from clanInternals' ( #3329 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3329
2025-04-15 15:45:01 +00:00
Michael Hoang
19f990d61a
Merge pull request 'clanCore: remove clan.core.module' ( #3327 ) from push-vwpyxmnwqttw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3327
2025-04-15 15:27:24 +00:00
Johannes Kirschbauer
bc9bb5d405
feat(buildClan): expose {nixosModules,darwinModules} from clanInternals
...
These are the exact same modules that where used internally to construct the corresponding
'nixosConfiguration', 'darwinConfiguration'
They can be externally used, and would yield the same result
Given that you pass the same 'specialArgs'
2025-04-15 17:25:57 +02:00
Michael Hoang
4097da5ce7
clanCore: remove clan.core.module
2025-04-15 17:17:16 +02:00
hsjobeki
9ef7b442e0
Merge pull request 'refactor: buildClan output; output deferred modules instead of nixosConfig' ( #3323 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3323
2025-04-15 14:47:49 +00:00
Michael Hoang
7ccb675ec5
Merge pull request 'machines: fix nixos-rebuild not getting retried' ( #3325 ) from push-vqmkpyrsvqqw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3325
2025-04-15 14:31:47 +00:00
Michael Hoang
fc7a4d2b75
machines: fix nixos-rebuild not getting retried
2025-04-15 16:16:03 +02:00
Johannes Kirschbauer
256194575d
refactor(buildClan): simplify pkgs overriding logic
2025-04-15 16:05:57 +02:00
Johannes Kirschbauer
2ceefcd44d
refactor(buildClan): move modules into 'forName' and import the correct core module depending on class
2025-04-15 15:29:01 +02:00
Johannes Kirschbauer
bb0ca2065d
fixup(buildClan): use clan.inventory instead of refering to the clanInternals dumping ground within the module
2025-04-15 15:10:08 +02:00
Johannes Kirschbauer
d2c068c4a1
fixup(buildClan): split up the inner-module into: {forSystem, forName}
...
I am preparing this such that we can move the forName modules into the
defaults for the deferred module outputs and the forSystem modules are
added later and only for the 'configsPerSystem' where we actually need
the system modules
2025-04-15 15:02:37 +02:00
renovate[bot]
69a29c5c43
chore(deps): update data-mesher digest to 439f851
2025-04-15 12:30:10 +00:00
Johannes Kirschbauer
a0da225282
refactor: buildClan output; output deferred modules instead of nixosConfig
2025-04-15 14:25:02 +02:00
Michael Hoang
48740bbf07
Merge pull request 'build-clan: drop unused machinesFunc' ( #3324 ) from push-wktowzqkrvsp into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3324
2025-04-15 12:20:09 +00:00
Michael Hoang
9c317e8f3b
build-clan: drop unused machinesFunc
2025-04-15 13:30:28 +02:00
renovate[bot]
a2a78d302f
chore(deps): update treefmt-nix digest to 49d0555
2025-04-15 09:10:10 +00:00
lassulus
62deb1f89b
Merge pull request 'fast-vars-gen' ( #3216 ) from fast-vars-gen into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3216
2025-04-15 07:11:06 +00:00
Mic92
cf483421fa
Merge pull request 'Rework cache to use json instead of pickle' ( #3319 ) from validation-hash-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3319
2025-04-15 07:11:03 +00:00
Jörg Thalheim
949536bb2b
rework cache to use json instead of pickle
...
Pickle can silently break if migrate our data layout and also introduces
unwanted behaviour such as code injection that we want to avoid.
2025-04-15 07:00:00 +00:00
renovate[bot]
be54f619ad
chore(deps): update data-mesher digest to 0593ae1
2025-04-15 05:00:13 +00:00
renovate[bot]
2bf5128d5a
chore(deps): update sops-nix digest to 6115430
2025-04-14 23:10:10 +00:00
renovate[bot]
d49a0c9ee0
chore(deps): update typescript-eslint monorepo to v8.30.1
2025-04-14 20:20:16 +00:00
renovate[bot]
8a9b40b515
chore(deps): update typescript-eslint monorepo to v8.30.0
2025-04-14 17:20:17 +00:00
Jörg Thalheim
833798f650
test_vars_deployment: skip on macOS for now
...
we can not run vms on macOS at the moment.
2025-04-14 15:47:55 +00:00
Michael Hoang
8c56f17ae7
Merge pull request 'build-clan: expose Clan configuration as a module' ( #3303 ) from push-lsoyznsukqyq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3303
2025-04-14 14:16:26 +00:00
Michael Hoang
1d159fb774
build-clan: expose Clan configuration as a module
2025-04-14 16:04:06 +02:00
Michael Hoang
3c869282b4
Merge pull request 'checks: test-backups -> backups' ( #3312 ) from push-nqvwsmllsyrx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3312
2025-04-14 13:47:59 +00:00
Michael Hoang
11ed2f86d3
checks: test-backups -> backups
2025-04-14 15:39:25 +02:00
renovate[bot]
45d984287f
fix(deps): update dependency @tanstack/solid-query to v5.74.3
2025-04-14 13:00:13 +00:00
lassulus
2df82ae61f
clan_cli test_vars: start refactoring to use caching
2025-04-14 14:28:59 +02:00
lassulus
99238ff7d6
clan_cli machines update: cache values for faster eval
2025-04-14 14:28:59 +02:00
lassulus
da92c19367
clan_cli vars generate: prefetch all validationHashes for faster eval
2025-04-14 14:28:59 +02:00
Mic92
ab90987d17
Merge pull request 'don't error on macOS if sandbox for vars is missing' ( #3309 ) from macos-sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3309
2025-04-14 12:24:49 +00:00
Jörg Thalheim
4dc1e2cb3f
don't error on macOS if sandbox for vars is missing
2025-04-14 14:11:51 +02:00
Mic92
dc6cf1b673
Merge pull request 'cache nix_config' ( #3306 ) from nix-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3306
2025-04-14 11:23:33 +00:00
Jörg Thalheim
268be9e1f3
cache nix_config
...
We often call this several times during execution.
At the moment we only use system at the moment, which is unlikely to
change.
2025-04-14 13:13:49 +02:00
renovate[bot]
614f8c5144
fix(deps): update dependency @tanstack/solid-query to v5.74.2
2025-04-14 11:00:13 +00:00
Luis Hebendanz
8028876120
Merge pull request 'clan-cli: Don't eval 'modules' while getting templates. 'modules' can be not JSON serializable' ( #3280 ) from Qubasa/clan-core:fix_templates into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3280
2025-04-14 10:38:07 +00:00
Luis Hebendanz
0c22b31a37
Merge pull request 'chore(clan/cli): remove --reflink=auto' ( #3291 ) from visualphoenix/clan-core:clan_cli_osx_cp_fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3291
2025-04-14 10:24:35 +00:00
renovate[bot]
2fa4116348
chore(deps): lock file maintenance
2025-04-14 00:20:38 +00:00
renovate[bot]
af73f48f05
chore(deps): lock file maintenance
2025-04-14 00:00:39 +00:00
renovate[bot]
b0d37dbef9
fix(deps): update dependency @tanstack/solid-query to v5.74.0
2025-04-13 18:00:14 +00:00
renovate[bot]
3f81b3bbce
chore(deps): update nixpkgs digest to 18dd725
2025-04-13 16:30:10 +00:00
Michael Hoang
ae02eacba3
Merge pull request 'machines: minor refactor of update' ( #3301 ) from push-swpwpzmlspko into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3301
2025-04-13 16:24:10 +00:00
Michael Hoang
866dafab9d
machines: minor refactor of update
2025-04-13 18:14:17 +02:00
renovate[bot]
b591238c49
chore(deps): update data-mesher digest to 25b5342
2025-04-13 12:20:15 +00:00
renovate[bot]
a98d9dbf7f
chore(deps): update dependency jsdom to v26.1.0
2025-04-13 10:40:16 +00:00
renovate[bot]
4227fe00a6
chore(deps): update sops-nix digest to 7e147a1
2025-04-13 04:40:14 +00:00
renovate[bot]
3ee37defe6
chore(deps): update nixpkgs digest to f6db44a
2025-04-13 03:40:25 +00:00
renovate[bot]
becc09c393
chore(deps): update data-mesher digest to 3d421cc
2025-04-13 03:20:14 +00:00
renovate[bot]
5b2e5ee935
chore(deps): update data-mesher digest to fd210d7
2025-04-13 02:50:09 +00:00
renovate[bot]
fd384d5850
chore(deps): update nixpkgs digest to 52d0ede
2025-04-13 02:10:24 +00:00
Raymond Barbiero
d16e540671
chore(clan/cli): remove --reflink=auto
2025-04-12 19:41:43 -04:00
renovate[bot]
55c1b9942a
chore(deps): update nix-darwin digest to 43975d7
2025-04-12 17:40:13 +00:00
renovate[bot]
a348a87389
chore(deps): update data-mesher digest to 35cc96c
2025-04-12 15:40:25 +00:00
renovate[bot]
b346f95947
chore(deps): update nixpkgs digest to 2349f9d
2025-04-12 15:20:27 +00:00
renovate[bot]
884919ab38
fix(deps): update tanstack-query monorepo to v5.73.3
2025-04-12 14:40:16 +00:00
renovate[bot]
27f3a8f9a3
chore(deps): update data-mesher digest to ea73779
2025-04-12 12:50:21 +00:00
renovate[bot]
0f35f5416e
chore(deps): update nixpkgs digest to 642c54c
2025-04-12 12:30:26 +00:00
Michael Hoang
5528146347
Merge pull request 'chore(deps): update nixpkgs digest to d19cf9d' ( #3273 ) from renovate/nixpkgs-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3273
2025-04-12 11:19:32 +00:00
Michael Hoang
fe523e928d
treewide: switch back to pkgs.nix
2025-04-12 13:15:53 +02:00
renovate[bot]
367c22dce8
chore(deps): update nixpkgs digest to d19cf9d
2025-04-12 11:00:13 +00:00
hsjobeki
1bd2235324
Merge pull request 'chore(checks/inventory): doogfood 'clan' flake-parts module into the test, instead of custom inventory logic' ( #3279 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3279
2025-04-12 10:49:05 +00:00
Johannes Kirschbauer
65e1cf5b54
fixup(checks/inventory): remove 'self' from clan settings; doesn't work in the nixos tests yet.
...
We need to reasearch why that is the case.
Removing the option for now to prevent weird bugs
2025-04-12 12:41:11 +02:00
renovate[bot]
2e24527901
chore(deps): update dependency @types/node to v22.14.1
2025-04-11 21:40:15 +00:00
Qubasa
b6753211e9
clan-cli: Fix failing tests. Add a big FIXME for clan.select
2025-04-11 23:36:02 +02:00
Luis Hebendanz
adb3a8506a
Merge pull request 'clan-cli: Fix single file upload in upload.py, add test for edge case' ( #3182 ) from Qubasa/clan-core:fix_single_file_upload into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3182
2025-04-11 17:14:35 +00:00
Qubasa
3bd766e0a0
clan-cli: Fix single file upload in upload.py, add test for edge case
2025-04-11 19:08:13 +02:00
Johannes Kirschbauer
9253a7502b
chore(checks): rename data-mesher test attributes
2025-04-11 13:53:04 +02:00
Johannes Kirschbauer
1aa543da67
chore(checks/inventory): doogfood 'clan' flake-parts module into the test, instead of custom inventory logic
2025-04-11 13:52:23 +02:00
renovate[bot]
9c84cb4e3f
chore(deps): update data-mesher digest to 60f9395
2025-04-11 11:40:13 +00:00
hsjobeki
d18d0f4226
Merge pull request 'chore(clan/cli): remove explizit dependency on jsonschema converter.' ( #3277 ) from hsjobeki/clan-core:chores into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3277
2025-04-10 21:10:43 +00:00
Johannes Kirschbauer
7a72ff5297
chore(clan/cli): remove explizit dependency on jsonschema converter.
...
Regenerating the classes from json schema as part of the clan/cli is a bit redundant since we need to vendor the classes by hand anyways
The user can also not practically override the inventory options
I would disable this for now; until we really need it.
We now solely rely on CI checks failing if the classes are out of sync
2025-04-10 22:58:30 +02:00
hsjobeki
556e0dd473
Merge pull request 'chore(clan/vars): make no-sandboxing message print a more explizit re-run command' ( #3276 ) from hsjobeki/clan-core:chores into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3276
2025-04-10 20:55:14 +00:00
Johannes Kirschbauer
d5a32cc453
chore(clan/vars): make no-sandboxing message print a more explizit re-run command
2025-04-10 22:39:27 +02:00
Luis Hebendanz
66a3680bcf
Merge pull request 'vars: use writeShellApplication to shellcheck generators' ( #3270 ) from Qubasa/clan-core:rtunreal-shell_check_vargen into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3270
2025-04-10 19:07:42 +00:00
Qubasa
5a266ecdde
clan-cli: Fixup more failing tests because of quoting issues
2025-04-10 14:33:54 +02:00
renovate[bot]
9bc0714abd
chore(deps): update data-mesher digest to 7af2bfe
2025-04-10 08:40:13 +00:00
Michael Hoang
faf3a7d5fa
Merge pull request 'flake: update nix-darwin owner' ( #3275 ) from push-osprlszlnnvr into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3275
2025-04-10 08:38:25 +00:00
Michael Hoang
66700bf44e
flake: update nix-darwin owner
2025-04-10 10:31:26 +02:00
renovate[bot]
dae5a3368c
chore(deps): update dependency vite to v6.2.6
2025-04-10 06:40:17 +00:00
Qubasa
3fbc661ed9
clan-cli: Change shellcheck to shellcheck-minimal
2025-04-10 01:54:00 +02:00
renovate[bot]
8e254dcadc
chore(deps): update nix-darwin digest to 113883e
2025-04-09 19:20:14 +00:00
Qubasa
43bf5e952d
formatter.nix: Exclude **/.mypy_cache/*
2025-04-09 19:44:00 +02:00
Qubasa
134912e9d3
formatter.nix: Exclude **/node_modules/*
2025-04-09 19:44:00 +02:00
Qubasa
6b28e4e1d7
clan-cli: Add shellcheck as a runtimeDependencie
2025-04-09 19:44:00 +02:00
RTUnreal
3e6518b0fc
checks: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
3f4ff94af6
clanModules: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
37a627f8bc
pkgs/clan-cli: fix test which are using vars shellcheck
2025-04-09 19:44:00 +02:00
RTUnreal
2a2b8fb947
clanModules/borgbackup: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
644147e2d4
clanModules/root-password: fix shellcheck errors
2025-04-09 19:44:00 +02:00
RTUnreal
db50ffc4b7
vars: use writeShellApplication to shellcheck generators
2025-04-09 19:44:00 +02:00
hsjobeki
53df7ee271
Merge pull request 'chore(clan/pytest): discover all test files in the tree' ( #3269 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3269
2025-04-09 17:16:56 +00:00
Johannes Kirschbauer
61d1cf32ab
chore(clan/pytest): discover all test files in the tree
2025-04-09 18:54:57 +02:00
hsjobeki
2f6efd6a8f
Merge pull request 'Reapply '( #3259 ) chore(buildClan): move machineClass option into inventory.machines submodule'' ( #3268 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3268
2025-04-09 16:50:15 +00:00
Johannes Kirschbauer
872aa8e5b6
fix(clan/machines): move machineClass attribute selector and add a unit test for class detection
2025-04-09 18:29:43 +02:00
Johannes Kirschbauer
cd11835ec4
Reapply "Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main"
...
This reverts commit 6154b4cb3a .
2025-04-09 18:16:35 +02:00
hsjobeki
126d1797c8
Merge pull request 'fix(checks/inventory): use buildClan instead of buildInventory' ( #3267 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3267
2025-04-09 16:14:06 +00:00
hsjobeki
af03224d40
Merge pull request 'test(clan/inventory): test deserialization of different inventories' ( #3258 ) from hsjobeki/clan-core:inventory-serde into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3258
2025-04-09 16:07:58 +00:00
Johannes Kirschbauer
b0fb0752e9
fix(checks/data-mesher): format, dont pass a duplicate data-mesher module
2025-04-09 18:03:04 +02:00
Johannes Kirschbauer
bfd2968509
test(clan/inventory): test deserialization of different inventories
2025-04-09 18:00:00 +02:00
Johannes Kirschbauer
3ccfcdc0c1
fix(eval/inventory): fix some test arguments to buildInventory
2025-04-09 17:38:06 +02:00
Johannes Kirschbauer
24137336f1
chore(checks/inventory): regenerate test vars
2025-04-09 17:32:29 +02:00
Johannes Kirschbauer
c67481c474
fix(checks/inventory): use buildClan instead of buildInventory
2025-04-09 17:31:35 +02:00
Johannes Kirschbauer
9f159084cd
feat(buildInventory): move instance resolution into buildInventory
...
Such that buildClan doesn't have to compose the results
buildInventory should be more self contained. But it is NOT meant a
public API! use buildClan argument 'inventory' instead
2025-04-09 17:31:35 +02:00
Mic92
5705200406
Merge pull request 'speedup morph test' ( #3266 ) from morph-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3266
2025-04-09 15:28:20 +00:00
hsjobeki
963248ccff
Merge pull request 'treewide(clanLib): rename all occurences of {clan-core,self}.lib to 'clanLib'' ( #3263 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3263
2025-04-09 15:10:42 +00:00
Jörg Thalheim
92ac257999
speedup morph test
2025-04-09 17:06:34 +02:00
Jörg Thalheim
7b0e845d5d
checks/morph: strip test prefix
...
this is making it consistent with otther tests.
2025-04-09 16:58:48 +02:00
Michael Hoang
67917dcde8
Merge pull request 'chore(deps): update data-mesher digest to 81f65ea' ( #3256 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3256
2025-04-09 14:53:32 +00:00
renovate[bot]
20800f87f3
chore(deps): update data-mesher digest to 81f65ea
2025-04-09 14:30:22 +00:00
renovate[bot]
1bb46169f3
fix(deps): update tanstack-query monorepo to v5.72.2
2025-04-09 14:20:16 +00:00
Mic92
52eeab7c0a
Merge pull request 'Revert "Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main"' ( #3264 ) from revert-machine-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3264
2025-04-09 14:11:21 +00:00
Jörg Thalheim
6154b4cb3a
Revert "Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main"
...
This reverts commit 325a794d12 , reversing
changes made to afbae04aa6 .
2025-04-09 16:08:39 +02:00
Mic92
6f2909bf87
Merge pull request 'feat(clan-cli): support multiple keys for a user' ( #3230 ) from feat/vars-multiple-user-secrets into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3230
2025-04-09 13:05:24 +00:00
hsjobeki
325a794d12
Merge pull request 'chore(buildClan): move machineClass option into inventory.machines submodule' ( #3259 ) from hsjobeki/clan-core:buildclan-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3259
2025-04-09 12:57:48 +00:00
Johannes Kirschbauer
8f6a688336
fix(python/inventory): add machineClass field
2025-04-09 12:50:43 +00:00
Johannes Kirschbauer
c49dd6c462
chore(buildClan): move machineClass option into inventory.machines submodule
2025-04-09 12:50:43 +00:00
Mic92
afbae04aa6
Merge pull request 'checks/installation: restore the install without system aspect' ( #3261 ) from flakiness into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3261
2025-04-09 11:39:17 +00:00
Jörg Thalheim
2c83211c1d
checks/installation: restore the install without system aspect
2025-04-09 11:32:28 +00:00
Brian McGee
aa4fe27e51
feat(clan-cli): support multiple keys for a user
2025-04-09 09:58:58 +00:00
Mic92
b8e33babec
Merge pull request 'installation: speed up by installing to localhost' ( #3255 ) from flakiness into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3255
2025-04-09 09:58:43 +00:00
Jörg Thalheim
d03971e583
don't expose all clan-depenencies as their own check attributes
...
this is expensive in CI to display.
2025-04-09 09:52:56 +00:00
Jörg Thalheim
326633d1b8
hardware: only include sshpass if we are actually using it.
2025-04-09 09:52:56 +00:00
Jörg Thalheim
e25cd73e99
installation: use clan-cli-full so that nix doesn't try to evaluate deps
2025-04-09 09:52:56 +00:00
Jörg Thalheim
4e9c214c68
checks/installation: move updating hardware configuration to it's own test
...
for some reason those are very slow. Moving them to their own test
breaks down the critical path.
2025-04-09 09:52:56 +00:00
Jörg Thalheim
164b1a6c68
installation: speed up by installing to localhost
...
we test other types of installation already in nixos-anywhere so we can
speed up this test quite a bit by not having a seperate machine to
install to.
2025-04-09 09:36:46 +00:00
Johannes Kirschbauer
e37f16f47a
treewide(clanLib): rename all occurences of {clan-core,self}.lib to 'clanLib'
2025-04-09 11:32:46 +02:00
DavHau
ba1ad5bd43
sops: prioritize SOPS_AGE_KEY_FILE over local key
...
... instead of loading both keys and raise an error
This is important for testing when one wants to override SOPS_AGE_KEY_FILE
New prio: `SOPS_AGE_KEY` > `SOPS_AGE_KEY_FILE` > `~/.config/sops/age/keys.txt`
2025-04-09 08:45:34 +00:00
DavHau
82b6a52c7c
vars: add feature --no-sandbox
...
Raise warning if sandbox cannot be used -> request user to run with --no-sandbox
2025-04-09 15:02:20 +07:00
pinpox
02e651951f
Merge pull request 'Fix clan.service docs format' ( #3254 ) from fix-service-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3254
2025-04-09 06:48:30 +00:00
Pablo Ovelleiro Corral
2987d7f504
Fix clan.service docs format
2025-04-09 08:29:19 +02:00
renovate[bot]
32b52e0e7e
chore(deps): update nixpkgs digest to b2b0718
2025-04-09 06:10:32 +00:00
Mic92
00c18bfb05
Merge pull request 'chore(deps): update disko digest to 76c0a6d' ( #3252 ) from renovate/disko-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3252
2025-04-08 21:32:00 +00:00
Mic92
91de583e55
Merge pull request 'chore(deps): update data-mesher digest to a592e34' ( #3245 ) from renovate/data-mesher-digest into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3245
2025-04-08 21:31:08 +00:00
renovate[bot]
aabe3374e7
chore(deps): update disko digest to 76c0a6d
2025-04-08 21:20:16 +00:00
renovate[bot]
ffb86c0171
chore(deps): update data-mesher digest to a592e34
2025-04-08 21:20:13 +00:00
hsjobeki
82a9179ac8
Merge pull request 'docs(authoring/modules): add examples for dependency injection' ( #3249 ) from hsjobeki/clan-core:docs-authoring into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3249
2025-04-08 21:10:52 +00:00
Johannes Kirschbauer
70ef74c8b7
docs(authoring/modules): add examples for dependency injection
2025-04-08 20:56:02 +00:00
hsjobeki
2033213eab
Merge pull request 'chore(lib/getModuleClass): remove unused library function' ( #3250 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3250
2025-04-08 20:54:46 +00:00
Johannes Kirschbauer
059cc1e2ea
chore(lib/buildClan): remove dependencies {nixpkgs,nix-darwin} from the clanLib file
2025-04-08 22:13:46 +02:00
Johannes Kirschbauer
7c955f2820
chore(lib/getModuleClass): remove unused library function
2025-04-08 22:09:10 +02:00
hsjobeki
1eb5423b6b
Merge pull request 'pkgs/cli: Move the test folder inside the python module' ( #2973 ) from kenji/clan-core:split-testing-up into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2973
2025-04-08 20:06:59 +00:00
hsjobeki
5879bcd6d9
Merge pull request 'docs(authoring): restructure authoring guides' ( #3248 ) from hsjobeki/clan-core:docs-authoring into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3248
2025-04-08 19:58:59 +00:00
hsjobeki
0e26bfc228
Merge pull request 'chore(inventory/services): dont check _class in our logics. Let the error eccour in the final evaluation.' ( #3236 ) from hsjobeki/clan-core:role-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3236
2025-04-08 19:49:46 +00:00
Mic92
f609f43755
Merge pull request 'devshells: name shells for clarity' ( #3240 ) from Lehmanator/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3240
2025-04-08 19:45:20 +00:00
Johannes Kirschbauer
0ced167912
fix(clan_app/test): fixup after rebase
2025-04-08 21:38:55 +02:00
Johannes Kirschbauer
485b6ae5c4
docs(authoring): restructure authoring guides
...
Mainly because we have two module specs now and they will remain
valid for a while. We need to keep the older format documented for a while
2025-04-08 21:32:19 +02:00
Sam Lehman
4fe822b340
devshells: name shells for clarity
2025-04-08 19:31:30 +00:00
Mic92
0003f0f327
Merge pull request 'installation: use ip addresses to decrease flakiness' ( #3247 ) from flakiness into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3247
2025-04-08 19:31:12 +00:00
Jörg Thalheim
1ba872f75f
installation: use ip addresses to decrease flakiness
2025-04-08 21:19:47 +02:00
Mic92
ce4b49e0b0
Merge pull request 'flash: test existing mount with spaces' ( #3243 ) from fix-mounting into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3243
2025-04-08 18:55:05 +00:00
Jörg Thalheim
d45deff922
replace original installation test with installation-without-system
2025-04-08 20:41:31 +02:00
Johannes Kirschbauer
8c970dc04a
chore(inventory/instances): don't eagerly test the service modules _class
2025-04-08 20:30:35 +02:00
Johannes Kirschbauer
dd62b6c97a
chore(inventory/services): dont check _class of legacy clanModules.
...
Let the module system handle the error. Once we shift to deferred
modules, things get more complicated and we cannot check the module
class eagerly
2025-04-08 20:30:33 +02:00
Johannes Kirschbauer
e9ce7376f2
fix(clan_cli/tests): fix some imports after rebase
2025-04-08 20:26:38 +02:00
Jörg Thalheim
a4781e218c
flash: test existing mount with spaces
2025-04-08 20:16:23 +02:00
Jörg Thalheim
8b7b0eaf43
bump disko to fix quoting issue
2025-04-08 20:16:22 +02:00
Johannes Kirschbauer
69c717ae1f
Tests: reconfigure pytest test folder after moving it into clan_cli
2025-04-08 20:13:13 +02:00
Johannes Kirschbauer
4da6cf594d
Tests: exclude test folder itself from autmatic dataclass checks
2025-04-08 20:12:03 +02:00
a-kenji
fae630842d
pkgs/cli: Move the test folder inside the python module
...
Move the `tests` folder to `clan_cli/tests`.
As we now want part of our tests to live next to the functions that are
tested - tests that are not in the `/tests` module also need access to
the configured test fixtures that are exposed by the `pytest_plugins`
declaration.
The following folder structure doesn't support this model:
```
├── clan_cli
│ ├── api
│ │ └── api_init_test.py
├── tests/
│ ├── conftest.py
│ └── ...
```
Here `api_init_test.py` even when importing the test functions will not
have the fixtures configured.
There is a way to configure python to import the fixtures from another
[`project/module`](https://docs.pytest.org/en/stable/how-to/fixtures.html#using-fixtures-from-other-projects ), but this seems to *generally* be discouraged.
So moving the `conftest.py` to the toplevel and the `/tests` folder into
the toplevel seems to be a sensible choice choice.
2025-04-08 20:12:01 +02:00
hsjobeki
6c71cdc8cd
Merge pull request 'doc(inventory): document experimental settingsExtend' ( #3207 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3207
2025-04-08 18:10:04 +00:00
brianmcgee
4a533b7daf
Merge pull request 'chore: remove data-mesher from devshell' ( #3239 ) from remove-data-mesher-from-devshell into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3239
2025-04-08 18:05:51 +00:00
Johannes Kirschbauer
be8b86153c
fix(getModulesSchema): forward argument to evalClanModules
2025-04-08 19:53:20 +02:00
Brian McGee
b6d8888d8c
chore: remove data-mesher from devshell
2025-04-08 19:51:11 +02:00
Michael Hoang
37cc831695
Merge pull request 'flake-parts: ensure flake.darwinConfigurations is mergeable' ( #3244 ) from push-zurymrrrxwur into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3244
2025-04-08 17:20:16 +00:00
renovate[bot]
91ece9ef21
chore(deps): lock file maintenance
2025-04-08 17:10:45 +00:00
Michael Hoang
69141d02d9
flake-parts: remove unnecessary mkSubmoduleOptions
...
This is no longer necessary as of https://github.com/NixOS/nixpkgs/pull/156533 .
2025-04-08 19:03:29 +02:00
Michael Hoang
99589c1141
flake-parts: ensure flake.darwinConfigurations is mergeable
...
We didn't run into issues previously for `nixosConfigurations` because
there is already a [flake-parts module] that creates the option inside
`flake`.
[flake-parts module]: https://github.com/hercules-ci/flake-parts/blob/main/modules/nixosConfigurations.nix
2025-04-08 19:03:29 +02:00
renovate[bot]
c7029b408b
fix(deps): update tanstack-query monorepo to v5.72.1
2025-04-08 16:50:21 +00:00
renovate[bot]
f2aad30c17
chore(deps): update nixpkgs digest to b0b4b5f
2025-04-08 16:10:09 +00:00
Mic92
012154e257
Merge pull request 'sops: fix compatibility with new format' ( #3242 ) from directory-context into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3242
2025-04-08 16:05:43 +00:00
Jörg Thalheim
381c4d292c
bump disko to fix quoting issue
2025-04-08 17:45:48 +02:00
Jörg Thalheim
be37194b9a
sops: fix compatibility with new format
...
The new format can have null values now.
2025-04-08 17:44:23 +02:00
DavHau
ba69a8a860
inventory tests: generate vars for dummy test
2025-04-08 21:06:23 +07:00
DavHau
7abaee1398
data-mesher: generate vars for test vis update-vars.py
2025-04-08 20:54:11 +07:00
DavHau
607a7fedd4
data-mesher: use inventory test framework for vars
2025-04-08 20:54:11 +07:00
DavHau
26e97c066c
inventory tests: add vars support
...
- Add support for leading vars
- Extend test to test for vars support
- Improve update-vars.py to take test name as argument
2025-04-08 20:54:11 +07:00
Johannes Kirschbauer
e6312601a5
docs(inventory): improve extendSettings docs
2025-04-08 15:46:13 +02:00
Johannes Kirschbauer
29fbf361a7
chore(lib/modulesDocs): move dependency on clan-core and pkgs into function args
...
This is a good idea, to make lib agnostic from clan-core
The next step could be to rename the clan-core argument name
Or to explizitly pass the actual dependencies, instead of everything in
clan-core
2025-04-08 15:30:49 +02:00
Johannes Kirschbauer
d472f0a174
doc(inventory): document experimental settings vendoring
2025-04-08 15:24:12 +02:00
renovate[bot]
ffac38e299
chore(deps): update sops-nix digest to 69d5a5a
2025-04-08 12:50:12 +00:00
hsjobeki
6df1b4a085
Merge pull request 'feat(inventory/instances): add extendSettings as argument to perInstance, perMachine' ( #3233 ) from hsjobeki/clan-core:role-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3233
2025-04-08 12:46:44 +00:00
Johannes Kirschbauer
375b18fd32
feat(inventory/instances): dont set module location to allow underlying error location to bubble up
2025-04-08 14:36:29 +02:00
renovate[bot]
6f922bace7
chore(deps): update data-mesher digest to 302252a
2025-04-08 12:10:12 +00:00
Mic92
413d932238
Merge pull request 'directory-context' ( #3234 ) from directory-context into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3234
2025-04-08 12:09:36 +00:00
Jörg Thalheim
681d28430b
inventory: don't loose string context of directory
2025-04-08 13:50:27 +02:00
Johannes Kirschbauer
5db084e011
feat(inventory/instances): add extendSettings as argument to perInstance, perMachine
2025-04-08 13:15:06 +02:00
Mic92
faf1af94a3
Merge pull request 'user-password: fix variables beeing incorrect' ( #3229 ) from user-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3229
2025-04-08 10:16:15 +00:00
Mic92
0837009d2c
Merge pull request 'docs-errata' ( #3161 ) from docs-errata into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3161
2025-04-08 10:00:53 +00:00
Brian McGee
d1f640b145
fix(docs): add the requirement to export clan.templates in flake outputs to migration guide
2025-04-08 10:44:36 +01:00
Brian McGee
b31cf42d2d
fix(docs): tighten up validation for meta.name and improved description
2025-04-08 10:44:35 +01:00
Brian McGee
8f290c08b7
fix(docs): correct flake sample in migration guide
...
diff --git a/docs/site/manual/migration-guide.md b/docs/site/manual/migration-guide.md
index 551a3ef0..38be9a0e 100644
--- a/docs/site/manual/migration-guide.md
+++ b/docs/site/manual/migration-guide.md
@@ -77,13 +77,18 @@ For the provide flake example, your flake should now look like this:
```nix
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
+
+ inputs.clan-core = {
+ url = "git+https://git.clan.lol/clan/clan-core ";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
- outputs = { self, nixpkgs, ... }:
+ outputs = { self, nixpkgs, clan-core, ... }:
let
clan = clan-core.lib.buildClan {
self = self; # this needs to point at the repository root
specialArgs = {};
- inventory.meta.name = "NEEDS_TO_BE_UNIQUE"; # TODO: Changeme
+ meta.name = throw "Change me to something unique";
machines = {
berlin = {
2025-04-08 10:44:33 +01:00
Jörg Thalheim
6ba2d7fc02
user-password: fix variables beeing incorrect
2025-04-08 09:37:05 +00:00
Jörg Thalheim
b1ddf86115
user-password: fix variables beeing incorrect
2025-04-08 11:36:43 +02:00
Mic92
84a3f709e0
Merge pull request 'user-password: migrate to vars' ( #3227 ) from user-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3227
2025-04-08 08:44:32 +00:00
Jörg Thalheim
99bcd3f797
installation: use networkd everywhere
2025-04-08 10:33:48 +02:00
Jörg Thalheim
f24df0e33b
user-password: migrate to vars
2025-04-08 10:16:59 +02:00
DavHau
a8e73f0260
inventory tests: generalize update-vars.py
...
... and move to pkgs/scripts/
2025-04-08 07:45:30 +00:00
Michael Hoang
817e9ecc86
Merge pull request 'build-clan: support constructing darwinConfigurations' ( #3115 ) from mac into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3115
2025-04-08 07:44:09 +00:00
Michael Hoang
ce85aebc17
tests: add --show-trace to nix-unit tests
2025-04-08 08:53:29 +02:00
Michael Hoang
83a2de0f47
cli: don't update macOS machines
2025-04-08 08:53:29 +02:00
Michael Hoang
b5a57a72a0
build-clan: support constructing darwinConfigurations
2025-04-08 08:53:29 +02:00
Michael Hoang
c2eaf74df5
lib/jsonschema: fix enum support
2025-04-08 08:53:27 +02:00
Michael Hoang
8bc2112e45
flake: add nix-darwin
2025-04-08 07:39:49 +02:00
renovate[bot]
dd30ae84bd
chore(deps): update typescript-eslint monorepo to v8.29.1
2025-04-07 17:20:17 +00:00
DavHau
99f8bcc13c
data-mesher: use new test framework
2025-04-07 20:43:19 +07:00
DavHau
11cd91e882
inventory tests: improve framework to set better defaults
2025-04-07 19:58:53 +07:00
DavHau
d7c3039666
add CLAN_NO_COMMIT env var to disable committing
...
This is required when calling vars generators for generating vars for
tests
2025-04-07 18:59:19 +07:00
renovate[bot]
d57522f9fe
fix(deps): update tanstack-query monorepo to v5.72.0
2025-04-07 09:40:15 +00:00
renovate[bot]
37afb21775
chore(deps): update data-mesher digest to aea65b1
2025-04-07 07:20:13 +00:00
renovate[bot]
fe5b3f8d6b
chore(deps): update data-mesher digest to 54bbd42
2025-04-07 00:40:13 +00:00
renovate[bot]
76c02d19ab
chore(deps): update sops-nix digest to 523f58a
2025-04-06 07:10:20 +00:00
renovate[bot]
7e407f79e0
chore(deps): update data-mesher digest to 3239dc2
2025-04-06 06:50:09 +00:00
Mic92
7bf140bc31
Merge pull request 'only compute final_script and validation hashes once' ( #3206 ) from fix-eval into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3206
2025-04-05 06:44:28 +00:00
renovate[bot]
0738e2b69f
chore(deps): update dependency typescript to v5.8.3
2025-04-05 00:20:15 +00:00
renovate[bot]
05bf0bb627
chore(deps): update dependency eslint to v9.24.0
2025-04-04 19:40:15 +00:00
renovate[bot]
c2e38f0f2c
chore(deps): update dependency @eslint/js to v9.24.0
2025-04-04 19:00:15 +00:00
Jörg Thalheim
721f61eaed
only compute final_script and validation hashes once
2025-04-04 18:31:12 +02:00
Jörg Thalheim
72d3c4dbda
don't use python3 in python's callPackage scope
2025-04-04 18:31:12 +02:00
Mic92
869531d14f
Merge pull request 'ssh/upload: fix shell quoting' ( #3205 ) from default-groups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3205
2025-04-04 15:27:17 +00:00
Jörg Thalheim
340bf4752f
ssh/upload: fix shell quoting
2025-04-04 15:10:09 +00:00
renovate[bot]
095047f2bc
fix(deps): update dependency @tanstack/solid-query to v5.71.10
2025-04-04 13:00:15 +00:00
hsjobeki
d15ac22d41
Merge pull request 'chore(lib/select): move into subfolder with a test file' ( #3175 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3175
2025-04-04 12:32:32 +00:00
Johannes Kirschbauer
bc2e353dff
feat(lib/inventory): fix arguments discrepancy on perInstance and perMachine
2025-04-04 14:22:36 +02:00
Johannes Kirschbauer
64e444d4cf
docs(inventory/instances): init guide for setting up the new service model
2025-04-04 14:22:35 +02:00
Johannes Kirschbauer
3358eb1bfa
chore(lib/select): init simple test
2025-04-04 14:06:05 +02:00
renovate[bot]
cc383867fc
chore(deps): update sops-nix digest to cff8437
2025-04-04 09:00:32 +00:00
renovate[bot]
fb1694a182
chore(deps): update treefmt-nix digest to 815e412
2025-04-04 08:40:26 +00:00
renovate[bot]
9e3f0d288d
chore(deps): update sops-nix digest to 9bc9b59
2025-04-04 08:20:25 +00:00
renovate[bot]
2f93c7fa77
chore(deps): update data-mesher digest to 7656e00
2025-04-04 08:00:13 +00:00
renovate[bot]
a76fb1e8da
chore(deps): update data-mesher digest to d4464c9
2025-04-03 23:50:09 +00:00
renovate[bot]
170b821364
chore(deps): update data-mesher digest to faaaf66
2025-04-03 22:20:26 +00:00
renovate[bot]
13daf4b320
fix(deps): update dependency @tanstack/solid-query to v5.71.9
2025-04-03 22:00:14 +00:00
renovate[bot]
e1eba45b98
chore(deps): update actions/create-github-app-token action to v2
2025-04-03 19:50:10 +00:00
renovate[bot]
92229d364e
fix(deps): update dependency @tanstack/solid-query to v5.71.8
2025-04-03 16:40:15 +00:00
renovate[bot]
5d781dd0b8
chore(deps): update data-mesher digest to 83cc954
2025-04-03 12:20:13 +00:00
Mic92
167e99e837
Merge pull request 'docs/secrets: mention defaultGroups option' ( #3193 ) from default-groups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3193
2025-04-03 12:12:01 +00:00
Jörg Thalheim
1fc2dd072b
docs/secrets: mention defaultGroups option
2025-04-03 14:02:05 +02:00
renovate[bot]
90e1ca6210
chore(deps): update treefmt-nix digest to 57dabe2
2025-04-03 11:30:11 +00:00
DavHau
6226164e0b
update nixos-facter-modules for bugfix
2025-04-03 17:31:32 +07:00
DavHau
89bfe4c95f
inventory tests: set machine.name automatically
2025-04-03 17:29:07 +07:00
DavHau
e435bc2f72
workaround bug in docs rendering if machine.name is not set
2025-04-03 17:29:07 +07:00
DavHau
085a8c2050
remove some references to config in options
2025-04-03 17:29:07 +07:00
DavHau
c411e8bddc
remove definitions of clan.core.settings.machine.name on tests
2025-04-03 17:29:07 +07:00
DavHau
e540b82dc6
remove default for clan.core.settings.machine.name and make readOnly
...
There is not reason that there needs to be a default. Machines are usually defined as an attrset, so there is no reason to have a default.
Also make this readOnly as we never want to override it.
2025-04-03 17:29:07 +07:00
renovate[bot]
db2bd58d8f
chore(deps): update dependency vite to v6.2.5
2025-04-03 10:00:27 +00:00
renovate[bot]
980169e3bb
chore(deps): update nixos-facter-modules digest to 58ad969
2025-04-03 09:40:14 +00:00
renovate[bot]
35ce38d3fe
fix(deps): update tanstack-query monorepo
2025-04-03 08:40:30 +00:00
renovate[bot]
fd90854ab8
chore(deps): update dependency @types/node to v22.14.0
2025-04-03 08:20:25 +00:00
renovate[bot]
7b9c1915a9
chore(deps): update data-mesher digest to 9959605
2025-04-03 08:00:24 +00:00
renovate[bot]
fb646f5454
chore(deps): update disko digest to 329d3d7
2025-04-03 07:40:29 +00:00
renovate[bot]
288e8e9220
chore(deps): update sops-nix digest to 4521de6
2025-04-03 07:10:16 +00:00
Michael Hoang
04f88193d5
Merge pull request 'networking: don't set targetHost if there's only a hostname' ( #3184 ) from push-ovzouzrtzkpx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3184
2025-04-03 07:07:38 +00:00
Michael Hoang
8b350d4826
networking: don't set targetHost if FQDN is not set
...
This will change in the future once we finish the networking Clan module
and we'll have a reliable way of addressing every node automagically.
Until then, this will have to do.
2025-04-03 08:43:10 +02:00
Michael Hoang
d3a8e24319
Merge pull request 'cli: improve --help documentation' ( #3186 ) from push-qnptotlvsnyq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3186
2025-04-03 06:39:29 +00:00
Michael Hoang
7b456be472
cli: managed by clan -> managed by Clan
2025-04-03 00:25:51 +09:00
Michael Hoang
c7ba642a38
cli: machines update [MACHINE] -> machines update [MACHINES]
2025-04-03 00:25:51 +09:00
Johannes Kirschbauer
11f213f8e2
feat(inventory/instances): prevent modules without explizit class from beeing used
2025-04-02 14:57:21 +02:00
Johannes Kirschbauer
542a6a3fd1
feat(buildClan): add clan.modules as output
2025-04-02 13:38:38 +02:00
renovate[bot]
4697ef56c1
chore(deps): update data-mesher digest to fd8dd31
2025-04-02 11:20:28 +00:00
renovate[bot]
4ba06faf64
chore(deps): update treefmt-nix digest to 18bed67
2025-04-02 11:00:15 +00:00
Johannes Kirschbauer
8a1584b145
chore(lib/introspection): add comment about upstream PRs, that allows removing features
2025-04-02 12:38:28 +02:00
Johannes Kirschbauer
1aaa328e1b
chore(lib/select): move into subfolder with a test file
2025-04-02 12:37:49 +02:00
renovate[bot]
0268616bc0
fix(deps): update dependency @tanstack/solid-query to v5.71.3
2025-04-02 10:00:15 +00:00
hsjobeki
35d5a7a79f
Merge pull request 'lib-cleanup' ( #3173 ) from hsjobeki/clan-core:lib-cleanup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3173
2025-04-02 09:34:47 +00:00
Johannes Kirschbauer
f6f0c1b356
fix(inventory/interface): use explizit file dependency, until dependency injection works properly
2025-04-02 11:12:16 +02:00
Johannes Kirschbauer
6e16d1345e
chore(lib/treewide): cleanup directory struture of lib. See lib/readme.md for details
2025-04-02 11:11:21 +02:00
hsjobeki
e5d8245751
Merge pull request 'chore(buildClan): remove dependency on clan-core in the lib function' ( #3167 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3167
2025-04-02 09:09:28 +00:00
Johannes Kirschbauer
dd10497d96
fix(test/vars): include lib into test closure
2025-04-02 10:31:16 +02:00
Johannes Kirschbauer
ad43cb63ca
chore(lib/readme): use real-world example for directory structure vision
2025-04-02 09:56:30 +02:00
Johannes Kirschbauer
d69a074366
chore(buildClan): make buildClan and flake-parts return identical outputs
2025-04-02 09:56:28 +02:00
Johannes Kirschbauer
be62c8844e
fix(computed-tags): typo
2025-04-02 09:49:54 +02:00
Johannes Kirschbauer
05b6180675
chore(buildClan): remove dependency on clan-core in the lib function
2025-04-02 09:49:54 +02:00
renovate[bot]
944b93c49c
chore(deps): update data-mesher digest to a0c39f6
2025-04-02 03:30:10 +00:00
renovate[bot]
c2cee236c2
chore(deps): update data-mesher digest to 463cc58
2025-04-02 02:10:11 +00:00
renovate[bot]
f844ee8c20
chore(deps): update flake-parts digest to c621e84
2025-04-01 23:50:10 +00:00
renovate[bot]
9e7e999c35
chore(deps): update dependency @types/node to v22.13.17
2025-04-01 16:40:29 +00:00
renovate[bot]
9f86f09355
chore(deps): update disko digest to b36e876
2025-04-01 16:30:11 +00:00
hsjobeki
483f6bd025
Merge pull request 'chore(lib/buildClan): clean up and turn into a 'module'' ( #3166 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3166
2025-04-01 14:46:44 +00:00
Johannes Kirschbauer
3c2708b263
feat(lib/buildClan): turn lib/build-clan into a 'buildClanModule' with sub-features such as 'buildClan' and 'flakePartsModule'
2025-04-01 15:39:12 +02:00
Johannes Kirschbauer
6bc98c14e5
chore(buildClan): set clanInternals.modules to clanInternals.clanModules
2025-04-01 15:36:37 +02:00
renovate[bot]
b87b32247c
fix(deps): update dependency @tanstack/solid-query to v5.71.2
2025-04-01 13:00:29 +00:00
renovate[bot]
a34ad869c6
chore(deps): update sops-nix digest to e7f4d7e
2025-04-01 12:40:18 +00:00
Johannes Kirschbauer
9ef42996e4
chore(buildClan): rename eval.nix to function-adapter.nix to make its shallows purpose more clear
2025-04-01 14:33:55 +02:00
hsjobeki
e1487f2003
Merge pull request 'feat(inventory): remove tag settings for now' ( #3158 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3158
2025-04-01 12:30:25 +00:00
renovate[bot]
4eccc6b307
chore(deps): update data-mesher digest to 17c0fea
2025-04-01 12:00:14 +00:00
Johannes Kirschbauer
b08c67cc7b
test(inventory/instnces): add tests for 'perInstance' arguments
2025-04-01 12:50:04 +02:00
renovate[bot]
a4794e6ad0
chore(deps): update dependency solid-devtools to ^0.34.0
2025-04-01 10:20:21 +00:00
renovate[bot]
413adab394
chore(deps): update dependency @types/node to v22.13.16
2025-04-01 09:40:17 +00:00
Johannes Kirschbauer
663739a629
feat(inventory): remove tag settings for now
2025-04-01 11:04:51 +02:00
renovate[bot]
38c48beb1a
chore(deps): update sops-nix digest to 49cffb8
2025-04-01 08:30:12 +00:00
renovate[bot]
37f9f697da
chore(deps): update data-mesher digest to 8663e47
2025-04-01 07:10:10 +00:00
renovate[bot]
34db27de44
chore(deps): update dependency @types/node to v22.13.15
2025-04-01 05:40:15 +00:00
Luis Hebendanz
10411d573a
Merge pull request 'clan-cli: Fix deployment as non root edgecase' ( #3153 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3153
2025-03-31 18:37:59 +00:00
Qubasa
fb1cea261e
clan-cli: Fix deployment as non root edgecase
2025-03-31 20:25:05 +02:00
renovate[bot]
9bfce828e0
chore(deps): update typescript-eslint monorepo to v8.29.0
2025-03-31 17:20:16 +00:00
renovate[bot]
fda207d265
chore(deps): update nixpkgs digest to 63158b9
2025-03-31 16:50:20 +00:00
renovate[bot]
837f62337d
chore(deps): update data-mesher digest to fbacb64
2025-03-31 16:30:10 +00:00
renovate[bot]
2370a1fe8c
chore(deps): update dependency vitest to v3.1.1
2025-03-31 10:20:18 +00:00
renovate[bot]
3d7cf846e4
fix(deps): update dependency @tanstack/solid-query to v5.71.1
2025-03-31 09:50:24 +00:00
renovate[bot]
1fd08ca013
chore(deps): update dependency vite to v6.2.4
2025-03-31 09:40:16 +00:00
DavHau
8479e6c5c3
inventory test framework: init
...
Add nixos test module checks/lib/test-inventory-nix
accepts new option `inventory` and creates machines accordingly with correct imports
2025-03-31 13:39:23 +07:00
renovate[bot]
566441d580
chore(deps): update data-mesher digest to bf8c544
2025-03-31 00:20:25 +00:00
renovate[bot]
0a468c8be1
chore(deps): lock file maintenance
2025-03-31 00:00:41 +00:00
hsjobeki
2ef82a5dfa
Merge pull request 'chore(lib): prepare for refactoring into clanLib' ( #3141 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3141
2025-03-30 15:51:17 +00:00
Johannes Kirschbauer
ae8e7edac0
feat(clanLib): expose clanInternals.clanLib
...
This is usefully for:
- As api via python
- for testing clanLib downstream
2025-03-30 17:07:11 +02:00
Johannes Kirschbauer
ec086c3323
fix(lib/evalClan): evalClan is an explizit lib attribute
2025-03-30 17:07:11 +02:00
Johannes Kirschbauer
208cd12328
feat(inventory/instances): only warn if instances is populated
2025-03-30 17:07:11 +02:00
Johannes Kirschbauer
d9741be51a
feat(lib/inventory): use clanLib instead of clan-core as internal specialArg. This has the benefit of beeing more narrow scoped.
2025-03-30 17:07:09 +02:00
Johannes Kirschbauer
8a67602469
feat(lib/modules): remove dependency on self
2025-03-30 16:12:01 +02:00
Johannes Kirschbauer
0083ea86df
feat(lib): init callLib; helper to bootstrap clanLib
2025-03-30 16:11:04 +02:00
Johannes Kirschbauer
77b6afd034
chore(lib): prepare for refactoring into clanLib
2025-03-30 15:56:54 +02:00
hsjobeki
5c33d787f6
Merge pull request 'enable clan services for machines' ( #3134 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3134
2025-03-30 13:54:11 +00:00
Johannes Kirschbauer
d9f3169ac3
docs(lib): init readme with folder and testing conventions
2025-03-30 15:29:05 +02:00
Johannes Kirschbauer
a867034aae
chore(auto-imports): Remove the auto-import feature. There will be a replacement, to make imports explicit"
2025-03-30 15:29:05 +02:00
Johannes Kirschbauer
eac13871c2
fix(eval/tests): distributed-services: don't abort on warn in tests"
2025-03-30 15:29:05 +02:00
Johannes Kirschbauer
a3b636aab3
fix(tests): include 'lib' always as a whole
2025-03-30 15:29:05 +02:00
Johannes Kirschbauer
2190dffad0
feat(inventory/instances): add wip warning
2025-03-30 15:29:05 +02:00
Johannes Kirschbauer
5689f305d9
feat(inventory/instances): improve error location
2025-03-30 15:29:05 +02:00
Johannes Kirschbauer
b85705ff63
feat(inventory/instances): add service result to nixos machines
2025-03-30 15:29:05 +02:00
renovate[bot]
1879ca38cc
fix(deps): update dependency @tanstack/solid-query to v5.71.0
2025-03-30 13:00:14 +00:00
renovate[bot]
19f31e1ef7
chore(deps): update data-mesher digest to 4d139ac
2025-03-30 09:50:10 +00:00
renovate[bot]
522b6a1757
chore(deps): update nixpkgs digest to eb0e0f2
2025-03-30 09:10:24 +00:00
lassulus
ad40871739
Merge pull request 'Make Generator validation more dynamic' ( #3052 ) from tangential/clan-core:dynamic-vars-generator-validation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3052
2025-03-30 07:00:43 +00:00
Jonathan Thiessen
89379f103a
Make Generator's validation dynamic
...
* Switch `Generator`'s `validation` from a regular property to
an `@property` annotated method backed by `Machine`'s `eval_nix()`.
* Ensure that `Machine`'s flake cache is flushed after each
effectful generator execution (rather than only after all
generators have been executed).
2025-03-30 04:33:30 +00:00
Jonathan Thiessen
ea7cfc350a
Add dependent vars generator dynamic validation test
2025-03-30 04:33:30 +00:00
Jonathan Thiessen
3c0c2ce9d6
Fix cached None support in FlakeCacheEntry
...
Previously, you could cache None values; however,
insertion wasn't idempotent/identical reinsertion
would lead to errors due to missing None checks.
2025-03-30 04:33:30 +00:00
Jonathan Thiessen
d4fa480262
Add overlapping (consistent) flake cache insert test
...
* Additionally, update `insert`'s input type hint to support None values
(as they are already selectable and (one shot) insertable).
This is necessary to appease the linter wrt the added test.
2025-03-30 04:33:30 +00:00
renovate[bot]
c6698e8a1f
chore(deps): update sops-nix digest to 8e87388
2025-03-30 04:00:13 +00:00
Luis Hebendanz
3b2ed4e6ab
Merge pull request 'clan-cli: Fix deployment as non root with a buildHost set' ( #3132 ) from Qubasa/clan-core:fix_target_host_as_non_root into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3132
2025-03-29 16:56:49 +00:00
hsjobeki
9b1abe3a84
Merge pull request 'init inventory.instances and clan.service modules' ( #3102 ) from hsjobeki/clan-core:clan-services into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3102
2025-03-29 16:22:30 +00:00
Johannes Kirschbauer
282205dedb
chore(ui): ignore type error in unfinished features
2025-03-29 16:45:05 +01:00
Johannes Kirschbauer
9a5b3597ee
test(inventory/legacy): don't need to support clanModules
2025-03-29 16:35:43 +01:00
Johannes Kirschbauer
50cac33857
fix(auto-imports): disable since this is not needed anymore and causing collision with the new module type
2025-03-29 16:24:48 +01:00
renovate[bot]
162b2cfc29
chore(deps): update data-mesher digest to 734883c
2025-03-29 15:20:14 +00:00
Johannes Kirschbauer
64b7356d3f
test(inventory/instances): add tests for per machine resolution
2025-03-29 15:40:31 +01:00
Johannes Kirschbauer
330a4b2449
feat(inventory/instances): preserve settings modifiers close at source
2025-03-29 15:39:02 +01:00
brianmcgee
ed69e04bd9
Merge pull request 'data-mesher-module' ( #3086 ) from data-mesher-module into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3086
2025-03-29 14:07:42 +00:00
Pablo Ovelleiro Corral
8ed186ce55
data-mesher: init module
...
Co-authored-by: Brian McGee <brian@bmcgee.ie >
2025-03-29 13:49:41 +00:00
Johannes Kirschbauer
c20153fc1e
chore: add description to {manifest, name} option
2025-03-29 14:33:44 +01:00
Johannes Kirschbauer
0af7c2f786
chore: format test, remove unused attributes
2025-03-29 14:27:52 +01:00
Johannes Kirschbauer
0f02c3c42c
chore: rename unused attributes in inventory adapter
2025-03-29 14:27:27 +01:00
Johannes Kirschbauer
cbc36be62f
chore: remove unused attributes from flake-module
2025-03-29 14:27:04 +01:00
Johannes Kirschbauer
12b88cd19b
feat(classgen): convert only certain attributes
2025-03-29 14:22:34 +01:00
Johannes Kirschbauer
16644309b4
fix(cli/inventory): update classes
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
ca1777fddc
fix(inventory/instances): fix jsonschema compatibility
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
8a0e4b4ac4
feat(clan/services): init recursive service module
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
69b7c9602f
feat(clan/services): init test-suite for eval test
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
a5a06dc086
feat(clan/services): init adapter function to convert inventory instances into clan.service module configurations
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
922a8510e4
feat(inventory/instances): init instances as new attribute for adding distributed services
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
111d55a1bc
feat(clan/services): init new clanInternals attribute 'distributedServices'
2025-03-29 13:25:19 +01:00
Johannes Kirschbauer
c71d5e9d48
feat(inventory/modules): allow inline modules
2025-03-29 13:25:19 +01:00
Qubasa
a992484fb9
clan-cli: Fix deployment as non root with a buildHost set
2025-03-28 18:47:36 +01:00
Mic92
3b9153fb7f
Merge pull request 'clan_cli: fix support for non-root deployment user (from rtunreal)' ( #3124 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3124
2025-03-28 17:26:33 +00:00
Jörg Thalheim
eaf20ae09a
tests: add fake_sudo to sshd fixture
...
This allows to use the same code for both testing and real-world.
2025-03-28 17:14:22 +00:00
Qubasa
2406a62ce0
test_secrets_upload: Don't prepend sudo inside test; Improve secret upload test
2025-03-28 17:14:22 +00:00
renovate[bot]
73add61bce
chore(deps): update treefmt-nix digest to 29a3d7b
2025-03-28 15:50:19 +00:00
renovate[bot]
33bea67bdf
chore(deps): update nixpkgs digest to 6c59633
2025-03-28 15:30:25 +00:00
renovate[bot]
2d3365b4d6
fix(deps): update dependency @tanstack/solid-query to v5.70.0
2025-03-28 15:20:17 +00:00
renovate[bot]
ae2d0b6518
chore(deps): update nixpkgs digest to 25d1b84
2025-03-27 03:30:23 +00:00
renovate[bot]
36f7dc6bfd
chore(deps): update dependency @types/node to v22.13.14
2025-03-27 03:20:15 +00:00
Qubasa
0afbf9dd45
checks/installation-without-system: modify to install through normal user instead of root
2025-03-26 18:37:31 +01:00
RTUnreal
0ea9b45838
clan_cli: fix support for non-root deployment user
2025-03-26 18:37:31 +01:00
DavHau
48fa29afad
vars/prompts: print var name even if custom description is set
2025-03-26 10:48:05 +00:00
renovate[bot]
820b2aa840
chore(deps): update treefmt-nix digest to 61c8834
2025-03-26 10:10:09 +00:00
Mic92
1ef6a24a28
Merge pull request 'ADR: init clan api as library decision record' ( #2975 ) from hsjobeki/clan-core:adr/architecture into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2975
2025-03-26 10:01:55 +00:00
Johannes Kirschbauer
15a31ac562
ADR: init clan api as library decision record
2025-03-26 09:52:05 +00:00
Mic92
70b49c0451
Merge pull request 'Fix(classgen): support number conversion from jsonschema' ( #3119 ) from hsjobeki/clan-core:class-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3119
2025-03-26 09:45:09 +00:00
Johannes Kirschbauer
aee7aaeebb
Fix(classgen): support number conversion from jsonschema
2025-03-25 19:27:01 +01:00
hsjobeki
6da02e46b5
Merge pull request 'docs/configure: Remove reference to unfinished feature' ( #3097 ) from kenji/clan-core:docs-remove-upcoming into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3097
2025-03-25 18:12:09 +00:00
Mic92
890d579d17
Merge pull request 'Enable all pytest without core' ( #3118 ) from enable-more-macos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3118
2025-03-25 17:41:04 +00:00
Jörg Thalheim
9fcf3edab3
add missing lock around "flake" "lock"
2025-03-25 18:30:18 +01:00
Jörg Thalheim
d3a1b29c6b
make gnupg a dependency of sops
...
if anything uses a gnupg key, we need the gnupg binary.
Sucks a bit, but at least it makes it work everywhere.
2025-03-25 18:30:18 +01:00
Jörg Thalheim
3a78dd6ded
fix gpg key fixture on macOS
...
macOS has length limitations for unix sockets, which are violated by the
default length of temporary directories.
2025-03-25 18:30:18 +01:00
Jörg Thalheim
3c7991137a
move git_repo fixture to its own file for consistency
2025-03-25 18:30:11 +01:00
Jörg Thalheim
fb70e715cf
use pre-generate gpg key for tests
...
this is a bit faster.
2025-03-25 18:30:11 +01:00
Jörg Thalheim
c20c0d4ea8
enable python tests without core on macOS
2025-03-25 18:29:49 +01:00
Jörg Thalheim
7a46c8b8de
skip sshd-based tests on macOS for now
2025-03-25 18:29:49 +01:00
Mic92
f136e8b945
Merge pull request 'docs/index: Clear up API Reference description' ( #3098 ) from kenji/clan-core:docs-overview into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3098
2025-03-25 09:34:18 +00:00
renovate[bot]
2dd9e5c751
chore(deps): lock file maintenance
2025-03-25 02:10:52 +00:00
renovate[bot]
1ff78e6ff0
chore(deps): update nixpkgs digest to 1750f3c
2025-03-25 01:50:24 +00:00
renovate[bot]
124594dc56
chore(deps): update nixpkgs digest to dd61313
2025-03-24 19:30:24 +00:00
renovate[bot]
19164d5cd0
chore(deps): update typescript-eslint monorepo to v8.28.0
2025-03-24 17:20:18 +00:00
renovate[bot]
bdb3733679
chore(deps): update dependency @types/node to v22.13.13
2025-03-24 11:20:15 +00:00
renovate[bot]
385bc879ee
chore(deps): update dependency vite to v6.2.3
2025-03-24 10:30:17 +00:00
Michael Hoang
17049a12f1
Merge pull request 'checks/flash: fix on aarch64-linux' ( #3109 ) from push-wyyyplplwnpy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3109
2025-03-24 10:23:24 +00:00
Michael Hoang
b15d3f783a
checks/flash: support aarch64-linux
2025-03-24 19:13:20 +09:00
Michael Hoang
7178b44a4e
Merge pull request 'checks/installation-without-system: support aarch64-linux' ( #3108 ) from push-wnsmqwtkplqw into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3108
2025-03-24 09:47:53 +00:00
Michael Hoang
711ccc4d8a
checks/installation-without-system: add aarch64-linux facter.json
...
This doesn't fix the test on `aarch64-linux` but brings it inline with
where `test-installation` fails.
2025-03-24 18:37:46 +09:00
Michael Hoang
7e07854058
Merge pull request 'checks/backups: don't hardcode system' ( #3107 ) from push-unpltryrzlsx into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3107
2025-03-24 08:38:28 +00:00
Michael Hoang
82509e9d17
checks: don't build test machines as they may be system-less now
2025-03-24 17:27:36 +09:00
Michael Hoang
bd9078e14e
checks/backups: don't hardcode system
2025-03-24 17:26:48 +09:00
renovate[bot]
9671358443
chore(deps): update dependency @types/node to v22.13.12
2025-03-24 06:40:15 +00:00
Michael Hoang
0da8deb88e
Merge pull request 'checks: disable all failing aarch64-linux checks' ( #3104 ) from push-zqxwrttvxuqy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3104
2025-03-24 04:01:16 +00:00
Michael Hoang
199bac0201
checks: disable all failing aarch64-linux checks
2025-03-24 12:50:57 +09:00
renovate[bot]
437105c185
chore(deps): update sops-nix digest to 67566fe
2025-03-23 04:00:13 +00:00
kenji
d92b6eb7ea
Merge pull request 'docs/configure: Fix erroneous option attribute' ( #3099 ) from kenji/clan-core:docs-fix-3094 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3099
2025-03-22 23:27:16 +00:00
a-kenji
a00377b7c1
docs/configure: Fix erroneous option attribute
...
Fixes: 3094
2025-03-22 13:05:55 -07:00
a-kenji
d7d8d55c45
docs/index: Clear up API Reference description
...
The term "auto generated" gives leeway to the incorrect assumption
that this is not a curated reference that contains written documentation
especially for the rendered reference.
This is not the case.
2025-03-22 12:56:51 -07:00
a-kenji
9a9046c484
docs/configure: Remove reference to unfinished feature
2025-03-22 12:53:59 -07:00
Mic92
af15a0eb97
Merge pull request 'don't add nixpkgs to nix registry to not conflict with nixpkgs' ( #3096 ) from nixpkgs-conflict into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3096
2025-03-22 16:16:27 +00:00
Jörg Thalheim
a4ded2fd70
tests/installer/client: increase RAM
2025-03-22 17:07:52 +01:00
Jörg Thalheim
ee284a7c60
don't add nixpkgs to nix registry to not conflict with nixpkgs
...
NixOS is already doing this for us.
2025-03-22 14:45:53 +01:00
renovate[bot]
d5e2c060d7
chore(deps): update nixpkgs digest to 94c4dbe
2025-03-22 04:00:29 +00:00
renovate[bot]
3a78b0a753
chore(deps): update sops-nix digest to b775692
2025-03-21 22:50:10 +00:00
renovate[bot]
45c25f0900
chore(deps): update dependency eslint to v9.23.0
2025-03-21 20:40:14 +00:00
renovate[bot]
c402667ee7
chore(deps): update dependency @eslint/js to v9.23.0
2025-03-21 20:20:13 +00:00
renovate[bot]
8a4ca6f01a
chore(deps): update nixpkgs digest to bfa9810
2025-03-21 19:00:27 +00:00
Luis Hebendanz
672dc785d6
Merge pull request 'sshd: Fix missing cfg.fqdn regression' ( #3087 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3087
2025-03-21 16:47:25 +00:00
Qubasa
5c62f113fe
sshd: Fix missing cfg.fqdn regression
2025-03-21 17:45:25 +01:00
lassulus
b925d1c608
Merge pull request 'clan-cli: cleanup broken deployment cache' ( #3066 ) from fix_caching into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3066
2025-03-21 15:49:22 +00:00
renovate[bot]
8c5a550a74
chore(deps): update nixpkgs digest to 7344a3b
2025-03-21 12:30:23 +00:00
Jörg Thalheim
60302dd1d2
tests/sshd: add a 5 second timeout for sshd to start
2025-03-21 12:41:36 +01:00
renovate[bot]
f4cd130087
chore(deps): update dependency @types/node to v22.13.11
2025-03-21 09:20:13 +00:00
renovate[bot]
14e7bfd810
chore(deps): update nixpkgs digest to 2a725d4
2025-03-20 21:20:28 +00:00
renovate[bot]
b302168819
chore(deps): update nixpkgs digest to 44e422b
2025-03-20 20:20:27 +00:00
Michael Hoang
94f7d5b573
Merge pull request 'networking: add a default value for targetHost' ( #3080 ) from push-rlvulrtxqkyq into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3080
2025-03-20 14:10:19 +00:00
Michael Hoang
753b341f8c
networking: add a default value for targetHost
2025-03-20 22:45:19 +09:00
Michael Hoang
91dbf20cd5
Merge pull request 'sshd: trust own ed25519 host key as a known host' ( #3077 ) from push-opymuwrqqqvv into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3077
2025-03-20 13:44:25 +00:00
Michael Hoang
effcbaaa0f
sshd: trust own ed25519 host key as a known host
2025-03-20 18:40:32 +09:00
Qubasa
dfd550f9be
clan-cli: cleanup broken deployment cache
2025-03-20 00:17:36 -07:00
Michael Hoang
6ffbb43cb2
Merge pull request 'checks: use pkgs.nixVersions.latest until pkgs.nix is 2.26+' ( #3076 ) from push-vswxxyynxtmz into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3076
2025-03-20 07:01:57 +00:00
Michael Hoang
62d9a325a2
checks: use pkgs.nixVersions.latest until pkgs.nix is 2.26+
2025-03-20 15:52:13 +09:00
renovate[bot]
d5e4d96fee
chore(deps): update typescript-eslint monorepo to v8.27.0
2025-03-20 01:20:15 +00:00
renovate[bot]
ba92ef9f7e
chore(deps): update sops-nix digest to 1770be8
2025-03-19 18:10:10 +00:00
Mic92
4f8b1904eb
Merge pull request 'pytests: use /tmp on macos to avoid unix socket issues' ( #3073 ) from nixpkgs-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3073
2025-03-19 17:45:15 +00:00
Jörg Thalheim
c5e30a40b4
pytests: use /tmp on macos to avoid unix socket issues
2025-03-19 18:35:38 +01:00
Mic92
bbee634b87
Merge pull request 'Decisions/clanModules: Add example borgbackup as real world example' ( #3070 ) from hsjobeki/clan-core:decisions-01 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3070
2025-03-19 16:39:59 +00:00
Johannes Kirschbauer
ecb2047625
Decisions/clanModules: Add example borgbackup as real world example
2025-03-19 16:39:52 +00:00
Mic92
4d504eb132
Merge pull request 'Silence mypy error after nixpkgs update' ( #3072 ) from nixpkgs-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3072
2025-03-19 16:39:32 +00:00
Jörg Thalheim
ddb5bba48a
disabe pytests on macOS for now
2025-03-19 17:33:27 +01:00
Jörg Thalheim
9a00459861
tests/fixtures_flakes: remove unused remote flag
2025-03-19 16:55:30 +01:00
Jörg Thalheim
43035b85a5
always resolve symlinks for TemporaryDirectory
...
On macOS mktemp returns a temporary directory in a symlink.
Nix has a bug where it won't accept path:// located in a symlink.
This avoid this issue by always resolving symlinks as returned by
TemporaryDirectory.
2025-03-19 16:47:18 +01:00
Jörg Thalheim
490e54b278
make sshd test work on macOS
2025-03-19 15:55:20 +01:00
Jörg Thalheim
573c39e395
vm-manager: ignore interface between GObject and ListModel
2025-03-19 15:29:03 +01:00
Jörg Thalheim
79635efaa5
clan-vm-manager: support basic devshell on macOS
2025-03-19 15:29:03 +01:00
renovate[bot]
9c92a81411
chore(deps): update nixpkgs digest to 3549532
2025-03-19 13:40:12 +00:00
Luis Hebendanz
10b27215f3
Merge pull request 'clan-cli: machines delete: delete the machine's vars and secrets' ( #2994 ) from lopter/clan-core:lo-machines-delete into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2994
2025-03-19 12:25:48 +00:00
Louis Opter
daeeb2ee43
clan-cli: add DavHau's explanation about the with_core pytest marker
...
See: https://git.clan.lol/clan/clan-core/pulls/2994#issuecomment-22542
2025-03-19 10:53:38 +00:00
Louis Opter
546ed03a90
clan-cli: tests: call SopsSetup.init while setting up fixtures
...
We do this by introducing `flake_with_sops` fixture, that calls the
init method ahead of the test. We did not want to do this in the `flake`
fixture since not all tests using the `flake` fixture need to have sops
setup.
2025-03-19 10:53:38 +00:00
Louis Opter
b52ec05497
clan-cli: don't try to delete a dir that doesn't exist in the pass vars backend
...
Do not crash in `delete_store`, if the machine has no vars, or the store
has been deleted already.
2025-03-19 10:53:38 +00:00
Louis Opter
4120a89115
clan-cli: do not crash if a machine being deleted is missing from the inventory
...
We implement that by actually raising `KeyError` in `inventory.delete_by_path`
(as advertised in the docstring), since it makes more sense to catch a
`KeyError` than a generic `ClanError`.
2025-03-19 10:53:38 +00:00
Louis Opter
cd248b69db
clan-cli: machines delete: delete the machine's vars and secrets
...
When a machine is deleted with `clan machines delete`, remove its
vars and legacy secrets, and update any secrets that reference the
machine's key.
This command is a superset of `clan secrets machine delete`, and I am
wondering if we could remove the `clan secrets machine` subcommand,
unless there is an use case for having a machine defined without its
key, and any secrets/vars?
Note:
- This deletes the `ListSecretsOptions` dataclass, as it did not seem to
bring any value, especially since `list_secrets` was receiving its
individual members instead of the whole dataclass. We can always bring
it back if complexity grows to demand it.
2025-03-19 10:53:38 +00:00
Louis Opter
f7bec766bc
clan-cli: add delete and delete_store to StoreBase
...
- `delete` lets you delete a specific var under a specific generator;
- `delete_store` deletes an entire store.
The `delete` method could be useful to "garbage-collect" unused vars as
a machine's configuration changes.
The `delete_store` method can be used to delete all the vars for a
machine when the machine is deleted. The current behavior is to leave
everything behind.
Important point:
- `delete_store` needs to be idempotent because public and
"private"/"secret" vars for a machine can share the same physical
store (directory), and deleting either type of store (public or
private) will delete both.
2025-03-19 10:53:38 +00:00
Louis Opter
77b53a366e
clan-cli: add an integration test for clan machines delete
...
This tests the changes made to that command to clean-up vars and secrets
when a machine is deleted.
2025-03-19 10:53:38 +00:00
Louis Opter
37869839cf
clan-cli: tests/age_keys.py add notes, move function to check sops recipients
...
This supports the new integration test for `clan machines delete`.
2025-03-19 10:53:38 +00:00
Mic92
1990a82cd9
Merge pull request 'Fix clan machines create' ( #3040 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3040
2025-03-19 10:53:17 +00:00
Jörg Thalheim
b84230ff90
deduplicate CLAN_CORE/CLAN_CORE_PATH environment variables
2025-03-19 10:30:52 +00:00
Qubasa
63a0e5f35d
clan-cli: Fix templates not downloading template, Make templates use Flake cache, Fix flake cache exception on conditional attribute, add more tests
2025-03-19 10:30:52 +00:00
DavHau
bc48a7a57c
docs: add guide for testing
2025-03-19 09:43:05 +00:00
renovate[bot]
cc28e5a48c
chore(deps): update treefmt-nix digest to adc195e
2025-03-19 08:10:09 +00:00
Michael Hoang
f49a9513ee
Merge pull request 'checks: ensure updating hardware config doesn't require system' ( #3067 ) from fix/update-hardware-config-without-system into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3067
2025-03-19 06:53:50 +00:00
Michael Hoang
75aecf66db
checks: ensure updating hardware config doesn't require system
2025-03-19 15:28:52 +09:00
renovate[bot]
774223aabb
chore(deps): lock file maintenance
2025-03-18 23:10:46 +00:00
renovate[bot]
3ec923bcab
chore(deps): update nixpkgs digest to 9bc8a90
2025-03-18 15:50:09 +00:00
renovate[bot]
51a25024bc
chore(deps): update treefmt-nix digest to b3b938a
2025-03-18 15:00:13 +00:00
Mic92
a23505a786
Merge pull request 'nixpkgs-update' ( #3061 ) from nixpkgs-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3061
2025-03-18 14:42:16 +00:00
Jörg Thalheim
527154070c
use pathlib.iterdir() everywhere
2025-03-18 15:34:06 +01:00
renovate[bot]
89b6a84388
chore(deps): update nixpkgs digest to 0964789
2025-03-18 14:20:23 +00:00
renovate[bot]
badfe2d309
chore(deps): update disko digest to 0d8c6ad
2025-03-18 14:08:30 +00:00
Mic92
31f66ae004
Merge pull request 'chore(deps): update dependency typescript to v5.8.2' ( #3058 ) from typescript into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3058
2025-03-18 14:00:32 +00:00
Jörg Thalheim
28c2e5654c
remove unused typescript directive
2025-03-18 14:52:22 +01:00
Mic92
20a10f0633
Merge pull request 'Update eslint' ( #3057 ) from eslint into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3057
2025-03-18 13:51:36 +00:00
Jörg Thalheim
51e93b9296
prune npm deps
2025-03-18 14:43:30 +01:00
Jörg Thalheim
60ffaed9ab
address eslint warnings
2025-03-18 14:40:16 +01:00
renovate[bot]
fc10c36bfb
chore(deps): update typescript-eslint monorepo to v8
2025-03-18 14:26:21 +01:00
renovate[bot]
16e2993f8f
chore(deps): update dependency eslint to v9
2025-03-18 14:26:19 +01:00
Mic92
0dbc7b4adc
Merge pull request 'cli: increase timeout for pytest' ( #3056 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3056
2025-03-18 13:18:09 +00:00
Mic92
28bb9b897d
Merge pull request 'flake: switch back to using main branch of sops-nix' ( #3050 ) from bump/sops-nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3050
2025-03-18 13:11:29 +00:00
renovate[bot]
ddf0f64ab8
chore(deps): update dependency typescript to v5.8.2
2025-03-18 13:10:11 +00:00
Mic92
9c3e985491
Merge pull request 'fix(deps): update dependency @solid-primitives/storage to v4' ( #3046 ) from renovate/solid-primitives-storage-4.x into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3046
2025-03-18 13:08:51 +00:00
Mic92
49f3428d68
Merge pull request 'chore(deps): update dependency vitest to v3' ( #3044 ) from renovate/major-vitest-monorepo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3044
2025-03-18 13:07:47 +00:00
Mic92
78cd01df19
Merge pull request 'chore(deps): update dependency @types/node to v22' ( #3037 ) from renovate/node-22.x into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3037
2025-03-18 13:07:29 +00:00
Jörg Thalheim
d9c3cc8c68
cli: increase timeout for pytest
2025-03-18 14:04:43 +01:00
Michael Hoang
61c59a2d6a
flake: switch back to using main branch of sops-nix
2025-03-18 12:55:13 +00:00
renovate[bot]
74e0c822c5
fix(deps): update dependency @solid-primitives/storage to v4
2025-03-18 12:50:42 +00:00
renovate[bot]
1bd85fabc2
chore(deps): update dependency vitest to v3
2025-03-18 12:50:30 +00:00
renovate[bot]
51ec78c155
chore(deps): update dependency @types/node to v22
2025-03-18 12:50:14 +00:00
Mic92
5c3395f8b1
Merge pull request 'Fix broken installation tests' ( #3055 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3055
2025-03-18 12:49:14 +00:00
Jörg Thalheim
88a516855a
work around in installation test by using newer nix version
2025-03-18 13:29:28 +01:00
Jörg Thalheim
fbac7439bd
tests: fix warning about invalid nix registry
2025-03-18 13:29:28 +01:00
renovate[bot]
1b7b4986d2
fix(deps): update tanstack-query monorepo
2025-03-18 12:10:39 +00:00
renovate[bot]
ffef796e31
fix(deps): update dependency nanoid to v5.1.4
2025-03-18 12:00:33 +00:00
renovate[bot]
04cae9d42a
chore(deps): update dependency vite to v6
2025-03-18 11:40:34 +00:00
Luis Hebendanz
3208bdd3dc
Merge pull request 'ADR: init clanModules architecture decision' ( #2838 ) from hsjobeki/clan-core:adr/clanModules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2838
Reviewed-by: kenji <aks.kenji@protonmail.com >
Reviewed-by: pinpox <clan@pablo.tools >
Reviewed-by: Luis Hebendanz <consulting@qube.email >
Reviewed-by: DavHau <d.hauer.it@gmail.com >
2025-03-18 11:15:16 +00:00
Johannes Kirschbauer
e06e4291cb
ADR: init clanModules architecture decision
...
ADR: improve after review
improve wording
improve based on feedback
decisions/clanModules
2025-03-18 11:14:16 +00:00
renovate[bot]
6cec48e93b
chore(deps): update dependency jsdom to v26
2025-03-12 15:01:24 +00:00
renovate[bot]
1cbcd9dedb
chore(deps): update actions/checkout action to v4
2025-03-12 13:01:16 +00:00
renovate[bot]
61a38987eb
fix(deps): update tanstack-query monorepo
2025-03-12 12:12:37 +00:00
renovate[bot]
2d77985321
fix(deps): update dependency nanoid to v5.1.3
2025-03-12 12:01:17 +00:00
renovate[bot]
1141ce6e39
fix(deps): update dependency @solidjs/router to ^0.15.0
2025-03-12 11:12:36 +00:00
renovate[bot]
e82d05edd8
fix(deps): update dependency @solid-primitives/storage to v3.8.0
2025-03-12 11:01:19 +00:00
renovate[bot]
fa85bb1aee
chore(deps): update typescript-eslint monorepo to v7.18.0
2025-03-12 10:12:37 +00:00
renovate[bot]
470029cc33
fix(deps): update dependency @modular-forms/solid to ^0.25.0
2025-03-12 09:22:33 +00:00
renovate[bot]
59cd0c5367
chore(deps): update eslint monorepo
2025-03-12 09:12:38 +00:00
renovate[bot]
c0415ed784
chore(deps): update dependency vite-plugin-solid to v2.11.6
2025-03-12 09:01:19 +00:00
renovate[bot]
4587c15f58
chore(deps): update dependency vite to v5.4.14
2025-03-12 08:02:36 +00:00
renovate[bot]
80fce9bbcc
chore(deps): update dependency solid-devtools to ^0.33.0
2025-03-12 07:52:35 +00:00
renovate[bot]
a99f3d05fd
chore(deps): update dependency vitest to v1.6.1
2025-03-12 07:42:29 +00:00
renovate[bot]
fe6280dba9
chore(deps): update dependency eslint-plugin-tailwindcss to v3.18.0
2025-03-12 07:32:34 +00:00
renovate[bot]
cef6a1d85f
chore(deps): update dependency daisyui to v4.12.24
2025-03-12 07:12:43 +00:00
renovate[bot]
27b544f7fb
chore(deps): update dependency prettier to v3.5.3
2025-03-12 07:01:20 +00:00
renovate[bot]
56bc1653e1
chore(deps): update dependency tailwindcss to v3.4.17
2025-03-12 05:52:38 +00:00
renovate[bot]
9ca10aba18
fix(deps): update dependency material-icons to v1.13.14
2025-03-12 05:42:37 +00:00
renovate[bot]
e9e8952178
fix(deps): update dependency corvu to v0.7.2
2025-03-12 05:32:47 +00:00
renovate[bot]
faa79b87b2
fix(deps): update dependency solid-markdown to v2.0.14
2025-03-12 05:12:55 +00:00
renovate[bot]
b3e7755365
chore(deps): update dependency @types/node to v20.17.24
2025-03-12 05:01:29 +00:00
renovate[bot]
b315b1787b
chore(deps): update dependency jsdom to v24.1.3
2025-03-11 17:17:25 +00:00
renovate[bot]
15b4bc9658
chore(deps): update dependency autoprefixer to v10.4.21
2025-03-11 16:57:31 +00:00
Mic92
b09c219ce4
Merge pull request 'nix fmt: renovate.json' ( #3015 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3015
2025-03-11 16:57:08 +00:00
Jörg Thalheim
17831d076a
nix fmt: renovate.json
2025-03-11 17:56:52 +01:00
Mic92
3304be02a0
Merge pull request 'renovate: enable recommend config/lock files/nix' ( #3013 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3013
2025-03-11 16:43:51 +00:00
Jörg Thalheim
e83591f7c3
renovate: enable recommend config/lock files/nix
2025-03-11 17:43:31 +01:00
Mic92
a54662889e
Merge pull request 'drop renovate json' ( #3012 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3012
2025-03-11 16:38:06 +00:00
Jörg Thalheim
eb7dffe243
drop renovate json
...
we just use the defaults in clan-infra
2025-03-11 16:38:00 +00:00
Mic92
0799a08d69
Merge pull request 'renovate: also update flake.lock' ( #3011 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3011
2025-03-11 16:33:00 +00:00
Jörg Thalheim
a87566184f
renovate: also update flake.lock
2025-03-11 17:31:38 +01:00
Mic92
f79493c4df
Merge pull request 'renovate: enable dependency dashboard' ( #3009 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3009
2025-03-11 16:26:55 +00:00
Jörg Thalheim
4b575e1bd1
renovate: enable dependency dashboard
2025-03-11 17:23:42 +01:00
Mic92
4f8a151a13
Merge pull request 'chore(deps): update dependency @tailwindcss/typography to v0.5.16' ( #3006 ) from renovate/tailwindcss-typography-0.x-lockfile into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3006
2025-03-11 15:39:10 +00:00
Mic92
2c6504f375
Merge pull request 'chore(deps): update dependency @floating-ui/dom to v1.6.13' ( #3005 ) from renovate/floating-ui-dom-1.x-lockfile into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3005
2025-03-11 15:38:24 +00:00
renovate[bot]
34f5690d22
chore(deps): update dependency @tailwindcss/typography to v0.5.16
2025-03-11 15:31:37 +00:00
renovate[bot]
ea2c363acf
chore(deps): update dependency @floating-ui/dom to v1.6.13
2025-03-11 15:31:33 +00:00
Mic92
5dffc0efcf
Merge pull request 'chore: Configure Renovate' ( #3000 ) from renovate/configure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3000
2025-03-11 15:06:28 +00:00
renovate[bot]
2828830a2f
Add renovate.json
2025-03-11 15:02:50 +00:00
Mic92
496108e61b
Merge pull request 'remove clan-bot' ( #2999 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2999
2025-03-11 15:00:53 +00:00
Jörg Thalheim
f8118cd2bf
remove clan-bot
...
gitea has auto-merge builtin, so we don't need the clan-bot.
2025-03-11 15:02:41 +01:00
Jörg Thalheim
59cca52f55
actually hide test-fixture from user
...
if we actually want to avoid the dependency on this facter json, we
cannot expose this as a flake input because nix flake archive will have
to download this on each deployment step.
2025-03-11 12:23:59 +00:00
Jörg Thalheim
f24d27c895
try to reproduce CI error with newer nix version
2025-03-11 12:23:59 +00:00
Jörg Thalheim
10c89fe9f9
fix only the first generator of each machine beeing re-encrypted
2025-03-11 12:09:00 +01:00
Jörg Thalheim
903831acaf
don't log cache miss by default
...
This is expected and happens regular, so there is no value in logging
this.
2025-03-11 12:03:55 +01:00
Jörg Thalheim
86e8b26409
add test for parsing ssh options
2025-03-11 11:27:04 +01:00
Jörg Thalheim
fc0429ab0c
checks/morph: after flake update, increase memory size to 2048
2025-03-11 09:46:54 +00:00
Clan Merge Bot
d0bcc1cd96
update flake lock - 2025-03-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/fa5746ecea1772cf59b3f34c5816ab3531478142?narHash=sha256-xFnU%2BuUl48Icas2wPQ%2BZzlL2O3n8f6J2LrzNK9f2nng%3D' (2025-02-15)
→ 'github:nix-community/disko/19c1140419c4f1cdf88ad4c1cfb6605597628940?narHash=sha256-WK%2BPZHbfDjLyveXAxpnrfagiFgZWaTJglewBWniTn2Y%3D' (2025-02-25)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
→ 'github:hercules-ci/flake-parts/f4330d22f1c5d2ba72d3d22df5597d123fdb60a9?narHash=sha256-%2Bu2UunDA4Cl5Fci3m7S643HzKmIDAe%2BfiXrLqYsR2fs%3D' (2025-03-07)
• Updated input 'nixpkgs':
'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre762233.02032da4af07/nixexprs.tar.xz?narHash=sha256-%2BvOiMQwHEYBbWgvK//cuUqHZQ/y3DddCLyxZAbDdpnM%3D ' (1980-01-01)
→ 'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre764393.ed0b1881565c/nixexprs.tar.xz?narHash=sha256-Xre00/fcpD/SxZZfxRuMSu7YOBCY6vOfgFBYKNntox8%3D ' (1980-01-01)
2025-03-11 09:46:54 +00:00
DavHau
188c5dfb17
docs: move contributing+debugging to section contributing
2025-03-11 15:19:46 +07:00
Luis Hebendanz
e615f3d860
Merge pull request 'pkgs/webview-lib: Fix version' ( #2991 ) from kenji/clan-core:webview-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2991
2025-03-10 13:20:38 +00:00
a-kenji
8b247a2ea8
pkgs/webview-lib: Fix version
2025-03-10 13:20:38 +00:00
Luis Hebendanz
39741ad573
Merge pull request 'clan-cli/tests: limit jobs to 16' ( #2986 ) from DavHau/clan-core:dave into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2986
2025-03-10 13:20:18 +00:00
DavHau
af66b63286
clan-cli/tests: limit jobs to 16
...
This reduces overload on the CI, as it already runs multiple test instances in parallel (with-core, without-core, etc), and otherwise would spawn 96 workers for each of those.
2025-03-10 13:20:18 +00:00
Luis Hebendanz
9e994f87d5
Merge pull request 'fix: clan machines install on machines without hardware configuration' ( #2983 ) from fix/systemless-installs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2983
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-03-10 13:19:17 +00:00
Michael Hoang
685effd22b
checks: use facter.json from external test-fixtures repo
2025-03-10 12:30:03 +09:00
Michael Hoang
d79d1811d6
install: let nixos-anywhere determine where to build automatically
...
This fixes installing machines that don't have `system` defined i.e.
when running `clan machines install` with `--update-hardware-config`.
2025-03-10 12:30:03 +09:00
Michael Hoang
7608bab20a
checks: don't expose systems that can't be evaluated
2025-03-10 11:58:32 +09:00
Michael Hoang
2388654325
checks: test installation on system-less systems
2025-03-10 11:58:32 +09:00
Michael Hoang
0ec2797441
checks/installation: use test-flake instead of self
2025-03-10 11:58:32 +09:00
Clan Merge Bot
c6df2630ce
update flake lock - nixpkgs - 2025-03-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre762233.02032da4af07/nixexprs.tar.xz?narHash=sha256-%2BvOiMQwHEYBbWgvK//cuUqHZQ/y3DddCLyxZAbDdpnM%3D ' (1980-01-01)
→ 'https://releases.nixos.org/nixpkgs/nixpkgs-25.05pre764393.ed0b1881565c/nixexprs.tar.xz?narHash=sha256-Xre00/fcpD/SxZZfxRuMSu7YOBCY6vOfgFBYKNntox8%3D ' (1980-01-01)
2025-03-10 00:00:46 +00:00
a-kenji
1934384e3b
clanModules/mycelium: Allow by default, if adding the module
2025-03-09 23:49:03 +00:00
DavHau
db2e2e974c
vars+facts: use bwrap only if supported
2025-03-09 13:52:15 +07:00
Luis Hebendanz
d266e749a8
Merge pull request 'Fix iwd space handling' ( #2980 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2980
2025-03-07 13:34:48 +00:00
Qubasa
434e38779e
clan-cli: treefmt fix to iwd module
2025-03-07 14:26:37 +01:00
Guilhem Saurel
a135510047
Fix iwd space handling
...
ref man iwd.network:
> Key-value lines contain a setting key, an equal sign and the value of
> the setting. Whitespace preceding the key, the equal sign or the value,
> is ignored. The key must be a continuous string of alphanumeric and
> underscore characters and minus signs only. The value starts at the
> first non-whitespace character after the first equal sign on the line
> and ends at the end of the line and must be correctly UTF-8-encoded.
> […]
> String values, including file
> paths and hexstrings, are written as is except for five characters that
> may be backslash-escaped: space, \t, \r, \n and backslash itself.
> The latter three must be escaped. A space character must be escaped if
> it is the first character in the value string and is written as \s.
I guess this is what is expected then:
```
$ echo -e " \t \r \\ "
\
$ echo -e " \t \r \\ " | sed "s=\\\=\\\\\\\=g;s=\t=\\\t=g;s=\r=\\\r=g;s=^ =\\\s="
\s \t \r \\
```
2025-03-07 14:26:37 +01:00
Luis Hebendanz
7ac6fd8785
Merge pull request 'clan-cli flake: make lix compatible' ( #2970 ) from lix-compat into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2970
2025-03-07 13:21:45 +00:00
Qubasa
5c4fc7b852
clan-cli: Make Lix compatible again
2025-03-07 14:06:35 +01:00
Johannes Kirschbauer
fb883e54a6
Inventory: rename internal inventory toplevel attribute to 'inventoryClass'
2025-03-07 12:30:29 +00:00
DavHau
c9e9773e5b
update nixpkgs
2025-03-07 14:30:01 +07:00
DavHau
74b30cca9f
switch to nixpkgs hosteded by cache.nixos.org
...
take 2 on https://git.clan.lol/clan/clan-core/pulls/2921
2025-03-07 07:20:07 +00:00
Michael Hoang
35455afeb8
nixos/clan: rename setDefaults to enableRecommendedDefaults
2025-03-05 03:37:41 +00:00
pinpox
a08453ae7d
Merge pull request 'Automatic updates (phase 1)' ( #2914 ) from pinpox/clan-core:auto-update-module into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2914
2025-03-04 10:26:20 +00:00
Pablo Ovelleiro Corral
66332c1ae6
Add auto-upgrade module
2025-03-04 10:09:37 +01:00
Johannes Kirschbauer
2e42c16253
Docs: add comment where actual contributing.md is located
2025-03-04 15:16:54 +09:00
Luis Hebendanz
f60a49ea75
Merge pull request 'docs/repo-layout: Remove infra section' ( #2964 ) from kenji/clan-core:docs/remove-infra into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2964
Reviewed-by: Enzime <enzime@noreply.git.clan.lol >
2025-03-03 11:34:45 +00:00
a-kenji
db2530e0cd
docs/repo-layout: Remove infra section
...
Remove the public infra section, as it uses a bit of unfortunate
wording. It suggests we would add anyone to our infrastructure as an
admin.
2025-03-03 11:34:45 +00:00
Luis Hebendanz
4e85e178fc
Merge pull request 'docs/CONTRIBUTING: Remove internal tools documentation to streamline' ( #2962 ) from kenji/clan-core:docs/remove-internal into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2962
Reviewed-by: Enzime <enzime@noreply.git.clan.lol >
2025-03-03 11:34:34 +00:00
a-kenji
dbf2fb26f9
docs/CONTRIBUTING: Remove internal tools documentation to streamline
...
Remove our internal developer tools documentation to streamline the
CONTRIBUTING.md guide and to not confuse external contributors.
2025-03-03 11:34:34 +00:00
a-kenji
122c493447
docs/CONTRIBUTING: Add missing article
2025-03-02 20:44:42 -08:00
a-kenji
2fd6576c6f
clanModules/iwd: Fix conversion link
2025-03-02 20:27:40 -08:00
a-kenji
bfae31f1ae
docs: Fix numbered markdown list
2025-03-02 20:10:43 -08:00
a-kenji
e3b0b4489a
docs/CONTRIBUTING: Clarify wrong suggestion about debugging dependent tools
2025-03-03 03:57:33 +00:00
a-kenji
d34f976057
docs/site: Fix flake-parts link
2025-03-03 03:53:49 +00:00
a-kenji
2b38fb3f9e
docs/CONTRIBUTING: Fix data-mesher reference name
2025-03-02 19:42:57 -08:00
Johannes Kirschbauer
8a04ee6d20
Tests: migrate backup tests to use inventory
2025-03-03 02:28:03 +00:00
Qubasa
4c138c6377
clan-cli: Revert generating facts in clan facts list, for consistency
2025-03-03 01:40:40 +01:00
Luis Hebendanz
f14a15ad62
Merge pull request 'clan-cli: Fix wrong clan vars generate regression added by 4ff5acfe29597029004b4ddcad9d185404e8a602' ( #2951 ) from Qubasa/clan-core:fix_regression into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2951
2025-03-02 19:05:23 +00:00
Qubasa
0602b9d01c
clan-cli: Fix wrong clan vars generate regression added by 4ff5acfe29
2025-03-02 19:53:17 +01:00
kenji
ce161cb1c8
Merge pull request 'clanModules/root-password: don't deploy plain text password' ( #2950 ) from vdbe/clan-core:clanModules/root-password/dont-deploy-plain-text into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2950
2025-03-02 18:43:38 +00:00
vdbe
e6c03497a4
clanModules/root-password: don't deploy plain text password
2025-03-02 17:52:03 +01:00
Luis Hebendanz
4ff5acfe29
Merge pull request 'clan-cli: Fix get_all_facts forgetting to generate facts before getting them' ( #2949 ) from Qubasa/clan-core:other_fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2949
2025-03-02 14:57:59 +00:00
Qubasa
75dc906183
clan-cli: Fix get_all_facts forgetting to generate facts before getting them
2025-03-02 15:07:57 +01:00
Luis Hebendanz
a283353022
Merge pull request 'templates: Remove description attribute from templates' ( #2933 ) from kenji/clan-core:templates/remove-description into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2933
Reviewed-by: Enzime <enzime@noreply.git.clan.lol >
2025-03-02 13:45:59 +00:00
a-kenji
5f97805a94
templates: Remove description attribute from templates
...
Remove the `description` flake attribute from templates.
It has limited usefulness, is unset, is another thing the user has to
set and is confronted with.
It seems better to omit this attribute to keep the focus here on what
really matters.
2025-03-02 13:45:59 +00:00
Luis Hebendanz
dffacbc772
Merge pull request 'clanModules/machine-id: fix value' ( #2948 ) from vdbe/clan-core:fix/clanmodules/machine-id into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2948
2025-03-02 13:44:48 +00:00
vdbe
f06b756b97
clanModules/machine-id: fix value
2025-03-02 10:41:35 +01:00
Michael Hoang
f0e5b14846
vars/sops: fix clan vars fix missing machine name in error message
2025-03-02 08:22:23 +07:00
Luis Hebendanz
58178bd451
Merge pull request 'clan-cli: Remove can_build_locally and replace with nixos-anywhere --build-on auto' ( #2944 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2944
2025-03-01 17:34:17 +00:00
Qubasa
a0aaa5fc69
clan-cli: Remove can_build_locally and replace with nixos-anywhere --build-on auto
2025-03-01 17:52:41 +01:00
Luis Hebendanz
d7355b20fb
Merge pull request 'clan-cli: Make host upload function support uploading single files too' ( #2943 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2943
2025-03-01 16:35:19 +00:00
Qubasa
eb9b4bdb6b
clan-cli: Make host upload function support uploading single files too
2025-03-01 17:10:42 +01:00
lassulus
df61afe0d2
clan-cli: try to fix CI bug again
2025-02-28 04:58:42 +00:00
lassulus
669a28c4e5
clan-cli: set ssh port for nix copy
2025-02-28 04:58:42 +00:00
a-kenji
48c08a0f62
templates: Remove unneeded article
2025-02-27 11:28:48 +00:00
Luis Hebendanz
e77998750b
Merge pull request 'docs/guide: Mention alternative secret store backends' ( #2926 ) from kenji/clan-core:docs/add-reference-to-other-backend into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2926
2025-02-27 09:58:00 +00:00
a-kenji
ea5f2ecce9
docs/guide: Mention alternative secret store backends
2025-02-27 09:58:00 +00:00
Luis Hebendanz
9d8150d86a
Merge pull request 'templates: Remove superfluous comment' ( #2932 ) from kenji/clan-core:templates/remove-superfluuous-comment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2932
2025-02-27 09:57:13 +00:00
a-kenji
c952fa0f80
templates: Remove superfluous comment
...
Remove this seemingly superfluous comment.
It is unclear what it really refers to.
Let's just remove it for brevity sake.
2025-02-27 09:57:13 +00:00
Luis Hebendanz
b737c78bbc
Merge pull request 'docs/guide: Deduplicate machine instructions' ( #2924 ) from kenji/clan-core:docs/dedup-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2924
2025-02-27 09:56:52 +00:00
a-kenji
39ac630086
docs/guide: Deduplicate machine instructions
2025-02-27 09:56:52 +00:00
Luis Hebendanz
8ee1a1a41e
Merge pull request 'tests/inventory: Drop zed-editor from the test inventory' ( #2922 ) from kenji/clan-core:drop/zed into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2922
Reviewed-by: lassulus <clanlol@lassul.us >
2025-02-27 09:56:23 +00:00
a-kenji
5ca17cfa8a
tests/inventory: Drop zed-editor from the test inventory
...
Drop `zed-editor` from the test inventory and exchange it with `hello`.
The inventory packages are built in the tests, we don't want to build
large derivations there.
2025-02-27 09:56:23 +00:00
lassulus
0104c41921
clan-cli: another try to fix the CI bug
2025-02-27 08:24:28 +01:00
lassulus
e3ce93a6ff
clan-cli: check if paths exist in cache check
2025-02-27 02:53:41 +01:00
Qubasa
ba2865e940
clan-cli: Fix flake.py missing cache eviction if there is a garbage collected path
2025-02-27 01:01:50 +01:00
lassulus
3f3b0f8be7
Merge pull request 'fix(clan-cli): fix cross system' ( #2935 ) from r17x/clan-core:fix/machine-cross-target-host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2935
2025-02-26 09:18:08 +00:00
r17x
e9ffd923d5
fix(clan-cli): fix cross system
2025-02-26 14:27:00 +07:00
a-kenji
87d894c3ea
docs/guide: Add devshell recommendation to getting started
...
Fixes : #2218
2025-02-25 18:16:50 +00:00
a-kenji
6f68e2f3c0
clanModules/zerotier: Fix documentation
2025-02-26 00:41:20 +07:00
a-kenji
e952bbbaf7
templates/flake-parts: Add .envrc
...
Since the other template also has an `.envrc` let's keep everything
consistent.
2025-02-25 18:43:53 +07:00
Pablo Ovelleiro Corral
1d906b8373
Revert "switch to nixpkgs hosteded by cache.nixos.org"
...
This reverts commit 30fc207dc5 .
2025-02-25 09:04:27 +01:00
Pablo Ovelleiro Corral
8aab746bd0
Apply suggestion
2025-02-25 08:51:51 +01:00
Pablo Ovelleiro Corral
d9e0741329
Fix exists() check for age files
2025-02-25 08:51:51 +01:00
lassulus
e984dc5dd2
Merge pull request 'clan-cli: add unit tests for test_parse_deployment_address' ( #2910 ) from lopter/clan-core:lo-test-parse-deployment-address into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2910
2025-02-25 05:31:49 +00:00
Louis Opter
51a7a86817
clan-cli: add unit tests for test_parse_deployment_address
...
Follow-up to #2899 , more thorough than #2909 .
2025-02-25 05:31:49 +00:00
Mic92
a0cbfdd5a6
Merge pull request 'switch to nixpkgs hosteded by cache.nixos.org' ( #2921 ) from fix-build into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2921
2025-02-24 03:48:43 +00:00
Jörg Thalheim
30fc207dc5
switch to nixpkgs hosteded by cache.nixos.org
...
This now works thanks to https://github.com/NixOS/infra/pull/562
2025-02-24 10:44:15 +07:00
Clan Merge Bot
b0bc22ebfa
update flake lock - treefmt-nix - 2025-02-24T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/4f09b473c936d41582dd744e19f34ec27592c5fd?narHash=sha256-yrK3Hjcr8F7qS/j2F%2Br7C7o010eVWWlm4T1PrbKBOxQ%3D' (2025-02-07)
→ 'github:numtide/treefmt-nix/3d0579f5cc93436052d94b73925b48973a104204?narHash=sha256-mL1szCeIsjh6Khn3nH2cYtwO5YXG6gBiTw1A30iGeDU%3D' (2025-02-17)
2025-02-24 00:00:55 +00:00
Qubasa
d7c4a5d59d
clan-cli: Remove allow_uknown_placeholders flag. With upcoming nixos-anywhere patch this is not needed anymore.
2025-02-23 21:50:21 +01:00
Qubasa
ad3786ad76
clan-cli: Add an optional reference to an AsyncFuture to track origin of task.
2025-02-23 21:44:00 +01:00
lassulus
300aaa48e7
clan-cli: use new flake caching for machines
2025-02-23 15:58:03 +01:00
lassulus
35eaaea68e
try to fix profiles CI bug
2025-02-22 03:39:42 +00:00
lassulus
aa98c33d40
machines install: fix installation via tor
2025-02-22 03:39:42 +00:00
lassulus
90bd9217e3
vars fs: fix
2025-02-22 03:39:42 +00:00
lassulus
d171d99923
clan-cli deploy_info: fix find_reachable_host returning unreachable hosts
2025-02-22 03:39:42 +00:00
lassulus
0b1b43fded
add demo_iso code for iso-morphing
2025-02-22 03:39:42 +00:00
lassulus
9797d0a516
Merge pull request 'Add support for XDG_* style directories on macos' ( #2865 ) from Undone8/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2865
2025-02-22 03:34:56 +00:00
Denis Rosca
7a28d9274d
Add support for XDG_* style directories on macos
...
Closes #2864
2025-02-22 03:34:56 +00:00
Jörg Thalheim
5dc305a3f0
recommend vars over facts
2025-02-22 03:34:40 +00:00
Mic92
f9f0cd4f19
Merge pull request 'fix regex for detecting git+file inputs' ( #2907 ) from fix-git-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2907
2025-02-21 02:57:22 +00:00
Jörg Thalheim
eb38ea14ce
fix regex for detecting git+file inputs
2025-02-20 10:00:04 +07:00
a-kenji
01e6204a96
clanModules/mycelium: Remove certain options for compatibility reasons
...
Remove certain options for compatibility reasons
We want to reintroduce them once we pass in `vars` through the
inventory.
2025-02-19 09:54:00 +00:00
Qubasa
f102e17633
docs: Fix install documentation
2025-02-19 14:23:45 +07:00
hsjobeki
ce68c23378
Merge pull request 'clan-cli: "fix" ssh option parsing' ( #2899 ) from lopter/clan-core:lo-fix-ssh-option-parsing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2899
2025-02-19 01:41:07 +00:00
Louis Opter
c689c23d0c
clan-cli: "fix" ssh option parsing
...
Calling it fix in double quotes since that's still quite hand-crafted,
but at least you can now specify options with `@` inside them (e.g.
`ProxyJump`) and have it work properly.
Moreover this fixes the syntax for GET-like variables in the networking
clanCore module. Only the fixed syntax is supported since that's what
was tested, and actually parsed in the code.
2025-02-18 21:37:38 +00:00
Qubasa
2d0bcfe6f6
clan-cli: Fix clan create throwing a warning if --flake is not defined
2025-02-18 17:40:27 +07:00
Qubasa
e3651d0ae0
clan-clI: Improve error message of clan update-hardware-config on non found nixos-facter
2025-02-18 17:40:27 +07:00
Qubasa
125c2df666
docs: Fix multiple issues with the clan installation guide
2025-02-18 17:40:27 +07:00
Pablo Ovelleiro Corral
f28a38bbb3
Make store-backend configurable
2025-02-18 06:34:50 +01:00
Qubasa
0a41c85871
clan-cli: Re-add test_copy_from_nixstore_symlink test but mark it impure
2025-02-17 14:21:50 +07:00
Qubasa
bc66f8b7de
clan-cli: Remove set -x from pytest script
2025-02-17 14:10:22 +07:00
Qubasa
52fd912b45
clan-cli: Fix clan flakes create inside an already existing git repo
2025-02-17 13:23:31 +07:00
Qubasa
892bd25a3a
clan-cli: Add CLAN_TEST_STORE env var to clan-pytest-without-core
2025-02-17 13:19:45 +07:00
Michael Hoang
ab6a9b2d52
templates: move machine templates
2025-02-17 02:15:42 +00:00
Clan Merge Bot
bbf6aa0e8c
update flake lock - 2025-02-17T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/ff3568858c54bd306e9e1f2886f0f781df307dff?narHash=sha256-3Z40qHaFScWUCVQrGc4Y%2BRdoPsh1R/wIh%2BAN4cTXP0I%3D' (2025-02-05)
→ 'github:nix-community/disko/fa5746ecea1772cf59b3f34c5816ab3531478142?narHash=sha256-xFnU%2BuUl48Icas2wPQ%2BZzlL2O3n8f6J2LrzNK9f2nng%3D' (2025-02-15)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/fa11d87b61b2163efbb9aed7b7a5ae0299e5ab9c?narHash=sha256-aY55yiifyo1XPPpbpH0kWlV1g2dNGBlx6622b7OK8ks%3D' (2025-01-15)
→ 'github:numtide/nixos-facter-modules/60f8b8f3f99667de6a493a44375e5506bf0c48b1?narHash=sha256-/nA3tDdp/2g0FBy8966ppC2WDoyXtUWaHkZWL%2BN3ZKc%3D' (2025-02-05)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1128e89fd5e11bb25aedbfc287733c6502202ea9?narHash=sha256-3ebRdThRic9bHMuNi2IAA/ek9b32bsy8F5R4SvGTIog%3D' (2025-02-13)
→ 'github:NixOS/nixpkgs/fada727ee7c0bd487e311dede0a2b0725a0f7765?narHash=sha256-Zc%2BK4AxAwFaWKK18nSl/3TKidGf46En7bfK8SL%2BRevg%3D' (2025-02-14)
2025-02-17 00:52:05 +00:00
Clan Merge Bot
9277db8cf2
update flake lock - disko - 2025-02-17T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/ff3568858c54bd306e9e1f2886f0f781df307dff?narHash=sha256-3Z40qHaFScWUCVQrGc4Y%2BRdoPsh1R/wIh%2BAN4cTXP0I%3D' (2025-02-05)
→ 'github:nix-community/disko/fa5746ecea1772cf59b3f34c5816ab3531478142?narHash=sha256-xFnU%2BuUl48Icas2wPQ%2BZzlL2O3n8f6J2LrzNK9f2nng%3D' (2025-02-15)
2025-02-17 00:34:01 +00:00
Clan Merge Bot
1f3b8cee40
update flake lock - nixpkgs - 2025-02-17T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1128e89fd5e11bb25aedbfc287733c6502202ea9?narHash=sha256-3ebRdThRic9bHMuNi2IAA/ek9b32bsy8F5R4SvGTIog%3D' (2025-02-13)
→ 'github:NixOS/nixpkgs/fada727ee7c0bd487e311dede0a2b0725a0f7765?narHash=sha256-Zc%2BK4AxAwFaWKK18nSl/3TKidGf46En7bfK8SL%2BRevg%3D' (2025-02-14)
2025-02-17 00:00:54 +00:00
Michael Hoang
16848ba723
machines: hide morph
2025-02-17 00:22:14 +07:00
Pablo Ovelleiro Corral
0d001e21b9
Create directory
2025-02-16 17:08:54 +00:00
Pablo Ovelleiro Corral
e621aa1a34
Fix locking
2025-02-16 17:08:54 +00:00
Pablo Ovelleiro Corral
d63b4ffbd8
Fix output when rebuilding
2025-02-16 17:08:54 +00:00
Michael Hoang
4e2ae0f9f6
cli: add morph command
2025-02-16 21:31:28 +07:00
Michael Hoang
c4f77989fb
nixos/clan: add option for opting out of Clan defaults
...
Also replace `documentation.nixos.enable = false` with
`documentation.doc.enable` to opt out of only `nixos-help` and the HTML
manual but leave `man configuration.nix`.
2025-02-16 21:31:28 +07:00
Michael Hoang
0d9963c1a6
cli: make some functions only create commits optionally
2025-02-16 21:14:09 +07:00
Michael Hoang
742040cd03
templates: allow specifying from flake-parts module
2025-02-16 21:10:22 +07:00
a-kenji
09f650dab0
docs/mesh-vpn: Document inventory usage
2025-02-16 13:32:42 +07:00
a-kenji
ea22e485dd
docs: Extend backups guide
...
Closes #2792
2025-02-16 13:04:53 +07:00
a-kenji
b561675af8
clanModules/syncthing-static-peers: Migrate to vars
...
Part of the #2511 migration.
2025-02-15 23:34:25 +07:00
a-kenji
70ce6e5bd7
clanModules/garage: Migrate to vars
...
Part of the #2511 migration.
2025-02-15 11:21:09 +00:00
lassulus
451d865109
cli: nix_add_to_gcroots: don't run in sandboxed tests
2025-02-15 09:59:41 +00:00
lassulus
14f49512ed
clan-cli flake caching: fix selectors not merging
2025-02-15 09:59:41 +00:00
lassulus
0767eadb81
clan-cli: hash the flake_hash to remove unwanted character from path
2025-02-15 09:59:41 +00:00
a-kenji
28e6d70c0d
clanModules/state-version: Remove trailing newlines
...
The state version is now matched against certain regex rules.
We strip possible trailing newlines to improve compatibility.
2025-02-15 16:29:07 +07:00
hsjobeki
877d689380
Merge pull request 'Fix: clan machines delete persistance logic' ( #2871 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2871
2025-02-15 08:34:47 +00:00
Johannes Kirschbauer
2c0567ca27
Cli: delete machines bugfix. Dont modify the inventory in other places
2025-02-15 09:03:54 +07:00
Johannes Kirschbauer
d8e27b9abf
Inventory: init delete api
2025-02-15 09:03:46 +07:00
Jörg Thalheim
5d42aa2f42
remove directory = self from our documentation
2025-02-15 01:48:17 +00:00
Qubasa
74a4651681
docs: Add --refresh flag to nix shell command to mitigate caching issues
2025-02-14 13:28:21 +07:00
Qubasa
96134616f9
clan-cli: Make copy_from_nixstore work with single files
2025-02-14 13:28:01 +07:00
Jörg Thalheim
7b4bd1fe27
zt-tcp-releay: useFetchCargoVendor
2025-02-14 12:25:32 +07:00
Jörg Thalheim
e27605d3a0
fix system.stateVersion
2025-02-14 12:22:26 +07:00
Jörg Thalheim
0b240baccd
bump nixpkgs
2025-02-14 12:09:04 +07:00
Jörg Thalheim
3280ac98e8
Revert "zerotierone: fix on macOS"
...
This reverts commit fa38ed6f0b .
no longer needed after nixpkgs bump
2025-02-14 12:08:18 +07:00
Qubasa
ca946408f4
clan-cli: Fix garbled clan vms run output. docs: Improve debugging guide
2025-02-13 16:17:55 +07:00
Luis Hebendanz
bbe88f18bc
Merge pull request 'clan-cli: Remove flake-registry set to none in get_clan_nix_attrset' ( #2862 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2862
2025-02-13 08:55:40 +00:00
Qubasa
39657ddb2f
clan-cli: Remove flake-registry set to none in get_clan_nix_attrset
2025-02-13 15:47:28 +07:00
Qubasa
64231e45f2
clan-cli: Fix symlink issue with copy_from_nixstore, add test for it. Also add more comprehensive clan template tests
2025-02-13 15:34:21 +07:00
Luis Hebendanz
7f6d9c5697
Merge pull request 'cli: machines install: Add phases option to pass to nixos-anywhere and update the "Disk Encryption" documentation to use it' ( #2858 ) from sachk/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2858
2025-02-13 07:04:27 +00:00
Sacha Korban
04a5035e7c
docs: disc-encryption: change guide to use phases option and misc improvements
2025-02-13 17:10:07 +11:00
Sacha Korban
9bc3d808c1
clan-cli: machines install: add phases option for nixos-anywhere
2025-02-13 17:10:02 +11:00
kenji
2f1d436646
Merge pull request 'clan-cli: secrets machines remove: update secrets after removing the key' ( #2832 ) from lopter/clan-core:lo-fix-secrets-machine-remove into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2832
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-02-13 03:53:23 +00:00
Louis Opter
0c1244ecb6
clan-cli: secrets machines remove: update secrets after removing the key
...
Quick follow up to PR #2781 , this commit does the same kind of logic but
for machines instead of users and groups.
Note that this only affects the `clan secrets machines remove`
sub-command, and that `clan machines delete` still leaves unusable
secrets & vars behind. This can be addressed in a different change.
2025-02-13 03:53:23 +00:00
Luis Hebendanz
8b80fc18e4
Merge pull request 'docs: fix git rm step in Add Machines' ( #2853 ) from OliverNChalk/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2853
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-02-11 07:39:03 +00:00
OliverNChalk
9cfe6850fb
docs: fix git rm step in Add Machines
2025-02-11 09:41:25 +11:00
Michael Hoang
fa38ed6f0b
zerotierone: fix on macOS
2025-02-10 20:56:31 +07:00
Qubasa
f4b9177226
clan-cli: Mark new test as impure
2025-02-10 20:36:55 +07:00
Qubasa
a8fa8f505c
clan-cli: Add update_clan boolean option to create_clan
2025-02-10 20:36:55 +07:00
Qubasa
8baff4637e
clan-cli: Fix disko template to not fail because of missing bootloader.
2025-02-10 20:36:55 +07:00
Qubasa
db1127a9b3
clan-cli: Add one more test for checking Flake with git+file:
2025-02-10 20:36:55 +07:00
lassulus
2dbdb61438
clan-cli: add persistant flake caching
2025-02-10 13:29:01 +00:00
Jörg Thalheim
385be1ea7c
cli: fix build on macOS
2025-02-10 17:41:50 +07:00
hsjobeki
3513a437e1
Merge pull request 'CLI: use partial update for machine create' ( #2848 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2848
2025-02-10 09:02:23 +00:00
Johannes Kirschbauer
048bd37e3b
Inventory: automatically create emtpy file on write
2025-02-10 09:02:23 +00:00
Johannes Kirschbauer
f380046050
CLI: machine create use patch inventory for partial updates
2025-02-10 09:02:23 +00:00
lassulus
7d8c72f9bc
clan_cli flake caching: support outPath
2025-02-10 04:33:37 +00:00
Clan Merge Bot
52838959e7
update flake lock - nixpkgs - 2025-02-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/102a39bfee444533e6b4e8611d7e92aa39b7bec1?narHash=sha256-Q4vhtbLYWBUnjWD4iQb003Lt%2BN5PuURDad1BngGKdUs%3D' (2025-02-01)
→ 'github:NixOS/nixpkgs/fa35a3c8e17a3de613240fea68f876e5b4896aec?narHash=sha256-7Fu7oazPoYCbDzb9k8D/DdbKrC3aU1zlnc39Y8jy/s8%3D' (2025-02-08)
2025-02-10 04:12:52 +00:00
hsjobeki
5916d3a6bd
revert cae45c101b
...
revert ADR: init clanModules architecture decision
2025-02-10 03:42:44 +00:00
Clan Merge Bot
45ade7e23d
update flake lock - disko - 2025-02-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/18d0a984cc2bc82cf61df19523a34ad463aa7f54?narHash=sha256-KYOATYEwaKysL3HdHdS5kbQMXvzS4iPJzJrML%2B3TKAo%3D' (2025-01-29)
→ 'github:nix-community/disko/ff3568858c54bd306e9e1f2886f0f781df307dff?narHash=sha256-3Z40qHaFScWUCVQrGc4Y%2BRdoPsh1R/wIh%2BAN4cTXP0I%3D' (2025-02-05)
2025-02-10 00:40:28 +00:00
Clan Merge Bot
7222b98d0b
update flake lock - treefmt-nix - 2025-02-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/bebf27d00f7d10ba75332a0541ac43676985dea3?narHash=sha256-j6jC12vCFsTGDmY2u1H12lMr62fnclNjuCtAdF1a4Nk%3D' (2025-01-28)
→ 'github:numtide/treefmt-nix/4f09b473c936d41582dd744e19f34ec27592c5fd?narHash=sha256-yrK3Hjcr8F7qS/j2F%2Br7C7o010eVWWlm4T1PrbKBOxQ%3D' (2025-02-07)
2025-02-10 00:00:45 +00:00
Johannes Kirschbauer
cae45c101b
ADR: init clanModules architecture decision
2025-02-09 05:04:36 +00:00
Mic92
e9946dd8c6
Merge pull request 'fix-repo-sync' ( #2834 ) from fix-repo-sync into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2834
2025-02-08 14:59:52 +00:00
Jörg Thalheim
5fa20a3914
fix missing permissions for repo-sync
2025-02-08 14:37:46 +01:00
Jörg Thalheim
e8d39eb68a
fix dependabot settings
2025-02-08 14:37:36 +01:00
hsjobeki
05caac4ab4
Merge pull request 'inventory: refactor role resolution into submodule' ( #2826 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2826
2025-02-08 04:03:51 +00:00
Johannes Kirschbauer
6f41118be4
Add missing test dependency
2025-02-08 10:48:57 +07:00
Johannes Kirschbauer
9faf221b3e
inventory: refactor role resolution into submodule
2025-02-08 10:43:54 +07:00
Johannes Kirschbauer
85c432b4b1
Inventory: test include missing dependency folder
2025-02-08 10:43:53 +07:00
lassulus
2a8f40e91a
clan_cli machines: use Flake instead of FlakeId
2025-02-07 06:26:09 +01:00
a-kenji
cf1a4f805c
pkgs/cli: Rename create_file -> persist
2025-02-06 14:59:59 +00:00
kenji
aaa60d30f6
Merge pull request 'pgks/cli: Add toplevel aliases' ( #2820 ) from kenji/clan-core:feat/alias/toplevel into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2820
2025-02-06 14:56:57 +00:00
a-kenji
521539608f
pgks/cli: Add toplevel aliases
2025-02-06 14:56:57 +00:00
Jörg Thalheim
c606b98fc7
add dependabot
2025-02-06 18:02:01 +07:00
lassulus
9195fe4ca2
clan-cli: test_flake_caching: add actual flake caching test
2025-02-05 10:17:37 +00:00
Johannes Kirschbauer
e4af2225c7
Inventory: migrate import and config resolution into a module
2025-02-05 16:23:30 +07:00
Johannes Kirschbauer
005f44c964
Inventory: move build inventory into a module
2025-02-05 11:06:43 +07:00
Johannes Kirschbauer
afb723f8c0
Fix: use older nodejs version due to breaking classnames in 22.12
2025-02-05 03:36:43 +00:00
Johannes Kirschbauer
6e366062bf
inventory: add better error for missing file
2025-02-05 10:26:05 +07:00
Johannes Kirschbauer
2178ebecc5
checks: fix source of backups vm test
2025-02-05 10:25:45 +07:00
Johannes Kirschbauer
6a5332ec8c
inventory: use special args to split build inventory into modules
2025-02-05 09:56:08 +07:00
Johannes Kirschbauer
a29b16d6a8
inventory: fix test: supported roles beeing to lazy
2025-02-05 09:56:08 +07:00
Johannes Kirschbauer
fdf936c423
Inventory: add new module class: class='clan'
2025-02-05 09:56:08 +07:00
Qubasa
fdb3f89480
clan-app: Fix Gsettings schema files not found
2025-02-04 17:10:35 +07:00
Michael Hoang
ce3034e854
blog: actually remove asciicinema player
2025-02-04 15:48:12 +07:00
Qubasa
bf26a2d306
clan-cli: Fix incorrect input handling in get_templates
2025-02-04 08:10:32 +00:00
a-kenji
da0f792d9e
vars/interface: Change prompt.persist default to false
...
Change `prompt.persist` default to false.
We want a consistent default that is not conditionally dependent on
other values.
This makes communication on how the functionality is used more
consistent and easier understood.
2025-02-04 07:47:22 +00:00
kenji
f883b184c3
Merge pull request 'clan_cli: add select command' ( #2815 ) from kenji/clan-core:lass/clan-select into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2815
2025-02-04 07:32:55 +00:00
a-kenji
1629fb68bd
pkgs/clan: Remove select debug prints
2025-02-04 07:32:55 +00:00
a-kenji
38f1087517
pkgs/clan: Fix help formatter
2025-02-04 07:32:55 +00:00
lassulus
3f19444985
clan_cli: add select command
2025-02-04 07:32:55 +00:00
Johannes Kirschbauer
2d9bf1e3cc
inventory: migrate tests
2025-02-04 13:20:15 +07:00
Johannes Kirschbauer
46dd52332a
Inventory: refactor build-inventory in more independent parts
2025-02-04 13:20:15 +07:00
Michael Hoang
9458fdf7bc
clan-cli: fix clan-cli accidentally dependending on all packages
2025-02-04 04:52:47 +00:00
Jörg Thalheim
efcfae387f
shut up eslint warnings
2025-02-04 04:02:42 +00:00
Jörg Thalheim
638710818b
fix mypy
2025-02-04 04:02:42 +00:00
Clan Merge Bot
9b0c39727c
update flake lock - nixpkgs - 2025-02-03T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/041c867bad68dfe34b78b2813028a2e2ea70a23c?narHash=sha256-DSenga8XjPaUV5KUFW/i3rNkN7jm9XmguW%2BqQ1ZJTR4%3D' (2025-01-17)
→ 'github:NixOS/nixpkgs/102a39bfee444533e6b4e8611d7e92aa39b7bec1?narHash=sha256-Q4vhtbLYWBUnjWD4iQb003Lt%2BN5PuURDad1BngGKdUs%3D' (2025-02-01)
2025-02-04 04:02:42 +00:00
DavHau
45b0f2339b
add /decisions
...
see https://github.com/joelparkerhenderson/architecture-decision-record
2025-02-04 10:41:49 +07:00
Clan Merge Bot
ba98160f10
update flake lock - disko - 2025-02-03T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/bf0abfde48f469c256f2b0f481c6281ff04a5db2?narHash=sha256-rMEuiK69MDhjz1JgbaeQ9mBDXMJ2/P8vmOYRbFndXsk%3D' (2025-01-16)
→ 'github:nix-community/disko/18d0a984cc2bc82cf61df19523a34ad463aa7f54?narHash=sha256-KYOATYEwaKysL3HdHdS5kbQMXvzS4iPJzJrML%2B3TKAo%3D' (2025-01-29)
2025-02-04 03:22:08 +00:00
Mic92
86bdc2364d
Merge pull request 'clan-cli: fix keys and symlinks updates when users, machines, or groups are updated' ( #2781 ) from lopter/clan-core:lo-fix-secrets-user-remove into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2781
2025-02-04 03:13:20 +00:00
Louis Opter
48268f7960
clan-cli: do not skip secrets.update_secrets when a group is removed
...
We need to remove all keys that were in the group from affected secrets.
With this change we now take `group_name` as an argument in
`{add,remove}_member`, which is a little bit more readable than
`group_folder.parent.name`, and helps DRY the code a bit.
2025-02-04 03:13:20 +00:00
Louis Opter
ef442ef316
clan-cli: secrets users add: make sure only one key argument was passed
...
This is slightly better input validation FWIW.
2025-02-04 03:13:20 +00:00
Louis Opter
81cf521d8c
clan-cli: secrets: properly update secrets when an user is removed
...
Fixes #2659 .
2025-02-04 03:13:20 +00:00
Louis Opter
36a54ead12
clan-cli: improve tests on clan secrets …
...
When users or groups are updated :
- Check that keys are properly updated on sops secrets;
- Check that no dangling symlinks are left behind in sops secrets.
And when an user is removed from the clan, check that it is removed from
the groups it belonged to.
This doesn't check this works for vars explicitly, since they share the
same logic, see `secret_paths.extend(list_vars_secrets(flake_dir))` in
commit f2856cb773 .
Those improvements allow us to validate that #2659 is indeed fixed, and
tell us that we need to make the same kind of fixes for machines and
groups. For groups this is straightforward, and for machines, when one
is deleted, I wanna discuss first whether we want to delete all its
secrets as well.
2025-02-04 03:13:20 +00:00
Louis Opter
5fc9440a1e
clan-cli: secrets: truly catch broken symlinks in collect_keys_for_type
2025-02-04 03:13:20 +00:00
Louis Opter
e2c6b7bffc
clan-cli: secrets key generate: fix call to action message
...
So that it makes sense when an already existing PGP key is specified.
2025-02-04 03:13:20 +00:00
Louis Opter
26d07cf1f5
clan-cli: secrets: commit changes when group members are added or removed
2025-02-04 03:13:20 +00:00
Louis Opter
7be310062f
clan-cli: honor clan.core.sops.defaultGroups option in vars fix
2025-02-04 03:13:20 +00:00
Louis Opter
66a9b22d66
clan-cli: secrets/sops: fix error message in maybe_get_admin_public_key
2025-02-04 03:13:20 +00:00
Johannes Kirschbauer
64812cd66b
buildClan: add more eager tests
2025-02-03 12:00:47 +01:00
Johannes Kirschbauer
3cb3259c0f
flake.nix: remove unused self reference
2025-02-03 12:00:47 +01:00
Johannes Kirschbauer
ba8ae04e5b
buildClan: add depercation warnings for directory=self
2025-02-03 12:00:47 +01:00
Jörg Thalheim
eee6415261
fix infinite recursion
2025-02-03 12:00:47 +01:00
Clan Merge Bot
b013b9d6e7
update flake lock - treefmt-nix - 2025-02-03T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/f2cc121df15418d028a59c9737d38e3a90fbaf8f?narHash=sha256-5An1wq5U8sNycOBBg3nsDDgpwBmR9liOpDGlhliA6Xo%3D' (2025-01-21)
→ 'github:numtide/treefmt-nix/bebf27d00f7d10ba75332a0541ac43676985dea3?narHash=sha256-j6jC12vCFsTGDmY2u1H12lMr62fnclNjuCtAdF1a4Nk%3D' (2025-01-28)
2025-02-03 00:20:56 +00:00
Clan Merge Bot
da3608f348
update flake lock - flake-parts - 2025-02-03T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
→ 'github:hercules-ci/flake-parts/32ea77a06711b758da0ad9bd6a844c5740a87abd?narHash=sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm%2BzmZ7vxbJdo%3D' (2025-02-01)
2025-02-03 00:00:03 +00:00
a-kenji
94362c1ff5
pkgs/clan: Fix typos
2025-02-02 23:20:39 +07:00
lassulus
18d7167fb3
test_api_dataclass_compat: exlcude flake.py
2025-02-02 11:52:36 +00:00
lassulus
02d450b905
clan-cli: add a Flake class with caching
2025-02-02 11:52:36 +00:00
lassulus
8e81cd08c8
clan-cli: add ipython to dev dependencies
2025-02-02 11:52:36 +00:00
lassulus
db417ecd13
clan-cli vars upload: add optional --directory
2025-02-02 11:52:36 +00:00
Jörg Thalheim
eb9055c813
buildClan/tests: make test_only_required minimal again
2025-02-02 10:40:50 +00:00
kenji
18d890aa98
Merge pull request 'clanModules/user-password: Add inventory feature' ( #2796 ) from kenji/clan-core:feat-inventory/user-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2796
2025-02-02 10:35:48 +00:00
a-kenji
f6466ead04
clanModules/root-password: Add inventory feature
2025-02-02 10:35:48 +00:00
kenji
72e1184cbd
Merge pull request 'clanModules/root-password: Add inventory feature' ( #2795 ) from kenji/clan-core:feat-inventory/root-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2795
2025-02-02 10:32:58 +00:00
a-kenji
2fb312ccc1
clanModules/root-password: Add inventory feature
2025-02-02 10:32:58 +00:00
Jörg Thalheim
17fd387829
legacyPackages.evalTests-build-clan: fix comment to run tests
2025-02-02 10:30:26 +00:00
Jörg Thalheim
522156efc8
Do not deprecate directory argument
2025-02-02 10:30:26 +00:00
a-kenji
51113eb656
clanModules/root-password: Fix root-password persistence
2025-02-02 16:36:19 +07:00
Qubasa
3acf8bbb4b
clan-cli: Fix clan flakes create not working in nix shell
2025-02-01 12:16:20 +07:00
Mic92
6f2cae4a53
Merge pull request 'container test with writeable nix store' ( #2655 ) from container-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2655
2025-01-31 11:51:00 +00:00
Jörg Thalheim
f579e62f2e
container test: with writeable nix store
2025-01-31 11:51:00 +00:00
Qubasa
825b4abd37
clan-cli: Make clan machines create use templating.py
2025-01-31 18:07:48 +07:00
Jörg Thalheim
50e30a750d
remove createFile legacy alias from vars/interface
...
it's hard to filter this out in nix. So instead we just drop this
option.
2025-01-31 10:29:35 +00:00
Qubasa
caaafdf5f9
clan-cli: Add test_clan_nix_attrset.py and minor fixups
2025-01-31 16:36:20 +07:00
Qubasa
8dd4b92a10
webview-ui: Fix create_clan js call
2025-01-30 17:26:41 +07:00
Qubasa
61762fdea3
clan-cli: Expand type_to_dict to support NewType and tuple types in dataclasses
2025-01-30 17:19:31 +07:00
Qubasa
0db5abf56a
clan-cli: Make clan flakes create discover templates from inputs. Add clan flakes list command
2025-01-30 16:24:50 +07:00
Qubasa
9a79ea8e1d
clan: Remove unecessary templates and modules interface
2025-01-29 19:24:15 +07:00
Qubasa
5ceec3844a
clan-cli: Add from_host function to Host class
2025-01-29 19:18:02 +07:00
Qubasa
84b8838084
clan-cli: Add ruff to devShell again. Add missing type annotations
2025-01-29 19:16:34 +07:00
Qubasa
e7e96f3f95
Add importable clan.modules and clan.template interfaces without implementation
2025-01-27 17:35:42 +07:00
Clan Merge Bot
9e62135304
update flake lock - treefmt-nix - 2025-01-27T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/d1ed3b385f8130e392870cfb1dbfaff8a63a1899?narHash=sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc%3D' (2025-01-17)
→ 'github:numtide/treefmt-nix/f2cc121df15418d028a59c9737d38e3a90fbaf8f?narHash=sha256-5An1wq5U8sNycOBBg3nsDDgpwBmR9liOpDGlhliA6Xo%3D' (2025-01-21)
2025-01-27 00:00:24 +00:00
Luis Hebendanz
f89042be79
Merge pull request 'clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan' ( #2782 ) from Qubasa/clan-core:dynamic_clanModulesv2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2782
Reviewed-by: lassulus <clanlol@lassul.us >
2025-01-24 07:29:14 +00:00
Qubasa
ed6aaf5f0c
clan: Add autoloaded clanModules from flake inputs. Rename 'directory' to 'self' in buildClan
2025-01-24 12:32:04 +07:00
Johannes Kirschbauer
83c6ad19eb
Docs: change navigation to use tabs again
2025-01-23 13:49:55 +01:00
lassulus
e4826b5c53
vars: set persist to true if the script is empty
2025-01-22 19:36:19 +00:00
a-kenji
673935785d
Fix various typos
2025-01-22 13:26:58 +01:00
a-kenji
fa54c0f1b5
Fix various typos
2025-01-22 13:19:28 +01:00
a-kenji
42e0928b55
clanModules/mycelium: init mycelium
...
This adds a clanModule for `mycelium`.
`Mycelium` is an IPv6 overlay network written in Rust.
Each node that joins the overlay network will receive an overlay network IP in the 400::/7 range.
An example configuration might look like this in the inventory:
```nix
mycelium.default = {
roles.peer.machines = [
"berlin"
"munich"
];
config = {
topLevelDomain = "m";
openFirewall = true;
addHostedPublicNodes = true;
};
};
```
This will add the machines named `berlin` and `munich` to the `mycelium` vpn.
And will also set the toplevel domain of the mycelium vpn to `m`, meaning the
machines are now reachable via `berlin.m` and `munich.m`.
2025-01-22 11:56:10 +00:00
hsjobeki
7ff0058bd6
Merge pull request 'Vars/Facts: improve api, fix some errors' ( #2712 ) from hsjobeki/clan-core:zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2712
2025-01-22 09:02:55 +00:00
Johannes Kirschbauer
f0d5cad992
Vars/tests: secrets dont raise backend error depending on the previous backend
2025-01-22 09:02:55 +00:00
Johannes Kirschbauer
119e161c6c
Facts/api: export method for getting the public store
2025-01-22 09:02:55 +00:00
Johannes Kirschbauer
6bcd41d143
Vars/secrets-store: omit folder exists errors for secrets
2025-01-22 09:02:55 +00:00
Mic92
d978b12825
Merge pull request 'remove eval warning for createFile' ( #2773 ) from network into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2773
2025-01-21 16:15:17 +00:00
Jörg Thalheim
6203b4f14f
clan/update: deploy_machine -> deploy_machines
2025-01-21 15:20:38 +01:00
Jörg Thalheim
293d67d485
remove eval warning for createFile
2025-01-21 15:20:38 +01:00
Michael Hoang
f0a07bbfae
flash: don't allow partitioning time secrets
2025-01-21 11:13:51 +00:00
lassulus
292a488cce
extend installation-test to check partitioning secrets
2025-01-21 11:13:51 +00:00
Michael Hoang
7ee0e2afbf
vars: support secrets for partitioning the disk
2025-01-21 11:13:51 +00:00
Mic92
45cf6adc13
Merge pull request 'Automatic flake update - 2025-01-20T00:00+00:00' ( #2769 ) from flake-update-2025-01-20 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2769
2025-01-21 11:09:13 +00:00
Clan Merge Bot
5b8f0d1a78
update flake lock - 2025-01-20T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/f720e64ec37fa16ebba6354eadf310f81555cc07?narHash=sha256-8hKhPQuMtXfJi%2B4lPvw3FBk/zSJVHeb726Zo0uF1PP8%3D' (2025-01-12)
→ 'github:nix-community/disko/bf0abfde48f469c256f2b0f481c6281ff04a5db2?narHash=sha256-rMEuiK69MDhjz1JgbaeQ9mBDXMJ2/P8vmOYRbFndXsk%3D' (2025-01-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ae2fb9f1fb5fcf17fb59f25c2a881c170c501d6f?narHash=sha256-BYsp8PA1j691FupfrLVOQzm4CaYaKtkh4U%2BKuGMnBWw%3D' (2025-01-15)
→ 'github:NixOS/nixpkgs/041c867bad68dfe34b78b2813028a2e2ea70a23c?narHash=sha256-DSenga8XjPaUV5KUFW/i3rNkN7jm9XmguW%2BqQ1ZJTR4%3D' (2025-01-17)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
→ 'github:numtide/treefmt-nix/d1ed3b385f8130e392870cfb1dbfaff8a63a1899?narHash=sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc%3D' (2025-01-17)
2025-01-21 11:09:13 +00:00
Mic92
de1ed08619
Merge pull request 'Automatic flake update - treefmt-nix - 2025-01-20T00:00+00:00' ( #2770 ) from flake-update-treefmt-nix-2025-01-20 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2770
2025-01-21 11:09:03 +00:00
Clan Merge Bot
22ca33bc88
update flake lock - treefmt-nix - 2025-01-20T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
→ 'github:numtide/treefmt-nix/d1ed3b385f8130e392870cfb1dbfaff8a63a1899?narHash=sha256-uPNWcYbhY2fjY3HOfRCR5jsfzdzemhfxLSxwjXYXqNc%3D' (2025-01-17)
2025-01-21 11:09:03 +00:00
Mic92
2b164d5278
Merge pull request 'use nix flake archive in clan machines update for git+file flake inputs' ( #2771 ) from machine-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2771
2025-01-20 09:55:25 +00:00
Jörg Thalheim
8c667a162a
use nix flake archive in clan machines update for git+file flake inputs
2025-01-20 10:49:25 +01:00
Clan Merge Bot
889b3479d9
update flake lock - disko - 2025-01-20T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/f720e64ec37fa16ebba6354eadf310f81555cc07?narHash=sha256-8hKhPQuMtXfJi%2B4lPvw3FBk/zSJVHeb726Zo0uF1PP8%3D' (2025-01-12)
→ 'github:nix-community/disko/bf0abfde48f469c256f2b0f481c6281ff04a5db2?narHash=sha256-rMEuiK69MDhjz1JgbaeQ9mBDXMJ2/P8vmOYRbFndXsk%3D' (2025-01-16)
2025-01-20 00:00:01 +00:00
Michael Hoang
f199030119
install: support -i flag for specifying SSH private key
2025-01-19 18:53:18 +11:00
Qubasa
593f49abcc
clan: revert imports.nix and wait till tuesday
2025-01-18 20:21:49 +07:00
Qubasa
3e4770add6
docs: Rename mentions of inventory module to clanModule with inventory support
2025-01-18 10:17:20 +07:00
Qubasa
08223bce53
Reapply "buildClan: Add automatic inventory import directory"
...
This reverts commit 6119aa884f .
This is incorrect we have mentions to inventory.modules in the codebase since much longer.
As can be seen in the documentation: https://docs.clan.lol/reference/nix-api/inventory/
As this PR improves the readability of the docs, I will re-apply it.
2025-01-18 10:01:19 +07:00
Qubasa
030b046552
Reapply "docs: Document imports dir. Remove What's next sections everywhere. Merge guide overview and hompage view."
...
This reverts commit ba517f56b3 .
2025-01-18 10:00:56 +07:00
Jörg Thalheim
ba517f56b3
Revert "docs: Document imports dir. Remove What's next sections everywhere. Merge guide overview and hompage view."
...
This reverts commit 257e1893ee .
2025-01-17 15:44:44 +01:00
Jörg Thalheim
6119aa884f
Revert "buildClan: Add automatic inventory import directory"
...
This reverts commit a64c054168 .
This introduces the name "inventory module" whereas we already use the
term clan modules everywhere else. I don't don't too many confusing
termologies in the codebase. Let's discuss this before adding it back.
2025-01-17 15:43:44 +01:00
Jörg Thalheim
58e3dc9df2
fix getting-started deploy link4
2025-01-17 14:08:58 +00:00
Qubasa
257e1893ee
docs: Document imports dir. Remove What's next sections everywhere. Merge guide overview and hompage view.
2025-01-17 21:03:25 +07:00
Qubasa
a64c054168
buildClan: Add automatic inventory import directory
2025-01-17 20:58:48 +07:00
DavHau
3feaba2267
tea-create-pr: don't use clan-core formatter
2025-01-17 19:22:19 +07:00
Mic92
dfdf98f664
Merge pull request 'fix flash-check' ( #2715 ) from fix-flash-check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2715
2025-01-17 11:37:03 +00:00
Jörg Thalheim
bad34db753
update nixpkgs
2025-01-17 11:37:03 +00:00
lassulus
b12abb208f
checks.flash: add missing grub-install deps
2025-01-17 11:37:03 +00:00
lassulus
86d449c8d1
clan-cli: exit with errorcode also in debug mode
2025-01-17 11:37:03 +00:00
DavHau
5ce72dd261
tests: reduce unnecessary rebuilds of several tests
...
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.
This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00
clan-bot
b7ba611751
Merge pull request 'merge-acfter-ci: don't append username to remote branch' ( #2757 ) from DavHau/clan-core:DavHau-dave into main
2025-01-17 03:41:09 +00:00
DavHau
d528df903e
merge-acfter-ci: don't append username to remote branch
2025-01-17 10:36:45 +07:00
clan-bot
4c284bb86b
Merge pull request 'Migrate borgbackup module to vars' ( #2741 ) from pinpox/clan-core:migrate-borgbackup-vars into main
2025-01-16 12:16:37 +00:00
Pablo Ovelleiro Corral
038083bece
Migrate borgbackup module to vars
2025-01-16 13:14:24 +01:00
Mic92
4bccdae302
Merge pull request 'switch to nixos-facter for hardware-config' ( #2747 ) from switch-to-nixos-facter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2747
2025-01-15 13:59:49 +00:00
Jörg Thalheim
fb217cc4b2
remove flip functions from sops code
2025-01-15 13:59:49 +00:00
Jörg Thalheim
cb8ca601e2
switch to nixos-facter for hardware-config
2025-01-15 13:59:49 +00:00
kenji
89890d34af
Merge pull request 'docs: fix dev shell in migration guide' ( #2748 ) from kmein/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2748
Reviewed-by: kenji <aks.kenji@protonmail.com >
2025-01-15 10:35:30 +00:00
Kierán Meinhardt
1e8620017d
docs: fix dev shell in migration guide
2025-01-15 10:35:30 +00:00
clan-bot
517e4b8812
Merge pull request 'docs/vars: fix syntax error' ( #2751 ) from DavHau/clan-core:DavHau-docs into main
2025-01-15 06:26:08 +00:00
DavHau
628e893f36
docs/vars: fix syntax error
2025-01-15 13:21:50 +07:00
clan-bot
d44a6ca60c
Merge pull request 'docs: set sidebar headers to accent color' ( #2750 ) from pinpox/clan-core:main into main
2025-01-14 22:30:16 +00:00
Pablo Ovelleiro Corral
4e5d91d9d8
docs: set sidebar headers to accent color
...
Fixes #2749
2025-01-14 23:24:49 +01:00
clan-bot
1bd2e6e230
Merge pull request 'Vars/docs minor fixes' ( #2746 ) from hsjobeki/clan-core:vars/misc into main
2025-01-14 16:47:18 +00:00
hsjobeki
9cebe71f51
Merge pull request 'docs(installer): Fix typography and align headers' ( #2697 ) from kenji/clan-core:kenji-docs/fix-flash into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2697
2025-01-14 16:42:36 +00:00
a-kenji
36eb2e00a1
docs(installer): Fix typography and align headers
2025-01-14 16:42:36 +00:00
hsjobeki
70bf1a626a
Merge pull request 'Migrate clanModule root-password to vars' ( #2701 ) from hsjobeki/clan-core:vars/root-password into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2701
2025-01-14 16:42:29 +00:00
Johannes Kirschbauer
31a1fe887e
Vars: interface improve docs formatting
2025-01-14 17:40:57 +01:00
Johannes Kirschbauer
0790db7258
Fix: f-string in generator error
2025-01-14 17:33:55 +01:00
Johannes Kirschbauer
021cb6274f
Root-password: remove deprecated default option
2025-01-14 17:28:12 +01:00
Johannes Kirschbauer
f16f68c77b
Fix: remove password from facts store tests
2025-01-14 17:19:51 +01:00
Johannes Kirschbauer
14261b8a8c
Fix: secret facts store test
2025-01-14 17:19:50 +01:00
Johannes Kirschbauer
10d7078c1e
Fixup: improve mkpasswd generator line
2025-01-14 17:19:50 +01:00
Johannes Kirschbauer
be0b9c4e0e
Vars: migrate root-password from facts
2025-01-14 17:19:50 +01:00
Mic92
cb5cb86d96
Merge pull request 'installer: substitute packages from local nix store' ( #2744 ) from speed-up-installer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2744
Reviewed-by: lassulus <clanlol@lassul.us >
2025-01-14 15:11:33 +00:00
Jörg Thalheim
353f7f9dfb
installer: substitute packages from local nix store
...
this can speed up the installation if both the installer and the
installed system use similar versions.
2025-01-14 15:11:33 +00:00
clan-bot
2a7ff6c1d5
Merge pull request 'vars in_repo: throw as a default so we can catch it with tryEval' ( #2745 ) from lassulus/clan-core:throw_inrepo into main
2025-01-14 14:58:20 +00:00
lassulus
b25fe641d2
vars in_repo: throw as a default so we can catch it with tryEval
2025-01-14 15:53:54 +01:00
clan-bot
3f7b992903
Merge pull request 'Automatic flake update - 2025-01-13T00:00+00:00' ( #2728 ) from flake-update-2025-01-13 into main
2025-01-14 14:48:14 +00:00
Mic92
c04c7cdfb5
Merge branch 'main' into flake-update-2025-01-13
2025-01-14 14:46:25 +00:00
clan-bot
2588e5df5b
Merge pull request 'Automatic flake update - nixpkgs - 2025-01-13T00:00+00:00' ( #2729 ) from flake-update-nixpkgs-2025-01-13 into main
2025-01-14 14:38:17 +00:00
Jörg Thalheim
40e23f1bdb
ignore ruff A005 for now
2025-01-14 15:32:13 +01:00
clan-bot
d5f06f3db6
Merge pull request 'Automatic flake update - disko - 2025-01-13T00:00+00:00' ( #2726 ) from flake-update-disko-2025-01-13 into main
2025-01-14 14:31:22 +00:00
Jörg Thalheim
3bcbc8fa3d
reformat after update
2025-01-14 15:30:29 +01:00
clan-bot
a24ed49f5a
Merge pull request 'Automatic flake update - flake-parts - 2025-01-13T00:00+00:00' ( #2727 ) from flake-update-flake-parts-2025-01-13 into main
2025-01-14 14:30:29 +00:00
Clan Merge Bot
0ef777b3c2
update flake lock - nixpkgs - 2025-01-13T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4989a246d7a390a859852baddb1013f825435cee?narHash=sha256-kMBQ5PRiFLagltK0sH%2B08aiNt3zGERC2297iB6vrvlU%3D' (2024-12-17)
→ 'github:NixOS/nixpkgs/2f9e2f85cb14a46410a1399aa9ea7ecf433e422e?narHash=sha256-FWlPMUzp0lkQBdhKlPqtQdqmp%2B/C%2B1MBiEytaYfrCTY%3D' (2025-01-12)
2025-01-14 15:29:16 +01:00
clan-bot
1826226855
Merge pull request 'Automatic flake update - treefmt-nix - 2025-01-13T00:00+00:00' ( #2730 ) from flake-update-treefmt-nix-2025-01-13 into main
2025-01-14 14:28:02 +00:00
clan-bot
264d666880
Merge pull request 'link to migration guide' ( #2733 ) from migration-guide into main
2025-01-14 14:28:01 +00:00
Mic92
cd83a36ede
Merge branch 'main' into flake-update-disko-2025-01-13
2025-01-14 14:19:21 +00:00
Mic92
63f14094ac
Merge branch 'main' into flake-update-flake-parts-2025-01-13
2025-01-14 14:19:13 +00:00
Mic92
1f7515d452
Merge branch 'main' into flake-update-2025-01-13
2025-01-14 14:19:07 +00:00
Mic92
02adf7f706
Merge branch 'main' into flake-update-treefmt-nix-2025-01-13
2025-01-14 14:18:54 +00:00
Jörg Thalheim
1283c928ea
link to migration guide
2025-01-14 15:18:11 +01:00
Mic92
fa4ee22254
Merge pull request 'matrix-synapse: migrate to vars' ( #2714 ) from matrix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2714
2025-01-14 14:16:19 +00:00
Jörg Thalheim
9b885f54af
matrix-synapse: migrate to vars
2025-01-14 14:16:19 +00:00
hsjobeki
4c172fad77
Merge pull request 'Docs: change navigation to use sidebar sections only' ( #2743 ) from hsjobeki/clan-core:docs/sections into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2743
2025-01-14 12:31:45 +00:00
Johannes Kirschbauer
fef5a0b6f2
Docs: change navigation to use sidebar sections only
2025-01-14 12:31:45 +00:00
clan-bot
6d2bc9fbfc
Merge pull request 'minor fixes' ( #2736 ) from pinpox/clan-core:fix-migration-guide into main
2025-01-14 12:17:49 +00:00
Pablo Ovelleiro Corral
74c1ac7664
minor fixes
2025-01-13 21:37:01 +01:00
Clan Merge Bot
44eae79196
update flake lock - treefmt-nix - 2025-01-13T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/1788ca5acd4b542b923d4757d4cfe4183cc6a92d?narHash=sha256-FBG9d7e0BTFfxVdw4b5EmNll2Mv7hfRc54hbB4LrKko%3D' (2025-01-05)
→ 'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
2025-01-13 00:00:54 +00:00
Clan Merge Bot
18d42b3904
update flake lock - 2025-01-13T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/4d5d07d37ff773338e40a92088f45f4f88e509c8?narHash=sha256-9Sy17XguKdEU9M5peTrkWSlI/O5IAqjHzdzxbXnc30g%3D' (2025-01-09)
→ 'github:nix-community/disko/f720e64ec37fa16ebba6354eadf310f81555cc07?narHash=sha256-8hKhPQuMtXfJi%2B4lPvw3FBk/zSJVHeb726Zo0uF1PP8%3D' (2025-01-12)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/f2f7418ce0ab4a5309a4596161d154cfc877af66?narHash=sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq%2BraipRI%3D' (2025-01-01)
→ 'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4989a246d7a390a859852baddb1013f825435cee?narHash=sha256-kMBQ5PRiFLagltK0sH%2B08aiNt3zGERC2297iB6vrvlU%3D' (2024-12-17)
→ 'github:NixOS/nixpkgs/2f9e2f85cb14a46410a1399aa9ea7ecf433e422e?narHash=sha256-FWlPMUzp0lkQBdhKlPqtQdqmp%2B/C%2B1MBiEytaYfrCTY%3D' (2025-01-12)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/1788ca5acd4b542b923d4757d4cfe4183cc6a92d?narHash=sha256-FBG9d7e0BTFfxVdw4b5EmNll2Mv7hfRc54hbB4LrKko%3D' (2025-01-05)
→ 'github:numtide/treefmt-nix/13c913f5deb3a5c08bb810efd89dc8cb24dd968b?narHash=sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw%3D' (2025-01-06)
2025-01-13 00:00:26 +00:00
Clan Merge Bot
8ad61ae394
update flake lock - flake-parts - 2025-01-13T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/f2f7418ce0ab4a5309a4596161d154cfc877af66?narHash=sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq%2BraipRI%3D' (2025-01-01)
→ 'github:hercules-ci/flake-parts/b905f6fc23a9051a6e1b741e1438dbfc0634c6de?narHash=sha256-%2Bhu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU%3D' (2025-01-06)
2025-01-13 00:00:03 +00:00
Clan Merge Bot
1e2d96877a
update flake lock - disko - 2025-01-13T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/4d5d07d37ff773338e40a92088f45f4f88e509c8?narHash=sha256-9Sy17XguKdEU9M5peTrkWSlI/O5IAqjHzdzxbXnc30g%3D' (2025-01-09)
→ 'github:nix-community/disko/f720e64ec37fa16ebba6354eadf310f81555cc07?narHash=sha256-8hKhPQuMtXfJi%2B4lPvw3FBk/zSJVHeb726Zo0uF1PP8%3D' (2025-01-12)
2025-01-13 00:00:01 +00:00
clan-bot
6625aee352
Merge pull request 'pass move-mount-beneath: add more debug info' ( #2725 ) from lassulus/clan-core:pass-debug into main
2025-01-12 10:22:22 +00:00
lassulus
cc99a23ac2
pass move-mount-beneath: add more debug info
2025-01-12 11:17:22 +01:00
clan-bot
80fcbc5e62
Merge pull request 'clan-app: Change tkinter file dialogue to gtk4 file dialogue' ( #2723 ) from Qubasa/clan-core:Qubasa-main into main
2025-01-12 07:43:56 +00:00
Qubasa
68f56ecafd
clan-app: Change tkinter file dialogue to gtk4 file dialogue
2025-01-12 14:39:41 +07:00
clan-bot
6db757637d
Merge pull request 'Implement clan ssh <hostname>' ( #2722 ) from pinpox/clan-core:clan-ssh-hostname into main
2025-01-11 22:23:00 +00:00
Pablo Ovelleiro Corral
e4d3c03392
Implement clan ssh <hostname>
...
Fixes #2317
2025-01-11 23:15:39 +01:00
pinpox
7ccc9f52b6
migration-guide ( #2717 )
...
This PR adds a migration guide for existing NixOS configurations.
Co-authored-by: Pablo Ovelleiro Corral <mail@pablo.tools >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2717
Co-authored-by: pinpox <clan@pablo.tools >
Co-committed-by: pinpox <clan@pablo.tools >
2025-01-11 20:38:08 +00:00
clan-bot
cf0a3eab59
Merge pull request 'vars: fix formatting in guide' ( #2721 ) from DavHau/clan-core:DavHau-docs into main
2025-01-11 13:21:20 +00:00
DavHau
54535a0da0
vars: fix formatting in guide
2025-01-11 20:17:16 +07:00
clan-bot
637a30a5b4
Merge pull request 'vars: add guide for using vars to manage shared passwords' ( #2720 ) from DavHau/clan-core:DavHau-docs into main
2025-01-11 13:06:19 +00:00
DavHau
aa175d9682
vars: add guide for using vars to manage shared passwords
...
This could be extended forther to cover more features, but it is a start
2025-01-11 20:01:47 +07:00
Luis Hebendanz
7d88e8c255
Merge pull request 'clan-app: Rename dynamic library name, set macos x64 to unsupported' ( #2719 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2719
2025-01-11 06:07:15 +00:00
Qubasa
82f4fe44a7
clan-app: Rename dynamic library name, set macos x64 to unsupported
2025-01-11 13:06:40 +07:00
clan-bot
cbc88abd1d
Merge pull request 'webview-lib: Force clangStdenv everywhere as MacOS requires clangStdenv. Add clang-tools else clang headers aren't found' ( #2718 ) from Qubasa/clan-core:Qubasa-main into main
2025-01-11 05:59:28 +00:00
Qubasa
70e12b953b
webview-lib: Force clangStdenv everywhere as MacOS requires clangStdenv. Add clang-tools else clang headers aren't found
2025-01-11 12:55:03 +07:00
DavHau
4a9ae3a45f
vars: rename createFile -> persist
2025-01-11 04:19:46 +00:00
clan-bot
3b43da6a35
Merge pull request 'clan-app: Fix default.nix' ( #2699 ) from Qubasa/clan-core:Qubasa-main into main
2025-01-11 04:01:14 +00:00
Qubasa
93a657aca6
clan-app: allow darwin build
2025-01-11 10:55:50 +07:00
Qubasa
6f0a87a752
clan-app: allow darwin build
2025-01-11 10:55:50 +07:00
Qubasa
387da30004
clan-app: Add .local.env source script for local debug builds
2025-01-11 10:55:50 +07:00
Qubasa
d13a0007db
clan-app: Fix webview crash on exception in api wrapper
2025-01-11 10:55:50 +07:00
Qubasa
06a85faca6
clan-app: Add gpg to allowed-programs.json
2025-01-11 10:52:22 +07:00
Qubasa
c6d5eb5037
clan-app: Fix default.nix
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
clan-bot
3397cc3e6a
Merge pull request 'bump sops-nix' ( #2713 ) from merge-when-green-joerg into main
2025-01-10 13:39:07 +00:00
Jörg Thalheim
8adef3f3e0
bump sops-nix
2025-01-10 14:33:18 +01:00
clan-bot
c10879b78c
Merge pull request 'Docs: add inventory concept introduction' ( #2711 ) from hsjobeki/clan-core:docs/inventory into main
2025-01-10 12:20:27 +00:00
Johannes Kirschbauer
0066eb2b45
Docs: add inventory concept introduction
2025-01-10 13:15:58 +01:00
clan-bot
a605b8b616
Merge pull request 'Add vars step to UI' ( #2710 ) from hsjobeki/clan-core:hsjobeki-main into main
2025-01-10 12:15:33 +00:00
Johannes Kirschbauer
a27a2d5c12
UI: add vars step to installation
2025-01-10 13:10:20 +01:00
Johannes Kirschbauer
3153d5e494
API: rename get_prompts to get_generators
2025-01-10 13:10:19 +01:00
Johannes Kirschbauer
1058d5ff07
Fix: select add portalRef instead of modalContextId
2025-01-10 13:07:47 +01:00
hsjobeki
8bb596cdb5
Merge pull request 'Disk Templates: Fix invalid toml frontmatter' ( #2702 ) from hsjobeki/clan-core:fix/disk into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2702
2025-01-10 12:06:41 +00:00
Johannes Kirschbauer
fbaf9065bf
Disk Templates: Fix invalid toml frontmatter
2025-01-10 12:06:41 +00:00
hsjobeki
e7dac97d98
Merge pull request 'Inventory: warning on undefined tags, instead of error.' ( #2696 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2696
2025-01-10 12:06:01 +00:00
Johannes Kirschbauer
f0d8349575
Fix: add values prios eval tests
2025-01-10 12:06:01 +00:00
Johannes Kirschbauer
355583c0d4
Webview: fix thread_task cannot raise exceptions
2025-01-10 12:06:01 +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
Johannes Kirschbauer
85d03f106b
Inventory: warning on undefined tags, instead of error.
2025-01-10 12:06:01 +00:00
clan-bot
037549ba38
Merge pull request 'create synapse registration in systemd service instead of systemd.tmpfiles' ( #2709 ) from merge-when-green-joerg into main
2025-01-10 11:50:36 +00:00
Jörg Thalheim
9b48efcd6d
container-driver: also include journal/systemd status
2025-01-10 12:45:00 +01:00
Jörg Thalheim
4893827f04
create synapse registration in systemd service instead of systemd.tmpfiles
2025-01-10 12:45:00 +01:00
clan-bot
59a49935b6
Merge pull request 'Update disko flake input' ( #2708 ) from pinpox/clan-core:update-disko-input into main
2025-01-09 16:12:26 +00:00
Pablo Ovelleiro Corral
a496a03e70
Update disko flake input
...
Include fix from https://github.com/nix-community/disko/pull/934
The disko version before this makes the evaluation fail, if machines
import their own disko directly already.
2025-01-09 16:52:34 +01:00
Mic92
5570f883fb
Merge pull request 'docs: Add debugging.md and repo-layout.md guides' ( #2706 ) from Mic92/clan-core:Qubasa-debugging-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2706
2025-01-09 13:01:49 +00:00
Qubasa
3d0b2948f3
docs: Add debugging.md and repo-layout.md guides
2025-01-09 13:01:49 +00:00
clan-bot
dbf0426e65
Merge pull request 'gui-install: replace expect with bash' ( #2704 ) from test-pr into main
2025-01-09 11:49:13 +00:00
Jörg Thalheim
eae450df95
replace expect with bash.
2025-01-09 12:43:33 +01:00
Mic92
f36cc50767
Merge pull request 'don't run sops + editor in a pipe' ( #2680 ) from sops-edit into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2680
2025-01-07 13:13:49 +00:00
Jörg Thalheim
84086b75a6
don't run sops + editor in a pipe
2025-01-07 14:12:54 +01:00
clan-bot
cbdb58fd6d
Merge pull request 'API/vars: simplify get/set prompts' ( #2695 ) from hsjobeki/clan-core:hsjobeki-main into main
2025-01-07 10:20:15 +00:00
Johannes Kirschbauer
ecf37e02f8
API/vars: simplify get/set prompts
2025-01-07 11:09:58 +01:00
clan-bot
ba976f9083
Merge pull request 'chore create prettier config. Avoid ci/local formatting discprepancies' ( #2693 ) from hsjobeki/clan-core:hsjobeki-main into main
2025-01-07 09:33:22 +00:00
Johannes Kirschbauer
466fcad6a9
UI: chore create prettier config. Avoid ci/local formatting discprepancies
2025-01-07 10:28:42 +01:00
clan-bot
b24c84e800
Merge pull request 'Disk workflow improvements.' ( #2692 ) from hsjobeki/clan-core:hsjobeki-main into main
2025-01-07 09:27:18 +00:00
Johannes Kirschbauer
3a3ab37a18
UI: improve disk workflow when already initialized
2025-01-07 10:22:18 +01:00
Johannes Kirschbauer
9fa322af93
UI: fix select disabled
2025-01-07 10:21:47 +01:00
Johannes Kirschbauer
6403b42bb2
API: Disk templates, persist original values
2025-01-07 10:21:47 +01:00
clan-bot
2363ccbcd0
Merge pull request 'Docs/drafts: remove unused drafts, {HardwareInstallation,SecretCLI}' ( #2691 ) from hsjobeki/clan-core:hsjobeki-main into main
2025-01-07 08:18:26 +00:00
Johannes Kirschbauer
6a013dad7d
Docs/drafts: remove unused drafts, {HardwareInstallation,SecretCLI}
2025-01-07 09:14:03 +01:00
clan-bot
072555e5a2
Merge pull request 'Move clan-app to platform independent webview lib' ( #2690 ) from Qubasa/clan-core:Qubasa-main into main
2025-01-06 23:25:56 +00:00
Qubasa
32bdf963a6
clan-app: Fix python3Full and python3 incompatibilities. 'pytest' not found and devshell bugs
2025-01-07 00:10:34 +01:00
Qubasa
057fded624
clan-app: Fix clan-app-pytest not finding python3Full
2025-01-06 20:14:46 +01:00
Qubasa
b1328b4d9b
clan-app: fix webiview-lib under darwin
2025-01-06 20:14:42 +01:00
Qubasa
c0ecb557bf
clan: revert flake.lock upgrade
2025-01-06 20:14:35 +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
Qubasa
44a2ce1583
Fix nix run .#clan-app
2025-01-06 20:14:20 +01:00
Qubasa
e136e146d5
clan-app: Fix EGL error by upgrading nixpkgs
2025-01-06 20:14:13 +01:00
Qubasa
2014f3663f
clan-app: added header files
2025-01-06 20:14:09 +01:00
Qubasa
34fa4c18b1
clan-app: Working webview from webview lib
2025-01-06 20:14:05 +01:00
Qubasa
a10b4b456b
clan-app: changed webui to webview lib
2025-01-06 20:14:01 +01:00
Qubasa
323a3a0e92
clan-app: packaged c webui lib
2025-01-06 20:13:41 +01:00
clan-bot
27511abe4f
Merge pull request 'UI: Installation steps' ( #2689 ) from hsjobeki/clan-core:hsjobeki-main into main
2025-01-06 09:27:38 +00:00
Johannes Kirschbauer
a5307f9e0a
UI: break out install into step components
2025-01-06 10:22:17 +01:00
Johannes Kirschbauer
9df882da24
UI: fix select render nested portal within dialog
2025-01-06 10:21:51 +01:00
Johannes Kirschbauer
f759edd4bb
UI: typography add color: 'inherit'
2025-01-06 10:21:43 +01:00
Johannes Kirschbauer
e3d29deb08
UI: init components {group,section,sectionHeader}
2025-01-06 10:18:50 +01:00
Johannes Kirschbauer
4a8261e53b
UI: init badge component
2025-01-06 10:17:01 +01:00
Johannes Kirschbauer
4cb029da27
UI: init slide animation keyframe
2025-01-06 10:16:26 +01:00
clan-bot
6548d9aeaf
Merge pull request 'Automatic flake update - treefmt-nix - 2025-01-06T00:00+00:00' ( #2686 ) from flake-update-treefmt-nix-2025-01-06 into main
2025-01-06 00:20:27 +00:00
clan-bot
40f034707c
Merge pull request 'Automatic flake update - sops-nix - 2025-01-06T00:00+00:00' ( #2685 ) from flake-update-sops-nix-2025-01-06 into main
2025-01-06 00:17:29 +00:00
clan-bot
504faaa6b9
Merge pull request 'Automatic flake update - flake-parts - 2025-01-06T00:00+00:00' ( #2683 ) from flake-update-flake-parts-2025-01-06 into main
2025-01-06 00:06:05 +00:00
Clan Merge Bot
bba6495536
update flake lock - treefmt-nix - 2025-01-06T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/9e09d30a644c57257715902efbb3adc56c79cf28?narHash=sha256-8T3K5amndEavxnludPyfj3Z1IkcFdRpR23q%2BT0BVeZE%3D' (2024-12-25)
→ 'github:numtide/treefmt-nix/1788ca5acd4b542b923d4757d4cfe4183cc6a92d?narHash=sha256-FBG9d7e0BTFfxVdw4b5EmNll2Mv7hfRc54hbB4LrKko%3D' (2025-01-05)
2025-01-06 00:00:43 +00:00
Clan Merge Bot
4adf5ec686
update flake lock - sops-nix - 2025-01-06T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/bcb8b65aa596866eb7e5c3e1a6cccbf5d1560b27?narHash=sha256-ZjUjbvS06jf4fElOF4ve8EHjbpbRVHHypStoY8HGzk8%3D' (2024-12-29)
→ 'github:Mic92/sops-nix/5dc08f9cc77f03b43aacffdfbc8316807773c930?narHash=sha256-xJRN0FmX9QJ6%2Bw8eIIIxzBU1AyQcLKJ1M/Gp6lnSD20%3D' (2025-01-05)
2025-01-06 00:00:39 +00:00
Clan Merge Bot
e49262e5ef
update flake lock - flake-parts - 2025-01-06T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
→ 'github:hercules-ci/flake-parts/f2f7418ce0ab4a5309a4596161d154cfc877af66?narHash=sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq%2BraipRI%3D' (2025-01-01)
2025-01-06 00:00:02 +00:00
clan-bot
3d0c23be33
Merge pull request 'UI: Improvements on install workflow.' ( #2682 ) from hsjobeki/clan-core:hsjobeki-main into main
2025-01-03 18:56:06 +00:00
Johannes Kirschbauer
713318d85d
UI: add todo, supress type warning
2025-01-03 19:52:34 +01:00
Johannes Kirschbauer
78162f7479
UI: refactor machine install workflow into modal with steps
2025-01-03 16:38:50 +01:00
Johannes Kirschbauer
512e00f791
UI: fix select, make selectProps optional
2025-01-03 16:38:14 +01:00
Johannes Kirschbauer
bf62792baa
UI: typography init flag to omit color class
2025-01-03 16:37:32 +01:00
Johannes Kirschbauer
47e3c38a12
UI: foward input variant to textInput
2025-01-03 16:36:59 +01:00
Johannes Kirschbauer
48b673aace
UI: fix formLayout
2025-01-03 16:36:38 +01:00
Johannes Kirschbauer
f560473bb9
UI: fix modal, rounding, min-width and other poperties
2025-01-03 16:36:07 +01:00
Johannes Kirschbauer
40a60af238
UI: fix input base, use mathematical asterisk in required label
2025-01-03 16:35:23 +01:00
Johannes Kirschbauer
81039306f0
UI: expose more icons
2025-01-03 16:34:51 +01:00
Johannes Kirschbauer
1e72f72f3c
UI: fix button hover state disabled in disabled tsat
2025-01-03 16:33:51 +01:00
Johannes Kirschbauer
eb7c8b9ce7
UI: theme init semantic background colors
2025-01-03 16:33:23 +01:00
Johannes Kirschbauer
3b89cde312
UI: fix typography. Use explizit weights. Webkit seem to not understand all strings
2025-01-03 16:33:00 +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
clan-bot
0242d305c8
Merge pull request 'clanModules: fix broken dyndns build' ( #2681 ) from Qubasa/clan-core:Qubasa-fix_dyndns_build into main
2025-01-02 12:29:06 +00:00
Qubasa
fe33c69641
clanModules: fix broken dyndns build
2025-01-02 13:20:43 +01:00
clan-bot
5559b39f87
Merge pull request 'Docs: fix all broken anchor references' ( #2679 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-31 14:47:12 +00:00
Johannes Kirschbauer
db5f934869
Docs: fix all broken anchor references
2024-12-31 15:43:20 +01:00
clan-bot
8254ad4c3c
Merge pull request 'Chore: init settings submdule, move options into settings submodule' ( #2677 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-31 14:28:31 +00:00
Johannes Kirschbauer
59c135e6e7
Chore: move 'machineIcon','machineDescription' into 'clan.core.settings.machine' submodule
2024-12-31 15:24:53 +01:00
Johannes Kirschbauer
1c6716674a
Chore: move 'icon','name' into 'clan.core.settings' submodule
2024-12-31 15:17:52 +01:00
Johannes Kirschbauer
c9a005b8d9
Chore: add description to settings.machine submodule
2024-12-31 15:07:34 +01:00
Johannes Kirschbauer
d46ffe9f4a
Chore:_migrate 'machineName' to 'settings.machine.name'
2024-12-31 14:55:50 +01:00
Johannes Kirschbauer
30a99f5cb6
Chore: update docs
2024-12-31 14:22:00 +01:00
Johannes Kirschbauer
315be52e34
Chore: init settings submdule, move clanDir into settings submodule
2024-12-31 14:18:09 +01:00
clan-bot
f823336cba
Merge pull request 'Docs: refactor all option documentation to use tree representations' ( #2676 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-31 12:38:03 +00:00
Johannes Kirschbauer
d7c0ad40a2
Docs: refactor all option documentation to use tree representations
...
Using a tree instead of a list leads to better representation of options
In the future this could also enable better disvocerability by applying tree-specific filters and views
The OptionList should only be used as an exchange format between nix and rendering tools
2024-12-31 13:34:32 +01:00
clan-bot
c760c060c1
Merge pull request 'clanModules: fix dyndns porkbun support' ( #2674 ) from Qubasa/clan-core:Qubasa-fix_dyndns_porkbun into main
2024-12-30 18:31:34 +00:00
Qubasa
52b40797d5
clanModules: migrate dyndns to vars.
2024-12-30 19:27:46 +01:00
Qubasa
4717c46662
clanModules: fix dyndns porkbun support
2024-12-30 18:47:38 +01:00
clan-bot
4b59850079
Merge pull request 'UI: fix installer workflow asking for sudo pw in background' ( #2663 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-30 14:52:41 +00: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
clan-bot
3404af9ccd
Merge pull request 'Automatic flake update - treefmt-nix - 2024-12-30T00:00+00:00' ( #2673 ) from flake-update-treefmt-nix-2024-12-30 into main
2024-12-30 00:22:17 +00:00
clan-bot
fa2b9bf54a
Merge pull request 'Automatic flake update - sops-nix - 2024-12-30T00:00+00:00' ( #2672 ) from flake-update-sops-nix-2024-12-30 into main
2024-12-30 00:19:42 +00:00
clan-bot
1035847645
Merge pull request 'Automatic flake update - disko - 2024-12-30T00:00+00:00' ( #2669 ) from flake-update-disko-2024-12-30 into main
2024-12-30 00:05:12 +00:00
Clan Merge Bot
d158cbac82
update flake lock - treefmt-nix - 2024-12-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f?narHash=sha256-MMi74%2BWckoyEWBRcg/oaGRvXC9BVVxDZNRMpL%2B72wBI%3D' (2024-12-20)
→ 'github:numtide/treefmt-nix/9e09d30a644c57257715902efbb3adc56c79cf28?narHash=sha256-8T3K5amndEavxnludPyfj3Z1IkcFdRpR23q%2BT0BVeZE%3D' (2024-12-25)
2024-12-30 00:00:38 +00:00
Clan Merge Bot
11f38b5855
update flake lock - sops-nix - 2024-12-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d?narHash=sha256-6OvJbqQ6qPpNw3CA%2BW8Myo5aaLhIJY/nNFDk3zMXLfM%3D' (2024-12-18)
→ 'github:Mic92/sops-nix/bcb8b65aa596866eb7e5c3e1a6cccbf5d1560b27?narHash=sha256-ZjUjbvS06jf4fElOF4ve8EHjbpbRVHHypStoY8HGzk8%3D' (2024-12-29)
2024-12-30 00:00:34 +00:00
Clan Merge Bot
2702414ea8
update flake lock - disko - 2024-12-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/2ee76c861af3b895b3b104bae04777b61397485b?narHash=sha256-hk0roBX10j/hospoWIJIJj3i2skd7Oml6yKQBx7mTFk%3D' (2024-12-20)
→ 'github:nix-community/disko/84a5b93637cc16cbfcc61b6e1684d626df61eb21?narHash=sha256-2dt1nOe9zf9pDkf5Kn7FUFyPRo581s0n90jxYXJ94l0%3D' (2024-12-29)
2024-12-30 00:00:01 +00:00
clan-bot
53ef8118f2
Merge pull request 'minimal-flake-parts template: fix clan inputs name' ( #2664 ) from fix-template into main
2024-12-29 15:49:56 +00:00
lassulus
96f69627d8
minimal-flake-parts template: fix clan inputs name
2024-12-29 16:45:23 +01:00
clan-bot
ac25d98485
Merge pull request 'UI: init draggable dialog' ( #2660 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-29 11:30:51 +00:00
Johannes Kirschbauer
b3f1c46880
UI: fix missing types
2024-12-29 12:27:19 +01:00
Johannes Kirschbauer
fc5cb6cde2
UI/flash: use modal for confirmation
2024-12-28 16:18:09 +01:00
Johannes Kirschbauer
f02a0425e8
UI/components: init draggable modal
2024-12-28 16:18:09 +01:00
Johannes Kirschbauer
8bd7ea2c1a
UI: add close icon
2024-12-28 16:18:09 +01:00
Johannes Kirschbauer
529df9454c
UI: add corvu solidjs dialog library
2024-12-28 16:18:09 +01:00
Johannes Kirschbauer
ce050e692b
UI: init icons {attention,warning}
2024-12-28 16:18:09 +01:00
Johannes Kirschbauer
7d3b56d949
API/serde: remove broken list sorting in serializer
2024-12-28 16:18:09 +01:00
Mic92
95ef8303d7
Merge pull request 'sshd: don't migrate openssh-rsa keys' ( #2658 ) from Mic92-rsa-key into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2658
2024-12-25 22:10:02 +00:00
Jörg Thalheim
be79b5d6aa
sshd: don't migrate openssh-rsa keys
...
we never had a fact for this.
2024-12-25 23:05:57 +01:00
clan-bot
a561b62ccb
Merge pull request 'sshd: add option to generate also rsa key' ( #2657 ) from rsa-key into main
2024-12-25 21:59:03 +00: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
877f6b1b52
sshd: add option to generate also rsa key
2024-12-25 22:51:53 +01:00
clan-bot
45e22c8100
Merge pull request 'vars password-store: fix usage with newer vars' ( #2656 ) from vars-pass-fix into main
2024-12-25 21:19:22 +00:00
lassulus
8790b2163a
vars password-store: fix usage with newer vars
2024-12-25 22:09:52 +01:00
clan-bot
d326da49a9
Merge pull request 'vars: fix path to validation hashes' ( #2654 ) from validation-hashes into main
2024-12-25 20:16:01 +00:00
Jörg Thalheim
5e43571140
vars: commit validation hashes
2024-12-25 21:02:52 +01:00
clan-bot
6ae57568b0
Merge pull request 'vars: fix path to validation hashes' ( #2653 ) from validation-hashes into main
2024-12-25 19:54:49 +00:00
Jörg Thalheim
64fa29d058
vars: fix path to validation hashes
2024-12-25 20:48:59 +01:00
Mic92
ee156c0d24
Merge pull request 'sshd: add invalidation hash for certificates' ( #2652 ) from sshd into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2652
2024-12-25 19:21:51 +00: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
21ecbfc673
vars: simplify validationHash type for better error messages
2024-12-25 19:21:51 +00:00
Jörg Thalheim
bf0e3d3642
re-generate ssh certificates when machine name or domains changes
2024-12-25 19:21:51 +00:00
clan-bot
a314a39875
Merge pull request 'network-status: fix executable location' ( #2651 ) from Mic92-network-status into main
2024-12-24 10:53:35 +00:00
Jörg Thalheim
3c3f927fd4
network-status: fix executable location
2024-12-24 11:47:35 +01:00
clan-bot
7baf0ef1b4
Merge pull request 'backup fixes' ( #2650 ) from borgbackup into main
2024-12-24 06:36:06 +00:00
Jörg Thalheim
077f5415b0
borgbackup: use writeShellApplication
2024-12-24 07:29:50 +01:00
Jörg Thalheim
50c52dd099
borgbackup: make restore less verbose
2024-12-24 07:12:54 +01:00
Jörg Thalheim
316478087a
borgbackup: avoid broken pipe
2024-12-24 07:12:54 +01:00
Jörg Thalheim
09db055b01
deltachat: fix test name
2024-12-24 07:11:00 +01:00
Jörg Thalheim
de761d688b
backup/list: improve error reporting
2024-12-24 07:11:00 +01:00
Jörg Thalheim
ed11bff94f
borgbackup-list: use pipefail
2024-12-24 07:11:00 +01:00
Jörg Thalheim
c0ff99863d
borgbackup-list: fix empty backup case
2024-12-24 07:11:00 +01:00
clan-bot
f21876af1e
Merge pull request 'Automatic flake update - treefmt-nix - 2024-12-23T00:00+00:00' ( #2648 ) from flake-update-treefmt-nix-2024-12-23 into main
2024-12-23 00:20:38 +00:00
clan-bot
7a7f3b0522
Merge pull request 'Automatic flake update - sops-nix - 2024-12-23T00:00+00:00' ( #2647 ) from flake-update-sops-nix-2024-12-23 into main
2024-12-23 00:18:52 +00:00
clan-bot
3c5b7f0eae
Merge pull request 'Automatic flake update - 2024-12-23T00:00+00:00' ( #2646 ) from flake-update-2024-12-23 into main
2024-12-23 00:16:05 +00:00
clan-bot
335b570ce6
Merge pull request 'Automatic flake update - nixpkgs - 2024-12-23T00:00+00:00' ( #2645 ) from flake-update-nixpkgs-2024-12-23 into main
2024-12-23 00:15:31 +00:00
Clan Merge Bot
f594db74e1
update flake lock - treefmt-nix - 2024-12-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/0ce9d149d99bc383d1f2d85f31f6ebd146e46085?narHash=sha256-s4DalCDepD22jtKL5Nw6f4LP5UwoMcPzPZgHWjAfqbQ%3D' (2024-12-09)
→ 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f?narHash=sha256-MMi74%2BWckoyEWBRcg/oaGRvXC9BVVxDZNRMpL%2B72wBI%3D' (2024-12-20)
2024-12-23 00:00:23 +00:00
Clan Merge Bot
a3a93619d2
update flake lock - sops-nix - 2024-12-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004?narHash=sha256-GZ4YtqkfyTjJFVCub5yAFWsHknG1nS/zfk7MuHht4Fs%3D' (2024-12-12)
→ 'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d?narHash=sha256-6OvJbqQ6qPpNw3CA%2BW8Myo5aaLhIJY/nNFDk3zMXLfM%3D' (2024-12-18)
2024-12-23 00:00:20 +00:00
Clan Merge Bot
e087fda19c
update flake lock - 2024-12-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/71a6392e367b08525ee710a93af2e80083b5b3e2?narHash=sha256-0XovF7BYP50rTD2v4r55tR5MuBLet7q4xIz6Rgh3BBU%3D' (2024-12-13)
→ 'github:NixOS/nixpkgs/4989a246d7a390a859852baddb1013f825435cee?narHash=sha256-kMBQ5PRiFLagltK0sH%2B08aiNt3zGERC2297iB6vrvlU%3D' (2024-12-17)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004?narHash=sha256-GZ4YtqkfyTjJFVCub5yAFWsHknG1nS/zfk7MuHht4Fs%3D' (2024-12-12)
→ 'github:Mic92/sops-nix/ed091321f4dd88afc28b5b4456e0a15bd8374b4d?narHash=sha256-6OvJbqQ6qPpNw3CA%2BW8Myo5aaLhIJY/nNFDk3zMXLfM%3D' (2024-12-18)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/0ce9d149d99bc383d1f2d85f31f6ebd146e46085?narHash=sha256-s4DalCDepD22jtKL5Nw6f4LP5UwoMcPzPZgHWjAfqbQ%3D' (2024-12-09)
→ 'github:numtide/treefmt-nix/65712f5af67234dad91a5a4baee986a8b62dbf8f?narHash=sha256-MMi74%2BWckoyEWBRcg/oaGRvXC9BVVxDZNRMpL%2B72wBI%3D' (2024-12-20)
2024-12-23 00:00:20 +00:00
Clan Merge Bot
7d373abbfd
update flake lock - nixpkgs - 2024-12-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/71a6392e367b08525ee710a93af2e80083b5b3e2?narHash=sha256-0XovF7BYP50rTD2v4r55tR5MuBLet7q4xIz6Rgh3BBU%3D' (2024-12-13)
→ 'github:NixOS/nixpkgs/4989a246d7a390a859852baddb1013f825435cee?narHash=sha256-kMBQ5PRiFLagltK0sH%2B08aiNt3zGERC2297iB6vrvlU%3D' (2024-12-17)
2024-12-23 00:00:18 +00:00
Mic92
cc60b5396d
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
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
clan-bot
0721a338fb
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
fee39dfef5
flake: update disko for automatically loading ZFS keys
2024-12-22 15:40:59 +11:00
clan-bot
0a10f04240
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
92a52c851a
lint: don't ignore rule that has been removed upstream
2024-12-21 10:43:17 +11: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
clan-bot
caf279f841
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
365e80368c
UI: fix interface breakages on some components. Features will be migrated later
2024-12-20 20:14:42 +01:00
Johannes Kirschbauer
7cd061472d
UI: suppress type problems with tailwind
2024-12-20 19:15:37 +01:00
Johannes Kirschbauer
a87d0fcf92
Docs: add permanent footer with prev/next buttons
2024-12-20 19:13:55 +01:00
Johannes Kirschbauer
3c9d1508b3
UI: init tailwind popover-open variant
2024-12-20 18:15:11 +01:00
Johannes Kirschbauer
90121f50c3
UI: use FieldLayout in machine detail page
2024-12-20 18:14:41 +01:00
Johannes Kirschbauer
2e2df3f09b
UI: migrate flash installer page
2024-12-20 18:14:14 +01:00
Johannes Kirschbauer
cad55e01bf
UI/TextInput: use FieldLayout
2024-12-20 18:13:41 +01:00
Johannes Kirschbauer
abaee70d35
UI: fixup Select component design & api
2024-12-20 18:13:06 +01:00
Johannes Kirschbauer
de5479169c
UI: init FieldLayout wrapper
2024-12-20 18:11:36 +01:00
Johannes Kirschbauer
ee4cdb2b76
UI typography: export reusable types
2024-12-20 18:11:19 +01:00
Johannes Kirschbauer
b44543f849
UI: init InputError component
2024-12-20 18:10:56 +01:00
Johannes Kirschbauer
ea47dd7711
UI: remove unused blockdevices route
2024-12-20 18:10:11 +01: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
clan-bot
90bef3d68c
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
e8edec65d6
backups: throw error if no provider specified
2024-12-20 20:27:58 +07:00
clan-bot
3d6c5ba9a5
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
90a6d28f6c
machines update: remove unecessary special handling for non-path flakes
2024-12-20 19:23:25 +07:00
clan-bot
5938349b3f
Merge pull request 'clanModules/borgbackup: make backup directory configurable' ( #2637 ) from borgbackup into main
2024-12-20 10:33:38 +00:00
clan-bot
bcca5fe68c
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
0a559f7b07
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
98125a34b4
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
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
clan-bot
cd63cf1fc9
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
ad9fde4b41
vars/fix: mention machine in error message for fix
2024-12-19 17:39:02 +07:00
clan-bot
3db338342d
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
a452cc1a02
clan-cli: Fix clan install command and multiple other issues
2024-12-18 15:29:08 +01:00
clan-bot
695ec0b71c
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
67b9357ce4
vars: fix running generators on macOS
2024-12-19 00:16:22 +11:00
clan-bot
0052289596
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
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
clan-bot
1627745901
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
8be3e41663
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
f7ddc4c26d
UI: replace TextInput with simple Layout of InputBase, InputLabel, ErrorMessage
2024-12-17 19:37:07 +01:00
Jörg Thalheim
f2856cb773
updating groups/machines/users keys now also update vars secrets
2024-12-17 19:24:30 +01:00
clan-bot
5893a53089
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
09c30b4d10
machine_logger: increase truncation limit to 20
...
10 was a bit short.
2024-12-17 17:51:47 +01:00
clan-bot
5ff253508b
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
e978bfdf9a
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
792aa8033b
merge three prompt type tests into one
2024-12-17 17:39:19 +01:00
Jörg Thalheim
33aa638338
vars: remove duplicate test
2024-12-17 17:21:10 +01:00
Jörg Thalheim
e6addcc879
var: merge migration tests into one
2024-12-17 17:21:10 +01:00
Jörg Thalheim
4f7bd8e485
vars: delete duplicate shared flag test
2024-12-17 17:21:01 +01:00
Jörg Thalheim
047a6722eb
clan_cli: merge four var tests into one
2024-12-17 17:21:01 +01:00
Johannes Kirschbauer
f2a2c1d0d7
UI: init {InputBase,InputLabel}
2024-12-17 16:58:06 +01:00
Johannes Kirschbauer
4709d07a88
UI/chore: init typography xxs body
2024-12-17 16:56:17 +01:00
clan-bot
3b22494e82
Merge pull request 'clan_cli: improve target_host handling for clan machines install' ( #2626 ) from Enzime/clan-core:push-pplrtxtyoyks into main
2024-12-17 13:52:43 +00: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
clan-bot
a263394bb1
Merge pull request 'UI: init label typography' ( #2625 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-17 12:51:09 +00:00
Johannes Kirschbauer
e64adf7431
UI/chore: consistent color utils
2024-12-17 13:44:46 +01:00
Johannes Kirschbauer
0330ee39a3
UI: init label typography
2024-12-17 13:43:25 +01:00
clan-bot
c77e46ae68
Merge pull request 'clan-cli: Make clan ssh automatically start tor' ( #2623 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-17 11:19:21 +00:00
Qubasa
fee5cf6c06
clan-cli: Make clan ssh automatically start tor
2024-12-17 12:13:18 +01:00
clan-bot
6348509c86
Merge pull request 'lib/*/interface.nix: Fix typos' ( #2622 ) from kenji/clan-core:kenji-fix-typos into main
2024-12-17 11:05:02 +00:00
a-kenji
2a29b8904c
lib/*/interface.nix: Fix typos
2024-12-17 11:58:28 +01:00
clan-bot
b5cc8c51a6
Merge pull request 'vars: commit files for clan vars set' ( #2621 ) from DavHau/clan-core:DavHau-dave into main
2024-12-17 09:02:41 +00:00
DavHau
b64422679e
vars: commit files for clan vars set
...
fixes #2601
2024-12-17 15:56:08 +07:00
clan-bot
9c8e947a5f
Merge pull request 'clan-cli: don't list non-Clan NixOS configurations' ( #2620 ) from Enzime/clan-core:push-mntkrzqskqym into main
2024-12-17 04:18:55 +00:00
Michael Hoang
60c2ca726a
clan-cli: don't list non-Clan NixOS configurations
2024-12-17 15:11:38 +11:00
clan-bot
edd91a8e03
Merge pull request 'clan-cli: fix nix run clan-core failing inside direnv' ( #2619 ) from Enzime/clan-core:push-slxswzoytzut into main
2024-12-17 02:11:44 +00:00
Michael Hoang
2ead8a8da8
clan-cli: fix PATH not correctly including runtime dependencies
2024-12-17 13:05:25 +11:00
Michael Hoang
13ab00cd55
clan-cli: fix nix run clan-core failing inside direnv
2024-12-17 10:55:36 +11:00
clan-bot
b5f6bd4702
Merge pull request 'refactor: mapAttrsFlatten -> mapAttrsToList' ( #2618 ) from DavHau/clan-core:DavHau-wifi into main
2024-12-16 16:56:21 +00:00
DavHau
f1e03ecdcf
refactor: mapAttrsFlatten -> mapAttrsToList
2024-12-16 23:50:27 +07:00
clan-bot
5a46c59129
Merge pull request 'wifi: make available for non-inventory use' ( #2617 ) from DavHau/clan-core:DavHau-wifi into main
2024-12-16 15:30:45 +00:00
DavHau
6216d83115
wifi: make available for non-inventory use
2024-12-16 22:24:49 +07:00
clan-bot
b7066120fa
Merge pull request 'build-clan: fix bug where vars generator scripts are built for target system instead of local system' ( #2615 ) from DavHau/clan-core:DavHau-dave into main
2024-12-16 12:26:33 +00:00
DavHau
1cbba05055
build-clan: fix bug where vars generator scripts are built for target system instead of local system
2024-12-16 19:20:17 +07:00
clan-bot
00526dc9c1
Merge pull request 'clanModules/wifi: make ssid a secret' ( #2616 ) from DavHau/clan-core:DavHau-wifi into main
2024-12-16 12:13:50 +00:00
DavHau
dead3b0f90
clanModules/wifi: make ssid a secret
2024-12-16 19:04:42 +07:00
clan-bot
c3a4e43592
Merge pull request 'Add documentation how to connect to installer' ( #2600 ) from Mic92-vars-fixes into main
2024-12-16 09:15:49 +00:00
clan-bot
9c1d346475
Merge pull request 'facts: don't swallow exceptions when running clan facts generate' ( #2614 ) from Enzime/clan-core:push-wvuutyklqsrv into main
2024-12-16 09:12:28 +00:00
Michael Hoang
57966ec91a
facts: don't swallow exceptions when running clan facts generate
2024-12-16 17:06:29 +11:00
clan-bot
6f05b6d4d0
Merge pull request 'Automatic flake update - treefmt-nix - 2024-12-16T00:00+00:00' ( #2613 ) from flake-update-treefmt-nix-2024-12-16 into main
2024-12-16 00:27:17 +00:00
clan-bot
216fa84e45
Merge pull request 'Automatic flake update - 2024-12-16T00:00+00:00' ( #2611 ) from flake-update-2024-12-16 into main
2024-12-16 00:22:57 +00:00
clan-bot
fa6df5cc56
Merge pull request 'Automatic flake update - nixpkgs - 2024-12-16T00:00+00:00' ( #2610 ) from flake-update-nixpkgs-2024-12-16 into main
2024-12-16 00:21:26 +00:00
clan-bot
afd9e28ce2
Merge pull request 'Automatic flake update - sops-nix - 2024-12-16T00:00+00:00' ( #2612 ) from flake-update-sops-nix-2024-12-16 into main
2024-12-16 00:21:25 +00:00
clan-bot
c720e818f3
Merge pull request 'Automatic flake update - disko - 2024-12-16T00:00+00:00' ( #2609 ) from flake-update-disko-2024-12-16 into main
2024-12-16 00:11:55 +00:00
Clan Merge Bot
3b2e0ff8ae
update flake lock - treefmt-nix - 2024-12-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/357cda84af1d74626afb7fb3bc12d6957167cda9?narHash=sha256-9qOp6jNdezzLMxwwXaXZWPXosHbNqno%2Bf7Ii/xftqZ8%3D' (2024-12-08)
→ 'github:numtide/treefmt-nix/0ce9d149d99bc383d1f2d85f31f6ebd146e46085?narHash=sha256-s4DalCDepD22jtKL5Nw6f4LP5UwoMcPzPZgHWjAfqbQ%3D' (2024-12-09)
2024-12-16 00:00:27 +00:00
Clan Merge Bot
d082112d04
update flake lock - 2024-12-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/785c1e02c7e465375df971949b8dcbde9ec362e5?narHash=sha256-8dupm9GfK%2BBowGdQd7EHK5V61nneLfr9xR6sc5vtDi0%3D' (2024-12-02)
→ 'github:nix-community/disko/d32f2d1750d61a476a236526b725ec5a32e16342?narHash=sha256-OIitVU%2BIstPbX/NWn2jLF%2B/sT9dVKcO2FKeRAzlyX6c%3D' (2024-12-13)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/929116e316068c7318c54eb4d827f7d9756d5e9c?narHash=sha256-aLJxoTDDSqB%2B/3orsulE6/qdlX6MzDLIITLZqdgMpqo%3D' (2024-12-05)
→ 'github:NixOS/nixpkgs/71a6392e367b08525ee710a93af2e80083b5b3e2?narHash=sha256-0XovF7BYP50rTD2v4r55tR5MuBLet7q4xIz6Rgh3BBU%3D' (2024-12-13)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c6134b6fff6bda95a1ac872a2a9d5f32e3c37856?narHash=sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc%3D' (2024-12-02)
→ 'github:Mic92/sops-nix/2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004?narHash=sha256-GZ4YtqkfyTjJFVCub5yAFWsHknG1nS/zfk7MuHht4Fs%3D' (2024-12-12)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/357cda84af1d74626afb7fb3bc12d6957167cda9?narHash=sha256-9qOp6jNdezzLMxwwXaXZWPXosHbNqno%2Bf7Ii/xftqZ8%3D' (2024-12-08)
→ 'github:numtide/treefmt-nix/0ce9d149d99bc383d1f2d85f31f6ebd146e46085?narHash=sha256-s4DalCDepD22jtKL5Nw6f4LP5UwoMcPzPZgHWjAfqbQ%3D' (2024-12-09)
2024-12-16 00:00:23 +00:00
Clan Merge Bot
24a75dcbf4
update flake lock - sops-nix - 2024-12-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c6134b6fff6bda95a1ac872a2a9d5f32e3c37856?narHash=sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc%3D' (2024-12-02)
→ 'github:Mic92/sops-nix/2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004?narHash=sha256-GZ4YtqkfyTjJFVCub5yAFWsHknG1nS/zfk7MuHht4Fs%3D' (2024-12-12)
2024-12-16 00:00:23 +00:00
Clan Merge Bot
d1ad157c2f
update flake lock - nixpkgs - 2024-12-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/929116e316068c7318c54eb4d827f7d9756d5e9c?narHash=sha256-aLJxoTDDSqB%2B/3orsulE6/qdlX6MzDLIITLZqdgMpqo%3D' (2024-12-05)
→ 'github:NixOS/nixpkgs/71a6392e367b08525ee710a93af2e80083b5b3e2?narHash=sha256-0XovF7BYP50rTD2v4r55tR5MuBLet7q4xIz6Rgh3BBU%3D' (2024-12-13)
2024-12-16 00:00:20 +00:00
Clan Merge Bot
c05ff8e17e
update flake lock - disko - 2024-12-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/785c1e02c7e465375df971949b8dcbde9ec362e5?narHash=sha256-8dupm9GfK%2BBowGdQd7EHK5V61nneLfr9xR6sc5vtDi0%3D' (2024-12-02)
→ 'github:nix-community/disko/d32f2d1750d61a476a236526b725ec5a32e16342?narHash=sha256-OIitVU%2BIstPbX/NWn2jLF%2B/sT9dVKcO2FKeRAzlyX6c%3D' (2024-12-13)
2024-12-16 00:00:01 +00:00
clan-bot
b04952d150
Merge pull request 'cli vars generate: quote generate name' ( #2608 ) from vars-quote-generator into main
2024-12-15 12:29:42 +00:00
lassulus
0cfb43bada
cli vars generate: quote generate name
2024-12-15 13:23:11 +01:00
clan-bot
a3f83fb159
Merge pull request 'ssh: improve parsing of ipv6 hostnames' ( #2607 ) from DavHau/clan-core:DavHau-dave into main
2024-12-15 10:53:45 +00:00
DavHau
49ee32f610
ssh: improve parsing of ipv6 hostnames
2024-12-15 17:46:50 +07:00
clan-bot
f245456771
Merge pull request 'vars: eval finalScript lazy' ( #2606 ) from lazy-finalscript into main
2024-12-14 16:12:26 +00:00
lassulus
b3f87d1f40
cli vars generate: mount test_store into bwrap
2024-12-14 17:05:27 +01:00
lassulus
f184128433
cli test_vars: make output check less sensible to nix output
2024-12-14 13:42:31 +01:00
lassulus
9cc3bdbc9f
vars: eval finalScript lazy
2024-12-14 13:38:51 +01:00
lassulus
83a38909c0
cli nix_build: don't create output symlink if no gcroot is given
2024-12-14 13:38:51 +01:00
clan-bot
a17244172e
Merge pull request 'UI: sidebar add icons to sections' ( #2605 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-13 10:54:56 +00:00
Johannes Kirschbauer
9e79807e61
UI: sidebar add icons to sections
2024-12-13 11:48:00 +01:00
clan-bot
b1dd2c4402
Merge pull request 'clan-cli: Rework 'clan ssh' command, improve Tor support.' ( #2604 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-12 23:18:31 +00:00
Qubasa
6b784f8623
clan-cli: Rework 'clan ssh' command, improve Tor support.
2024-12-13 00:11:18 +01:00
clan-bot
442147c4bd
Merge pull request 'clan-cli: Replace log.info to machine.info if applicable' ( #2602 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-12 14:44:03 +00:00
Qubasa
b9091beff9
clan-cli: Replace log.info to machine.info if applicable
2024-12-12 15:36:17 +01:00
Jörg Thalheim
dcada3d895
add documentation how to connect to installer.
2024-12-11 21:44:20 +01:00
Jörg Thalheim
c5e8a6b02a
installer: move network-status into $PATH
2024-12-11 21:44:20 +01:00
Mic92
ffdf9d37f8
Merge pull request 'Fixes for VMs' ( #2598 ) from vars-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2598
2024-12-11 17:44:09 +00:00
Jörg Thalheim
cabdca4cd7
vms: don't leak vsock sockets in error case
2024-12-11 17:44:09 +00:00
Jörg Thalheim
cf2033441c
no longer use deprecated hardware.opengl
2024-12-11 17:44:09 +00:00
Jörg Thalheim
11bb853015
remove clanCore in comment
2024-12-11 17:44:09 +00:00
clan-bot
26e02e711d
Merge pull request 'pkgs/cli: Deprecate clanCore usage in favor of clan.core in clan state list' ( #2597 ) from kenji/clan-core:kenji-clan-core-state into main
2024-12-11 15:56:59 +00:00
Mic92
77a2cabd83
Merge pull request 'improve clan vars fix command' ( #2596 ) from sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2596
2024-12-11 15:50:06 +00:00
a-kenji
e23a0e765f
pkgs/cli: Deprecate clanCore usage in favor of clan.core in clan state list
2024-12-11 16:45:47 +01:00
Jörg Thalheim
9ad4e4d041
fix clan vars for public vars
2024-12-11 16:39:54 +01:00
Jörg Thalheim
e52e7ef3a0
improve error message if sops secret contains unknown key
2024-12-11 16:18:18 +01:00
Mic92
cf3ee39ad8
Merge pull request 'waypipe: mark only supported on Linux' ( #2573 ) from sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2573
2024-12-11 14:38:36 +00:00
Jörg Thalheim
91dbafd174
run clang-format
2024-12-11 14:38:36 +00:00
Jörg Thalheim
d40856c719
add formatters for the rest
2024-12-11 14:38:36 +00:00
Jörg Thalheim
ac9d0018e7
documentation to mkdocs locally
2024-12-11 14:38:36 +00:00
Jörg Thalheim
012969cb68
prettier: also format json
2024-12-11 14:38:36 +00:00
Jörg Thalheim
96773c3ccc
waypipe: only supported on Linux
2024-12-11 14:38:36 +00:00
clan-bot
c61889021f
Merge pull request 'UI: general improvments on layout and responsiveness' ( #2595 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-11 11:00:13 +00:00
Johannes Kirschbauer
03364c61e3
UI: machine details layout consistent
2024-12-11 11:34:02 +01:00
Johannes Kirschbauer
cad9d717e5
UI: flash installer layout consistent
2024-12-11 11:33:37 +01:00
Johannes Kirschbauer
2088f92e6d
UI: switch some icons
2024-12-11 11:33:28 +01:00
Johannes Kirschbauer
7bb8c10943
UI: add back button to header
2024-12-11 11:33:15 +01:00
Johannes Kirschbauer
91d713e5ee
UI: fix typography not beeing reponsive
2024-12-11 11:33:04 +01:00
Johannes Kirschbauer
2e80b76e9f
UI: module list toggle {list,grid} view
2024-12-11 11:32:51 +01:00
Johannes Kirschbauer
11b4300687
UI: machine list toggle {list,grid} view
2024-12-11 11:32:34 +01:00
Johannes Kirschbauer
7cfecd7f72
UI: machine listitem pepare for grid view
2024-12-11 11:32:10 +01:00
Johannes Kirschbauer
868dcb6d37
UI: backButton fixes
2024-12-11 11:31:45 +01:00
Johannes Kirschbauer
dd72344086
UI: fix responsive sidebar
2024-12-11 11:31:28 +01:00
Johannes Kirschbauer
9fabab50dc
Doc: ui/build explain custom build script
2024-12-11 11:28:36 +01:00
hsjobeki
e8a94507c8
Merge pull request 'Inventory/check: remove not set fields from inventory' ( #2594 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2594
2024-12-11 08:54:22 +00:00
Johannes Kirschbauer
a4a43254c1
Inventory/check: remove not set fields from inventory
2024-12-11 08:54:22 +00:00
clan-bot
6970e3e10d
Merge pull request 'vars: add test to ensure shared secrets access after --regenerate' ( #2593 ) from DavHau/clan-core:DavHau-dave into main
2024-12-11 08:52:07 +00:00
DavHau
a5148ede1d
vars: add test to ensure shared secrets access after --regenerate
...
Ensure that a shared secret can still be accessed by all machines that share it, after a 'clan vars generate --regenerate' has been issued
2024-12-11 15:44:30 +07:00
clan-bot
e2598e17da
Merge pull request 'vars: add test for shared secret not being regenerated' ( #2592 ) from DavHau/clan-core:DavHau-dave into main
2024-12-11 08:21:03 +00:00
DavHau
9ae5e27c33
vars: add test for shared secret not being regenerated
...
see https://git.clan.lol/clan/clan-core/issues/2393
2024-12-11 15:14:44 +07:00
clan-bot
30ffbfc357
Merge pull request 'docs: small fixes' ( #2590 ) from Enzime/clan-core:push-ntnmoqslpuot into main
2024-12-11 03:42:04 +00:00
Michael Hoang
4a05f8dd6c
docs: update Adding Machines guide
2024-12-11 14:35:44 +11:00
Michael Hoang
31ed292939
docs: update Matrix link
2024-12-11 10:18:36 +11:00
Michael Hoang
eb13e7a40c
docs: fix typos
2024-12-11 10:18:24 +11:00
clan-bot
d28f6a24e9
Merge pull request 'App: api return errors to js on invalid api methods' ( #2589 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-10 20:56:39 +00:00
Johannes Kirschbauer
0ed5330f92
App: API return errors to js on invalid api methods
2024-12-10 21:50:04 +01:00
clan-bot
8b69beddf3
Merge pull request 'UI: Layout improvements & serde fix.' ( #2585 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-10 20:35:24 +00:00
Johannes Kirschbauer
f13306195c
UI: improve create machine form
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
84989fbfcb
UI: fixup machine details
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
d9d0e916bb
UI: init machine avatar component
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
5dc7f57993
UI/Header: move header into subpages & fix general layout
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
52937c0f6b
UI/Dynamic form: display item title of array items
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
fe549015a7
UI: add default tag to Typography
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
c6d9306c9b
UI: fix reactive RndThumbnail
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
467cfac7b8
UI: menu use ghost button
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
31a1777445
UI/button: init ghost variant
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
a5ca2d4bb2
UI: machine list item change icon
2024-12-10 21:26:59 +01:00
Johannes Kirschbauer
28b6da5431
UI: redirect to /machines on initial page
2024-12-10 21:26:59 +01:00
clan-bot
0e65ec27a1
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
clan-bot
a9d3302923
Merge pull request 'clan-cli: Fix incorrect throw on clan update' ( #2588 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-10 20:20:48 +00:00
Johannes Kirschbauer
959ab140a6
Inventory: init delete patial data
2024-12-10 21:19:04 +01:00
Qubasa
59cc73393f
clan-cli: Fix incorrect throw on clan update
2024-12-10 21:12:32 +01:00
Johannes Kirschbauer
096ddea270
Inventory: fix persistence
2024-12-10 16:41:40 +01:00
clan-bot
2e7b60c29f
Merge pull request 'vars: remove intermediate classes' ( #2584 ) from vars-rip-intermediate into main
2024-12-10 15:37:20 +00:00
Johannes Kirschbauer
005bf8b555
Serde: fix inherit writeability from parent on unspecified entries
2024-12-10 15:48:45 +01:00
Johannes Kirschbauer
e9a45fa712
API: fix create machine should set machine description and other data
2024-12-10 15:17:41 +01:00
Johannes Kirschbauer
803a8d5abd
API: init method for getting write info
2024-12-10 15:17:41 +01:00
Johannes Kirschbauer
7074e88355
serde: add suppport for converting sets
2024-12-10 15:17:41 +01:00
lassulus
998ff92b51
vars: remove intermediate classes
2024-12-10 14:04:31 +01:00
lassulus
78346f1a9f
Merge pull request 'vars: move ensure_consistent_state into health_check, move into store classes' ( #2570 ) from vars-health_check into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2570
2024-12-10 11:54:52 +00:00
lassulus
9129790e5c
vars: move ensure_consistent_state into health_check, move into store classes
2024-12-10 11:54:52 +00:00
clan-bot
e174866f01
Merge pull request 'Make treefmt-nix optional' ( #2582 ) from Enzime/clan-core:push-ntosnzxwuvmq into main
2024-12-10 07:05:32 +00:00
Michael Hoang
12ea766904
Make treefmt-nix optional
2024-12-10 17:48:28 +11:00
clan-bot
c5873bc4ee
Merge pull request 'clan-cli: Fix missing error propagation in deploy' ( #2581 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-09 23:10:28 +00:00
Qubasa
d388900a8e
clan-cli: Fix missing error propagation in deploy
2024-12-10 00:03:33 +01:00
clan-bot
dbe2edaf13
Merge pull request 'clan-cli: Replace HostGroup and MachineGroup with generic AsyncRuntime class. Propagate cmd prefix over thread local. Close threads on CTRL+C' ( #2580 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-09 17:13:36 +00:00
Qubasa
65a5789c5b
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
clan-bot
f30e9fed9b
Merge pull request 'Automatic flake update - 2024-12-09T00:00+00:00' ( #2576 ) from flake-update-2024-12-09 into main
2024-12-09 16:28:00 +00:00
lassulus
b09d3b15a7
installer-test: adapt to upstream changes
2024-12-09 17:21:14 +01:00
lassulus
c4cb1533a7
postgresql: nix fmt
2024-12-09 12:57:23 +01:00
Clan Merge Bot
911a7cf8aa
update flake lock - 2024-12-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/2814a5224a47ca19e858e027f7e8bff74a8ea9f1?narHash=sha256-2uMaVAZn7fiyTUGhKgleuLYe5%2BEAAYB/diKxrM7g3as%3D' (2024-11-30)
→ 'github:nix-community/disko/785c1e02c7e465375df971949b8dcbde9ec362e5?narHash=sha256-8dupm9GfK%2BBowGdQd7EHK5V61nneLfr9xR6sc5vtDi0%3D' (2024-12-02)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
→ 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/2c27ab2e60502d1ebb7cf38909de38663f762a79?narHash=sha256-n/DOfpKH1vkukuBnach91QBQId2dr5tkE7/7UrkV2zw%3D' (2024-12-01)
→ 'github:NixOS/nixpkgs/929116e316068c7318c54eb4d827f7d9756d5e9c?narHash=sha256-aLJxoTDDSqB%2B/3orsulE6/qdlX6MzDLIITLZqdgMpqo%3D' (2024-12-05)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa?narHash=sha256-xtt95%2Bc7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk%3D' (2024-11-25)
→ 'github:Mic92/sops-nix/c6134b6fff6bda95a1ac872a2a9d5f32e3c37856?narHash=sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc%3D' (2024-12-02)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
→ 'github:numtide/treefmt-nix/357cda84af1d74626afb7fb3bc12d6957167cda9?narHash=sha256-9qOp6jNdezzLMxwwXaXZWPXosHbNqno%2Bf7Ii/xftqZ8%3D' (2024-12-08)
2024-12-09 12:57:23 +01:00
clan-bot
aeeab5c9b8
Merge pull request 'Automatic flake update - treefmt-nix - 2024-12-09T00:00+00:00' ( #2579 ) from flake-update-treefmt-nix-2024-12-09 into main
2024-12-09 00:33:12 +00:00
clan-bot
b35af204f7
Merge pull request 'Automatic flake update - sops-nix - 2024-12-09T00:00+00:00' ( #2578 ) from flake-update-sops-nix-2024-12-09 into main
2024-12-09 00:29:48 +00:00
clan-bot
654e2c8c2c
Merge pull request 'Automatic flake update - flake-parts - 2024-12-09T00:00+00:00' ( #2575 ) from flake-update-flake-parts-2024-12-09 into main
2024-12-09 00:15:42 +00:00
clan-bot
ac89e42756
Merge pull request 'Automatic flake update - disko - 2024-12-09T00:00+00:00' ( #2574 ) from flake-update-disko-2024-12-09 into main
2024-12-09 00:10:22 +00:00
Clan Merge Bot
5a2697da9f
update flake lock - treefmt-nix - 2024-12-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
→ 'github:numtide/treefmt-nix/357cda84af1d74626afb7fb3bc12d6957167cda9?narHash=sha256-9qOp6jNdezzLMxwwXaXZWPXosHbNqno%2Bf7Ii/xftqZ8%3D' (2024-12-08)
2024-12-09 00:00:34 +00:00
Clan Merge Bot
575a589036
update flake lock - sops-nix - 2024-12-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa?narHash=sha256-xtt95%2Bc7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk%3D' (2024-11-25)
→ 'github:Mic92/sops-nix/c6134b6fff6bda95a1ac872a2a9d5f32e3c37856?narHash=sha256-m6/qwJAJYcidGMEdLqjKzRIjapK4nUfMq7rDCTmZajc%3D' (2024-12-02)
2024-12-09 00:00:30 +00:00
Clan Merge Bot
4b5f81fe6a
update flake lock - flake-parts - 2024-12-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90?narHash=sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS%2Bb4tfNFCwE%3D' (2024-11-01)
→ 'github:hercules-ci/flake-parts/205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9?narHash=sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c%3D' (2024-12-04)
2024-12-09 00:00:03 +00:00
Clan Merge Bot
d9ab6da5ac
update flake lock - disko - 2024-12-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/2814a5224a47ca19e858e027f7e8bff74a8ea9f1?narHash=sha256-2uMaVAZn7fiyTUGhKgleuLYe5%2BEAAYB/diKxrM7g3as%3D' (2024-11-30)
→ 'github:nix-community/disko/785c1e02c7e465375df971949b8dcbde9ec362e5?narHash=sha256-8dupm9GfK%2BBowGdQd7EHK5V61nneLfr9xR6sc5vtDi0%3D' (2024-12-02)
2024-12-09 00:00:01 +00:00
clan-bot
b642fbc5c5
Merge pull request 'inventory.{cli,api}: use only dictionaries' ( #2572 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-06 20:12:49 +00:00
Johannes Kirschbauer
73f77b1ca3
formatting: make ruff happy with generated code
2024-12-06 21:06:41 +01:00
Johannes Kirschbauer
cd233fbacb
lib/values: fix submodule and submoduleWith with external modules
2024-12-06 21:01:27 +01:00
Johannes Kirschbauer
4444c4a5c2
inventory/valuePrios: filter out unsupported freeformType
2024-12-06 21:00:59 +01:00
Johannes Kirschbauer
cc1eaf53ae
lib/values: fix submodule definition merging
2024-12-06 20:15:16 +01:00
Johannes Kirschbauer
388455038a
UI: fix type breakages
2024-12-06 19:53:03 +01:00
Johannes Kirschbauer
55d7914702
inventory/model: sync
2024-12-06 19:49:31 +01:00
Johannes Kirschbauer
35ebc120c5
serde/fix: fix construction of typedDict
2024-12-06 19:02:35 +01:00
Johannes Kirschbauer
69b7f6be5b
inventory.{cli,api}: use only dictionaries
2024-12-06 18:51:20 +01:00
Johannes Kirschbauer
df43639e9b
clan.cli: convert dataclasses into TypedDict using classgen
2024-12-06 18:51:20 +01:00
Johannes Kirschbauer
ddf44969b9
classgen: produce typedDict instead of dataclass
2024-12-06 18:51:20 +01:00
clan-bot
5d7bf8ad98
Merge pull request 'API/serde: add support for TypedDict' ( #2571 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-06 16:44:30 +00:00
Johannes Kirschbauer
900499ede8
API/serde: add support for TypedDict
2024-12-06 17:37:37 +01:00
clan-bot
b96ff1e7c1
Merge pull request 'Disable some broken arm64 vm tests' ( #2569 ) from sandbox into main
2024-12-06 16:10:58 +00:00
Jörg Thalheim
5aa1f47587
remove unused iso output
2024-12-06 17:04:02 +01:00
Jörg Thalheim
4a49c10451
disable installation/backup test on arm64
2024-12-06 17:03:57 +01:00
Mic92
de2f47e361
Merge pull request 'installation: fix correct binary on aarch64' ( #2567 ) from sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2567
2024-12-06 15:39:35 +00:00
Jörg Thalheim
73c265bc43
simplify runInLinuxVM test
2024-12-06 15:39:35 +00:00
Jörg Thalheim
0a4cf8a8b8
tests/sshd: also log what platform we received in the assert
2024-12-06 15:39:35 +00:00
Jörg Thalheim
68dd2b9b9d
installation: fix correct binary on aarch64
2024-12-06 15:39:35 +00:00
clan-bot
34eb4b6ff8
Merge pull request 'clan-app: Fix breakage on missing inventory' ( #2568 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-06 14:18:31 +00:00
Qubasa
882c55da1f
clan-app: Fix breakage on missing inventory
2024-12-06 15:11:31 +01:00
clan-bot
0976128f55
Merge pull request 'clan-cli: made run_no_stdout runOpts compatible and make time table thread safe' ( #2566 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-06 11:25:49 +00:00
Qubasa
daf8033c25
clan-cli: made run_no_stdout runOpts compatible and make time table thread safe
2024-12-06 12:18:28 +01:00
clan-bot
4edda86257
Merge pull request 'vars migration: raise error on incomplete migration, commit migrated files' ( #2565 ) from vars-migration-fix into main
2024-12-06 10:32:14 +00:00
lassulus
c3f2a1e588
vars migration: raise error on incomplete migration, commit migrated files
2024-12-06 11:25:17 +01:00
clan-bot
0caa801849
Merge pull request 'inventory/api: init partial update.' ( #2564 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-06 10:15:38 +00:00
Johannes Kirschbauer
6dd1ecb044
inventory/api: init smart update for inventory
2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
a032c446e1
inventory/api: prepare list merging
2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
e5dc7c2f9d
docs: fix typo in inventory
2024-12-06 11:07:52 +01:00
clan-bot
7a24143825
Merge pull request 'inventory/eval: init determine writeability for single inventory options' ( #2563 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-05 15:26:09 +00:00
Johannes Kirschbauer
ebd494e112
inventory/eval: init determine writeability for single inventory options
2024-12-05 16:18:46 +01:00
Mic92
3c58d64cb5
Merge pull request 'extract nix_test_store helper for sandbox builds' ( #2562 ) from sandbox into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2562
2024-12-05 10:46:41 +00:00
Jörg Thalheim
95adf200ac
remove incorrect usage of tempdir for sandbox directories
...
The flags out-live the temporary directory
2024-12-05 11:38:58 +01:00
Jörg Thalheim
e2ed57f8dd
extract nix_test_store helper for sandbox builds
2024-12-05 11:38:58 +01:00
lassulus
2f8e8efdf7
Merge pull request 'add mode to vars files' ( #2560 ) from vars-mode into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2560
2024-12-05 10:19:08 +00:00
lassulus
e9efe2f0d1
vars: export also file owner & group to deployment.json
2024-12-05 10:29:19 +01:00
lassulus
cfda7d6557
vars password-store: create tarball dir if not for users
2024-12-04 23:30:39 +01:00
lassulus
82fb1edc37
vars: add file mode
2024-12-04 23:30:39 +01:00
clan-bot
ffa7718936
Merge pull request 'lib.values: init getPrio' ( #2559 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-04 16:53:09 +00:00
Johannes Kirschbauer
b906667732
UI/machines: remove deprecated details before redoing
2024-12-04 17:46:28 +01:00
Johannes Kirschbauer
585243e7c3
UI/disk: remove dreprecated disk hook
2024-12-04 17:45:31 +01:00
Johannes Kirschbauer
7b529855cd
api: create machine touch only the created machine
2024-12-04 17:44:56 +01:00
Johannes Kirschbauer
17de9e3e2f
clan.cli.inventory: init partial write
2024-12-04 17:43:20 +01:00
Johannes Kirschbauer
7ac8b70ebd
clanInternals.inventory: expose used priorities
2024-12-04 17:41:41 +01:00
Johannes Kirschbauer
de78a85324
lib.values: init getPrio
...
This function can be used to get the priority of all values within a module
2024-12-04 17:37:23 +01:00
Johannes Kirschbauer
493e158d3c
api.inventory.modules: filter out /nix/store paths
2024-12-04 17:37:23 +01:00
clan-bot
daf892c046
Merge pull request 'Better install instructions for macos' ( #2550 ) from arm64 into main
2024-12-04 16:32:02 +00:00
Jörg Thalheim
621fbd0f83
test_vars: set hostPlatform
2024-12-04 17:25:20 +01:00
Jörg Thalheim
161475a249
classgen: better message how to update
2024-12-04 17:25:20 +01:00
Jörg Thalheim
e1c135bf9d
clan-cli/clan_cli/inventory/update.sh: make script idempotent
2024-12-04 17:15:54 +01:00
clan-bot
f2c8bea2a3
Merge pull request 'vm-tests' ( #2558 ) from vm-tests into main
2024-12-04 16:14:54 +00:00
lassulus
35ff4b92a6
test_vars_deployment: fix race condition with multiple VMs on error case
2024-12-04 17:07:36 +01:00
lassulus
0b8debae46
test_vars_deployment: pass stdin as DEVNULL to vm
2024-12-04 17:07:36 +01:00
Jörg Thalheim
012e2686d0
test_vms_cli: set hostPlatform x86_64-linux
2024-12-04 17:04:12 +01:00
lassulus
5c46b3b0a7
spawn_vm: pass stdin
2024-12-04 16:57:49 +01:00
lassulus
f0e415066e
qemu_command: disable monitor if non interactive
2024-12-04 16:44:30 +01:00
lassulus
64c5718bd4
start_vm: log VM start command
2024-12-04 16:43:59 +01:00
Jörg Thalheim
eac609a85d
test_flake_with_core: set system explicit
2024-12-04 15:54:00 +01:00
Jörg Thalheim
5a5980f3be
revert pytest log format
...
This is makes error output of command extremly unreadable.
If someone wants a different value they can specify it on the
commandline.
2024-12-04 15:22:43 +01:00
Jörg Thalheim
4457cdddbc
getpwnam-preload.c: no longer log shell
2024-12-04 14:57:00 +01:00
Jörg Thalheim
dbcf6780ab
only enable show-trace if we run in debug mode
2024-12-04 14:54:47 +01:00
Jörg Thalheim
5aa7cf4d1c
fix deploying from darwin to linux
2024-12-04 14:54:44 +01:00
Jörg Thalheim
4aa63021ff
flash: drop wifi option
...
This feature is broken and will be replaced by templates machines
eventually.
2024-12-04 12:52:38 +01:00
Jörg Thalheim
2be0d30ad5
document clan machines create
2024-12-04 12:14:32 +01:00
Jörg Thalheim
4d8ca2d635
machines no longer need to be specified in buildClan
2024-12-04 12:14:32 +01:00
Jörg Thalheim
041547b317
no longer show prefix
2024-12-04 12:14:32 +01:00
Jörg Thalheim
6247723c50
commit file instead of just git adding it
2024-12-04 12:14:32 +01:00
Jörg Thalheim
3452ca54e6
skip writing the empty inventory json
2024-12-04 12:14:32 +01:00
Jörg Thalheim
ee1e4b05c4
add install instructions for macos
2024-12-04 12:14:32 +01:00
Jörg Thalheim
3495967243
re-add missing wget
2024-12-04 11:26:22 +01:00
clan-bot
2b763152fb
Merge pull request 'fix vars migration prompts. add secretsForUsers to vars interface and implement that for pass' ( #2551 ) from lassulus/clan-core:vars-stuff into main
2024-12-04 09:03:24 +00:00
clan-bot
b72ff23732
Merge pull request 'Add missing quotes around nix-command flakes' ( #2557 ) from Enzime/clan-core:push-ovqtprtkzuvm into main
2024-12-04 08:49:02 +00:00
Michael Hoang
ca26431d12
clan_cli: fix missing quotes around nix-command flakes
...
Before:
[$] nix \
--extra-experimental-features nix-command flakes \
show-config \
--json
After:
[$] nix \
--extra-experimental-features 'nix-command flakes' \
show-config \
--json
2024-12-04 19:40:15 +11:00
Michael Hoang
4b22869dec
gui-installer: add missing double quotes for nix-command flakes
2024-12-04 19:38:20 +11:00
clan-bot
dd2820c07c
Merge pull request 'vars: print() -> log.info()' ( #2555 ) from DavHau/clan-core:DavHau-dave into main
2024-12-04 07:15:36 +00:00
DavHau
439cde691f
vars: print() -> log.info()
2024-12-04 14:08:50 +07:00
clan-bot
2b3b1d4a8f
Merge pull request 'vars: Improve logging for migration' ( #2554 ) from DavHau/clan-core:DavHau-dave into main
2024-12-04 05:48:25 +00:00
DavHau
a11820b1d6
vars: Improve logging for migration
2024-12-04 12:42:03 +07:00
clan-bot
61a4915a9d
Merge pull request 'secrets: improve error message on wrong age key format' ( #2553 ) from DavHau/clan-core:DavHau-dave into main
2024-12-04 05:12:14 +00:00
DavHau
4e4724f766
secrets: improve error message on wrong age key format
2024-12-04 12:04:07 +07:00
clan-bot
f034921057
Merge pull request 'Add --print-build-logs to some Nix commands' ( #2552 ) from Enzime/clan-core:push-szyyvnvymllq into main
2024-12-04 00:39:39 +00:00
Michael Hoang
b9d922eaac
Add --print-build-logs to some Nix commands
2024-12-04 10:04:07 +11:00
lassulus
b381a71266
vars sops: passthrough neededForUsers
2024-12-03 23:54:21 +01:00
lassulus
996c5bdda1
cli vars generate: log in global context what is global
2024-12-03 22:29:25 +01:00
lassulus
e6eaa3cc03
vars password-store: add neededForUsers option
2024-12-03 22:28:39 +01:00
lassulus
9f5cd917de
vars generate: show prompts only if not migrating
2024-12-03 22:25:16 +01:00
clan-bot
a55684908f
Merge pull request 'link to arm64 image' ( #2549 ) from arm64 into main
2024-12-03 19:27:12 +00:00
Jörg Thalheim
0dc48e83e3
link to arm64 image
2024-12-03 20:20:00 +01:00
clan-bot
eb21ee574e
Merge pull request 'clan/update: make build-host overridable in cli' ( #2548 ) from updates into main
2024-12-03 16:46:47 +00:00
Jörg Thalheim
0b3816b6ec
clan/update: make build-host overridable in cli
2024-12-03 17:40:12 +01:00
Jörg Thalheim
760126d8d5
remove deprecated deploymentHost
2024-12-03 17:30:02 +01:00
Mic92
e1faa3541f
Merge pull request 'rename run_no_output to run_no_stdout' ( #2547 ) from run-stdout into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2547
2024-12-03 16:29:41 +00:00
Jörg Thalheim
bbb2aca5cb
rename run_no_output to run_no_stdout
...
we want stderr for some nix commands.
2024-12-03 17:15:28 +01:00
clan-bot
181a325941
Merge pull request 'clan-cli: Fix ignored debug flag in clan vms run, refactor Host.run to use RunOpts' ( #2544 ) from Qubasa/clan-core:Qubasa-main into main
2024-12-03 15:08:06 +00:00
Qubasa
570bceff4e
clan-cli: Fix ignored debug flag in clan vms run, refactor Host.run to use RunOpts
2024-12-03 16:01:51 +01:00
clan-bot
e0cedb956a
Merge pull request 'icons: update icon component' ( #2546 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-03 13:30:36 +00:00
Johannes Kirschbauer
205e70264e
icons: update icon component
2024-12-03 14:23:02 +01:00
clan-bot
8fb59d49a4
Merge pull request 'icons: add / update app icons' ( #2545 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-03 13:22:49 +00:00
Johannes Kirschbauer
ab30faa23d
icons: add / update app icons
2024-12-03 14:14:24 +01:00
clan-bot
8b88854ea1
Merge pull request 'api/machines: include disk and hw_config into machine details' ( #2543 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-03 13:13:02 +00:00
Johannes Kirschbauer
1768e44d51
api/machines: include disk and hw_config into machine details
2024-12-03 14:01:11 +01:00
Johannes Kirschbauer
aa79f31664
api/modules: seperate frontmatter parsing from extraction
2024-12-03 14:01:00 +01:00
clan-bot
6774f5370d
Merge pull request 'fix minifakeroot on macos' ( #2542 ) from minifakeroot into main
2024-12-03 12:07:25 +00:00
Jörg Thalheim
05d1c992ef
fix minifakeroot on macos
2024-12-03 13:01:16 +01:00
clan-bot
d2ff3a1da5
Merge pull request 'api/disk-templates: adopt directory structure from clan modules' ( #2541 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-12-03 11:08:47 +00:00
Johannes Kirschbauer
d1f624ad1f
api/disk-templates: adopt directory structure from clan modules
2024-12-03 12:01:35 +01:00
clan-bot
3581c30336
Merge pull request 'fix sops deprecation warning' ( #2540 ) from stdin into main
2024-12-03 10:23:25 +00:00
Jörg Thalheim
d3babc9d69
fix sops deprecation warning
2024-12-03 11:13:17 +01:00
clan-bot
1222f38554
Merge pull request 'pkgs/cli: Fix suggestion after key generation' ( #2539 ) from kenji/clan-core:kenji-pkgs-cli/fix/add-key into main
2024-12-03 09:12:59 +00:00
a-kenji
3d4f601c11
pkgs/cli: Fix suggestion after key generation
...
Fix the suggestion that is given when generating a new key.
Closes : #2537
2024-12-03 10:01:55 +01:00
Mic92
8aeece8288
Merge pull request 'always include gitMinimal' ( #2495 ) from stdin into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2495
2024-12-02 14:31:16 +00:00
Jörg Thalheim
b732855b04
always include gitMinimal
...
the condition was actually the wrong way around and we still need git in
nix for some operations.
2024-12-02 14:31:16 +00:00
clan-bot
f3131afe14
Merge pull request 'Automatic flake update - nixpkgs - 2024-12-02T00:00+00:00' ( #2530 ) from flake-update-nixpkgs-2024-12-02 into main
2024-12-02 14:21:56 +00:00
lassulus
3ae82f3efc
*: nix fmt
2024-12-02 15:14:40 +01:00
lassulus
5c307f7b82
Merge pull request 'fix(networking): Use true instead of "yes" for multicast config' ( #2528 ) from aos/clan-core:aos/systemd-network-use-true-bool into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2528
2024-12-02 13:53:52 +00:00
clan-bot
1cb0b18231
Merge pull request 'zerotier: backup identity on change' ( #2536 ) from DavHau/clan-core:DavHau-docs into main
2024-12-02 10:58:29 +00:00
DavHau
0044ee78f5
zerotier: backup identity on change
...
This prevents users from loosing their identity after enabling the zerotier clan module when they were previously using zerotier via nixos.
2024-12-02 17:52:10 +07:00
clan-bot
b640d489f6
Merge pull request 'cli vars: remove get_all from baseclass' ( #2535 ) from lassulus/clan-core:vars_get_all into main
2024-12-02 10:51:01 +00:00
lassulus
c9f0e88164
cli vars: remove get_all from baseclass
2024-12-02 11:30:09 +01:00
clan-bot
dfb5c1a997
Merge pull request 'zerotier: improve docs for moons' ( #2534 ) from DavHau/clan-core:DavHau-docs into main
2024-12-02 08:57:10 +00:00
DavHau
06f0e495ce
zerotier: improve docs for moons
2024-12-02 15:50:49 +07:00
clan-bot
dd192fce83
Merge pull request 'Automatic flake update - treefmt-nix - 2024-12-02T00:00+00:00' ( #2533 ) from flake-update-treefmt-nix-2024-12-02 into main
2024-12-02 00:24:45 +00:00
clan-bot
76dd6bb0b1
Merge pull request 'Automatic flake update - sops-nix - 2024-12-02T00:00+00:00' ( #2532 ) from flake-update-sops-nix-2024-12-02 into main
2024-12-02 00:23:21 +00:00
clan-bot
50dd028635
Merge pull request 'Automatic flake update - disko - 2024-12-02T00:00+00:00' ( #2529 ) from flake-update-disko-2024-12-02 into main
2024-12-02 00:11:21 +00:00
Clan Merge Bot
b4755c6981
update flake lock - treefmt-nix - 2024-12-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f?narHash=sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw%3D' (2024-11-22)
→ 'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
2024-12-02 00:00:37 +00:00
Clan Merge Bot
d16ccbcdcc
update flake lock - sops-nix - 2024-12-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/53c853fb1a7e4f25f68805ee25c83d5de18dc699?narHash=sha256-N9JGWe/T8BC0Tss2Cv30plvZUYoiRmykP7ZdY2on2b0%3D' (2024-11-21)
→ 'github:Mic92/sops-nix/3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa?narHash=sha256-xtt95%2Bc7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk%3D' (2024-11-25)
2024-12-02 00:00:33 +00:00
Clan Merge Bot
9cd434f772
update flake lock - nixpkgs - 2024-12-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d?narHash=sha256-sQxuJm8rHY20xq6Ah%2BGwIUkF95tWjGRd1X8xF%2BPkk38%3D' (2024-11-22)
→ 'github:NixOS/nixpkgs/2c27ab2e60502d1ebb7cf38909de38663f762a79?narHash=sha256-n/DOfpKH1vkukuBnach91QBQId2dr5tkE7/7UrkV2zw%3D' (2024-12-01)
2024-12-02 00:00:28 +00:00
Clan Merge Bot
9c53ab0532
update flake lock - disko - 2024-12-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/869ba3a87486289a4197b52a6c9e7222edf00b3e?narHash=sha256-%2B4U2I2653JvPFxcux837ulwYS864QvEueIljUkwytsk%3D' (2024-11-26)
→ 'github:nix-community/disko/2814a5224a47ca19e858e027f7e8bff74a8ea9f1?narHash=sha256-2uMaVAZn7fiyTUGhKgleuLYe5%2BEAAYB/diKxrM7g3as%3D' (2024-11-30)
2024-12-02 00:00:01 +00:00
Aos Dabbagh
df0c18b6a7
fix(networking): Use true instead of "yes" for multicast config
...
I ran into an issue when I had clan + this module:
ce61f71680/nixos/mixins/mdns.nix (L6)
they both set the same config value, but clan uses "yes" and that module
uses `true`. systemd allows for "yes" or `true` (`man systemd.syntax`),
so I opted to change this to `true`.
Here's the full error:
```
error: The option `systemd.network.networks."99-ethernet-default-dhcp".networkConfig.MulticastDNS' has conflicting definition values:
- In `/nix/store/3yv22nq7rqd0ra30qvzc2d624rwa6h7c-source/nixosModules/clanCore/networking.nix': "yes"
- In `/nix/store/ivjk0r776mxal8v7jamwsrn4yidvg0dv-source/nixos/mixins/mdns.nix': true
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
```
2024-11-30 23:24:17 -05:00
clan-bot
78112e95d0
Merge pull request 'vars password-store: fix secretLocation again :)' ( #2526 ) from lassulus/clan-core:fix-vars-pass2 into main
2024-11-30 17:07:29 +00:00
lassulus
8d31a710fe
vars password-store: fix secretLocation again :)
2024-11-30 18:01:23 +01:00
clan-bot
99c83f8d9a
Merge pull request 'vars password-store: fix secretLocation' ( #2525 ) from lassulus/clan-core:fix-vars-pass into main
2024-11-30 16:31:57 +00:00
lassulus
0afa050ca2
vars password-store: fix secretLocation
2024-11-30 17:24:17 +01:00
clan-bot
5a1be0e321
Merge pull request 'Clan-core: automatically load disko.nix' ( #2523 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-29 21:01:02 +00:00
Johannes Kirschbauer
fdea48ab62
Facter: remove partial disk facts
2024-11-29 21:52:38 +01:00
Johannes Kirschbauer
4462005fda
Docs: add/improve autloaded machine files section
2024-11-29 21:49:57 +01:00
Johannes Kirschbauer
9c6582a197
Clan-api: disk schema: improve error messages for invalid options
2024-11-29 21:33:22 +01:00
Johannes Kirschbauer
1d566a47f4
Clan-api: init set disk_schema from facter report
2024-11-29 21:30:46 +01:00
Johannes Kirschbauer
48b2788a7d
Clan-core: automatically load disko.nix
2024-11-29 21:15:15 +01:00
clan-bot
5854340723
Merge pull request 'revert 2031807acbe3a7d474813bed4242297846cc7727' ( #2522 ) from hsjobeki-patch-1 into main
2024-11-29 20:15:01 +00:00
hsjobeki
9201a29c1d
revert 2031807acb
...
revert Clan-app: init single-disk template
2024-11-29 20:08:02 +00:00
clan-bot
43d4039c54
Merge pull request 'vars: generate docs for cli and module' ( #2521 ) from DavHau/clan-core:DavHau-docs into main
2024-11-29 10:30:07 +00:00
DavHau
8d007867b3
vars/migration: remove useless check
2024-11-29 17:23:31 +07:00
DavHau
5c5a87d416
vars: rename: invalidation -> validation
2024-11-29 17:23:31 +07:00
DavHau
fbbfcc0aa5
vars: generate docs for cli and module
2024-11-29 17:23:31 +07:00
clan-bot
e1d9467357
Merge pull request 'vars: make upload actually upload' ( #2520 ) from lassulus/clan-core:vars_upload into main
2024-11-28 20:08:19 +00:00
lassulus
936a9f555b
vars: make upload actually upload
2024-11-28 21:00:12 +01:00
clan-bot
4bf59da11b
Merge pull request 'clan-vm-manager: Fix regression part2' ( #2519 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-28 18:08:35 +00:00
Qubasa
cf2ddfc191
clan-vm-manager: Fix regression part2
2024-11-28 19:01:46 +01:00
clan-bot
167f753bd3
Merge pull request 'cli vars upload: fix sops' ( #2518 ) from lassulus/clan-core:vars-sops-fix into main
2024-11-28 16:59:54 +00:00
lassulus
b746f393a6
cli vars upload: fix sops
2024-11-28 17:52:04 +01:00
clan-bot
894e31f983
Merge pull request 'remove secretsUploadDirectory from common module' ( #2509 ) from lassulus/clan-core:no-secrets-upload-dir into main
2024-11-28 15:46:51 +00:00
clan-bot
d8b05604ec
Merge pull request 'Clan-app/api: add traceback for all underlying exceptions' ( #2517 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-28 15:45:54 +00:00
lassulus
cdfcc42107
vars: remove dead option
2024-11-28 16:39:01 +01:00
lassulus
0e4f967dad
vars: use vars in option descriptions
2024-11-28 16:38:47 +01:00
lassulus
8337a3ec41
vars: remove secretsUploadDirectory from common module
2024-11-28 16:38:06 +01:00
Johannes Kirschbauer
2031807acb
Clan-app: init single-disk template
2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
ff1164369a
Clan-app/api: improve error message for mismatching types
2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
f5a6052f43
Clan-app/api: error on {unknown api method, mismatching parameter name}
2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
8193969331
Clan-app/api: add traceback for all underlying exceptions
2024-11-28 16:37:52 +01:00
clan-bot
3b74857c61
Merge pull request 'clan-cli: refactor HostGroup._run_local to work with RunOpts' ( #2516 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-28 15:12:45 +00:00
Qubasa
cc8c76e4d4
clan-cli: refactor HostGroup._run_local to work with RunOpts
2024-11-28 16:05:51 +01:00
clan-bot
1751749265
Merge pull request 'clan-cli: cmd.run now has its options extracted to a dataclass' ( #2515 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-28 14:41:52 +00:00
Qubasa
1f98df96e3
clan-cli: cmd.run now has its options extracted to a dataclass
2024-11-28 15:26:37 +01:00
hsjobeki
a5d52a2a65
Merge pull request 'Templates: move all clan templates into subfolder 'clan'' ( #2514 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2514
2024-11-28 11:03:56 +00:00
Johannes Kirschbauer
ffff5aa5ae
CLI/tests: use correct fixture paths
2024-11-28 11:56:12 +01:00
Johannes Kirschbauer
3b7559e066
CLI: use new template path
2024-11-28 11:44:44 +01:00
Johannes Kirschbauer
de475c6aad
Templates: init disko single disk template file
2024-11-28 11:44:09 +01:00
Johannes Kirschbauer
e4310e96c7
Templates: move all clan templates into subfolder 'clan'
2024-11-28 11:17:52 +01:00
Luis Hebendanz
781557a36a
Merge pull request 'clan-cli: Add -L option to nixos-rebuild switch to still have build output, simplify logging code' ( #2513 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2513
2024-11-28 09:59:12 +00:00
Qubasa
9c2c33d577
clan-cli: SSH now completely refactored to use dataclasses everywhere
2024-11-28 10:52:14 +01:00
Qubasa
80045a9af1
clan-cli: Add -L option to nixos-rebuild switch to still have build output, simplify logging code
2024-11-28 10:42:43 +01:00
DavHau
32332e8460
wifi: init as experimental module
2024-11-28 15:49:23 +07:00
clan-bot
30102cae8f
Merge pull request 'clan-cli: Refactor colors to a subset of colors that work in light and dark mode' ( #2508 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-27 11:48:47 +00:00
Qubasa
a1a367c57c
clan-cli: Refactor colors to a subset of colors that work in light and dark mode
2024-11-27 12:42:10 +01:00
clan-bot
29dc5d679e
Merge pull request 'UI/webview: remove unused clamp' ( #2506 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-27 10:12:04 +00:00
clan-bot
955450b0d7
Merge pull request 'Modules: more categories' ( #2507 ) from hsjobeki/clan-core:main into main
2024-11-27 10:06:45 +00:00
Johannes Kirschbauer
836c9d26ab
UI/webview: remove unused clamp
2024-11-27 11:03:57 +01:00
clan-bot
d1f756188c
Merge pull request 'cli machines update: remove dead code' ( #2505 ) from lassulus/clan-core:rip-always-upload into main
2024-11-27 10:01:52 +00:00
clan-bot
b36c9c65b5
Merge pull request 'UI/machines: show tags' ( #2504 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-27 09:47:58 +00:00
Johannes Kirschbauer
6f0f495e50
UI/machines: show tags
2024-11-27 10:40:12 +01:00
lassulus
e978f91209
cli machines update: remove dead code
2024-11-27 10:33:28 +01:00
clan-bot
496add5a50
Merge pull request 'UI/treewide: replace all {button,icon} component, other minor fixes' ( #2503 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-27 09:13:09 +00:00
Johannes Kirschbauer
69790bea1e
UI/treewide: replace all {button,icon} component
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
d887665c3d
UI:_ convert sidebar.css into tailwind notation
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
a410e2d4f9
UI: remove unsused old sidebar
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
fa7e9a9670
Cli: improve targetHost error message
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
4e61df9601
API/serde: fix construction of Enum values
2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
f8b98dfe54
Cli: fix error description should be appended
2024-11-27 10:06:04 +01:00
clan-bot
5efdb63b74
Merge pull request 'vars: make all python tests work in nix sandbox' ( #2502 ) from DavHau/clan-core:DavHau-dave into main
2024-11-27 07:38:23 +00:00
DavHau
44e6fe803f
vars: make all python tests work in nix sandbox
...
- generate a flake.lock file for each template by copying the clan-core flake.lock and modifying it
- call nix build with --store for tests inside the sandbox
2024-11-27 14:32:02 +07:00
Mic92
01813f36e1
Merge pull request 'clan-cli: secrets: fix encryption, and collect public and private keys separately' ( #2500 ) from lo-sops-filter-env into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2500
2024-11-27 06:27:53 +00:00
Louis Opter
93fa2af239
clan-cli: secrets: sops: SOPS_NIX_SECRET is not a sops variable
...
It's a variable internal to us, and it does not need to be allowed.
2024-11-27 06:27:53 +00:00
Louis Opter
ffe7b9057d
clan-cli: secrets: address CR feedback for sops encryption and key handling
...
- Move public keys collection to a class method on `SopsKey`, and
implement collection for each key type in `KeyType`, this helps make
the code more generic ;
- Replace `Operation.__call__` by `run` (`sops.run` if you import the
entire module), that allows us to dedent the code so that's cool ;
- Fix exception handling when trying to get a in-memory temporary file ;
- Make Executor cuter 😵 🪦 .
2024-11-27 06:27:53 +00:00
Louis Opter
07cd22393a
clan-cli: rebase sops changes on top of vars changes
...
vars changes in question are from commit: 8b94bc71bc
With this changeset the age specific sops logic that was added is now
generic.
To keep things simple, this changeset modifies `SopsKey` so that
`username` is ignored when comparing different keys. I don't really see
us relying on `username` and this makes `SopsKey` hashable, and usable
in a `set`, which is nice when you check that you have a particular key.
2024-11-27 06:27:53 +00:00
Louis Opter
c266ffce6f
clan-cli: secrets: treemft
2024-11-27 06:27:53 +00:00
Louis Opter
f4e621af88
clan-cli: secrets.sops: improve age keys detection
...
This change allows you to e.g. directly pass `$(age-keygen)` on the
command line.
2024-11-27 06:27:53 +00:00
Louis Opter
775be88a9c
clan-cli: filter any sops recipients set in the environment for encryption
...
This forces sops to use our config file, otherwise if any of the
environment variables set to specify recipients is present then
`--config` will be ignored (see [env_check]).
That's simple enough, still I ended up refactoring how we call sops for
correctness, and to align with its behavior. The code now distinguishes
between public and private keys explicitly. `secrets.decrypt_secret`
does not try to lookup for public and private keys anymore.
With this changeset, some people might have to adjust their environment
as public age and PGP keys will be discovered like sops would do. In
particular if multiple public keys are discovered, then the user will
have to specify which one to use for the clan.
This also makes the following changes:
- try to use `/dev/shm` when swapping a secret (it's what [pass] does
fwiw);
- alias immediate values for readability;
- remove some float comparison that could never succeed, and use sops'
exit status instead;
- remove unused function `maybe_get_sops_key`.
[env_check]: 8c567aa8a7/cmd/sops/main.go (L2229)
[pass]: http://passwordstore.org/
2024-11-27 06:27:53 +00:00
clan-bot
b71f99fd63
Merge pull request 'Automatic flake update - 2024-11-25T00:00+00:00' ( #2484 ) from flake-update-2024-11-25 into main
2024-11-26 18:58:35 +00:00
Clan Merge Bot
47016d8d40
update flake lock - 2024-11-25T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/cb64993826fa7a477490be6ccb38ba1fa1e18fa8?narHash=sha256-f3SSp1axoOk0NAI7oFdRzbxG2XPBSIXC%2B/DaAXnvS1A%3D' (2024-11-16)
→ 'github:nix-community/disko/47bc8dfb6f48d5f66a3cb3a4cece83d8ace1f61a?narHash=sha256-B1MQLiWi4bbeNiRXKxEkpztnKyWae4x0LyK32v3DjLk%3D' (2024-11-24)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/5a1c2a28589e34f8a44d46dd1909cfacf928cb1a?narHash=sha256-aIy8m4jjr/BFXzniNzoH16sF7HEFV/01/5b3FhtUHrw%3D' (2024-11-17)
→ 'github:numtide/nixos-facter-modules/862648589993a96480c2255197a28feea712f68f?narHash=sha256-zSQ2cR%2BNRJfHUVfkv%2BO6Wi53wXfzX8KHiO8fRfnvc0M%3D' (2024-11-22)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933?narHash=sha256-JwQZIGSYnRNOgDDoIgqKITrPVil%2BRMWHsZH1eE1VGN0%3D' (2024-11-07)
→ 'github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d?narHash=sha256-sQxuJm8rHY20xq6Ah%2BGwIUkF95tWjGRd1X8xF%2BPkk38%3D' (2024-11-22)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/472741cf3fee089241ac9ea705bb2b9e0bfa2978?narHash=sha256-NVUTFxKrJp/hjehlF1IvkPnlRYg/O9HFVutbxOM8zNM%3D' (2024-11-17)
→ 'github:Mic92/sops-nix/53c853fb1a7e4f25f68805ee25c83d5de18dc699?narHash=sha256-N9JGWe/T8BC0Tss2Cv30plvZUYoiRmykP7ZdY2on2b0%3D' (2024-11-21)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc?narHash=sha256-vK%2Ba09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/%2BmaI%3D' (2024-10-30)
→ 'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f?narHash=sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw%3D' (2024-11-22)
2024-11-26 19:52:15 +01:00
Mic92
50c7e44f5f
Merge pull request 'vars: make interface more type-safe' ( #2459 ) from vars into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2459
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-11-26 16:15:55 +00:00
Jörg Thalheim
c9e80f38ca
vars: make interface more type-safe
2024-11-26 17:08:26 +01:00
Jörg Thalheim
cd2ea0d735
vars: add name to generators
2024-11-26 15:26:16 +01:00
clan-bot
410856ce1a
Merge pull request 'pkgs/cli: Add --password flag to machines install' ( #2499 ) from kenji/clan-core:kenji-add-password-flag into main
2024-11-26 14:11:01 +00:00
clan-bot
c0a6c54a4c
Merge pull request 'docs: Fix typo in clan module' ( #2498 ) from kenji/clan-core:kenji-docs/fix/typ into main
2024-11-26 14:08:58 +00:00
a-kenji
22af137e17
pkgs/cli: Add --password flag to machines install
...
Add `--password` flag to `clan machines install`,
which allows installing through the `nixos-image` installer
manually without extra configuration.
2024-11-26 15:01:43 +01:00
a-kenji
c011d458b5
docs: Fix typo in clan module
2024-11-26 15:01:00 +01:00
clan-bot
6be9377ecb
Merge pull request 'less verbose logging if commands fail' ( #2497 ) from less-logging into main
2024-11-26 13:45:01 +00:00
Jörg Thalheim
f31864368c
run tests less verbose in CI
2024-11-26 14:38:59 +01:00
Jörg Thalheim
fc9fcc5aa5
less verbose logging if commands fail
2024-11-26 14:38:59 +01:00
clan-bot
0bda886e23
Merge pull request 'chore: fix prettier formatter. Ignore symlinked asciinema-player' ( #2496 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-26 13:03:18 +00:00
Johannes Kirschbauer
5f306a7d75
UI/backButton: use button and icon component
2024-11-26 13:56:05 +01:00
Johannes Kirschbauer
ea98e6d190
UI/button: make children optional, fix layout shift
2024-11-26 13:56:05 +01:00
Johannes Kirschbauer
ce12fbd19b
UI/components: init icon
2024-11-26 13:56:05 +01:00
Johannes Kirschbauer
56bcecf6cf
chore: fix prettier formatter. Ignore symlinked asciinema-player
2024-11-26 13:56:05 +01:00
Mic92
164dd452f2
Merge pull request 'test_vars: mock ask function instead of sys.stdin' ( #2493 ) from stdin into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2493
2024-11-26 11:56:38 +00:00
Jörg Thalheim
39db147e48
test_vars: mock ask function instead of sys.stdin
2024-11-26 11:56:38 +00:00
clan-bot
4fdbadc7c5
Merge pull request 'App/fonts: use ArchivoSemiCondensed' ( #2494 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-26 11:27:55 +00:00
Johannes Kirschbauer
5ed2925d14
App/fonts: use ArchivoSemiCondensed
2024-11-26 12:21:43 +01:00
hsjobeki
c9ef3b5068
Merge pull request 'Clan App improvements' ( #2492 ) from hsjobeki/clan-core:inventory-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2492
2024-11-26 10:44:06 +00:00
Johannes Kirschbauer
0811dd8e3e
API/serde: add handling for serializing enum classes
2024-11-26 10:44:06 +00:00
Johannes Kirschbauer
7b9f40e224
App: improve exception logging
2024-11-26 10:44:06 +00:00
Johannes Kirschbauer
a6b35f70c6
ClanModules/zerotier: simplify nix code
2024-11-26 10:44:06 +00:00
clan-bot
68fddaec7e
Merge pull request 'vars: fix migration - secrets end up in public store' ( #2491 ) from DavHau/clan-core:DavHau-vars into main
2024-11-26 10:08:36 +00:00
DavHau
1881d7f0a5
vars: fix migration - secrets end up in public store
2024-11-26 17:02:11 +07:00
clan-bot
6acd0d0163
Merge pull request 'clan-cli: Remove tty.py' ( #2490 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-25 19:38:31 +00:00
Qubasa
1063ac661a
clan-cli: Remove tty.py
2024-11-25 20:32:36 +01:00
clan-bot
a7686265da
Merge pull request 'clan-vm-manager: Fix regression' ( #2489 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-25 19:15:03 +00:00
Luis Hebendanz
6d378f69d6
Merge pull request 'fix webirc url' ( #2478 ) from dezren39/clan-core:dezren39-patch-1 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2478
2024-11-25 19:11:30 +00:00
dezren39
07761a55b3
Update README.md
2024-11-25 19:11:30 +00:00
dezren39
011d6bcff0
Update README.md
2024-11-25 19:11:30 +00:00
dezren39
d3918ae33f
fix webirc url
...
Signed-off-by: dezren39 <drewrypope@gmail.com >
2024-11-25 19:11:30 +00:00
Qubasa
aec2fdbf94
clan-vm-manager: Fix regression
2024-11-25 20:08:50 +01:00
clan-bot
f88ceeafed
Merge pull request 'clan-cli: Refactor ssh classes to dataclasses' ( #2488 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-25 18:53:13 +00:00
Qubasa
b9154fddd2
clan-cli: Refactor ssh classes to dataclasses
2024-11-25 19:47:17 +01:00
clan-bot
e16990e493
Merge pull request 'docs: Fix nix flake check problem with diskId' ( #2487 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-25 17:45:47 +00:00
Qubasa
4e6051acdc
docs: Fix nix flake check problem with diskId
2024-11-25 18:39:16 +01:00
clan-bot
205fbad669
Merge pull request 'core password-store: define fileModule only if file is secret' ( #2486 ) from lassulus/clan-core:pass-fixes3 into main
2024-11-25 12:34:31 +00:00
lassulus
aee27ba441
core password-store: define fileModule only if file is secret
2024-11-25 12:40:51 +01:00
clan-bot
b9ff0b45e4
Merge pull request 'Automatic flake update - nixpkgs - 2024-11-25T00:00+00:00' ( #2482 ) from flake-update-nixpkgs-2024-11-25 into main
2024-11-25 00:36:59 +00:00
clan-bot
df730e5a5e
Merge pull request 'Automatic flake update - treefmt-nix - 2024-11-25T00:00+00:00' ( #2485 ) from flake-update-treefmt-nix-2024-11-25 into main
2024-11-25 00:32:15 +00:00
clan-bot
e2496e92f9
Merge pull request 'Automatic flake update - sops-nix - 2024-11-25T00:00+00:00' ( #2483 ) from flake-update-sops-nix-2024-11-25 into main
2024-11-25 00:25:51 +00:00
clan-bot
4d1507a9bb
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-11-25T00:00+00:00' ( #2481 ) from flake-update-nixos-facter-modules-2024-11-25 into main
2024-11-25 00:22:42 +00:00
Clan Merge Bot
533c195f72
update flake lock - treefmt-nix - 2024-11-25T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc?narHash=sha256-vK%2Ba09qq19QNu2MlLcvN4qcRctJbqWkX7ahgPZ/%2BmaI%3D' (2024-10-30)
→ 'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f?narHash=sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw%3D' (2024-11-22)
2024-11-25 00:00:41 +00:00
Clan Merge Bot
3b5b62f799
update flake lock - sops-nix - 2024-11-25T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/472741cf3fee089241ac9ea705bb2b9e0bfa2978?narHash=sha256-NVUTFxKrJp/hjehlF1IvkPnlRYg/O9HFVutbxOM8zNM%3D' (2024-11-17)
→ 'github:Mic92/sops-nix/53c853fb1a7e4f25f68805ee25c83d5de18dc699?narHash=sha256-N9JGWe/T8BC0Tss2Cv30plvZUYoiRmykP7ZdY2on2b0%3D' (2024-11-21)
2024-11-25 00:00:37 +00:00
Clan Merge Bot
7ab7192294
update flake lock - nixpkgs - 2024-11-25T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933?narHash=sha256-JwQZIGSYnRNOgDDoIgqKITrPVil%2BRMWHsZH1eE1VGN0%3D' (2024-11-07)
→ 'github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d?narHash=sha256-sQxuJm8rHY20xq6Ah%2BGwIUkF95tWjGRd1X8xF%2BPkk38%3D' (2024-11-22)
2024-11-25 00:00:31 +00:00
Clan Merge Bot
49d7e23938
update flake lock - nixos-facter-modules - 2024-11-25T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/5a1c2a28589e34f8a44d46dd1909cfacf928cb1a?narHash=sha256-aIy8m4jjr/BFXzniNzoH16sF7HEFV/01/5b3FhtUHrw%3D' (2024-11-17)
→ 'github:numtide/nixos-facter-modules/862648589993a96480c2255197a28feea712f68f?narHash=sha256-zSQ2cR%2BNRJfHUVfkv%2BO6Wi53wXfzX8KHiO8fRfnvc0M%3D' (2024-11-22)
2024-11-25 00:00:04 +00:00
clan-bot
58c3bff75a
Merge pull request 'core password-store: set default location to not conflict with facts' ( #2479 ) from lassulus/clan-core:pass-fixes2 into main
2024-11-23 09:43:35 +00:00
lassulus
448e04a4ef
core password-store: set default location to not conflict with facts
2024-11-23 10:38:14 +01:00
clan-bot
05bfce74b2
Merge pull request 'pass-fixes' ( #2476 ) from lassulus/clan-core:pass-fixes into main
2024-11-22 21:42:34 +00:00
lassulus
22c5e8ca8b
cli password-store: upload generators folder only if it has secrets
2024-11-22 22:34:09 +01:00
lassulus
fe4bf1c815
core password-store: fix secret location
2024-11-22 22:34:09 +01:00
lassulus
52b2b1c350
password-store: include filenames in manifest for upload check
2024-11-22 22:34:09 +01:00
lassulus
2c839ae768
cli password-store: skip uploading non secret files
2024-11-22 22:34:09 +01:00
lassulus
53f78d7959
clan-cli password-store: silence move-mount output
2024-11-22 22:34:09 +01:00
clan-bot
005e726df7
Merge pull request 'clan-cli: Refactor ssh part 2, Refactor custom_logger' ( #2473 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-22 21:29:10 +00:00
Qubasa
a0b013d3cc
clan-cli: Fix inventory update.sh
2024-11-22 22:23:10 +01:00
Qubasa
979e5e839d
clan-cli: Refactor ssh part 2, Refactor custom_logger
2024-11-22 22:08:50 +01:00
clan-bot
86f40607fd
Merge pull request 'UI: fix overflow behavior sidebar' ( #2475 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-22 21:02:27 +00:00
Johannes Kirschbauer
0b3b98e9d4
UI: fix overflow behavior sidebar
2024-11-22 21:56:38 +01:00
clan-bot
f448897420
Merge pull request 'UI: fix overflow behavior sidebar/content' ( #2474 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-22 20:25:20 +00:00
Johannes Kirschbauer
e455498ccb
UI: fix overflow behavior sidebar/content
2024-11-22 21:18:42 +01:00
clan-bot
653c3ef129
Merge pull request 'UI: Init api playground' ( #2471 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-22 13:43:03 +00:00
Johannes Kirschbauer
4b0127b8a2
UI/api: init testing playground
2024-11-22 14:36:32 +01:00
Johannes Kirschbauer
b969c51cd0
UI/components/sidebar: fix missing top-level keys
2024-11-22 14:36:11 +01:00
Johannes Kirschbauer
2b4ce58df3
UI/components/button: fixup props splitting
2024-11-22 14:35:43 +01:00
Johannes Kirschbauer
6777fde504
UI/components/typography: more default props
2024-11-22 14:01:58 +01:00
Johannes Kirschbauer
2b202c879a
UI/components/button: forward classnames
2024-11-22 14:01:03 +01:00
Johannes Kirschbauer
6a6306f7f0
Clan-cli/api: init dynamic get module interface
2024-11-22 13:58:30 +01:00
hsjobeki
e4d2ae07fd
Merge pull request 'inventory modules: expose module schemas at runtime' ( #2469 ) from hsjobeki/clan-core:inventory-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2469
2024-11-22 12:56:27 +00:00
Johannes Kirschbauer
0e556302c1
Clan-cli/api: list external modules
2024-11-21 17:04:35 +01:00
Johannes Kirschbauer
2b284af95e
Docs/modules: add guide for exposing options
2024-11-21 17:02:34 +01:00
Johannes Kirschbauer
3ebda7c304
Ext/modules: expose module schemas
2024-11-21 17:02:34 +01:00
hsjobeki
0fcaf7372b
Merge pull request 'Inventory: init external modules support' ( #2466 ) from hsjobeki/clan-core:inventory-modules into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2466
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
c7dcf9f517
inventory/eval.-tests: add explicit modules
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
a1915fa26b
jsonschema: dont export defaultText as default
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
88114ebfdc
Clan-cli: update inventory classes.py
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
0d555df9ac
Docs/inventory: ad-hoc loading of user modules
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
55175e38cc
Inventory/constraints: improve assertion messages
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
cb0eb5f888
Inventory: improve check service message
2024-11-21 15:38:17 +00:00
Johannes Kirschbauer
b3bcecd61c
Inventory: init external modules support
2024-11-21 15:38:17 +00:00
clan-bot
f936b21100
Merge pull request 'clan-cli: Refactor ssh folder part 1' ( #2468 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-21 12:08:18 +00:00
Qubasa
a4f3d9d1fc
clan-cli: Refactor ssh folder part 1
2024-11-21 13:02:22 +01:00
clan-bot
997709993b
Merge pull request 'treefmt: Apply directory naming fix' ( #2467 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-21 10:56:20 +00:00
Qubasa
b3411aed8b
treefmt: Apply directory naming fix
2024-11-21 11:50:08 +01:00
clan-bot
9ca334db5c
Merge pull request 'UI: Improvements' ( #2457 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-20 18:03:36 +00:00
Johannes Kirschbauer
ddbd477373
UI/components/button: fixup invalid test file name
2024-11-20 18:57:25 +01:00
Johannes Kirschbauer
6681e08bdb
UI/machine/thumbnail: init random image generator for default thumbnail
2024-11-20 18:55:54 +01:00
Johannes Kirschbauer
e42d33b42e
UI/tailwind/theme: add color definition mapping for light mode
2024-11-20 18:55:03 +01:00
Johannes Kirschbauer
b9285a6935
UI/components/button: init button component
2024-11-20 16:48:01 +01:00
Johannes Kirschbauer
a4a3a646e5
UI/theme/config: remove unneccessary rgb wrapper
2024-11-20 16:48:01 +01:00
clan-bot
9c550a2001
Merge pull request 'pkgs/cli: Fix generation of hardware configuration for machines install' ( #2456 ) from kenji/clan-core:kenji-cli/install/nixos-facter into main
2024-11-20 15:39:34 +00:00
a-kenji
5a9d58ec59
pkgs/cli: Fix generation of hardware configuration for machines install
...
Correctly use the `value` of the `enum`, which is expected by
`nixos-anywhere`.
2024-11-20 16:15:45 +01:00
clan-bot
7435bcb9da
Merge pull request 'pkgs/cli: Fix tag creation for clan machines create' ( #2453 ) from kenji/clan-core:kenji-cli/fix/create-tags into main
2024-11-20 14:17:20 +00:00
a-kenji
1c9ca82055
pkgs/cli: Fix tag creation for clan machines create
2024-11-20 15:12:05 +01:00
clan-bot
4bbd1b3363
Merge pull request 'Docs/modules: move frontmatter into supmenu with overview' ( #2452 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-20 12:26:33 +00:00
Johannes Kirschbauer
277bad43cf
Docs/modules: move frontmatter into supmenu with overview
2024-11-20 13:21:00 +01:00
clan-bot
f5ddfbebb2
Merge pull request 'Docs/modules: add missing heading for empty role options' ( #2450 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-20 11:30:44 +00:00
Johannes Kirschbauer
d5c1d07556
Docs/modules: add missing heading for empty role options
2024-11-20 12:25:04 +01:00
clan-bot
67ae025125
Merge pull request 'Docs/modules: add usage example' ( #2449 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-20 10:48:20 +00:00
Johannes Kirschbauer
d259da1a7b
Docs/modules: add usage example
2024-11-20 11:42:02 +01:00
clan-bot
354d311052
Merge pull request 'Docs/modules: add usage example' ( #2448 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-20 10:41:42 +00:00
Johannes Kirschbauer
e476ca320a
Docs/modules: add usage example
2024-11-20 11:35:43 +01:00
Mic92
970dedbbd9
Merge pull request 'vms/qemu: fix opengl detection' ( #2422 ) from danjujan/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2422
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-11-20 10:20:30 +00:00
danjujan
1e20a4cda9
vms/qemu: fix opengl detection
2024-11-20 10:20:30 +00:00
Mic92
07d8566f0a
Merge pull request 'vars: add VarStatus dataclass to make return type more readable' ( #2446 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2446
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-11-20 10:20:06 +00:00
Jörg Thalheim
952a5f3ee7
vars: add VarStatus dataclass to make return type more readable
2024-11-20 10:20:06 +00:00
clan-bot
531eac1ab2
Merge pull request 'Docs/modules: seperate out inventory,role specific interface' ( #2447 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-20 10:07:58 +00:00
Johannes Kirschbauer
b3164076d5
Docs/modules: seperate out inventory,role specific interface
2024-11-20 11:01:28 +01:00
clan-bot
2090300734
Merge pull request 'vars: implement invalidation mechanism' ( #2445 ) from DavHau/clan-core:DavHau-dave into main
2024-11-20 09:33:09 +00:00
DavHau
d4c8b2e4ed
vars: implement invalidation mechanism
...
This adds options `invalidationData` to generators.
`invalidationData` can be used by an author of a generator to signal if a re-generation is required after updating the logic.
Whenever a generator with invalidation data is executed, a hash of that data is stored by the respective public and/or secret backends.
The stored hashes will be checked on future deployments, and a re-generation is triggered whenever a hash doesn't match what's defined in nix.
2024-11-20 16:27:22 +07:00
clan-bot
4a1e621a9a
Merge pull request 'chore(packages/schema): remove unused validation' ( #2444 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-19 17:05:06 +00:00
Johannes Kirschbauer
e5184eb5d4
chore(packages/schema): remove unused validation
2024-11-19 17:59:30 +01:00
hsjobeki
1036aec44f
Merge pull request 'modules: add more categories' ( #2438 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2438
2024-11-19 15:59:23 +00:00
Johannes Kirschbauer
176b07d6d1
UI/Modules: individual roles members
2024-11-19 15:59:23 +00:00
Johannes Kirschbauer
bb6abd44aa
Modules/matter: add more categories
2024-11-19 15:59:23 +00:00
clan-bot
cf13a57dc5
Merge pull request 'theme-ui' ( #2443 ) from hsjobeki/clan-core:theme-ui into main
2024-11-19 14:39:24 +00:00
Johannes Kirschbauer
eecd39b24a
UI/fonts: migrate all text-* classes
2024-11-19 15:33:30 +01:00
Johannes Kirschbauer
78dbeb6276
UI/layout: clean up imports
2024-11-19 14:50:07 +01:00
Johannes Kirschbauer
1c28959d61
UI/sidebar: rework tailwind theme and classes
2024-11-19 14:47:36 +01:00
clan-bot
0124129730
Merge pull request 'clanModules: Fix ordering' ( #2442 ) from kenji/clan-core:kenji-clan-modules/fix-order into main
2024-11-19 13:21:10 +00:00
a-kenji
2389e3f73e
clanModules: Fix ordering
2024-11-19 14:14:31 +01:00
clan-bot
5cb93c0015
Merge pull request 'clanModules/importer: Init importer inventory module' ( #2440 ) from kenji/clan-core:kenji-clan-modules/importer into main
2024-11-19 13:06:37 +00:00
a-kenji
4b4b3826c8
clanModules/importer: Init importer inventory module
...
Initialize the `importer` inventory module.
It is a power user module that allows for convenient, flexible,
structured imports for hosts.
It exposes the `extraModules` functionality of the inventory,
without any added configuration.
Closes : #2356
2024-11-19 14:00:57 +01:00
Timo
d9973a3d12
ui/sidebar: adds full height to drawer and min-width to new sidebar component
2024-11-19 13:24:48 +01:00
Timo
1d7913aeb7
ui/sidebar: updates component and introduces new styles (e.g. colors, typograhy)
2024-11-19 13:19:54 +01:00
Timo
1046797da8
ui/typography: adds general typography component
2024-11-19 13:19:54 +01:00
Timo
7821c343d6
ui/sidebar: finishes general structure of new sidebar components
2024-11-19 13:19:54 +01:00
Mic92
f2ead637bc
Merge pull request 'add repo sync for github' ( #2437 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2437
2024-11-19 12:09:28 +00:00
Jörg Thalheim
3fe9c14034
add repo sync for github
...
add repo sync for github
2024-11-19 13:08:13 +01:00
Johannes Kirschbauer
2c5d74d292
Modules/matter: add more categories
2024-11-19 13:02:47 +01:00
clan-bot
b618f9763f
Merge pull request 'templates/minimal-flake-parts: Add meta.name' ( #2434 ) from kenji/clan-core:kenji-flake-parts/add-name into main
2024-11-19 11:39:56 +00:00
a-kenji
e56523345b
templates/minimal-flake-parts: Add meta.name
...
Add `meta.name` field for the flake parts template.
This is not quite ideal, because it still needs to be changed manually
after invocation of the template.
2024-11-19 12:33:18 +01:00
clan-bot
ada0f22d88
Merge pull request 'flake/inputs: Remove obsolete nixpkgs-stable reference for sops-nix' ( #2433 ) from kenji/clan-core:kenji-remove-sops-nix into main
2024-11-19 09:55:25 +00:00
a-kenji
b5cd929961
flake/inputs: Remove obsolete nixpkgs-stable reference for sops-nix
2024-11-19 10:48:56 +01:00
kenji
d08fc02c73
Merge pull request 'ssh-ca' ( #2379 ) from ssh-ca into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2379
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-11-19 09:46:14 +00:00
Jörg Thalheim
4759b9528f
also deploy host ca to server
2024-11-19 09:46:14 +00:00
Jörg Thalheim
936a3baa08
backup: remove unused variable
2024-11-19 09:46:14 +00:00
Jörg Thalheim
37bef9200f
Update vars via generator openssh for machine test-backup
2024-11-19 09:46:14 +00:00
Jörg Thalheim
68a5d072b2
vars: don't print stack trace if generator fails
2024-11-19 09:46:14 +00:00
Jörg Thalheim
1f6a1f7116
vars/test-backup: set ssh key
2024-11-19 09:46:14 +00:00
Jörg Thalheim
03fcf8715b
tests: set stateVersion
2024-11-19 09:46:14 +00:00
Jörg Thalheim
2b270a8951
vars: introduce ensure_machine_has_access method for sops
...
this should help avoiding overriding existing shared secrets by not
triggering vars regeneration if a machine has no access.
wip
2024-11-19 09:46:14 +00:00
Jörg Thalheim
609dc90775
remove ssh.id_ed25519 from facts test
...
we have moved this to vars now.
2024-11-19 09:46:14 +00:00
Jörg Thalheim
c20085e3c7
sshd: add host ssh cert support
2024-11-19 09:46:14 +00:00
clan-bot
b54063f173
Merge pull request 'Modules: init automatic docs.' ( #2432 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-19 09:43:20 +00:00
Johannes Kirschbauer
e8f39d7431
UI/tailwind: fix preflight
2024-11-19 10:36:53 +01:00
Johannes Kirschbauer
3a46119722
Modules/api: export constraints, filter by inventory
2024-11-19 10:36:29 +01:00
Johannes Kirschbauer
cfe9dbf117
Docs/frontmatter: init automatic reference for frontmatter
2024-11-19 10:35:13 +01:00
clan-bot
2ac2cc2aff
Merge pull request 'vars: add test for 'clan vars get'' ( #2431 ) from DavHau/clan-core:DavHau-dave into main
2024-11-19 06:38:31 +00:00
DavHau
2127c7f5cb
vars: add test for 'clan vars get'
2024-11-19 13:32:27 +07:00
clan-bot
776701c9e3
Merge pull request 'docs: Remove old blog' ( #2430 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-18 16:31:43 +00:00
Qubasa
9aa4a81a91
docs: Remove old blog, remove empty concepts rider
2024-11-18 17:25:47 +01:00
clan-bot
d73dee17bd
Merge pull request 'tests: improve performance, keep flake.lock between tests' ( #2428 ) from DavHau/clan-core:DavHau-nix-eval into main
2024-11-18 10:08:43 +00:00
DavHau
1d66d32163
tests: improve performance, keep flake.lock between tests
...
- deprecate fixture generate_flake in favor of class ClanFlake
- allow creating flake templates that can be copied, including their state, like git and lock files, in order to avoid expensive re-initialization
2024-11-18 17:01:58 +07:00
clan-bot
38a0d02585
Merge pull request 'Automatic flake update - sops-nix - 2024-11-18T00:00+00:00' ( #2427 ) from flake-update-sops-nix-2024-11-18 into main
2024-11-18 00:32:01 +00:00
clan-bot
08bcca3b05
Merge pull request 'Automatic flake update - disko - 2024-11-18T00:00+00:00' ( #2423 ) from flake-update-disko-2024-11-18 into main
2024-11-18 00:20:08 +00:00
clan-bot
51177d8fdb
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-11-18T00:00+00:00' ( #2424 ) from flake-update-nixos-facter-modules-2024-11-18 into main
2024-11-18 00:20:07 +00:00
Clan Merge Bot
3e7b5de1ad
update flake lock - sops-nix - 2024-11-18T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/f1675e3b0e1e663a4af49be67ecbc9e749f85eb7?narHash=sha256-jR8i6nFLmSmm0cIoeRQ8Q4EBARa3oGaAtEER/OMMxus%3D' (2024-11-10)
→ 'github:Mic92/sops-nix/472741cf3fee089241ac9ea705bb2b9e0bfa2978?narHash=sha256-NVUTFxKrJp/hjehlF1IvkPnlRYg/O9HFVutbxOM8zNM%3D' (2024-11-17)
• Removed input 'sops-nix/nixpkgs-stable'
2024-11-18 00:00:26 +00:00
Clan Merge Bot
c4dd8ea84a
update flake lock - nixos-facter-modules - 2024-11-18T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/d0e205eafca7091caad3925ff82a46fea08351e1?narHash=sha256-2KexAe17KRg2191SdBxVXqJKwV6MxKzlE35DDcAX%2BDs%3D' (2024-11-05)
→ 'github:numtide/nixos-facter-modules/5a1c2a28589e34f8a44d46dd1909cfacf928cb1a?narHash=sha256-aIy8m4jjr/BFXzniNzoH16sF7HEFV/01/5b3FhtUHrw%3D' (2024-11-17)
2024-11-18 00:00:03 +00:00
Clan Merge Bot
cc850e69b4
update flake lock - disko - 2024-11-18T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/486250f404f4a4f4f33f8f669d83ca5f6e6b7dfc?narHash=sha256-cZ0QMpv5p2a6WEE%2Bo9uu0a4ma6RzQDOQTbm7PbixWz8%3D' (2024-11-10)
→ 'github:nix-community/disko/cb64993826fa7a477490be6ccb38ba1fa1e18fa8?narHash=sha256-f3SSp1axoOk0NAI7oFdRzbxG2XPBSIXC%2B/DaAXnvS1A%3D' (2024-11-16)
2024-11-18 00:00:01 +00:00
clan-bot
8a61106d9f
Merge pull request 'clan: Fix dyndns module' ( #2421 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-17 12:13:08 +00:00
Qubasa
e86543fa03
clan: Fix dyndns module
2024-11-17 13:07:16 +01:00
clan-bot
7f9ba443ad
Merge pull request 'password-store owner & group support' ( #2418 ) from lassulus/clan-core:pass-owner into main
2024-11-16 09:38:18 +00:00
lassulus
8f0c575425
password-store owner & group support
2024-11-16 01:18:59 +01:00
clan-bot
91efd937bf
Merge pull request 'modules/frontmatter: init module interface as source of frontmatter' ( #2420 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-15 19:09:36 +00:00
Johannes Kirschbauer
9028027220
modules/frontmatter: init module interface as source of frontmatter
2024-11-15 20:04:06 +01:00
clan-bot
9fe1ded319
Merge pull request 'clan-cli: Change rsync to ssh upload' ( #2381 ) from Qubasa/clan-core:Qubasa-scp_upload into main
2024-11-15 15:09:44 +00:00
Qubasa
26730cd662
clan-cli: upload.py -> Replace rsync with native ssh command
2024-11-15 22:03:47 +07:00
clan-bot
c3bf6d719a
Merge pull request 'pkgs/cli: Add comment to add_common_flags function' ( #2419 ) from kenji/clan-core:kenji-cli/suppress/comment into main
2024-11-15 11:12:31 +00:00
a-kenji
b894a41a60
pkgs/cli: Add comment to add_common_flags function
2024-11-15 12:06:10 +01:00
Mic92
8df656fc0b
Merge pull request 'pkgs/cli: Fix adding common flags for aliases' ( #2411 ) from kenji/clan-core:kenji-cli/fix/common-flags into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2411
2024-11-15 10:49:03 +00:00
a-kenji
25b90983af
pkgs/cli: Fix adding common flags for aliases
2024-11-15 10:49:03 +00:00
Mic92
8773abf849
Merge pull request 'Fix encrypting shared vars' ( #2417 ) from var-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2417
2024-11-14 15:37:55 +00:00
Jörg Thalheim
4de97616bc
vars: introduce ensure_machine_has_access method for sops
...
this should help avoiding overriding existing shared secrets by not
triggering vars regeneration if a machine has no access.
wip
2024-11-14 15:37:55 +00:00
Jörg Thalheim
673717fe8c
vars/get: use machine_name as variable name
2024-11-14 15:37:55 +00:00
Jörg Thalheim
91d2018bb7
vars/sops: simplify conditional in exists
2024-11-14 15:37:55 +00:00
clan-bot
0695b82edd
Merge pull request 'pkgs/cli: Improve help description' ( #2415 ) from kenji/clan-core:kenji-cli/show/improve/description into main
2024-11-14 14:40:22 +00:00
a-kenji
9c08e90083
pkgs/cli: Improve help description
2024-11-14 15:34:24 +01:00
clan-bot
cda12b0f22
Merge pull request 'pkgs/cli: Improve clan secrets help' ( #2416 ) from kenji/clan-core:kenji-cli/secrets/help into main
2024-11-14 14:18:43 +00:00
clan-bot
d05b1323b1
Merge pull request 'pkgs/cli: Remove superfluous comment string' ( #2414 ) from kenji/clan-core:kenji-cli/improve/show-comment into main
2024-11-14 14:15:52 +00:00
clan-bot
d17e00c177
Merge pull request 'pkgs/cli: Fix typo in test fixtures' ( #2412 ) from kenji/clan-core:kenji-fix/typo-fixture into main
2024-11-14 14:13:12 +00:00
clan-bot
f41c47345a
Merge pull request 'pkgs/cli: Improve help output of show subcommand' ( #2413 ) from kenji/clan-core:kenji-cli/improve/show into main
2024-11-14 14:13:12 +00:00
a-kenji
332e521340
pkgs/cli: Improve clan secrets help
2024-11-14 15:07:16 +01:00
a-kenji
52f5bc048b
pkgs/cli: Remove superfluous comment string
2024-11-14 15:04:19 +01:00
a-kenji
eb31b1cfa0
pkgs/cli: Improve help output of show subcommand
2024-11-14 15:03:14 +01:00
a-kenji
edef77091a
pkgs/cli: Fix typo in test fixtures
2024-11-14 15:00:44 +01:00
clan-bot
9e71b306b9
Merge pull request 'Automatic flake update - nixpkgs - 2024-11-11T00:00+00:00' ( #2367 ) from flake-update-nixpkgs-2024-11-11 into main
2024-11-14 11:19:38 +00:00
clan-bot
c7289d2c43
Merge pull request 'cli vars password-store: fix file locations' ( #2410 ) from lassulus/clan-core:vars-pass into main
2024-11-14 11:13:12 +00:00
Jörg Thalheim
74b54c84a4
deltachat: disable tests
2024-11-14 12:12:46 +01:00
Clan Merge Bot
d5bd935f2e
update flake lock - nixpkgs - 2024-11-11T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ccc0c2126893dd20963580b6478d1a10a4512185?narHash=sha256-4HQI%2B6LsO3kpWTYuVGIzhJs1cetFcwT7quWCk/6rqeo%3D' (2024-10-18)
→ 'github:NixOS/nixpkgs/85f7e662eda4fa3a995556527c87b2524b691933?narHash=sha256-JwQZIGSYnRNOgDDoIgqKITrPVil%2BRMWHsZH1eE1VGN0%3D' (2024-11-07)
2024-11-14 12:12:46 +01:00
lassulus
faf0946c99
cli vars password-store: fix file locations
2024-11-14 12:07:52 +01:00
clan-bot
40130640c1
Merge pull request 'UI/typograhy: init typography extension' ( #2407 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-14 09:37:23 +00:00
Johannes Kirschbauer
f9f760cbe8
UI/typograhy: init typography extension
2024-11-14 10:31:55 +01:00
clan-bot
a5dc8c5dda
Merge pull request 'pkgs/cli: Fix typo in comment' ( #2406 ) from kenji/clan-core:kenji-cli/fix/typo into main
2024-11-14 09:22:41 +00:00
a-kenji
edd7253dea
pkgs/cli: Fix typo in comment
2024-11-14 10:17:44 +01:00
DavHau
a5ec3c45d5
clan-cli: remove --no-write-lock-file from nix invocations
2024-11-14 14:11:06 +07:00
clan-bot
c0bd20414e
Merge pull request 'cleanup: remove legacy flake fixture test_flake_minimal and test_flake_with_core_and_pass' ( #2404 ) from DavHau/clan-core:DavHau-dave into main
2024-11-14 07:08:11 +00:00
DavHau
05ff6cfd89
cleanup: remove legacy flake fixture test_flake_minimal and test_flake_with_core_and_pass
2024-11-14 14:03:29 +07:00
clan-bot
2061f38442
Merge pull request 'tests: minify test machines to decrease runtime' ( #2401 ) from DavHau/clan-core:DavHau-dave into main
2024-11-13 13:44:59 +00:00
clan-bot
39a1bb349d
Merge pull request 'Inventory/constraints improve observability' ( #2400 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-13 13:42:17 +00:00
DavHau
c2a60dcbb6
tests: minify test machines to decrease runtime
2024-11-13 20:40:01 +07:00
Johannes Kirschbauer
42d6ad84f8
Assertions: Fixup dont render assertions into docs
2024-11-13 14:30:50 +01:00
Johannes Kirschbauer
686ef8f074
Docs: read roles only from inventory modules
2024-11-13 14:14:50 +01:00
Johannes Kirschbauer
0a59803616
Inventory/constraints: add id's to inventory constraints to make them more observable
2024-11-13 13:58:43 +01:00
Johannes Kirschbauer
b4e34e7f40
Zerotier/constraints: small improvements
2024-11-13 13:53:54 +01:00
Johannes Kirschbauer
3019d7da7e
Inventory/assertions: add seperate assertion layer
2024-11-13 13:52:47 +01:00
clan-bot
3b4046b207
Merge pull request 'clan_cli vars: actually upload' ( #2378 ) from lassulus/clan-core:vars-fix into main
2024-11-13 12:31:43 +00:00
lassulus
ddc7afd67d
clan_cli vars: actually upload
2024-11-13 13:23:42 +01:00
Jörg Thalheim
616ddca734
cmd: also process stdin
2024-11-13 13:23:42 +01:00
lassulus
ebfc8ecfd0
cli machines update: run deploy directly if deploying single machine
2024-11-13 13:23:42 +01:00
lassulus
2c66b36931
core vars: remove default for dirs
2024-11-13 13:23:42 +01:00
clan-bot
dea0cd5844
Merge pull request 'vars: allow re-encrypting secrets when recipient keys were added.' ( #2397 ) from DavHau/clan-core:DavHau-dave into main
2024-11-13 11:55:24 +00:00
DavHau
8b94bc71bc
vars: allow re-encrypting secrets when recipient keys were added.
...
When the users of a secret change, when for example a new admin user is added, an error will be thrown when generating vars, prompting the user to pass --fix to re-encrypt the secrets
2024-11-13 18:49:30 +07:00
clan-bot
f3761c194e
Merge pull request 'Chore: remove unsued inventory example' ( #2392 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-13 09:43:40 +00:00
Johannes Kirschbauer
22e164b869
Chore: remove unsued inventory example
2024-11-13 09:18:24 +01:00
clan-bot
25b5d84442
Merge pull request 'Modules/constraints: init constraints checking for inventory compatible modules' ( #2391 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-13 08:02:29 +00:00
Johannes Kirschbauer
38a980ae71
UI/modules: exclude typescript from dynamic field names and types
2024-11-13 08:57:03 +01:00
clan-bot
4c4ce646b9
Merge pull request 'vars,facts: update_check -> needs_upload' ( #2383 ) from DavHau/clan-core:DavHau-dave into main
2024-11-13 06:41:50 +00:00
DavHau
4ec218a200
vars,facts: update_check -> needs_upload
2024-11-13 13:34:15 +07:00
Johannes Kirschbauer
ac45d03216
UI/modules: dynamic rendering of public module interfaces
2024-11-12 22:10:37 +01:00
Johannes Kirschbauer
722012ed55
Modules/constraints: init constraints checking for inventory compatible modules
2024-11-12 18:36:38 +01:00
Johannes Kirschbauer
aa4c653148
Zerotier: add to inventory test machine
2024-11-12 18:36:05 +01:00
Mic92
369204f2d1
Merge pull request 'vars: fix case if we have two vars with where one is the prefix of another one' ( #2390 ) from var-fix-get into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2390
2024-11-12 16:11:39 +00:00
Jörg Thalheim
b67919b94d
vars: fix case if we have two vars with where one is the prefix of another one
2024-11-12 16:11:39 +00:00
Mic92
16e0965280
Merge pull request 'pkgs/cli: Add @override decorator' ( #2385 ) from kenji/clan-core:kenji-cli/update/python-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2385
2024-11-12 15:14:55 +00:00
a-kenji
3b04c5484c
pkgs/cli: Add @override decorator
2024-11-12 15:14:55 +00:00
Mic92
2374941216
Merge pull request 'clanModules/zerotier: Add assertion for moons' ( #2389 ) from kenji/clan-core:kenji-zerotier-add-assertion into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2389
2024-11-12 15:14:38 +00:00
a-kenji
16abeddb2f
clanModules/zerotier: Add assertion for moons
2024-11-12 15:23:39 +01:00
clan-bot
ae6c2fc7e3
Merge pull request 'pkgs/cli: Add tagging support to machines list' ( #2388 ) from kenji/clan-core:kenji-cli/2374/machine-list-tags into main
2024-11-12 14:21:34 +00:00
a-kenji
c3fe5df5e9
pkgs/cli: Document clan machines list --tags
2024-11-12 14:59:23 +01:00
a-kenji
392d8437cb
pkgs/clan: machines list --tags add dynamic completer
2024-11-12 14:59:23 +01:00
a-kenji
8596deaeb7
pkgs/cli: Add tagging support to machines list
...
Add the `--tags` flag to `clan machines list`
This now supports the machine tagging system from the inventory.
Multiple tags are the intersection of the tags of a specific machine.
Example two machines with overlapping tags:
```
server: ["intel"]
laptop: ["intel", "graphical"]
```
- `clan machines list --tags intel` will output:
```
server
laptop
```
- `clan machines list --tags intel graphical` will output:
```
laptop
```
- `clan machines list --tags graphical` will output:
```
laptop
```
2024-11-12 14:58:55 +01:00
clan-bot
c76d57e345
Merge pull request 'Chore: remove unused clanImports module' ( #2387 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-12 13:52:26 +00:00
Johannes Kirschbauer
83e2367b22
Chore: fix export of machines clan schema
2024-11-12 14:46:26 +01:00
Johannes Kirschbauer
9fb6ea2b8a
Chore: remove unused clanImports module
2024-11-12 14:46:25 +01:00
clan-bot
2ee00437fd
Merge pull request 'jsonschema: Add exportfield for module internals' ( #2382 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-12 12:29:03 +00:00
Johannes Kirschbauer
5c63ce0058
jsonschema: migrate tests
2024-11-12 13:23:31 +01:00
Johannes Kirschbauer
0e2b519731
jsonschema: Add exportfield for module internals
2024-11-12 12:48:45 +01:00
clan-bot
db9ffa8daa
Merge pull request 'clan: Re-add pkgsForSystem to configsPerSystem too' ( #2380 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-11 16:27:28 +00:00
Qubasa
95d3218bb6
clan: Re-add pkgsForSystem to configsPerSystem too
2024-11-11 23:20:27 +07:00
Mic92
6be0d9e040
Merge pull request 'simplify reading hostPlaform.system from nixos' ( #2377 ) from simplify-system into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2377
2024-11-11 15:33:14 +00:00
Jörg Thalheim
5bc8670020
simplify reading hostPlaform.system from nixos
2024-11-11 16:17:54 +01:00
clan-bot
d9d47119a7
Merge pull request 'Revert "clan: Remove pkgsForSystem"' ( #2376 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-11 14:58:15 +00:00
Qubasa
130aeb36b7
Revert "clan: Remove pkgsForSystem"
...
This reverts commit 382e27a20b .
2024-11-11 21:50:25 +07:00
clan-bot
2cc8473bc4
Merge pull request 'clan-cli: Improved --debug output by indenting commands, add TRACE_DEPTH environment variable' ( #2375 ) from Qubasa/clan-core:Qubasa-main into main
2024-11-11 14:36:56 +00:00
Qubasa
d3f0107f4d
clan-cli: Improved --debug output by indenting commands, add TRACE_DEPTH environment variable
2024-11-11 21:23:53 +07:00
Luis Hebendanz
162c4148aa
Merge pull request 'Fixes for aarch64 support' ( #2293 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2293
2024-11-11 14:08:12 +00:00
Qubasa
9da872a267
clan-cli: Simplify hostPlatform and just use 'system'
2024-11-11 14:08:12 +00:00
Qubasa
6ac6d626df
module.nix: add better explanation
2024-11-11 14:08:12 +00:00
Qubasa
9fc4e4c7d4
clan-cli: Fix nixos-anywhere for systems that can not be build locally
2024-11-11 14:08:12 +00:00
Qubasa
382e27a20b
clan: Remove pkgsForSystem
2024-11-11 14:08:12 +00:00
clan-bot
c1880a3624
Merge pull request 'pkgs/cli: Add dynamic completer for tags' ( #2372 ) from kenji/clan-core:kenji-cli/2360/tag-completions into main
2024-11-11 12:54:45 +00:00
a-kenji
5d6ac539bc
pkgs/cli: Complete --tags flag
2024-11-11 13:48:00 +01:00
a-kenji
43bc09eb2e
pkgs/cli: Add dynamic completer for tags
...
Add a dynamic completer for `tags`.
Queries tag information from:
- the keys of the computed/static tags (inventory tags)
- the services tags
- the machines tags
2024-11-11 13:48:00 +01:00
Mic92
96c634e2ad
Merge pull request 'waypipe: fix basic eval' ( #2369 ) from waypipe into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2369
2024-11-11 12:00:49 +00:00
Jörg Thalheim
8cede9fda7
waypipe: fix basic eval
2024-11-11 12:52:55 +01:00
Mic92
f3b6f73691
Merge pull request 'pkgs/cli: Unclutter help output slightly' ( #2338 ) from kenji/clan-core:kenji-pkgs-help into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2338
2024-11-11 11:28:51 +00:00
a-kenji
431bb21c10
pkgs/cli: Unclutter help output slightly
2024-11-11 11:28:51 +00:00
Mic92
e1994a52c3
Merge pull request 'vms/qemu: do not always use waypipe graphic options' ( #2363 ) from danjujan/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2363
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-11-11 11:28:00 +00:00
Jörg Thalheim
71593604e5
HistoryEntry: add cleaner typesafe json deserialization
2024-11-11 11:36:17 +01:00
danjujan
c2b455c750
vms/qemu: do not always use waypipe graphic options
2024-11-11 10:41:26 +01:00
clan-bot
5c43d8176a
Merge pull request 'Automatic flake update - sops-nix - 2024-11-11T00:00+00:00' ( #2368 ) from flake-update-sops-nix-2024-11-11 into main
2024-11-11 00:21:22 +00:00
clan-bot
7a124738ad
Merge pull request 'Automatic flake update - disko - 2024-11-11T00:00+00:00' ( #2364 ) from flake-update-disko-2024-11-11 into main
2024-11-11 00:16:41 +00:00
clan-bot
4907ffb760
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-11-11T00:00+00:00' ( #2365 ) from flake-update-nixos-facter-modules-2024-11-11 into main
2024-11-11 00:16:41 +00:00
Clan Merge Bot
365c236ee5
update flake lock - sops-nix - 2024-11-11T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760?narHash=sha256-1NveNAMLHbxOg0BpBMSVuZ2yW2PpDnZLbZ25wV50PMc%3D' (2024-11-03)
→ 'github:Mic92/sops-nix/f1675e3b0e1e663a4af49be67ecbc9e749f85eb7?narHash=sha256-jR8i6nFLmSmm0cIoeRQ8Q4EBARa3oGaAtEER/OMMxus%3D' (2024-11-10)
2024-11-11 00:00:25 +00:00
Clan Merge Bot
6851340440
update flake lock - nixos-facter-modules - 2024-11-11T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/15b6531d44aa6f0bbd2fd8309cd2a6d7f183ba32?narHash=sha256-AzP%2BtrH/ykBJGTx3twkpuwbkhFSmsY1PJDQtRmK4k4c%3D' (2024-10-27)
→ 'github:numtide/nixos-facter-modules/d0e205eafca7091caad3925ff82a46fea08351e1?narHash=sha256-2KexAe17KRg2191SdBxVXqJKwV6MxKzlE35DDcAX%2BDs%3D' (2024-11-05)
2024-11-11 00:00:03 +00:00
Clan Merge Bot
65e9f345a3
update flake lock - disko - 2024-11-11T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/380847d94ff0fedee8b50ee4baddb162c06678df?narHash=sha256-Mhqz3p/HEiI/zxBJWO57LYQf6gGlJB0tci6fiVXLjd8%3D' (2024-11-03)
→ 'github:nix-community/disko/486250f404f4a4f4f33f8f669d83ca5f6e6b7dfc?narHash=sha256-cZ0QMpv5p2a6WEE%2Bo9uu0a4ma6RzQDOQTbm7PbixWz8%3D' (2024-11-10)
2024-11-11 00:00:01 +00:00
clan-bot
8a1da8dfa1
Merge pull request 'pkgs/cli: Add dynamic completer for target-host' ( #2362 ) from kenji/clan-core:kenji-complete-deployment-address into main
2024-11-10 18:37:22 +00:00
a-kenji
7a17edc0d6
pkgs/cli: Complete --target-host flag
2024-11-10 19:12:54 +01:00
a-kenji
3ca6c4afac
pkgs/cli: Add dynamic completer for target-host
2024-11-10 19:12:01 +01:00
clan-bot
75d70b2c31
Merge pull request 'pkgs/cli: Query target-host for machines install from configuration' ( #2359 ) from kenji/clan-core:kenji-cli/2309/machines-install into main
2024-11-10 17:24:55 +00:00
a-kenji
9414bcc1fd
docs: Update documentation for clan machines install --target-host
2024-11-10 18:18:51 +01:00
a-kenji
23d0e2f115
pkgs/cli: Query target-host for machines install from configuration
...
Query `target-host` for `clan machines install` from the nixos
configuration (deployment.json), if possible.
Remove `TARGET_HOST` option and introduce `--target-host` command
line flag.
This brings the installation subcommand in line with the update
subcommand - improving consistency and usability.
Closes : #2309
2024-11-10 18:18:51 +01:00
clan-bot
f76a5cacc5
Merge pull request 'pkgs/cli: Group dynamic completer with the correct parser for clarity' ( #2354 ) from kenji/clan-core:kenji-group-completer into main
2024-11-10 14:56:18 +00:00
clan-bot
d8f0770cb3
Merge pull request 'pkgs/cli: Improve error message on clan machines update' ( #2353 ) from kenji/clan-core:kenji-improve-error-message-cli into main
2024-11-10 14:54:41 +00:00
a-kenji
3e1bbd53d2
pkgs/cli: Group dynamic completer with the correct parser for clarity
2024-11-10 15:48:41 +01:00
a-kenji
4b67d9fa71
pkgs/cli: Improve error message on clan machines update
2024-11-10 15:47:21 +01:00
clan-bot
f00d6b8a94
Merge pull request 'pkgs/cli: Apply naming standards to help strings in clan machines update' ( #2352 ) from kenji/clan-core:kenji-cli-fix-help into main
2024-11-10 14:42:58 +00:00
a-kenji
96f66a3810
pkgs/cli: Apply naming standards to help strings in clan machines update
2024-11-10 15:37:41 +01:00
clan-bot
e8f6786d95
Merge pull request 'pkgs/cli: Fix help string of clan machines create' ( #2350 ) from kenji/clan-core:kenji-fix-naming-create into main
2024-11-10 13:21:53 +00:00
clan-bot
4156df78d0
Merge pull request 'pkgs/cli: Add --target-host to clan machines create' ( #2349 ) from kenji/clan-core:kenji-add-deploy into main
2024-11-10 13:20:30 +00:00
a-kenji
aa1ca9ba59
pkgs/cli: Fix help string of clan machines create
2024-11-10 14:15:34 +01:00
a-kenji
0c7f18da12
pkgs/cli: Add --target-host to clan machines create
...
Add the `--target-host` flag to `clan machines create`.
This allows setting the `deploy.targetHost` for the newly created
machine via the inventory.
Closes : #2339
2024-11-10 14:13:39 +01:00
clan-bot
c7927d3a25
Merge pull request 'pkgs/cli: Improve tense of message in machines create' ( #2348 ) from kenji/clan-core:kenji-improve-confusing-message into main
2024-11-10 00:25:05 +00:00
a-kenji
182ea02c46
pkgs/cli: Improve tense of message in machines create
...
Change the log message tense from present to continuous for improved clarity.
The message "Add file" has been changed to "Adding file" to provide a clear
indication that the file addition is an ongoing process, not a
command (for the user).
2024-11-10 01:14:40 +01:00
clan-bot
855161088f
Merge pull request 'pkgs/cli: Fix grammar in inventory doc comment' ( #2344 ) from kenji/clan-core:kenji-fix-grammar into main
2024-11-09 23:57:08 +00:00
a-kenji
f96020809c
pkgs/cli: Improve grammar in inventory doc comment
2024-11-10 00:51:21 +01:00
a-kenji
8eab08be8b
pkgs/cli: Fix grammar in inventory doc comment
2024-11-10 00:48:54 +01:00
clan-bot
49c95a40c8
Merge pull request 'pkgs/cli: Remove superfluous comment string' ( #2343 ) from kenji/clan-core:kenji-remove-superfluous-comment into main
2024-11-09 23:40:57 +00:00
a-kenji
c7ad5e1928
pkgs/cli: Remove superfluous comment string
2024-11-10 00:35:41 +01:00
clan-bot
df20c16174
Merge pull request 'templates/minimal-flake-parts: add formatter' ( #2342 ) from kenji/clan-core:kenji-add-formatter into main
2024-11-09 22:13:59 +00:00
a-kenji
acf97df754
templates/minimal-flake-parts: add formatter
2024-11-09 23:08:14 +01:00
clan-bot
06724b4ab4
Merge pull request 'flake/inputs: Group inputs together' ( #2341 ) from kenji/clan-core:kenji-flake/inputs-group into main
2024-11-09 19:21:23 +00:00
a-kenji
689b2e7560
flake/inputs: Group inputs together
2024-11-09 20:13:15 +01:00
clan-bot
4110404f30
Merge pull request 'Inventory: init inventory.tags for globally defined static and dynamic tags' ( #2328 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-08 15:01:07 +00:00
Johannes Kirschbauer
46836496aa
Clan-ts-api: filter out reserved tags from typescript, library generates invalid types
2024-11-08 15:55:37 +01:00
clan-bot
4e26b74a9b
Merge pull request 'don't show stacktrace if an update fail' ( #2333 ) from deployment into main
2024-11-08 14:48:57 +00:00
Jörg Thalheim
eb1daad08d
vars: update message if vars are up-to-date
2024-11-08 15:43:10 +01:00
Jörg Thalheim
d3abedafa9
don't show stacktrace if update fail
2024-11-08 15:43:10 +01:00
Mic92
4da648bf0a
Merge pull request 'Add inventory module for zerotier' ( #2108 ) from init/zerotier-inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2108
2024-11-08 14:10:23 +00:00
Jörg Thalheim
94f0d86432
zerotier-members: improve ux of console output
2024-11-08 14:10:23 +00:00
Jörg Thalheim
91ff83c3c0
zerotier-members: make output better
2024-11-08 14:10:23 +00:00
Jörg Thalheim
671effe3c3
clanModules/zerotier: add documentation
2024-11-08 14:10:23 +00:00
Jörg Thalheim
5b4badab10
clanCore/zerotier: quote "or" keyword in attrset
2024-11-08 14:10:23 +00:00
a-kenji
60d7c5d82c
add clanModule for zerotier inventory
2024-11-08 14:10:23 +00:00
clan-bot
d653859a91
Merge pull request 'templates: Add all basic supported systems to the minimal-flake-parts template' ( #2332 ) from kenji/clan-core:kenji-template-add-default-systems into main
2024-11-08 14:02:38 +00:00
a-kenji
45c0a4a4cd
templates: Add all basic supported systems to the minimal-flake-parts tempalte
2024-11-08 14:38:31 +01:00
clan-bot
557c209565
Merge pull request 'pkgs/cli: Fix dynamic completions for update-hardware-config and it's flags' ( #2330 ) from kenji/clan-core:kenji-update-hardware-config-fix-completions into main
2024-11-08 13:29:20 +00:00
a-kenji
e0cebd005a
pkgs/cli: Fix dynamic completions for update-hardware-config and it's flags
...
Fix dynamic completions for `update-hardware-config` and it's flags.
Now `update-hardware-config` correctly suggests machines as well as for
example `--backend` suggests correctly their respective flags.
2024-11-08 14:23:11 +01:00
Johannes Kirschbauer
a67f42ee7a
Jsonschema: clean up tests
2024-11-08 13:22:58 +01:00
Johannes Kirschbauer
16b0592d0f
Classgen: forward item types for array types
2024-11-08 13:20:45 +01:00
clan-bot
1ee61283ea
Merge pull request 'flake/templates: Add minimal-flake-parts template' ( #2329 ) from kenji/clan-core:kenji-minimal-template into main
2024-11-08 12:13:05 +00:00
a-kenji
985ab11808
flake/templates: Add minimal-flake-parts template
2024-11-08 13:07:27 +01:00
Johannes Kirschbauer
4994b5acb5
Inventory: init inventory.tags for globally defined static and dynamic tags
2024-11-08 12:48:03 +01:00
clan-bot
98884c1b71
Merge pull request 'pkgs/cli: Add minimal-flake-parts to create' ( #2327 ) from kenji/clan-core:kenji-minimal-flake-parts into main
2024-11-08 11:40:39 +00:00
a-kenji
552fb7e54a
pkgs/cli: Add minimal-flake-parts to create
2024-11-08 12:34:30 +01:00
clan-bot
fbf4252e8c
Merge pull request 'templates: prefer non-shallow clones' ( #2326 ) from kenji/clan-core:kenji-no-shallow into main
2024-11-08 11:29:24 +00:00
a-kenji
97f63205d2
templates: prefer non-shallow clones
2024-11-08 12:23:04 +01:00
clan-bot
01df2dcf39
Merge pull request 'templates: add a minimal flake-parts template' ( #2324 ) from kenji/clan-core:kenji-templates-flake-parts into main
2024-11-08 10:55:00 +00:00
a-kenji
d2e70e17e5
templates: add a minimal flake-parts template
2024-11-08 11:47:13 +01:00
Johannes Kirschbauer
34873828ed
buildClan: add empty default
2024-11-08 10:43:05 +01:00
clan-bot
0e1cb1261b
Merge pull request 'Icon Update: logo, icon.' ( #2321 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-11-06 13:01:40 +00:00
Johannes Kirschbauer
571f36c345
Docs: fix missing icons & favicon
2024-11-06 13:56:20 +01:00
Johannes Kirschbauer
9561103610
Icon Update: logo, icon.
2024-11-06 13:25:30 +01:00
hsjobeki
9974d9b4de
Merge pull request 'Icons: init figma icon sync & optimizer' ( #2315 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2315
2024-11-06 12:11:48 +00:00
Johannes Kirschbauer
a5fdb3ecf3
Icon Update: shellcheck
2024-11-06 12:11:48 +00:00
Johannes Kirschbauer
c3133f7ecd
Icons: init figma icon sync & optimizer
2024-11-06 12:11:48 +00:00
clan-bot
c05ba13226
Merge pull request 'pkgs/cli: Hide clan history subcommand from help output' ( #2319 ) from kenji/clan-core:kenji-cli-hide-history into main
2024-11-05 18:33:30 +00:00
a-kenji
fd3f2d1691
pkgs/cli: Hide clan history subcommand from help output
...
Hide the `clan history` subcommand from the help output.
It is only to be used by *very* advanced users currently and not even
them.
It is confusing in the current help output, because it is not clear what
it does.
This keeps the functionality around - while not confusing new users.
2024-11-05 19:27:43 +01:00
clan-bot
9d287cfc6a
Merge pull request 'pkgs/cli: Apply naming standards to description and help fields' ( #2318 ) from kenji/clan-core:kenji-pkgs/help-description into main
2024-11-05 18:25:01 +00:00
a-kenji
a195971749
pkgs/cli: Apply naming standards to description and help fields
2024-11-05 19:18:44 +01:00
a-kenji
04562b6d44
docs(contributing): Add standard for cli help description
2024-11-05 19:18:43 +01:00
clan-bot
f7f797730a
Merge pull request 'vars: Add naming standard' ( #2316 ) from kenji/clan-core:kenji-vars-naming into main
2024-11-05 18:11:12 +00:00
a-kenji
bb7c70e9ce
vars: Add naming standard
2024-11-05 19:05:40 +01:00
clan-bot
a71b0bdc82
Merge pull request 'expose an option to generate hardware configuration during installation' ( #2313 ) from hardware into main
2024-11-05 15:09:19 +00:00
Johannes Kirschbauer
c87e88af6e
UI/details: return early in error case
2024-11-05 16:04:09 +01:00
Jörg Thalheim
2b05f90239
expose an option to generate hardware configuration during installation
2024-11-05 14:33:22 +01:00
clan-bot
949d70afd7
Merge pull request 'generate-hardware-config: remove backup file after we are done' ( #2303 ) from hardware into main
2024-11-04 14:10:37 +00:00
Jörg Thalheim
86d8992046
generate-hardware-config: remove backup file after we are done
2024-11-04 15:05:08 +01:00
clan-bot
a91021dd64
Merge pull request 'Automatic flake update - disko - 2024-11-04T00:00+00:00' ( #2297 ) from flake-update-disko-2024-11-04 into main
2024-11-04 12:50:31 +00:00
clan-bot
a1177f8304
Merge pull request 'Automatic flake update - flake-parts - 2024-11-04T00:00+00:00' ( #2298 ) from flake-update-flake-parts-2024-11-04 into main
2024-11-04 12:49:21 +00:00
clan-bot
d4aa5a6a92
Merge pull request 'Automatic flake update - treefmt-nix - 2024-11-04T00:00+00:00' ( #2302 ) from flake-update-treefmt-nix-2024-11-04 into main
2024-11-04 12:49:20 +00:00
clan-bot
15d9646ddd
Merge pull request 'Automatic flake update - sops-nix - 2024-11-04T00:00+00:00' ( #2301 ) from flake-update-sops-nix-2024-11-04 into main
2024-11-04 12:45:31 +00:00
Mic92
2d24c16d1d
Merge branch 'main' into flake-update-disko-2024-11-04
2024-11-04 12:33:41 +00:00
Mic92
180087cdf1
Merge branch 'main' into flake-update-flake-parts-2024-11-04
2024-11-04 12:33:32 +00:00
Mic92
8968a1d3c5
Merge branch 'main' into flake-update-sops-nix-2024-11-04
2024-11-04 12:33:10 +00:00
Mic92
8a741807e3
Merge branch 'main' into flake-update-treefmt-nix-2024-11-04
2024-11-04 12:33:04 +00:00
Mic92
a2c4fdd495
Merge pull request 'inventory: make sure we always define all roles, even if we don't have machines' ( #2296 ) from inventory-improvement into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2296
2024-11-04 12:32:58 +00:00
Jörg Thalheim
2f3369cca5
add build-on-remote flag
2024-11-04 13:27:50 +01:00
Jörg Thalheim
c02ecc2f67
tests/command: also wait for exit status
2024-11-04 12:57:07 +01:00
Jörg Thalheim
05ea59d38a
inventory: make sure we always define all roles, even if we don't have machines
...
this makes write writing modules easier
add missing roles assertions
2024-11-04 12:57:07 +01:00
Clan Merge Bot
87a03c9c87
update flake lock - treefmt-nix - 2024-11-04T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5' (2024-10-18)
→ 'github:numtide/treefmt-nix/746901bb8dba96d154b66492a29f5db0693dbfcc' (2024-10-30)
2024-11-04 00:00:44 +00:00
Clan Merge Bot
638d56dc17
update flake lock - sops-nix - 2024-11-04T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/1666d16426abe79af5c47b7c0efa82fd31bf4c56' (2024-10-27)
→ 'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760' (2024-11-03)
2024-11-04 00:00:40 +00:00
Clan Merge Bot
6cee49cbf6
update flake lock - flake-parts - 2024-11-04T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
→ 'github:hercules-ci/flake-parts/506278e768c2a08bec68eb62932193e341f55c90' (2024-11-01)
2024-11-04 00:00:03 +00:00
Clan Merge Bot
a5b3715196
update flake lock - disko - 2024-11-04T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/89e458a3bb3693e769bfb2b2447c3fe72092d498' (2024-10-27)
→ 'github:nix-community/disko/380847d94ff0fedee8b50ee4baddb162c06678df' (2024-11-03)
2024-11-04 00:00:01 +00:00
clan-bot
42c70d5c6a
Merge pull request 'vars: move owner/group to a sops namespace' ( #2294 ) from sops-owner into main
2024-10-31 11:26:50 +00:00
Jörg Thalheim
0a844097db
vars: use explicit lib.mkOption function
...
the error messages where hard to read, when I tried to add a nested
option. Let's make the code easier to understand instead of saving some
characters to type.
2024-10-31 12:10:57 +01:00
Jörg Thalheim
0842b05687
vars: move owner/group to a sops namespace
...
we want to allow users to use this feature but do not want to use this
option in our own module because it's not supported by password store.
2024-10-31 12:10:57 +01:00
clan-bot
532a3d1009
Merge pull request 'Add nixos-facter, vars fixes and remove git from base system' ( #2292 ) from vars into main
2024-10-29 13:00:38 +00:00
Jörg Thalheim
8b2b82ab74
remove vendored nixos-facter package
2024-10-29 13:54:12 +01:00
Jörg Thalheim
b3d2be1f28
fix resource leak in case need_user_terminal is used
2024-10-29 13:54:12 +01:00
Jörg Thalheim
825fb1b6d6
Revert "{facts,vars}/generator: also setup /proc"
...
This reverts commit 943f836997a54f8b0d40665b555034b8ac5a5da4.
This currently fails in nix sandbox builds... figure this out later.
2024-10-29 13:53:58 +01:00
Jörg Thalheim
5feb248e8f
{facts,vars}/generator: also setup /proc
...
some applications fail without proc
2024-10-29 13:53:58 +01:00
Jörg Thalheim
3f62d5eefd
only add gitMinimal for older nix version
2024-10-29 13:53:58 +01:00
Jörg Thalheim
dec610cc03
add nixos-facter to base system
2024-10-29 13:53:46 +01:00
Mic92
5117e1b3ee
Merge pull request 'Add missing argument in the docs' ( #2284 ) from 2m/clan-core:fix/missing-argument-2m into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2284
2024-10-29 12:41:36 +00:00
Martynas Mickevičius
31479f09b2
Add missing argument in the docs
2024-10-29 12:41:36 +00:00
Mic92
936d4b75e3
Merge pull request 'fix typos' ( #2282 ) from danjujan/clan-core:fix-typos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2282
2024-10-29 12:37:34 +00:00
danjujan
75ffb4436e
pkgs: fix typos
2024-10-29 12:37:34 +00:00
danjujan
7caa868ecb
clanModules: fix typos
2024-10-29 12:37:34 +00:00
danjujan
b6ef3600b5
checks: fix typos
2024-10-29 12:37:34 +00:00
danjujan
7a1e952c54
lib: fix typos
2024-10-29 12:37:34 +00:00
danjujan
286d70e1a8
templates: fix typo
2024-10-29 12:37:34 +00:00
clan-bot
20d79eac17
Merge pull request 'ssh: fix ssh connections failing due to missing stdin' ( #2291 ) from DavHau/clan-core:DavHau-dave into main
2024-10-28 11:26:27 +00:00
DavHau
21d08ad780
ssh: fix ssh connections failing due to missing stdin
2024-10-28 17:56:12 +07:00
clan-bot
a24841d14b
Merge pull request 'Automatic flake update - disko - 2024-10-28T00:00+00:00' ( #2285 ) from flake-update-disko-2024-10-28 into main
2024-10-28 00:24:12 +00:00
clan-bot
fddbf24bd7
Merge pull request 'Automatic flake update - sops-nix - 2024-10-28T00:00+00:00' ( #2289 ) from flake-update-sops-nix-2024-10-28 into main
2024-10-28 00:23:15 +00:00
clan-bot
b3bc14f073
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-10-28T00:00+00:00' ( #2286 ) from flake-update-nixos-facter-modules-2024-10-28 into main
2024-10-28 00:15:29 +00:00
Clan Merge Bot
aa9cd2d561
update flake lock - sops-nix - 2024-10-28T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c504fd7ac946d7a1b17944d73b261ca0a0b226a5' (2024-10-20)
→ 'github:Mic92/sops-nix/1666d16426abe79af5c47b7c0efa82fd31bf4c56' (2024-10-27)
2024-10-28 00:00:37 +00:00
Clan Merge Bot
c041063853
update flake lock - nixos-facter-modules - 2024-10-28T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/9f2a45b372830d28412160413d1d83f5ee11cc2f' (2024-10-12)
→ 'github:numtide/nixos-facter-modules/15b6531d44aa6f0bbd2fd8309cd2a6d7f183ba32' (2024-10-27)
2024-10-28 00:00:04 +00:00
Clan Merge Bot
fe50666857
update flake lock - disko - 2024-10-28T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/a6a3179ddf396dfc28a078e2f169354d0c137125' (2024-10-18)
→ 'github:nix-community/disko/89e458a3bb3693e769bfb2b2447c3fe72092d498' (2024-10-27)
2024-10-28 00:00:01 +00:00
clan-bot
8e6b9dc202
Merge pull request 'add toplevel LICENSE' ( #2283 ) from Mic92-main into main
2024-10-25 12:54:57 +00:00
Jörg Thalheim
09b436b11a
add toplevel LICENSE
...
we already specified the license in package metadata, however this is
not easy to find. So now put the license in a more central space
2024-10-25 14:47:14 +02:00
clan-bot
a05662a6cc
Merge pull request 'build-clan: clean up unit test' ( #2281 ) from DavHau/clan-core:DavHau-dave into main
2024-10-23 16:25:26 +00:00
DavHau
b35d87888d
build-clan: clean up unit test
2024-10-23 23:19:49 +07:00
clan-bot
8bcac94826
Merge pull request 'vars: fix shared dependency was not resolved correctly' ( #2280 ) from DavHau/clan-core:DavHau-dave into main
2024-10-23 13:49:23 +00:00
DavHau
33d049915c
vars: fix shared dependency was not resolved correctly
2024-10-23 20:43:33 +07:00
clan-bot
f6d7d18ddb
Merge pull request 'cli: set needs_user_terminal for all ssh commands' ( #2279 ) from DavHau/clan-core:DavHau-dave into main
2024-10-23 12:46:29 +00:00
DavHau
08fb34aa01
cli: set needs_user_terminal for all ssh commands
2024-10-23 19:40:50 +07:00
clan-bot
9452bb4b92
Merge pull request 'cmd.run: add needs_user_terminal to unbreak sudo' ( #2278 ) from DavHau/clan-core:DavHau-dave into main
2024-10-23 10:43:37 +00:00
DavHau
4c6acf2301
cmd.run: add needs_user_terminal to unbreak sudo
2024-10-23 17:37:54 +07:00
Mic92
63eb061051
Merge pull request 'ruff: enable warning lints' ( #2275 ) from nixpkgs-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2275
2024-10-23 09:06:02 +00:00
Jörg Thalheim
4af1954abf
ruff: enable warning lints
2024-10-23 09:06:02 +00:00
Mic92
2f9981c510
Merge pull request 'clan-cli: vars: add the owner and group options on files' ( #2255 ) from lopter/clan-core:lo-sops-ownership into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2255
2024-10-23 09:05:53 +00:00
Louis Opter
4effc0c50e
vars: add the user and group options on files
...
This changeset forwards the ownership control options from sops-nix.
2024-10-23 09:05:53 +00:00
clan-bot
84fe46b6e3
Merge pull request 'remove unused nixos-images flake input' ( #2274 ) from nixpkgs-fix into main
2024-10-23 08:24:06 +00:00
Jörg Thalheim
eb481d6cff
test_modules: add missing check argument
2024-10-23 09:50:08 +02:00
Jörg Thalheim
76b80304ca
tests/command: also wait for processes to avoid leaks
2024-10-23 09:48:50 +02:00
Jörg Thalheim
bae360b3b7
remove unused nixos-images flake input
2024-10-23 09:44:39 +02:00
clan-bot
5439ff6a4d
Merge pull request 'deploy-docs: use checksum for rsync' ( #2271 ) from nixpkgs-fix into main
2024-10-22 15:47:18 +00:00
Jörg Thalheim
39d0c170c0
deploy-docs: use checksum for rsync
2024-10-22 17:41:54 +02:00
Mic92
7848873652
Merge pull request 'deploy-docs: improve tempdir handling for ssh key' ( #2270 ) from nixpkgs-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2270
2024-10-22 15:37:01 +00:00
Jörg Thalheim
d1deed435c
deploy-docs: improve tempdir handling for ssh key
2024-10-22 15:37:01 +00:00
hsjobeki
3f0da7e781
Merge pull request 'UI: improve dynamic module interface rendering' ( #2269 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2269
2024-10-22 13:30:33 +00:00
Johannes Kirschbauer
fd55eae143
UI: improve dynamic module interface rendering
2024-10-22 13:30:33 +00:00
clan-bot
b1b836f112
Merge pull request 'ui/machinelistitem: changes background-color on card' ( #2259 ) from amunsen/clan-core:amunsen-main into main
2024-10-22 11:09:25 +00:00
clan-bot
8c61eb488b
Merge pull request 'lib/jsonSchema: handle defaults for defaultText' ( #2268 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-22 11:08:16 +00:00
Mic92
e8838d309c
Merge branch 'main' into amunsen-main
2024-10-22 11:00:26 +00:00
Johannes Kirschbauer
7a4a4cea95
lib/jsonSchema: handle defaults for defaultText
2024-10-22 12:59:44 +02:00
Mic92
b21550eb40
Merge pull request 'fix nixpkgs command with latest nix version' ( #2267 ) from nixpkgs-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2267
2024-10-22 10:58:33 +00:00
Jörg Thalheim
56cbee45cd
container-driver: ignore lint warning
2024-10-22 12:48:09 +02:00
Jörg Thalheim
3bdb932cc2
clan-vm-manager: fix typing error
2024-10-22 12:47:56 +02:00
Jörg Thalheim
eb0643f920
fix nixpkgs command with latest nix version
2024-10-22 12:46:56 +02:00
clan-bot
78bf5b9147
Merge pull request 'Automatic flake update - nixos-images - 2024-10-21T00:00+00:00' ( #2262 ) from flake-update-nixos-images-2024-10-21 into main
2024-10-21 00:36:46 +00:00
clan-bot
04cd83fce6
Merge pull request 'Automatic flake update - treefmt-nix - 2024-10-21T00:00+00:00' ( #2266 ) from flake-update-treefmt-nix-2024-10-21 into main
2024-10-21 00:28:51 +00:00
clan-bot
0cd38979f9
Merge pull request 'Automatic flake update - sops-nix - 2024-10-21T00:00+00:00' ( #2265 ) from flake-update-sops-nix-2024-10-21 into main
2024-10-21 00:26:47 +00:00
clan-bot
00974462b0
Merge pull request 'Automatic flake update - disko - 2024-10-21T00:00+00:00' ( #2261 ) from flake-update-disko-2024-10-21 into main
2024-10-21 00:19:44 +00:00
Clan Merge Bot
fde39033bd
update flake lock - treefmt-nix - 2024-10-21T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64' (2024-10-03)
→ 'github:numtide/treefmt-nix/d986489c1c757f6921a48c1439f19bfb9b8ecab5' (2024-10-18)
2024-10-21 00:00:57 +00:00
Clan Merge Bot
537ec55bc9
update flake lock - sops-nix - 2024-10-21T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b' (2024-10-08)
→ 'github:Mic92/sops-nix/c504fd7ac946d7a1b17944d73b261ca0a0b226a5' (2024-10-20)
2024-10-21 00:00:54 +00:00
Clan Merge Bot
822f102bd3
update flake lock - nixos-images - 2024-10-21T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/74da6331449bf5c6409c672ea227c07398ebb300' (2024-10-12)
→ 'github:nix-community/nixos-images/3103f26e0631a543963c03c583f03fd42fd9d51a' (2024-10-17)
2024-10-21 00:00:04 +00:00
Clan Merge Bot
9116e17bb5
update flake lock - disko - 2024-10-21T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/b6215392ec3bd05e9ebfbb2f7945c414096fce8f' (2024-10-12)
→ 'github:nix-community/disko/a6a3179ddf396dfc28a078e2f169354d0c137125' (2024-10-18)
2024-10-21 00:00:01 +00:00
clan-bot
4a9da76c50
Merge pull request 'UI: Init dynamic rendering of module config' ( #2260 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-18 15:26:53 +00:00
Johannes Kirschbauer
dbb9668e74
UI: Init dynamic rendering of module config
2024-10-18 17:15:33 +02:00
clan-bot
45443cf19f
Merge pull request 'Serde: improve js-python bridge' ( #2258 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-18 10:55:05 +00:00
Johannes Kirschbauer
3bc2991903
Serde: fixup & tests after changed serialization
2024-10-18 12:42:35 +02:00
Timo
0e2da5530b
ui/machinelistitem: changes background-color on card
2024-10-18 12:02:00 +02:00
Johannes Kirschbauer
60174a9399
UI: Init modules list view, details view
2024-10-17 10:27:39 +02:00
Johannes Kirschbauer
fe65362bb2
API/Modules-list: List only inventory modules
2024-10-17 10:27:00 +02:00
Johannes Kirschbauer
3cb2396d66
Serde: improve js-python bridge
2024-10-17 10:26:14 +02:00
clan-bot
7b26de2c50
Merge pull request 'docs: fix typos' ( #2256 ) from kenji/clan-core:kenji-docs/fix-typo into main
2024-10-16 21:06:39 +00:00
a-kenji
c2992daef1
docs: fix typos
2024-10-16 22:55:31 +02:00
hsjobeki
f3c2aa154a
Merge pull request 'Docs: fix typo' ( #2254 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2254
2024-10-16 12:55:30 +00:00
Johannes Kirschbauer
e0af6d22cb
Docs: fix typo
2024-10-16 14:54:29 +02:00
clan-bot
284d2b0d4e
Merge pull request 'vars: show full var_id when prompting' ( #2253 ) from DavHau/clan-core:DavHau-dave into main
2024-10-16 06:25:38 +00:00
DavHau
b379bffeea
vars: show full var_id when prompting
2024-10-16 13:13:41 +07:00
Luis Hebendanz
6358b4a6bb
Merge pull request 'Fix iwd space handling' ( #2252 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2252
2024-10-16 05:15:31 +00:00
Qubasa
8c8e6ac65f
Fix iwd space handling
2024-10-16 12:13:51 +07:00
clan-bot
10ebbde64a
Merge pull request 'Automatic flake update - sops-nix - 2024-10-14T00:00+00:00' ( #2251 ) from flake-update-sops-nix-2024-10-14 into main
2024-10-15 08:54:46 +00:00
clan-bot
7317519c16
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-10-14T00:00+00:00' ( #2247 ) from flake-update-nixos-facter-modules-2024-10-14 into main
2024-10-14 00:27:36 +00:00
clan-bot
524e39ccc5
Merge pull request 'Automatic flake update - 2024-10-14T00:00+00:00' ( #2250 ) from flake-update-2024-10-14 into main
2024-10-14 00:22:15 +00:00
clan-bot
0867e06373
Merge pull request 'Automatic flake update - nixpkgs - 2024-10-14T00:00+00:00' ( #2249 ) from flake-update-nixpkgs-2024-10-14 into main
2024-10-14 00:20:22 +00:00
clan-bot
7769fbbe62
Merge pull request 'Automatic flake update - nixos-images - 2024-10-14T00:00+00:00' ( #2248 ) from flake-update-nixos-images-2024-10-14 into main
2024-10-14 00:15:29 +00:00
clan-bot
5bcd0fd5d4
Merge pull request 'Automatic flake update - disko - 2024-10-14T00:00+00:00' ( #2246 ) from flake-update-disko-2024-10-14 into main
2024-10-14 00:14:59 +00:00
Clan Merge Bot
fe60ad0131
update flake lock - sops-nix - 2024-10-14T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/2750ed784e93e745a33fb55be7c2657adfb57c00' (2024-10-06)
→ 'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b' (2024-10-08)
2024-10-14 00:00:48 +00:00
Clan Merge Bot
ffa86ef5d0
update flake lock - 2024-10-14T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/48ebb577855fb2398653f033b3b2208a9249203d' (2024-10-05)
→ 'github:nix-community/disko/b6215392ec3bd05e9ebfbb2f7945c414096fce8f' (2024-10-12)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/ec6ef7d5495bb5db1b6991791625eb22d108e954' (2024-09-30)
→ 'github:numtide/nixos-facter-modules/9f2a45b372830d28412160413d1d83f5ee11cc2f' (2024-10-12)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/c6d733b5cb6c07b5650298d3d6b685dc5dece7f8' (2024-10-03)
→ 'github:nix-community/nixos-images/74da6331449bf5c6409c672ea227c07398ebb300' (2024-10-12)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/50b3bd3fed0442bcbf7f58355e990da84af1749d' (2024-10-06)
→ 'github:NixOS/nixpkgs/b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221' (2024-10-10)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/2750ed784e93e745a33fb55be7c2657adfb57c00' (2024-10-06)
→ 'github:Mic92/sops-nix/06535d0e3d0201e6a8080dd32dbfde339b94f01b' (2024-10-08)
2024-10-14 00:00:48 +00:00
Clan Merge Bot
1638c7e0e9
update flake lock - nixpkgs - 2024-10-14T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/50b3bd3fed0442bcbf7f58355e990da84af1749d' (2024-10-06)
→ 'github:NixOS/nixpkgs/b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221' (2024-10-10)
2024-10-14 00:00:46 +00:00
Clan Merge Bot
fdacb24e27
update flake lock - nixos-images - 2024-10-14T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/c6d733b5cb6c07b5650298d3d6b685dc5dece7f8' (2024-10-03)
→ 'github:nix-community/nixos-images/74da6331449bf5c6409c672ea227c07398ebb300' (2024-10-12)
2024-10-14 00:00:05 +00:00
Clan Merge Bot
5e0f4727ed
update flake lock - nixos-facter-modules - 2024-10-14T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/ec6ef7d5495bb5db1b6991791625eb22d108e954' (2024-09-30)
→ 'github:numtide/nixos-facter-modules/9f2a45b372830d28412160413d1d83f5ee11cc2f' (2024-10-12)
2024-10-14 00:00:03 +00:00
Clan Merge Bot
282f7782d5
update flake lock - disko - 2024-10-14T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/48ebb577855fb2398653f033b3b2208a9249203d' (2024-10-05)
→ 'github:nix-community/disko/b6215392ec3bd05e9ebfbb2f7945c414096fce8f' (2024-10-12)
2024-10-14 00:00:01 +00:00
clan-bot
4a687a00a2
Merge pull request 'clan-flash: --keymap option also sets xserver keymap now. renamed 'clan flash apply' to clan 'flash write'' ( #2244 ) from Qubasa/clan-core:Qubasa-main into main
2024-10-11 18:58:15 +00:00
Qubasa
02e148d2ea
clan-flash: --keymap option also sets xserver keymap now. renamed 'clan flash apply' to clan 'flash write'
2024-10-11 20:51:59 +02:00
clan-bot
42f4d8eff1
Merge pull request 'properly support verbatim ipv6 addresses' ( #2242 ) from ipv6-ftw into main
2024-10-10 16:06:06 +00:00
Jörg Thalheim
5b1070e7a7
use actual performance timer to measure how long a process takes
2024-10-10 17:59:56 +02:00
Jörg Thalheim
6122839f90
improve terminating processes on error
2024-10-10 17:59:26 +02:00
Jörg Thalheim
420958f19d
{vars,facts}/upload: fix ipv6 support
2024-10-10 17:03:32 +02:00
Jörg Thalheim
973aef72d3
properly support verbatim ipv6 addresses
2024-10-10 17:03:32 +02:00
clan-bot
1f15fbce9d
Merge pull request 'vars,facts: add sops.defaultGroups to new machines' ( #2241 ) from DavHau/clan-core:DavHau-dave into main
2024-10-10 12:36:42 +00:00
DavHau
29f70640ef
vars,facts: add sops.defaultGroups to new machines
...
Prior to this, when initializing new machines, only the current user had access to it's key which prevents other admin users to deploy this machine later
2024-10-10 19:31:03 +07:00
clan-bot
770414f866
Merge pull request 'vms run: disable waypipe on xorg by default' ( #2239 ) from DavHau/clan-core:DavHau-dave into main
2024-10-10 12:30:17 +00:00
DavHau
9cf055f1cc
vms run: disable waypipe on xorg by default
2024-10-10 17:06:38 +07:00
clan-bot
727852275f
Merge pull request 'Clan-app: use software rendering, simplify wrapper' ( #2238 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-09 18:18:24 +00:00
Johannes Kirschbauer
09240fa3df
Clan-app: use software rendering, simplify wrapper
2024-10-09 16:38:22 +02:00
Mic92
3275034448
Merge pull request 'remove renderClanOptions' ( #2237 ) from Mic92-cleanup-options into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2237
2024-10-09 13:14:03 +00:00
Jörg Thalheim
7a3b176a00
refactor evalClanModules to accept a module instead of a modulename
2024-10-09 14:48:43 +02:00
Jörg Thalheim
4ed264a8cb
use evalClanModules in get-module-docs
2024-10-09 14:48:41 +02:00
Jörg Thalheim
9fdb9a168b
remove renderClanOptions
...
we already evaluate those else where.
2024-10-09 13:57:01 +02:00
Jörg Thalheim
da56927968
eval-clan-modules: don't re-import nixpkgs
2024-10-09 13:48:32 +02:00
clan-bot
e6a1bcadf1
Merge pull request 'Inventory/schemas: move all schemas to legacyPackages.schemas' ( #2234 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-09 11:44:05 +00:00
Johannes Kirschbauer
2de5b83ed0
Schemas: fix clanModules eval
2024-10-09 13:38:19 +02:00
clan-bot
86fb0bee26
Merge pull request 'drop optionsNix and old json schema code' ( #2236 ) from Mic92-cleanup-options into main
2024-10-09 11:37:01 +00:00
Jörg Thalheim
67810c7a73
old json schema code
2024-10-09 13:30:50 +02:00
clan-bot
035bbe64bd
Merge pull request 'drop optionsNix' ( #2235 ) from cleanup-options into main
2024-10-09 11:28:03 +00:00
Johannes Kirschbauer
4e90ced9a8
Inventory: removed devshell input
2024-10-09 13:27:09 +02:00
Johannes Kirschbauer
08d26b9463
Inventory/schemas: move all schemas to legacyPackages
2024-10-09 13:27:09 +02:00
Johannes Kirschbauer
666f87e7e4
Inventory/schemas: use less schema versions
2024-10-09 13:27:09 +02:00
Jörg Thalheim
0ead8dd879
drop optionsNix
2024-10-09 13:22:06 +02:00
Mic92
4ef6a37540
Merge pull request 'import nixos-facter by default' ( #2178 ) from nixos-facter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2178
2024-10-09 10:43:17 +00:00
Jörg Thalheim
8ecaffcd8c
remove unused lib.trace from flake
2024-10-09 12:37:21 +02:00
Jörg Thalheim
f825fa4b9b
lib/inventory/tests: adapt imported module account
2024-10-09 12:32:04 +02:00
Jörg Thalheim
8de0c32086
build minimal template without settings.json
2024-10-09 12:26:17 +02:00
Jörg Thalheim
1ac8f6914d
drop old settings code
2024-10-09 12:16:00 +02:00
Jörg Thalheim
d537e1a91c
remove machine settings.json
2024-10-09 12:08:23 +02:00
Jörg Thalheim
6ed5c3dcae
pkgs/schema: no longer use deprecated variable
2024-10-09 12:08:23 +02:00
Jörg Thalheim
036918aae2
fix nixos machines without hostPlatform
2024-10-09 12:08:23 +02:00
Jörg Thalheim
349db434fc
test_vars_deployment: set hostPlatform depending on current system
2024-10-09 12:08:23 +02:00
Jörg Thalheim
c95371d583
test_modules: initialize minimal facter.json
2024-10-09 12:08:23 +02:00
Jörg Thalheim
9cdd55acf4
drop "system" argument from inventory
2024-10-09 12:07:58 +02:00
Jörg Thalheim
c620ee9d90
fixtures_flake: drop unused substitutions
2024-10-09 12:07:58 +02:00
Jörg Thalheim
4655199028
tests: set git author name + email via environment variables
2024-10-09 12:07:58 +02:00
Jörg Thalheim
0e8f168e1e
no longer write deprecated settings.json in tests
2024-10-09 12:02:10 +02:00
Jörg Thalheim
d2d72e28e8
re-use gpg key across tests
2024-10-09 11:56:41 +02:00
Jörg Thalheim
cfb8df33a1
fix missing hostPlatform in test_vars
2024-10-09 11:56:36 +02:00
Jörg Thalheim
098a43eff9
deprecate passing in system with nixosConfiguration
...
we have this information in both hardware-configuration.nix and factor,
so we don't want to pass this in from the outside.
2024-10-09 11:56:36 +02:00
Jörg Thalheim
808abdff0d
move nixos-facter imports to clanCore
2024-10-09 11:56:36 +02:00
Jörg Thalheim
a613e391f6
import nixos facter by default
2024-10-09 11:36:03 +02:00
clan-bot
dbb38b1773
Merge pull request 'Docs: improve module author guide code examples, code structuring' ( #2233 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-09 08:43:14 +00:00
Johannes Kirschbauer
0e5086c133
Docs: improve module author guide code examples, code structuring
2024-10-09 10:28:41 +02:00
clan-bot
d176b6a879
Merge pull request 'Docs: minor improvements' ( #2232 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-09 07:44:57 +00:00
Johannes Kirschbauer
3fe83eb9d8
Docs: minor improvements
2024-10-09 09:38:31 +02:00
Mic92
e3384adc90
Merge pull request 'Rework vm process handling' ( #2193 ) from fix-warning into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2193
2024-10-08 17:51:55 +00:00
Jörg Thalheim
7c97c3b5be
test_vars_deployment: fix test
2024-10-08 17:51:55 +00:00
Jörg Thalheim
adbdae449d
vms/run: make portmap a dict to fix serializer
2024-10-08 17:51:55 +00:00
Jörg Thalheim
1ed04fb51e
vms/run: better defaults for run api
2024-10-08 17:51:55 +00:00
Jörg Thalheim
cf3c67d830
expose the option to run commands in virtual machines
2024-10-08 17:51:55 +00:00
Jörg Thalheim
6cae6341c9
add a flag to start qemu non-interactive
2024-10-08 17:51:55 +00:00
Jörg Thalheim
318b46d4f6
test_flake_with_core: no longer auto shutdown vm
...
We can now execute commands to have a better interface for this.
2024-10-08 17:51:55 +00:00
Jörg Thalheim
c33b2b200a
vms/run: don't use deprecated clanCore option
2024-10-08 17:51:55 +00:00
Jörg Thalheim
2f7c3778d3
restore proper error printing
...
Error represenation should be part of the error and we should not repeat
formatting here.
if we are in debug mode also print the stack trace
2024-10-08 17:51:55 +00:00
Jörg Thalheim
b5b7fff9e3
Update facts/secrets for service openssh in machine test-backup
2024-10-08 17:51:55 +00:00
Jörg Thalheim
337be71083
Update facts/secrets for service borgbackup in machine test-backup
2024-10-08 17:51:55 +00:00
Jörg Thalheim
4a7ac7e25b
fix systemd-boot security warning for /boot
2024-10-08 17:51:55 +00:00
Jörg Thalheim
c3be54047f
switch from userborn to sysusers
...
fixes #2117
2024-10-08 17:51:55 +00:00
Jörg Thalheim
db11e7cb92
{vars,facts}/generate: ensure that args.flake is passed
2024-10-08 17:51:55 +00:00
Jörg Thalheim
b1b05485dd
introduce better vm management abstraction and use it in tests
2024-10-08 17:51:55 +00:00
Jörg Thalheim
0a568be528
pass in flakeid to vm_state_dir
2024-10-08 17:51:55 +00:00
Jörg Thalheim
725009d4a8
vm_config: deprecate a few fields
2024-10-08 17:51:55 +00:00
Jörg Thalheim
de4603a490
pytest: error on warning
2024-10-08 17:51:55 +00:00
Jörg Thalheim
887ef9b2c8
cmd/run: remove unnecessary wait
2024-10-08 17:51:55 +00:00
clan-bot
9f0cabf866
Merge pull request 'Inventory/schema: disable warning until fully migrated' ( #2231 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-08 17:38:23 +00:00
Johannes Kirschbauer
f9b7cd16d6
Inventory/schema: disable warning until fully migrated
2024-10-08 19:31:27 +02:00
clan-bot
8b49f47767
Merge pull request 'Docs: move disko config example into nix files' ( #2230 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-08 17:10:01 +00:00
Johannes Kirschbauer
2ba3222b51
Docs: move disko config example into nix files
2024-10-08 19:04:03 +02:00
clan-bot
915b544f15
Merge pull request 'Docs: init module author guide' ( #2229 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-08 12:28:04 +00:00
Johannes Kirschbauer
8fbaa3091a
Docs: init module author guide
2024-10-08 14:22:16 +02:00
clan-bot
0280cc4091
Merge pull request 'clanModules/localsend: add displayName functionality' ( #2228 ) from kenji/clan-core:kenji-clanModules/localsend/feat/add-displayName into main
2024-10-08 10:42:21 +00:00
a-kenji
3e71ac2719
clanModules/localsend: add displayName functionality
2024-10-08 12:36:15 +02:00
clan-bot
7b59a980da
Merge pull request 'Inventory/interface: add enable flag for service instances' ( #2227 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-08 10:31:06 +00:00
Johannes Kirschbauer
534e217020
Inventory/enabled: add eval test
2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
3d88c79fec
Inventory/enable: dont include disabled services
2024-10-08 12:24:57 +02:00
Johannes Kirschbauer
6eed3894b3
Inventory/interface: add enable flag for service instances
2024-10-08 12:24:57 +02:00
clan-bot
8111e05df4
Merge pull request 'Inventory/tests: add more eval smoke tests' ( #2226 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-08 10:12:09 +00:00
Johannes Kirschbauer
52b26f6cda
Inventory/tests: add more eval smoke tests
2024-10-08 12:06:03 +02:00
clan-bot
f7bef7c5ed
Merge pull request 'Init: inventory schema for role dependant interfaces' ( #2225 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-08 09:44:42 +00:00
Johannes Kirschbauer
184db43997
Init: inventory schema for role dependant interfaces
2024-10-08 11:38:15 +02:00
clan-bot
1a489d9608
Merge pull request 'clan-cli: Fix breakage if machines update' ( #2221 ) from Qubasa/clan-core:Qubasa-main into main
2024-10-08 01:45:00 +00:00
Qubasa
5c603ba525
clan-cli: Fix breakage if machines update
2024-10-08 03:38:46 +02:00
clan-bot
7ddaf7d554
Merge pull request 'clan-cli: Fix bug where --host-key-check is not applied to build-host' ( #2220 ) from Qubasa/clan-core:Qubasa-main into main
2024-10-08 01:09:02 +00:00
Qubasa
b05fd96c0c
clan-cli: Fix bug where --host-key-check is not applied to build-host
2024-10-08 03:03:13 +02:00
Luis Hebendanz
1090289416
Merge pull request 'clan-cli: Fix bug where --host-key-check is not applied everywhere' ( #2208 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2208
2024-10-08 00:25:15 +00:00
Qubasa
2838e468a6
clan-cli: Fix bug where --host-key-check is not applied everywhere
2024-10-08 00:25:15 +00:00
clan-bot
92240428f0
Merge pull request 'Fix: wrong path concat coercion' ( #2219 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-10-07 21:14:21 +00:00
hsjobeki
dd8e17b1e6
Merge pull request 'Init: eval clanmodule interface with roles' ( #2217 ) from hsjobeki/clan-core:hsjobeki-roles-interface into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2217
2024-10-07 21:08:28 +00:00
Johannes Kirschbauer
a414981089
Init: eval clanmodule interface with roles
2024-10-07 21:08:28 +00:00
Johannes Kirschbauer
1237071081
Fix: update tests and error message
2024-10-07 23:04:30 +02:00
Johannes Kirschbauer
cc0aa3d2a2
Fix: modules wrong path coercion
2024-10-07 22:47:49 +02:00
clan-bot
b1d88e5ac3
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-10-07T00:00+00:00' ( #2211 ) from flake-update-nixos-facter-modules-2024-10-07 into main
2024-10-07 00:57:48 +00:00
clan-bot
c09b2e5903
Merge pull request 'Automatic flake update - 2024-10-07T00:00+00:00' ( #2213 ) from flake-update-2024-10-07 into main
2024-10-07 00:48:57 +00:00
clan-bot
9f6cfd44da
Merge pull request 'Automatic flake update - treefmt-nix - 2024-10-07T00:00+00:00' ( #2216 ) from flake-update-treefmt-nix-2024-10-07 into main
2024-10-07 00:47:32 +00:00
clan-bot
f00997fc1b
Merge pull request 'Automatic flake update - sops-nix - 2024-10-07T00:00+00:00' ( #2215 ) from flake-update-sops-nix-2024-10-07 into main
2024-10-07 00:45:13 +00:00
clan-bot
c60bf9825f
Merge pull request 'Automatic flake update - nixos-images - 2024-10-07T00:00+00:00' ( #2212 ) from flake-update-nixos-images-2024-10-07 into main
2024-10-07 00:43:34 +00:00
clan-bot
f3783bc2b5
Merge pull request 'Automatic flake update - disko - 2024-10-07T00:00+00:00' ( #2209 ) from flake-update-disko-2024-10-07 into main
2024-10-07 00:39:29 +00:00
clan-bot
9d1114a05d
Merge pull request 'Automatic flake update - flake-parts - 2024-10-07T00:00+00:00' ( #2210 ) from flake-update-flake-parts-2024-10-07 into main
2024-10-07 00:39:16 +00:00
clan-bot
dbdcf42a54
Merge pull request 'Automatic flake update - nixpkgs - 2024-10-07T00:00+00:00' ( #2214 ) from flake-update-nixpkgs-2024-10-07 into main
2024-10-07 00:39:15 +00:00
Clan Merge Bot
017d0da9a4
update flake lock - treefmt-nix - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
→ 'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64' (2024-10-03)
2024-10-07 00:00:33 +00:00
Clan Merge Bot
6f7456e0b6
update flake lock - sops-nix - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803' (2024-09-27)
→ 'github:Mic92/sops-nix/2750ed784e93e745a33fb55be7c2657adfb57c00' (2024-10-06)
2024-10-07 00:00:31 +00:00
Clan Merge Bot
bad9d27134
update flake lock - nixpkgs - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d' (2024-09-29)
→ 'github:NixOS/nixpkgs/50b3bd3fed0442bcbf7f58355e990da84af1749d' (2024-10-06)
2024-10-07 00:00:29 +00:00
Clan Merge Bot
79b6595c5f
update flake lock - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959' (2024-09-28)
→ 'github:nix-community/disko/48ebb577855fb2398653f033b3b2208a9249203d' (2024-10-05)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a' (2024-09-12)
→ 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965' (2024-09-29)
→ 'github:numtide/nixos-facter-modules/ec6ef7d5495bb5db1b6991791625eb22d108e954' (2024-09-30)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/acd37edb645a00b051f2ac88e02a2eb0ed459db6' (2024-09-26)
→ 'github:nix-community/nixos-images/c6d733b5cb6c07b5650298d3d6b685dc5dece7f8' (2024-10-03)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d' (2024-09-29)
→ 'github:NixOS/nixpkgs/50b3bd3fed0442bcbf7f58355e990da84af1749d' (2024-10-06)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803' (2024-09-27)
→ 'github:Mic92/sops-nix/2750ed784e93e745a33fb55be7c2657adfb57c00' (2024-10-06)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
→ 'github:numtide/treefmt-nix/4446c7a6fc0775df028c5a3f6727945ba8400e64' (2024-10-03)
2024-10-07 00:00:25 +00:00
Clan Merge Bot
a7943f4341
update flake lock - nixos-images - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/acd37edb645a00b051f2ac88e02a2eb0ed459db6' (2024-09-26)
→ 'github:nix-community/nixos-images/c6d733b5cb6c07b5650298d3d6b685dc5dece7f8' (2024-10-03)
2024-10-07 00:00:08 +00:00
Clan Merge Bot
cfc1568f62
update flake lock - nixos-facter-modules - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965' (2024-09-29)
→ 'github:numtide/nixos-facter-modules/ec6ef7d5495bb5db1b6991791625eb22d108e954' (2024-09-30)
2024-10-07 00:00:05 +00:00
Clan Merge Bot
7a8b285d2c
update flake lock - flake-parts - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a' (2024-09-12)
→ 'github:hercules-ci/flake-parts/3d04084d54bedc3d6b8b736c70ef449225c361b1' (2024-10-01)
2024-10-07 00:00:03 +00:00
Clan Merge Bot
c48718990c
update flake lock - disko - 2024-10-07T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959' (2024-09-28)
→ 'github:nix-community/disko/48ebb577855fb2398653f033b3b2208a9249203d' (2024-10-05)
2024-10-07 00:00:01 +00:00
clan-bot
f65f94556b
Merge pull request 'clan-cli: Improve CmdOut output' ( #2207 ) from Qubasa/clan-core:Qubasa-main into main
2024-10-06 23:44:12 +00:00
Qubasa
a80d7cc3f0
clan-cli: Improve CmdOut output
2024-10-07 01:36:40 +02:00
clan-bot
c4506d47d7
Merge pull request 'clan-cli: Add --host-key-check to machine update' ( #2206 ) from Qubasa/clan-core:Qubasa-main into main
2024-10-05 21:40:03 +00:00
Qubasa
99c5bd2b50
clan-cli: Add --host-key-check to machine update
2024-10-05 23:33:44 +02:00
clan-bot
1e6bc9cfd3
Merge pull request 'clan-cli: Fix bug where --target_host is getting ignored' ( #2205 ) from Qubasa/clan-core:Qubasa-main into main
2024-10-05 16:59:17 +00:00
Qubasa
5967bb347c
clan-cli: Fix bug where --target_host is getting ignored
2024-10-05 18:51:44 +02:00
Mic92
9530d6aee7
Merge pull request 'vars/keygen: adapt to new sops api' ( #2204 ) from gpg-take-2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2204
2024-10-04 16:36:35 +00:00
Jörg Thalheim
558fa436e8
vars/keygen: adept to new sops api
2024-10-04 16:36:35 +00:00
Jörg Thalheim
1666513e91
Revert "Merge pull request 'Revert "Merge pull request 'clan-cli: secrets: Add support for PGP keys with sops-nix' ( #2186 ) from lopter/clan-core:lo-sops-nix-pgp-support into main"' ( #2202 ) from revert into main"
...
This reverts commit a5496e8db0 , reversing
changes made to 9bb1aef245 .
2024-10-04 16:36:35 +00:00
clan-bot
3d3324155b
Merge pull request 'Revert "vars: refactor - copy logic to sops secret module"' ( #2203 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-04 16:27:24 +00:00
DavHau
8f16cf0282
Revert "vars: refactor - copy logic to sops secret module"
...
This reverts commit ae53ea7399 .
2024-10-04 18:20:53 +02:00
Mic92
a5496e8db0
Merge pull request 'Revert "Merge pull request 'clan-cli: secrets: Add support for PGP keys with sops-nix' ( #2186 ) from lopter/clan-core:lo-sops-nix-pgp-support into main"' ( #2202 ) from revert into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2202
2024-10-04 16:12:27 +00:00
Jörg Thalheim
084ebf9edc
Revert "Merge pull request 'clan-cli: secrets: Add support for PGP keys with sops-nix' ( #2186 ) from lopter/clan-core:lo-sops-nix-pgp-support into main"
...
This reverts commit 5668fd05a0 , reversing
changes made to dd17fbdc6d .
Reverting for now as Dave's recent change conflicts with this change.
2024-10-04 17:54:29 +02:00
Mic92
9bb1aef245
Merge pull request 'iwd: add AutoConnect option' ( #2194 ) from nim65s/clan-core:autoconnect into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2194
2024-10-04 15:39:13 +00:00
Guilhem Saurel
5046bfef10
iwd: add AutoConnect option
2024-10-04 15:39:13 +00:00
Mic92
5668fd05a0
Merge pull request 'clan-cli: secrets: Add support for PGP keys with sops-nix' ( #2186 ) from lopter/clan-core:lo-sops-nix-pgp-support into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2186
2024-10-04 15:36:30 +00:00
Louis Opter
81f162d4e6
Update tests for clan secrets
2024-10-04 15:36:30 +00:00
Louis Opter
ab46e3c1e2
Improvements for clan secrets key generate.
...
I am not sure to understand what `extract_public_key` was for. It seems
like `age-keygen -y` will just work fine for a file like
`extract_public_key` is looking for. Unless someone intentionally made a
file with a comment like that without the private key in it.
Messages are moved to stdout rather being logged. It feels like the
output is meaningful in the first step users are going to take. Also
makes testing easier, as log messages are captured differently than
stdout. The call to add an user is changed to be easier to copy paste
and work whether PGP or age is in use.
A description for the command is added instead of help which does not
seem to be displayed.
2024-10-04 15:36:30 +00:00
Louis Opter
611d8b40f3
Make clan_cli.secrets.sops.SopsKey immutable and remove its __eq__ method
...
Immutability seems sensible for this type.
There is some ambiguity on how to compare keys, in particular when `user.name == ""`, but the rest matches.
2024-10-04 15:36:30 +00:00
Louis Opter
69b9f1ae23
fix: clan secrets user get dump the user identity correctly
2024-10-04 15:36:30 +00:00
Louis Opter
cf492b15aa
Fix key dump in clan secrets key show
...
```
In [4]: str(Type.AGE)
Out[4]: Type.AGE
In [5]: Type.AGE.name.lower()
Out[5]: age
```
2024-10-04 15:36:30 +00:00
Jörg Thalheim
5d87bc2435
secrets/show: pretty print json
2024-10-04 15:36:30 +00:00
Jörg Thalheim
105e6bd86a
secrets: replace Key, key type tuple with SopsKey class
2024-10-04 15:36:30 +00:00
Jörg Thalheim
160fe82576
fix serialisation of SopsKey type
2024-10-04 15:36:30 +00:00
Jörg Thalheim
9c25b4d61c
error if we cannot load a dataclass from file
2024-10-04 15:36:30 +00:00
Jörg Thalheim
ca4ff0611c
default key type to age and rename to age-key/pgp-key
2024-10-04 15:36:30 +00:00
Jörg Thalheim
4cd4334b1c
secrets: do not shadow python builtins
2024-10-04 15:36:30 +00:00
Louis Opter
d18c0fa3ae
Fix: do not assume users use age keys in vars/sops
...
With added support for PGP for users keys, do not assume an age key is
going to be present in secrets files.
2024-10-04 15:36:30 +00:00
Louis Opter
b2e796145a
Fix: use new sops api in clan secrets machines
2024-10-04 15:36:30 +00:00
Louis Opter
7a673ea95f
Draft: clan-cli: secrets: Add support for PGP keys with sops-nix
...
To use a PGP key instead of an age key you can set `SOPS_PGP_FP`. (You
can use `gpg -k --fingerprint --fingerprint` to get your PGP encryption
key fingerprint, remove spaces from it).
The internal manifest file already supported a type field, and so I built
from there.
With those changes, I was able to add my PGP key, and update all my
secrets with it, instead of the age key originally generated:
```
% clan secrets key show | jq
{
"key": "ADB6276965590A096004F6D1E114CBAE8FA29165",
"type": "pgp"
}
% clan secrets key update
% for s in $(clan secrets list) ; do clan secrets users add-secret kal-pgp-from-2022-12-to-2024-12 "$s"; done
% for s in $(clan secrets list) ; do clan secrets users remove-secret --debug kal "$s" ; done
```
2024-10-04 15:36:30 +00:00
clan-bot
dd17fbdc6d
Merge pull request 'vars/keygen: fix + cleanup tests' ( #2201 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-04 15:32:31 +00:00
DavHau
11c37ebeba
vars/keygen: fix + cleanup tests
...
- generate keys in ./sops instead of ./sops/vars for now
- don't initialize all flakes with sops keys, only generate when needed
- use the new 'clan vars keygen' in tests
2024-10-04 17:25:17 +02:00
clan-bot
73daa2ecc1
Merge pull request 'vars: add 'clan vars keygen'' ( #2200 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-04 14:21:10 +00:00
DavHau
2a9ced1e26
vars: add 'clan vars keygen'
2024-10-04 16:13:49 +02:00
clan-bot
023ee42152
Merge pull request 'vars: refactor - copy logic to sops secret module' ( #2199 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-04 12:40:55 +00:00
clan-bot
12ac73ba4f
Merge pull request 'Interfaces: unclutter meta interface, file conflict position tracking' ( #2198 ) from hsjobeki/clan-core:hsjobeki-roles-interface into main
2024-10-04 12:38:53 +00:00
DavHau
ae53ea7399
vars: refactor - copy logic to sops secret module
...
This is in preparation for moving the storage away from ./sops to ./vars/sops
2024-10-04 14:31:22 +02:00
Johannes Kirschbauer
f169b1bcd1
Meta.name: not nullable, since deduped
2024-10-04 14:30:50 +02:00
Johannes Kirschbauer
68a571f858
Interfaces: unclutter meta interface, file conflict position tracking
2024-10-04 13:48:11 +02:00
Luis Hebendanz
92107e88d2
Merge pull request 'clanModules: Fix disk-id and machine-id' ( #2196 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2196
2024-10-03 13:43:06 +00:00
Qubasa
7ac1e4e99a
clanModules: Fix disk-id and machine-id
2024-10-03 15:42:56 +02:00
Luis Hebendanz
2315050244
Merge pull request 'clanModules: Fix disk-id and machine-id' ( #2195 ) from Qubasa/clan-core:Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2195
2024-10-03 13:40:37 +00:00
Qubasa
219636e67f
clanModules: Fix disk-id and machine-id
2024-10-03 15:40:14 +02:00
clan-bot
17dfeb38bf
Merge pull request 'sops: refactor some function names for clarity' ( #2171 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-10-02 12:03:37 +00:00
DavHau
4a0207f0b3
sops: refactor some function names for clarity
2024-10-02 13:56:43 +02:00
hsjobeki
3e0d1d21f5
Merge pull request 'Inventory: improve role imports' ( #2189 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2189
2024-10-02 09:08:36 +00:00
Johannes Kirschbauer
db2882dba5
Inventory/interface: optional instances, allow to use modules without inventory
2024-10-02 11:01:06 +02:00
Johannes Kirschbauer
f0eed06cd5
Inventory/tests: don't expect the default.nix to be imported anymore
2024-10-02 10:49:06 +02:00
Johannes Kirschbauer
c318529df6
Fix: Admin module relative dependency
2024-10-02 10:36:48 +02:00
Johannes Kirschbauer
f417a5bc0d
Inventory/borgbackup: fixup structure
2024-10-02 10:01:45 +02:00
Johannes Kirschbauer
978c3c21d4
Inventory/modules: use explicit roles only
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
7eaa2abe95
Inventory/test: add borgbackup to inventory test machine
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
536ae8701d
Inventory/docs: display explizit roles only
2024-10-02 10:01:44 +02:00
Johannes Kirschbauer
40f0e98b26
Inventory: improve role imports
2024-10-02 10:01:44 +02:00
clan-bot
a64da9e101
Merge pull request 'Fix leaks in vm tests' ( #2192 ) from fix-warning into main
2024-10-02 06:42:45 +00:00
Jörg Thalheim
ca8f36201b
test superflous test_vm_qmp
...
we already have other tests covering this and VMs + NixOS are slow
2024-10-01 20:57:07 +02:00
Jörg Thalheim
27b1aeb827
add temp_dir fixture
2024-10-01 20:54:19 +02:00
Jörg Thalheim
4826582547
add more custom prefixes for temporary directories
2024-10-01 20:54:19 +02:00
Jörg Thalheim
196f78d2da
abort tests on python warning
2024-10-01 20:54:19 +02:00
Jörg Thalheim
8b205c78bf
fix resource leaks in qmp tests
2024-10-01 20:54:19 +02:00
clan-bot
2f38955066
Merge pull request 'fix resource leaks' ( #2191 ) from fix-warning into main
2024-10-01 18:03:58 +00:00
Jörg Thalheim
4207aef029
don't leak memory in global table unless we want to record performance
2024-10-01 19:32:00 +02:00
Jörg Thalheim
13aed0792e
fix file descriptor leak in cmd.run()
...
we were leaking pipes.
2024-10-01 19:27:47 +02:00
clan-bot
a57f409224
Merge pull request 'generate: don't set type=bool in argparse.BooleanOptionalAction' ( #2190 ) from fix-warning into main
2024-10-01 17:04:49 +00:00
Jörg Thalheim
f9a42831e4
start to name temporary directories in more places
2024-10-01 18:57:59 +02:00
Jörg Thalheim
a5e18fda08
generate: don't set type=bool in argparse.BooleanOptionalAction
2024-10-01 18:48:54 +02:00
clan-bot
0f0f056ecc
Merge pull request 'docs: improve flake-parts reference' ( #2187 ) from hsjobeki/clan-core:hsjobeki-roles-interface into main
2024-10-01 09:28:13 +00:00
Johannes Kirschbauer
47b9a1cb7f
docs: improve flake-parts reference
2024-10-01 11:21:30 +02:00
clan-bot
5511fefdca
Merge pull request 'Automatic flake update - treefmt-nix - 2024-09-30T00:00+00:00' ( #2185 ) from flake-update-treefmt-nix-2024-09-30 into main
2024-09-30 00:43:42 +00:00
clan-bot
7eff217826
Merge pull request 'Automatic flake update - sops-nix - 2024-09-30T00:00+00:00' ( #2184 ) from flake-update-sops-nix-2024-09-30 into main
2024-09-30 00:37:38 +00:00
clan-bot
d114606525
Merge pull request 'Automatic flake update - nixos-images - 2024-09-30T00:00+00:00' ( #2181 ) from flake-update-nixos-images-2024-09-30 into main
2024-09-30 00:37:24 +00:00
clan-bot
71ee2475b9
Merge pull request 'Automatic flake update - disko - 2024-09-30T00:00+00:00' ( #2179 ) from flake-update-disko-2024-09-30 into main
2024-09-30 00:35:17 +00:00
clan-bot
ca49b94597
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-09-30T00:00+00:00' ( #2180 ) from flake-update-nixos-facter-modules-2024-09-30 into main
2024-09-30 00:35:16 +00:00
clan-bot
930f84ab66
Merge pull request 'Automatic flake update - 2024-09-30T00:00+00:00' ( #2182 ) from flake-update-2024-09-30 into main
2024-09-30 00:35:03 +00:00
clan-bot
4106f826b6
Merge pull request 'Automatic flake update - nixpkgs - 2024-09-30T00:00+00:00' ( #2183 ) from flake-update-nixpkgs-2024-09-30 into main
2024-09-30 00:35:03 +00:00
Clan Merge Bot
be6c5ac5b4
update flake lock - treefmt-nix - 2024-09-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/35dfece10c642eb52928a48bee7ac06a59f93e9a' (2024-09-23)
→ 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
2024-09-30 00:00:43 +00:00
Clan Merge Bot
5fbd77c8b7
update flake lock - sops-nix - 2024-09-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8' (2024-09-16)
→ 'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803' (2024-09-27)
2024-09-30 00:00:40 +00:00
Clan Merge Bot
1df516bfdb
update flake lock - nixpkgs - 2024-09-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/568bfef547c14ca438c56a0bece08b8bb2b71a9c' (2024-09-23)
→ 'github:NixOS/nixpkgs/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d' (2024-09-29)
2024-09-30 00:00:38 +00:00
Clan Merge Bot
1ac083b1c0
update flake lock - 2024-09-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/c61e50b63ad50dda5797b1593ad7771be496efbb' (2024-09-24)
→ 'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959' (2024-09-28)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa' (2024-09-20)
→ 'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965' (2024-09-29)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/1420644027326490d330828b941a8e612b9cc130' (2024-09-23)
→ 'github:nix-community/nixos-images/acd37edb645a00b051f2ac88e02a2eb0ed459db6' (2024-09-26)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/568bfef547c14ca438c56a0bece08b8bb2b71a9c' (2024-09-23)
→ 'github:NixOS/nixpkgs/7eee17a8a5868ecf596bbb8c8beb527253ea8f4d' (2024-09-29)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8' (2024-09-16)
→ 'github:Mic92/sops-nix/127a96f49ddc377be6ba76964411bab11ae27803' (2024-09-27)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/35dfece10c642eb52928a48bee7ac06a59f93e9a' (2024-09-23)
→ 'github:numtide/treefmt-nix/879b29ae9a0378904fbbefe0dadaed43c8905754' (2024-09-27)
2024-09-30 00:00:32 +00:00
Clan Merge Bot
a8c74da73a
update flake lock - nixos-images - 2024-09-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/1420644027326490d330828b941a8e612b9cc130' (2024-09-23)
→ 'github:nix-community/nixos-images/acd37edb645a00b051f2ac88e02a2eb0ed459db6' (2024-09-26)
2024-09-30 00:00:06 +00:00
Clan Merge Bot
45f41494d3
update flake lock - nixos-facter-modules - 2024-09-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa' (2024-09-20)
→ 'github:numtide/nixos-facter-modules/e1ac6a83a5733788833fdff12aa074b5bdfdc965' (2024-09-29)
2024-09-30 00:00:05 +00:00
Clan Merge Bot
bceba4f1a0
update flake lock - disko - 2024-09-30T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/c61e50b63ad50dda5797b1593ad7771be496efbb' (2024-09-24)
→ 'github:nix-community/disko/b709e1cc33fcde71c7db43850a55ebe6449d0959' (2024-09-28)
2024-09-30 00:00:01 +00:00
Mic92
c0eadd8e98
Merge pull request 'clan-cli: update outdated help messages, and fix a typo' ( #2177 ) from lopter/clan-core:lo-fix-typos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2177
2024-09-29 15:52:58 +00:00
Louis Opter
3f2bb2b958
Update outdated help messages and fix a typo
2024-09-29 15:52:58 +00:00
clan-bot
84af7deb43
Merge pull request 'expose nixos-facter in cli' ( #2172 ) from nixos-facter into main
2024-09-29 15:07:37 +00:00
Jörg Thalheim
5f4bf819df
add nixos-facter to nixos installation test
2024-09-29 16:59:02 +02:00
Jörg Thalheim
62af2bab55
fix broken eval check when nixpkgs.pkgs nixos option is used
2024-09-29 16:59:02 +02:00
Jörg Thalheim
9cf2bd4f6e
make default hardware report commit message nicer
2024-09-29 16:59:02 +02:00
Jörg Thalheim
bf7246104d
allow to overwrite hardware configuration
...
now that we call it "update" hardware configurration and we are heading
towards facter anyway, we don't need all the force overide logic. Just
allow this to be overwritten by default.
2024-09-29 16:59:02 +02:00
Jörg Thalheim
b4652539a5
wrap hardware generate arguments into an object
2024-09-29 16:59:02 +02:00
Jörg Thalheim
7816a3e639
don't expose polymorphic api
2024-09-29 16:21:53 +02:00
Jörg Thalheim
372a5f3907
remove unused location from ClanError
2024-09-29 16:21:53 +02:00
Jörg Thalheim
1940880dcb
put error description in same line as error for cli
2024-09-29 16:21:53 +02:00
Jörg Thalheim
1e11cd79c4
if error doesn't have a message set, print a stack trace
2024-09-29 16:21:53 +02:00
Jörg Thalheim
84383a4a48
if command fails, print command and exit code, regardless if error message is set
2024-09-29 16:21:53 +02:00
Jörg Thalheim
07e031f256
expose nixos-facter in cli
2024-09-29 16:21:53 +02:00
clan-bot
1497bbccbf
Merge pull request 'clanModules/mumble: remove default user' ( #2175 ) from kenji/clan-core:kenji-clanModules/mumble/remove-default-user into main
2024-09-26 17:47:51 +00:00
a-kenji
14d5ee8b8a
clanModules/mumble: remove default user
2024-09-26 19:41:30 +02:00
clan-bot
09c5850ae3
Merge pull request 'clanModules/murmur: improve secret loading logic' ( #2174 ) from kenji/clan-core:kenji-mumble-improvements into main
2024-09-26 14:45:00 +00:00
a-kenji
4f4777389b
clanModules/murmur: improve secret loading logic
2024-09-26 16:38:18 +02:00
clan-bot
1341bfca95
Merge pull request 'localsend: Add necessary option ipv4Addr' ( #2173 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-26 13:28:24 +00:00
Qubasa
96bc797369
localsend: Add necessary option ipv4Addr
2024-09-26 15:22:05 +02:00
clan-bot
da0713e11d
Merge pull request 'Docs: authorizedKeys is a list, small fixups' ( #2169 ) from hsjobeki/clan-core:hsjobeki-docs/inventory into main
2024-09-25 12:48:36 +00:00
Johannes Kirschbauer
026481f9d7
Docs: harmonize titles
2024-09-25 14:06:55 +02:00
Johannes Kirschbauer
579d24a828
Docs: authorizedKeys is a list
2024-09-25 14:06:55 +02:00
clan-bot
7b59657e10
Merge pull request 'Docs: refactor general structure' ( #2168 ) from hsjobeki/clan-core:hsjobeki-docs/inventory into main
2024-09-25 11:52:34 +00:00
Johannes Kirschbauer
a67fb750cf
Docs: fixup links
2024-09-25 13:46:12 +02:00
Johannes Kirschbauer
aa30b17201
Docs: autogenerate inventory & buildClan model
2024-09-25 13:38:10 +02:00
Johannes Kirschbauer
60ddd3369e
Docs: restructure apply diataxis
2024-09-25 13:37:35 +02:00
Johannes Kirschbauer
f40393f82a
Docs/inventory: add documentation for inventory attributes
2024-09-25 13:36:33 +02:00
Johannes Kirschbauer
79b20cf3d9
Docs/buildClan: add documentation descriptions
2024-09-25 13:33:46 +02:00
clan-bot
b481cca17b
Merge pull request 'clan flash: Remove root requirement for flash, add a flash-template' ( #2165 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-24 11:48:57 +00:00
Qubasa
945c491d05
clan flash: Remove root requirement for flash, add a flash-template
2024-09-24 13:42:21 +02:00
clan-bot
2d9d18eb43
Merge pull request 'add nixos-facter to flash installer' ( #2149 ) from flash-installer into main
2024-09-24 10:59:27 +00:00
Jörg Thalheim
a4a62211df
matrix-synapse: fix race condition
2024-09-24 12:52:53 +02:00
Jörg Thalheim
31144c88e8
container driver: add wait_until_succeeds
2024-09-24 12:52:53 +02:00
Jörg Thalheim
17dbf07be7
fix zfs latest again
2024-09-24 12:52:53 +02:00
Jörg Thalheim
858631a30e
bump flakes
2024-09-24 12:52:53 +02:00
Jörg Thalheim
6fef7c9aa7
fix container test after systemd update
2024-09-24 12:52:53 +02:00
Jörg Thalheim
cd67a5dc53
docs: renaming "Include Machines" to "Adding Machines"
2024-09-24 12:52:53 +02:00
Jörg Thalheim
d0ed48284b
use packaged nixos-facter in generate_hardware_info
2024-09-24 11:38:33 +02:00
Jörg Thalheim
2b1ab136c7
add nixos-facter to flash installer
2024-09-24 11:38:33 +02:00
clan-bot
d387757611
Merge pull request 'clan-cli: Move clan machines import to clan machines create' ( #2163 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-23 15:18:21 +00:00
Qubasa
a27880a65e
clan-cli: Move clan machines import to clan machines create
2024-09-23 17:11:48 +02:00
clan-bot
e1196737f2
Merge pull request 'Automatic flake update - nixos-images - 2024-09-23T00:00+00:00' ( #2158 ) from flake-update-nixos-images-2024-09-23 into main
2024-09-23 00:46:29 +00:00
clan-bot
94b88db203
Merge pull request 'Automatic flake update - treefmt-nix - 2024-09-23T00:00+00:00' ( #2162 ) from flake-update-treefmt-nix-2024-09-23 into main
2024-09-23 00:37:02 +00:00
clan-bot
dddf71daf5
Merge pull request 'Automatic flake update - sops-nix - 2024-09-23T00:00+00:00' ( #2161 ) from flake-update-sops-nix-2024-09-23 into main
2024-09-23 00:33:42 +00:00
clan-bot
16045ba487
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-09-23T00:00+00:00' ( #2157 ) from flake-update-nixos-facter-modules-2024-09-23 into main
2024-09-23 00:27:35 +00:00
Clan Merge Bot
a5ee4430da
update flake lock - treefmt-nix - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
→ 'github:numtide/treefmt-nix/ee41a466c2255a3abe6bc50fc6be927cdee57a9f' (2024-09-19)
2024-09-23 00:00:43 +00:00
Clan Merge Bot
3a89e7d8d7
update flake lock - sops-nix - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/f30b1bac192e2dc252107ac8a59a03ad25e1b96e' (2024-09-13)
→ 'github:Mic92/sops-nix/e2d404a7ea599a013189aa42947f66cede0645c8' (2024-09-16)
2024-09-23 00:00:40 +00:00
Clan Merge Bot
95ac28bb79
update flake lock - nixos-images - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/51c98a9f328e7aad81d8aa048f38e4e5c86d3389' (2024-09-07)
→ 'github:nix-community/nixos-images/776ee2484dcf6c8a667b1b918981493ee976dba9' (2024-09-22)
2024-09-23 00:00:04 +00:00
Clan Merge Bot
2b33000ce7
update flake lock - nixos-facter-modules - 2024-09-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/d78cd60464df85279cbdddaba0e3d8d8ee6ab00c' (2024-09-13)
→ 'github:numtide/nixos-facter-modules/6eb13404bbe40b9a5ef9984792b27933658571fa' (2024-09-20)
2024-09-23 00:00:02 +00:00
clan-bot
36ac9ef31a
Merge pull request 'Docs: add top-level index, refactor according to diataxis' ( #2156 ) from hsjobeki/clan-core:hsjobeki-docs/inventory into main
2024-09-22 16:58:35 +00:00
Johannes Kirschbauer
37435acd79
Docs: fix flake-parts nav entry
2024-09-22 18:52:22 +02:00
Johannes Kirschbauer
30711a3d6d
Docs: clarify inventory statement
2024-09-22 18:46:39 +02:00
Johannes Kirschbauer
55526b1fdb
Docs: add top-level index, refactor according to diataxis
2024-09-22 18:39:13 +02:00
Mic92
350ed0b1fe
Merge pull request 'f2fs: enable compression' ( #2152 ) from f2fs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2152
2024-09-20 15:52:11 +00:00
Jörg Thalheim
450afb883a
f2fs: enable compression
2024-09-20 15:52:11 +00:00
clan-bot
5dc01b6213
Merge pull request 'docs: Rename guides to manual, Rename reference to options, add secure boot chapter to manual. Add secrets chapter to manual.' ( #2154 ) from Qubasa/clan-core:main into main
2024-09-20 14:59:42 +00:00
Qubasa
036cd710e1
docs: Rename guides to manual, Rename reference to options, add secure boot chapter to manual. Add secrets chapter to manual.
2024-09-20 16:52:52 +02:00
clan-bot
2f50ccc77f
Merge pull request 'vars/sops: improve shared secrets, switching backend' ( #2151 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-09-20 13:18:01 +00:00
DavHau
e49d1f0127
vars/sops: improve shared secrets, switching backend
...
When a second machine checks for a shared secret, now the exists() call returns negative and only when updating the secrets for that machine, the machine is added to the sops receivers.
Also throw proper errors when the user switches backends without cleaning the files first.
2024-09-20 15:06:54 +02:00
Mic92
77ac85df57
Merge pull request 'rename hw-generate to update-hardware-config' ( #2150 ) from rename-update-hardware-command into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2150
2024-09-20 12:13:39 +00:00
Jörg Thalheim
8a8b473236
rename hw-generate to update-hardware-config
2024-09-20 13:42:18 +02:00
clan-bot
8e1734345b
Merge pull request 'vars: implement migration' ( #2148 ) from DavHau/clan-core:DavHau-vars-migration into main
2024-09-19 16:04:39 +00:00
DavHau
0a8b7f38a8
vars: implement migration
...
Migrating generated files from the facts subsystem to the vars subsystem is now possible.
HowTo:
1. declare `clan.core.vars.generators.<generator>.migrateFact = my_service` where `my_service` refers to a service from `clan.core.facts.services`
2. run `clan vers generate your_machine` or `clan machines update your_machine`
Vars will only be migrated for a generator if:
1. The facts service specified via `migrateFact` does exist
2. None of the vars to generate exist yet
3. All public var names exist in the public facts store
4. All secret var names exist in the secret fact store
If the migration is deemed possible, the generator script will not be executed. Instead the files from the public or secret facts store are read and stored into the corresponding vars store
2024-09-19 17:57:03 +02:00
clan-bot
733c44b7b6
Merge pull request 'vars/generate: improve output when vars are updated' ( #2147 ) from DavHau/clan-core:DavHau-dave into main
2024-09-18 15:03:09 +00:00
DavHau
01c833f2bc
vars/generate: improve output when vars are updated
...
fixes #2076
- print old and new value if possible
- also inform the user if something hasn't changed
2024-09-18 16:57:01 +02:00
clan-bot
1f07469923
Merge pull request 'clanModules/state-version: use default of vars' ( #2146 ) from kenji/clan-core:kenji-modules/state-version into main
2024-09-18 12:16:34 +00:00
a-kenji
763554cf8a
clanModules/state-version: use default of vars
2024-09-18 14:07:30 +02:00
clan-bot
55cfea9285
Merge pull request 'Inventory: docs fixup' ( #2145 ) from hsjobeki/clan-core:hsjobeki-docs/inventory into main
2024-09-18 06:39:17 +00:00
clan-bot
11df6bb019
Merge pull request 'Inventory: fixup imports to extraModules' ( #2141 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-18 06:35:06 +00:00
Johannes Kirschbauer
9a24b1ee16
Inventory: docs fixup
2024-09-18 08:31:00 +02:00
Johannes Kirschbauer
9bee82d21e
Inventory: fixup imports to extraModules
2024-09-18 08:27:39 +02:00
clan-bot
c3d2e4a424
Merge pull request 'vars: allow setting a default for values' ( #2144 ) from DavHau/clan-core:DavHau-dave into main
2024-09-17 19:17:34 +00:00
DavHau
6fc27d402b
vars: allow setting a default for values
2024-09-17 21:11:38 +02:00
clan-bot
8cbbeca49e
Merge pull request 'vars: generate vars for clan install' ( #2143 ) from DavHau/clan-core:DavHau-dave into main
2024-09-17 18:47:56 +00:00
DavHau
4ce3cf16bb
vars: generate vars for clan install
...
fixes #2087
2024-09-17 20:41:39 +02:00
clan-bot
8b229522e6
Merge pull request 'vars: generate proper commit messages' ( #2142 ) from DavHau/clan-core:DavHau-dave into main
2024-09-17 18:29:00 +00:00
DavHau
bd79e6aef6
vars: generate proper commit messages
...
fixes #2126
2024-09-17 20:22:18 +02:00
clan-bot
6d18d9d4ae
Merge pull request 'docs/guides: add getting started guide to guides overview' ( #2140 ) from kenji/clan-core:kenji-update/guide into main
2024-09-16 21:35:17 +00:00
a-kenji
7cdbe83bc6
docs/guides: add getting started guide to guides overview
2024-09-16 23:21:02 +02:00
clan-bot
ba8e46fe7a
Merge pull request 'Inventory: docs improvements' ( #2132 ) from hsjobeki/clan-core:hsjobeki-inventory-docs into main
2024-09-16 20:58:28 +00:00
Johannes Kirschbauer
3721fc4340
Inventory: fix doc typo
2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
d4123a14d2
Inventory: fix eval tests
2024-09-16 22:52:40 +02:00
Johannes Kirschbauer
72f79dee37
Inventory: docs improvements
2024-09-16 22:52:40 +02:00
kenji
8ccc695b92
Merge pull request 'docs: update readme for irc bridge' ( #2138 ) from kenji/clan-core:readme/update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2138
2024-09-16 20:44:15 +00:00
a-kenji
fc9d5c1e51
docs: update readme for irc bridge
2024-09-16 20:44:15 +00:00
clan-bot
c55fa1b222
Merge pull request 'config: remove gitmodules file' ( #2136 ) from kenji/clan-core:kenji-config/rm/gitmodules into main
2024-09-16 20:17:39 +00:00
a-kenji
5b37f8feec
config: remove gitmodules file
2024-09-16 22:10:13 +02:00
clan-bot
04d0c0b0c1
Merge pull request 'vars/tests: fix nix eval triggering git concurrent access' ( #2135 ) from DavHau/clan-core:DavHau-dave into main
2024-09-16 17:34:25 +00:00
DavHau
51bf3187d7
vars/tests: fix nix eval triggering git concurrent access
...
Prevents this error: Another git process seems to be running in this repository
2024-09-16 18:58:22 +02:00
clan-bot
1695c571b9
Merge pull request 'clan-cli: Init clan machines import' ( #2134 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-16 16:21:19 +00:00
Qubasa
e9bfb129a1
clan-cli: Init clan machines import
2024-09-16 18:15:55 +02:00
clan-bot
4254cf8ed0
Merge pull request 'templates: don't explicitly import hardware-configurations' ( #2133 ) from kenji/clan-core:kenji-templates/modernize/new-clan into main
2024-09-16 15:31:38 +00:00
a-kenji
60b68bc9bd
templates: don't explicitly import hardware-configurations
2024-09-16 17:21:50 +02:00
hsjobeki
5f6a2d227a
Merge pull request 'Inventory: improve usability from nix' ( #2116 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2116
2024-09-16 13:50:03 +00:00
Johannes Kirschbauer
97f4124e3b
Inventory: docs improvements
2024-09-16 13:50:03 +00:00
Johannes Kirschbauer
805d09cd61
Inventory: check extraModules serilizable
2024-09-16 13:50:03 +00:00
kenji
89cc77fa84
Merge pull request 'CLI: fix @api.register cli typechecks' ( #2127 ) from hsjobeki/clan-core:cli-api-typechecks into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2127
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
27768aa04b
Update: inventory classes check
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
dc57c3d948
CLI: api.register type preservation
2024-09-16 12:52:28 +00:00
Johannes Kirschbauer
f3a9a4e108
CLI: update classes
2024-09-16 12:52:28 +00:00
kenji
1db612df79
Merge pull request 'templates: new-clan use state-version module' ( #2129 ) from kenji/clan-core:kenji-template/fix/new-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2129
2024-09-16 12:45:47 +00:00
a-kenji
bffa9e264f
templates: new-clan use state-version module
2024-09-16 12:45:47 +00:00
kenji
be1952db4b
Merge pull request 'template/new-clan: improve documentation of disko module' ( #2130 ) from kenji/clan-core:kenji-template/docs/new-clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2130
2024-09-16 12:45:25 +00:00
a-kenji
45276d755f
template/new-clan: improve documentation of disko module
2024-09-16 12:45:25 +00:00
kenji
0c76c96e31
Merge pull request 'templates/new-clan: fix disko module' ( #2128 ) from kenji/clan-core:kenji-fix/template into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2128
2024-09-16 12:17:24 +00:00
a-kenji
1f7261f5f7
templates/new-clan: fix disko module
2024-09-16 14:09:14 +02:00
kenji
153d2bcb09
Merge pull request 'clanModules/borgbackup: fix borgbackup documentation' ( #2125 ) from kenji/clan-core:kenji-docs/borgbackup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2125
2024-09-16 12:04:33 +00:00
a-kenji
ee0d8a352e
clanModules/borgbackup: fix borgbackup documentation
2024-09-16 12:04:33 +00:00
kenji
bf3ca32e76
Merge pull request 'Automatic flake update - sops-nix - 2024-09-16T00:00+00:00' ( #2123 ) from flake-update-sops-nix-2024-09-16 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2123
2024-09-16 11:50:05 +00:00
Clan Merge Bot
b83045fa44
update flake lock - sops-nix - 2024-09-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/b68757cd2c3fa66d6ccaa0d046ce42a9324e0070' (2024-09-08)
→ 'github:Mic92/sops-nix/f30b1bac192e2dc252107ac8a59a03ad25e1b96e' (2024-09-13)
2024-09-16 11:50:05 +00:00
kenji
efdd9e89f0
Merge pull request 'clanModules/deltachat: remove construction warning' ( #2124 ) from kenji/clan-core:kenji-docs/clan into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2124
2024-09-16 11:48:57 +00:00
a-kenji
a2713b3b18
clanModules/deltachat: remove construction warning
2024-09-16 12:16:34 +02:00
clan-bot
5f9da13e30
Merge pull request 'Automatic flake update - flake-parts - 2024-09-16T00:00+00:00' ( #2119 ) from flake-update-flake-parts-2024-09-16 into main
2024-09-16 00:28:29 +00:00
clan-bot
c32ebdaf1a
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-09-16T00:00+00:00' ( #2120 ) from flake-update-nixos-facter-modules-2024-09-16 into main
2024-09-16 00:28:29 +00:00
Clan Merge Bot
419ff6bc23
update flake lock - nixos-facter-modules - 2024-09-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/a389bf16ed7db1f7e6a5e9dc4b5547e927498803' (2024-09-03)
→ 'github:numtide/nixos-facter-modules/d78cd60464df85279cbdddaba0e3d8d8ee6ab00c' (2024-09-13)
2024-09-16 00:00:04 +00:00
Clan Merge Bot
2fe8555016
update flake lock - flake-parts - 2024-09-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/567b938d64d4b4112ee253b9274472dc3a346eb6' (2024-09-01)
→ 'github:hercules-ci/flake-parts/bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a' (2024-09-12)
2024-09-16 00:00:03 +00:00
clan-bot
b29105143d
Merge pull request 'templates: streamline the new-clan template' ( #2114 ) from kenji/clan-core:rm/template into main
2024-09-15 17:10:27 +00:00
clan-bot
88434246f1
Merge pull request 'CLI: Improve Inventory schema usage' ( #2115 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-15 16:56:34 +00:00
Johannes Kirschbauer
8bda488425
CLI: use abstract schema to avoid module imports
2024-09-15 18:42:50 +02:00
hsjobeki
4b1a9afc37
Merge pull request 'Inventory improvements' ( #2113 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2113
2024-09-15 16:41:33 +00:00
Johannes Kirschbauer
c34b4542cf
Inventory: fix test in build-clan
2024-09-15 16:41:33 +00:00
Johannes Kirschbauer
82c725a605
fixup! Inventory: add machines automatically from machines dir
2024-09-15 16:41:33 +00:00
Johannes Kirschbauer
924fb8a620
Inventory: fix test json
2024-09-15 16:41:33 +00:00
Johannes Kirschbauer
43a4d8260b
Inventory: rename imports to extraModules
2024-09-15 16:41:33 +00:00
Johannes Kirschbauer
bc56ce3f4c
Inventory: allow arbitrary imports from nix
2024-09-15 16:41:33 +00:00
a-kenji
36b2b2ac03
templates: streamline the new-clan template
2024-09-15 17:46:14 +02:00
clan-bot
7e0308fac6
Merge pull request 'borgbackup-static: only print warning if it is actually used' ( #2112 ) from borgbackup into main
2024-09-15 15:34:49 +00:00
Jörg Thalheim
bb8ffc46ae
borgbackup-static: only print warning if it is actually used
2024-09-15 17:27:49 +02:00
clan-bot
2e5168df2b
Merge pull request 'checks: Fix flash test' ( #2110 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-15 14:50:02 +00:00
Qubasa
3e210f3338
checks: Fix flash test
2024-09-15 16:41:34 +02:00
clan-bot
8b1a0019cf
Merge pull request 'clan-cli: Moved flash to own subcommand' ( #2107 ) from Qubasa/clan-core:Qubasa-flashrewrite into main
2024-09-15 14:12:53 +00:00
clan-bot
3997e4938f
Merge pull request 'Inventory: fixes' ( #2104 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-15 14:09:21 +00:00
Qubasa
cafab5783f
clan-cli: Moved flash to own subcommand
2024-09-15 15:53:17 +02:00
clan-bot
6737f37fdc
Merge pull request 'better nixos defaults' ( #2106 ) from better-defaults into main
2024-09-15 13:52:48 +00:00
Jörg Thalheim
138a929485
disable ldso32 stub to save eval time
2024-09-15 15:43:25 +02:00
Jörg Thalheim
71039cd1ac
switch to systemd-initrd
2024-09-15 15:43:25 +02:00
Johannes Kirschbauer
8d5463587e
Inventory: set {name,meta.name} automatically
2024-09-15 15:20:35 +02:00
Jörg Thalheim
f496e027f6
disable info pages
2024-09-15 15:17:11 +02:00
Johannes Kirschbauer
27f3935abc
Inventory: eval test fixup
2024-09-15 14:10:33 +02:00
clan-bot
9ca86f07ec
Merge pull request 'inputs: nixos-facter-modules user flake' ( #2105 ) from kenji/clan-core:kenji-rm/facter-non-flake into main
2024-09-15 11:57:17 +00:00
a-kenji
6aa1fc3a1a
inputs: nixos-facter-modules user flake
2024-09-15 13:50:40 +02:00
Johannes Kirschbauer
cfdba6c731
Inventory: only declare the module namespace if any config is defined
2024-09-15 13:35:53 +02:00
Jörg Thalheim
3969f63d56
enable zfs settings by default
2024-09-15 12:46:09 +02:00
clan-bot
63a6a87347
Merge pull request 'flash: Replace disks[str,str] with list[Disk] type' ( #2100 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-15 09:50:18 +00:00
Qubasa
04db963331
clan-app: Fix flash API
2024-09-15 11:43:40 +02:00
Qubasa
b8720a3c44
flash: Replace disks[str,str] with list[Disk] type
2024-09-15 11:43:40 +02:00
clan-bot
c07a779413
Merge pull request 'clanModules/state-version: improve documentation' ( #2101 ) from kenji/clan-core:kenji-state-version-improve-docs-more into main
2024-09-14 18:42:05 +00:00
a-kenji
df2b51c1aa
clanModules/state-version: improve documentation
2024-09-14 20:33:40 +02:00
clan-bot
f4e73d1f95
Merge pull request 'clanModules/state-version: improve documentation' ( #2099 ) from kenji/clan-core:kenji-state-version-improve-docs into main
2024-09-14 18:09:07 +00:00
a-kenji
3a10d9c057
clanModules/state-version: improve documentation
2024-09-14 20:00:25 +02:00
clan-bot
09aaee0c63
Merge pull request 'clanModules/state-version: initalize with currently set stateVersion' ( #2098 ) from kenji/clan-core:kenji-improve/state-version into main
2024-09-14 17:33:50 +00:00
clan-bot
021281eab8
Merge pull request 'flash: Fix gnome automounting bug' ( #2097 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-14 17:28:37 +00:00
a-kenji
a7a14714f9
clanModules/state-version: initalize with currently set stateVersion
...
The `state-version` module will now initialize the `stateVersion` from
the currently set version.
This makes migrating to the `state-version` module seamless.
2024-09-14 19:25:20 +02:00
Qubasa
2897cd3e73
flash: Fix gnome automounting bug
2024-09-14 18:11:41 +02:00
clan-bot
22e905e951
Merge pull request 'ClanModules: make all module available to inventory' ( #2095 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-13 15:25:11 +00:00
Johannes Kirschbauer
e889528ca0
ClanModules: make all module available to inventory
2024-09-13 17:18:20 +02:00
clan-bot
dbc2f815e2
Merge pull request 'UI,API: migrate admin service api bindings' ( #2093 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-13 14:49:01 +00:00
Johannes Kirschbauer
04457f1731
UI: fix breakage in disk id api
2024-09-13 16:44:35 +02:00
Johannes Kirschbauer
60e4196bb6
UI: migrate admin service api bindings
2024-09-13 16:11:10 +02:00
Johannes Kirschbauer
813172119e
API: rename set_inventory
2024-09-13 16:11:10 +02:00
Johannes Kirschbauer
ba548de2bf
Serde: support deserialise Any typed values
2024-09-13 16:11:10 +02:00
clan-bot
3301b7a16a
Merge pull request 'flash: Use f2fs for installer' ( #2092 ) from Qubasa/clan-core:Qubasa-flash_id_v3 into main
2024-09-13 13:54:50 +00:00
kenji
d5231da872
Merge pull request 'clanModules/state-version: use echo -n' ( #2088 ) from kenji/clan-core:state-version-echo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2088
2024-09-13 13:54:21 +00:00
a-kenji
b3cec07cb4
clanModules/state-version: use echo -n
2024-09-13 13:54:21 +00:00
Qubasa
392d16843f
flash: Use f2fs for installer
2024-09-13 15:48:57 +02:00
clan-bot
253156574e
Merge pull request 'docs: Fix line highlighting, add warning to single-disk' ( #2091 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-13 13:07:15 +00:00
Qubasa
edc879b276
docs: Fix line highlighting, add warning to single-disk
2024-09-13 15:01:29 +02:00
clan-bot
b62b034e41
Merge pull request 'clanCore: init machine_id_v3' ( #2085 ) from Qubasa/clan-core:machine_id_v3 into main
2024-09-13 10:22:09 +00:00
Qubasa
60397e0ca4
clanCore: init machine_id_v3
2024-09-13 12:17:49 +02:00
clan-bot
a56b603c7b
Merge pull request 'templates: add stateVersion clanModule to new-clan template' ( #2089 ) from kenji/clan-core:kenji-template/add into main
2024-09-13 09:54:30 +00:00
a-kenji
b5f42a4cf9
templates: add stateVersion clanModule to new-clan template
2024-09-13 11:38:54 +02:00
clan-bot
0b73b339b9
Merge pull request 'vars/sops/shared: add machines key on demand' ( #2086 ) from DavHau/clan-core:DavHau-dave into main
2024-09-12 18:23:15 +00:00
DavHau
81cb28b6c0
vars/sops/shared: add machines key on demand
2024-09-12 20:17:05 +02:00
clan-bot
65a1a1a3b8
Merge pull request 'API: remove all python dataclasses for clanModules (services)' ( #2080 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-12 16:37:51 +00:00
Johannes Kirschbauer
b951d97ea7
UI: update gitignore
2024-09-12 18:33:47 +02:00
Johannes Kirschbauer
406c88907d
UI: include inventory schema and generated types
2024-09-12 18:22:46 +02:00
clan-bot
a02bc9bbf3
Merge pull request 'vars/list: display '<not set>' also for secrets' ( #2084 ) from DavHau/clan-core:DavHau-dave into main
2024-09-12 15:29:39 +00:00
DavHau
eafcb0f870
vars/list: display '<not set>' also for secrets
2024-09-12 17:24:29 +02:00
clan-bot
4686ba8740
Merge pull request 'vars: get rid of meta.json' ( #2082 ) from DavHau/clan-core:DavHau-dave into main
2024-09-12 14:57:51 +00:00
DavHau
85477d51f6
vars: get rid of meta.json
2024-09-12 16:52:44 +02:00
clan-bot
78b0eb1a68
Merge pull request 'vars/sops: load sops info from nix instead of filesystem' ( #2081 ) from DavHau/clan-core:DavHau-dave into main
2024-09-12 14:35:40 +00:00
DavHau
e905407989
vars/sops: load sops info from nix instead of filesystem
2024-09-12 16:30:21 +02:00
Johannes Kirschbauer
e3d85fc2b8
API: type all services with dict[str,Any] in python to reduce complexity.
2024-09-12 16:19:51 +02:00
Johannes Kirschbauer
1a81c1f84b
API: remove all python dataclasses for clanModules (services)
2024-09-12 16:19:51 +02:00
kenji
9771948eaa
Merge pull request 'clanModules/state-version: init state-version' ( #2077 ) from kenji/clan-core:state-version into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2077
2024-09-12 13:53:21 +00:00
a-kenji
56ce3d625c
clanModules/state-version: init state-version
...
This adds a clanModule that will initialize the `system.stateVersion`
upon deploying the machine for the first time.
If the machine is completely reinstalled, then the state version might be
regenerated. But care should be taken if rebuilding from backups.
2024-09-12 15:47:30 +02:00
Luis Hebendanz
64d03c73a0
Merge pull request 'Blogpost: interfaces blogpost' ( #2072 ) from hsjobeki/clan-core:hsjobeki-blogpost into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2072
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-09-12 10:32:20 +00:00
a-kenji
a67e13a9f7
blog: interop fix some nits
2024-09-12 10:32:20 +00:00
Johannes Kirschbauer
876540ef87
Blogpost: interfaces blogpost
2024-09-12 10:32:20 +00:00
clan-bot
d7829e38e2
Merge pull request 'clanModules: revert single-disk to oldest version' ( #2074 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-12 10:16:15 +00:00
Qubasa
1d3c4a1b92
clanModules: revert single-disk to oldest version
2024-09-12 12:12:07 +02:00
clan-bot
6c3bf4a74b
Merge pull request 'clanModules: Set lib.mkDefault isNormalUser for user-password' ( #2073 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-12 10:05:45 +00:00
Qubasa
ca5b1a138d
clanModules: Set lib.mkDefault isNormalUser for user-password
2024-09-12 12:00:51 +02:00
clan-bot
3ccdcbb8e8
Merge pull request 'Classgen: support literal enums' ( #2068 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-12 07:33:27 +00:00
Johannes Kirschbauer
a559a01fb7
Clan-cli: update import in classes
2024-09-12 09:28:58 +02:00
Johannes Kirschbauer
be9a398ae3
Clan-cli: fix class update instruction
2024-09-12 09:28:16 +02:00
clan-bot
c3c5ba4fc5
Merge pull request 'vars: use correct paths for value accesses' ( #2071 ) from kenji/clan-core:kenji-vars/fix/values into main
2024-09-11 17:10:50 +00:00
a-kenji
6dd1a7395f
vars: use correct paths for value accesses
...
Use correct paths for value accesses of vars under:
- `per-machine`
- `shared`
2024-09-11 19:02:43 +02:00
Johannes Kirschbauer
42b92132a7
Classgen: support literal enums
2024-09-11 15:14:02 +02:00
clan-bot
cdfda2547b
Merge pull request 'clanModules.nginx: replace acme fact with concrete value' ( #2067 ) from nginx into main
2024-09-11 09:58:23 +00:00
Jörg Thalheim
a1e2a0513c
clanModules.nginx: replace acme fact with concrete value
...
We shouldn't abuse prompts to require a user to set an option. Instead
our NixOS modules should expose which option need to be specified by the
user.
2024-09-11 11:45:23 +02:00
clan-bot
cac5e95758
Merge pull request 'Revert "Merge pull request 'machine_id_v2' ( #2052 ) from Qubasa/clan-core:machine_id_v2 into main"' ( #2066 ) from kenji/clan-core:kenji-revert/diskId_v2 into main
2024-09-10 12:20:35 +00:00
a-kenji
b13ed922b1
Revert "Merge pull request 'machine_id_v2' ( #2052 ) from Qubasa/clan-core:machine_id_v2 into main"
...
This reverts commit 22a11abfe5 , reversing
changes made to 208b71ac0e .
2024-09-10 14:01:12 +02:00
clan-bot
b0e8ae7adb
Merge pull request 'vars/password-store: implement upload and hashing' ( #2063 ) from DavHau/clan-core:DavHau-dave into main
2024-09-09 20:19:30 +00:00
DavHau
a79ec63720
vars/password-store: implement upload and hashing
2024-09-09 22:13:16 +02:00
clan-bot
a10fb9fc36
Merge pull request 'merge-after-ci: unstash only if stashed' ( #2062 ) from DavHau/clan-core:DavHau-dave into main
2024-09-09 20:10:42 +00:00
DavHau
f2f9075b88
merge-after-ci: unstash only if stashed
2024-09-09 22:05:49 +02:00
clan-bot
83b74f3d30
Merge pull request 'vars/password-store: use standard paths; fix share flag' ( #2061 ) from DavHau/clan-core:DavHau-dave into main
2024-09-09 19:41:12 +00:00
DavHau
0893b04458
vars/password-store: use standard paths; fix share flag
2024-09-09 21:20:03 +02:00
clan-bot
b2103e165f
Merge pull request 'select-shell: show available names if provided name is incorrect' ( #2060 ) from DavHau/clan-core:DavHau-dave into main
2024-09-09 18:58:05 +00:00
DavHau
8dccce99a3
merge-after-ci: don't run treefmt on uncommitted changes
...
stash changes before running formatter
2024-09-09 20:51:37 +02:00
DavHau
b782128622
select-shell: show available names if provided name is incorrect
2024-09-09 20:48:44 +02:00
Luis Hebendanz
22a11abfe5
Merge pull request 'machine_id_v2' ( #2052 ) from Qubasa/clan-core:machine_id_v2 into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2052
2024-09-09 17:17:27 +00:00
Qubasa
5c975a5eef
clanCore: init machineId and diskId v2
2024-09-09 15:51:31 +02:00
clan-bot
208b71ac0e
Merge pull request 'Automatic flake update - treefmt-nix - 2024-09-09T00:00+00:00' ( #2059 ) from flake-update-treefmt-nix-2024-09-09 into main
2024-09-09 00:35:23 +00:00
clan-bot
1e513f08bf
Merge pull request 'Automatic flake update - 2024-09-09T00:00+00:00' ( #2058 ) from flake-update-2024-09-09 into main
2024-09-09 00:34:38 +00:00
clan-bot
4ae2048ea5
Merge pull request 'Automatic flake update - nixos-images - 2024-09-09T00:00+00:00' ( #2055 ) from flake-update-nixos-images-2024-09-09 into main
2024-09-09 00:30:58 +00:00
clan-bot
82c8bb28d0
Merge pull request 'Automatic flake update - nixpkgs - 2024-09-09T00:00+00:00' ( #2056 ) from flake-update-nixpkgs-2024-09-09 into main
2024-09-09 00:30:44 +00:00
clan-bot
2a81be3e1b
Merge pull request 'Automatic flake update - sops-nix - 2024-09-09T00:00+00:00' ( #2057 ) from flake-update-sops-nix-2024-09-09 into main
2024-09-09 00:30:43 +00:00
clan-bot
6586d3bf68
Merge pull request 'Automatic flake update - disko - 2024-09-09T00:00+00:00' ( #2053 ) from flake-update-disko-2024-09-09 into main
2024-09-09 00:15:15 +00:00
clan-bot
293df269df
Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-09-09T00:00+00:00' ( #2054 ) from flake-update-nixos-facter-modules-2024-09-09 into main
2024-09-09 00:15:14 +00:00
Clan Merge Bot
eedc434838
update flake lock - treefmt-nix - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/23c2b0d953710939487ec878d70495d73b2c9bb3' (2024-09-02)
→ 'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
2024-09-09 00:00:44 +00:00
Clan Merge Bot
7202010608
update flake lock - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/511388d837178979de66d14ca4a2ebd5f7991cd3' (2024-08-29)
→ 'github:nix-community/disko/e55f9a8678adc02024a4877c2a403e3f6daf24fe' (2024-09-03)
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/55088bf19810d23ca7cb86fb71516c95d97f035b' (2024-08-26)
→ 'github:numtide/nixos-facter-modules/a389bf16ed7db1f7e6a5e9dc4b5547e927498803' (2024-09-03)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/b733f0680a42cc01d6ad53896fb5ca40a66d5e79' (2024-08-19)
→ 'github:nix-community/nixos-images/51c98a9f328e7aad81d8aa048f38e4e5c86d3389' (2024-09-07)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8da188f8e754473cb2f5a922bef75a734bfa0fd6' (2024-08-25)
→ 'github:NixOS/nixpkgs/61ddb09cfaa7424d7fc8e3040ccd5c8c6f875b15' (2024-09-08)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/5db5921e40ae382d6716dce591ea23b0a39d96f7' (2024-09-01)
→ 'github:Mic92/sops-nix/b68757cd2c3fa66d6ccaa0d046ce42a9324e0070' (2024-09-08)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/23c2b0d953710939487ec878d70495d73b2c9bb3' (2024-09-02)
→ 'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
2024-09-09 00:00:44 +00:00
Clan Merge Bot
114ff290f8
update flake lock - sops-nix - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/5db5921e40ae382d6716dce591ea23b0a39d96f7' (2024-09-01)
→ 'github:Mic92/sops-nix/b68757cd2c3fa66d6ccaa0d046ce42a9324e0070' (2024-09-08)
2024-09-09 00:00:41 +00:00
Clan Merge Bot
c3199f80a5
update flake lock - nixpkgs - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8da188f8e754473cb2f5a922bef75a734bfa0fd6' (2024-08-25)
→ 'github:NixOS/nixpkgs/61ddb09cfaa7424d7fc8e3040ccd5c8c6f875b15' (2024-09-08)
2024-09-09 00:00:37 +00:00
Clan Merge Bot
9210a89299
update flake lock - nixos-images - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/b733f0680a42cc01d6ad53896fb5ca40a66d5e79' (2024-08-19)
→ 'github:nix-community/nixos-images/51c98a9f328e7aad81d8aa048f38e4e5c86d3389' (2024-09-07)
2024-09-09 00:00:06 +00:00
Clan Merge Bot
8bebe5c857
update flake lock - nixos-facter-modules - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixos-facter-modules':
'github:numtide/nixos-facter-modules/55088bf19810d23ca7cb86fb71516c95d97f035b' (2024-08-26)
→ 'github:numtide/nixos-facter-modules/a389bf16ed7db1f7e6a5e9dc4b5547e927498803' (2024-09-03)
2024-09-09 00:00:03 +00:00
Clan Merge Bot
75c79165ca
update flake lock - disko - 2024-09-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/511388d837178979de66d14ca4a2ebd5f7991cd3' (2024-08-29)
→ 'github:nix-community/disko/e55f9a8678adc02024a4877c2a403e3f6daf24fe' (2024-09-03)
2024-09-09 00:00:01 +00:00
clan-bot
f54513d216
Merge pull request 'revert machine_id pull request' ( #2051 ) from Qubasa/clan-core:Qubasa-revert-machine-id into main
2024-09-06 19:45:05 +00:00
clan-bot
720f7b2181
Merge pull request 'vars: improve generator pipeline' ( #2050 ) from DavHau/clan-core:DavHau-dave into main
2024-09-06 19:39:53 +00:00
Qubasa
2efa096d29
revert machine_id pull request
2024-09-06 21:38:50 +02:00
DavHau
803f43dfd1
vars: improve generator pipeline
...
Compute the whole closure of to-be-executed generators upfront before executing anything
Properly compute closures for the 4 different scenarios:
1. full_closure: run all generators for a selected machine in topological order
2. all_missing_closure: run just the missing generators including their dependents
3. requested_closure: run only a selected list of generators including their missing dependencies and their dependents
4. minimal_closure: Run just enough to ensure that the list of selected generators are in a consistent state. Don't execute anything if nothing is missing.
2024-09-06 21:32:17 +02:00
clan-bot
9590125849
Merge pull request 'clanCore: Init machine.id and idShort' ( #2045 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-06 17:00:34 +00:00
Qubasa
67bc66164c
templates: Rename diskIdShort to diskId
2024-09-06 18:55:00 +02:00
Qubasa
2568002611
clan-cli: Make run_vm_in_thread fail fast. Fix generate_flake to support machine_id
2024-09-06 18:53:02 +02:00
Qubasa
4171d5ea4e
clanCore: init machine_id.nix with clan.core.machine.{id,diskId}
2024-09-06 18:05:40 +02:00
clan-bot
bab7084246
Merge pull request 'vars: refactor - ask prompts before running any generators' ( #2048 ) from DavHau/clan-core:DavHau-dave into main
2024-09-06 14:16:06 +00:00
DavHau
6bb93d087c
vars: refactor - ask prompts before running any generators
2024-09-06 16:08:46 +02:00
clan-bot
fdfb135315
Merge pull request 'tea-create-pr: get rid of runtime nix eval' ( #2047 ) from DavHau/clan-core:DavHau-dave into main
2024-09-06 13:51:49 +00:00
DavHau
16845cae3c
tea-create-pr: get rid of runtime nix eval
...
...instead use our treefmt wrapper derivation which is exactly the same
but doesn't require an eval at runtime
2024-09-06 15:46:15 +02:00
clan-bot
8b2af03230
Merge pull request 'vars: improve generator execution pipeline' ( #2046 ) from DavHau/clan-core:DavHau-dave into main
2024-09-06 13:43:03 +00:00
DavHau
3089296328
clan-cli: fix cyclic import problem
2024-09-06 15:38:12 +02:00
DavHau
5cd9960ed4
vars: improve generator execution pipeline
...
- ensure all dependents are re-generated as well
- refactor: separate out computation of generator update closure
2024-09-06 14:30:49 +02:00
clan-bot
f4fb9ea96c
Merge pull request 'vars: add api endpoint set_prompts' ( #2044 ) from DavHau/clan-core:DavHau-dave into main
2024-09-04 16:11:12 +00:00
DavHau
a57525d5c6
vars: add api endpoint set_prompts
2024-09-04 18:06:11 +02:00
clan-bot
3d9e5f525f
Merge pull request 'vars: add get_prompts api endpoint' ( #2043 ) from DavHau/clan-core:DavHau-dave into main
2024-09-04 15:42:17 +00:00
DavHau
ed1738c0cd
vars: add get_prompts api endpoint
...
vars: add test for api endpoint get_prompts
2024-09-04 17:36:50 +02:00
clan-bot
bcad534a88
Merge pull request 'vars: new option prompts.<name>.createFile' ( #2042 ) from DavHau/clan-core:DavHau-dave into main
2024-09-04 13:52:48 +00:00
DavHau
dc4fcb7329
vars: new option prompts.<name>.createFile
2024-09-04 15:48:10 +02:00
clan-bot
a100d74a8c
Merge pull request 'API: add sops keyfile checks' ( #2041 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-04 13:34:06 +00:00
Johannes Kirschbauer
ebd7aa8422
API: add sops keyfile checks
2024-09-04 15:29:06 +02:00
clan-bot
ab1f6b95b2
Merge pull request 'UI/iwd: wifi machine module' ( #2040 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-04 13:27:05 +00:00
Johannes Kirschbauer
5da72f65c0
UI/iwd: wifi machine module
2024-09-04 15:22:34 +02:00
clan-bot
87d47c7c31
Merge pull request 'apply TRY lint' ( #2035 ) from joerg-ci into main
2024-09-04 13:20:11 +00:00
clan-bot
5fc2d9b082
Merge pull request 'vars: set vars via cli; improve getting vars via cli;' ( #2039 ) from DavHau/clan-core:DavHau-dave into main
2024-09-04 12:53:08 +00:00
DavHau
3f23ad4f79
vars: set vars via cli; improve getting vars via cli;
2024-09-04 14:48:42 +02:00
clan-bot
6d41a2e29c
Merge pull request 'UI/refactor: unify clan details and edit' ( #2038 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-04 08:22:21 +00:00
Johannes Kirschbauer
9d1c963c03
UI/refactor: unify clan details and edit
2024-09-04 10:16:08 +02:00
clan-bot
f6b393f12c
Merge pull request 'vars: add 'get' command to cli' ( #2036 ) from DavHau/clan-core:DavHau-dave into main
2024-09-03 17:24:44 +00:00
DavHau
59593c2e39
vars: add 'get' command to cli
2024-09-03 19:19:20 +02:00
Jörg Thalheim
5ac3ac63c2
get rid of ValueError
2024-09-03 18:14:31 +02:00
Jörg Thalheim
29909e49d3
apply TRY lint
2024-09-03 18:13:46 +02:00
Jörg Thalheim
850bb3314a
classgen: use own Exception type
2024-09-03 18:13:18 +02:00
Jörg Thalheim
d3afda4d6c
container-driver: use own Exception
2024-09-03 18:13:18 +02:00
clan-bot
1d5ba9816c
Merge pull request 'serde/fix: round trip string sanitizing' ( #2034 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-03 16:09:46 +00:00
Johannes Kirschbauer
caad48682d
serde/fix: round trip string sanitizing
2024-09-03 18:03:13 +02:00
clan-bot
7da49a1538
Merge pull request 'UI: Init iwd service for single wifi' ( #2033 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-03 15:30:05 +00:00
Johannes Kirschbauer
e4f077f2e2
Fix cyclic imports: __init__.py are automatically imported
2024-09-03 17:24:31 +02:00
Johannes Kirschbauer
facc0bd226
UI: Init iwd service for single wifi
2024-09-03 17:24:31 +02:00
clan-bot
c9836d162e
Merge pull request 'vars: global metadata paths for all store backends' ( #2032 ) from DavHau/clan-core:DavHau-dave into main
2024-09-03 14:34:22 +00:00
DavHau
924f5e41c6
vars: global metadata paths for all store backends
...
This also changes the paths where sops stores teh secret -> all sops secrets will have to be re-generated
2024-09-03 16:30:01 +02:00
clan-bot
e05d09ee55
Merge pull request 'UI: Admin shh module' ( #2031 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-03 09:03:42 +00:00
clan-bot
76ea69556a
Merge pull request 'only accept eval/build for nix command' ( #2030 ) from Mic92-type-checking into main
2024-09-03 08:59:11 +00:00
Johannes Kirschbauer
4f80fab225
UI: Admin shh module
2024-09-03 10:57:01 +02:00
Jörg Thalheim
aa564f47a9
flash: rename FileNotFoundError -> ClanError
2024-09-03 10:53:17 +02:00
Jörg Thalheim
ddd2a1a4f7
only accept eval/build for nix command
2024-09-03 10:49:53 +02:00
clan-bot
022bcffabc
Merge pull request 'don't put hostnames into into disko labels' ( #2029 ) from Mic92-type-checking into main
2024-09-03 08:20:54 +00:00
Jörg Thalheim
1fcd1731e5
don't put hostnames into into disko labels
...
I believe there are length limits on this.
It's also very surprising if the system no longer boot after changing
the hostname.
2024-09-03 10:11:03 +02:00
clan-bot
695d63e8cf
Merge pull request 'UI: improve machine details' ( #2028 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-03 06:40:50 +00:00
Johannes Kirschbauer
37045c9a8f
UI: improve machine details
2024-09-03 08:35:33 +02:00
clan-bot
76eb4dcfd5
Merge pull request 'Revert "nixosModules,pkgs: remove installer. clanModules: init installer module"' ( #2027 ) from Mic92-type-checking into main
2024-09-03 05:09:00 +00:00
Jörg Thalheim
535a39cff3
Revert "nixosModules,pkgs: remove installer. clanModules: init installer module"
...
This reverts commit 1090e36cf1 .
2024-09-03 07:04:34 +02:00
clan-bot
06c820bded
Merge pull request 'nixosModules,pkgs: remove installer. clanModules: init installer module' ( #2026 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-02 22:30:13 +00:00
Qubasa
1090e36cf1
nixosModules,pkgs: remove installer. clanModules: init installer module
2024-09-03 00:25:16 +02:00
clan-bot
30e8c527de
Merge pull request 'remove dead nix code' ( #2025 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-02 22:15:04 +00:00
Qubasa
e35fd0976a
nixosModules: remove unnecessary ./iso and disk-layout, clanModules: fix issue #1349
2024-09-03 00:09:45 +02:00
clan-bot
57513bef93
Merge pull request 'vars: make simplify vars store abstraction' ( #2021 ) from DavHau/clan-core:DavHau-dave into main
2024-09-02 16:48:40 +00:00
DavHau
6e16e54968
vars: make simplify vars store abstraction
2024-09-02 18:44:00 +02:00
clan-bot
47c3ce2604
Merge pull request 'use pathlib everywhere' ( #2023 ) from type-checking into main
2024-09-02 16:33:46 +00:00
Jörg Thalheim
8e9ed4611d
use python3.11 for all projects
2024-09-02 18:28:36 +02:00
Jörg Thalheim
1fa0e72bea
use pathlib everywhere
2024-09-02 18:26:13 +02:00
clan-bot
9067865b7b
Merge pull request 'API: types schema improve typescript performance' ( #2022 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-02 16:08:53 +00:00
Johannes Kirschbauer
9eb56f274b
API: types schema improve typescript performance
2024-09-02 18:03:44 +02:00
clan-bot
3f4c0a06ef
Merge pull request 'moonlight-sunshine-accept: use pathlib and fix types' ( #2020 ) from Mic92-type-checking into main
2024-09-02 15:58:31 +00:00
Jörg Thalheim
9de48de991
put render-options not in the toplevel nix store path
...
on start python will do a listdir on the hole nix store otherwise
2024-09-02 17:47:00 +02:00
Jörg Thalheim
574567c1c4
use pathlib
2024-09-02 17:40:05 +02:00
Jörg Thalheim
71e026dd62
moonlight-sunshine-accept: use pathlib and fix types
2024-09-02 17:36:47 +02:00
clan-bot
7fc923f310
Merge pull request 'add SLF lint' ( #2019 ) from type-checking into main
2024-09-02 15:35:31 +00:00
Jörg Thalheim
483d8ce521
add SIM lint
2024-09-02 16:39:30 +02:00
Jörg Thalheim
a17075f237
add SLOT lint
2024-09-02 16:25:11 +02:00
Jörg Thalheim
e1e39e9ae9
add SLF lint
2024-09-02 16:25:06 +02:00
Jörg Thalheim
f2460ecd7f
ignore some pytest lints
2024-09-02 16:22:23 +02:00
clan-bot
c8729011a6
Merge pull request 'add PT linting' ( #2018 ) from type-checking into main
2024-09-02 14:16:18 +00:00
Jörg Thalheim
211c7856a3
Revert "zerotierone: fix build against rust 1.80"
...
This reverts commit 237f762490 .
2024-09-02 16:12:07 +02:00
Jörg Thalheim
cb16cda3fa
add RET, Q, RSE lint
2024-09-02 15:58:49 +02:00
Jörg Thalheim
dca1bd084d
add PT
2024-09-02 15:52:17 +02:00
clan-bot
9314fe5733
Merge pull request 'add FA, ICN, ISC, LOG, PIE and PYI linting' ( #2017 ) from type-checking into main
2024-09-02 13:47:32 +00:00
Jörg Thalheim
8fbc76ecac
add FA, ICN, ISC, LOG, PIE and PYI linting
2024-09-02 15:41:56 +02:00
clan-bot
c43bde3254
Merge pull request 'API: init iwd clanModule inventory' ( #2016 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-02 13:14:13 +00:00
Johannes Kirschbauer
c2d088b245
UI: AdminSettings page
2024-09-02 15:08:36 +02:00
Johannes Kirschbauer
da25afd978
API: init iwd clanModule inventory
2024-09-02 15:06:55 +02:00
clan-bot
8760ed89a3
Merge pull request 'Flake: nixos-facter-module with flake: false' ( #1986 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-09-02 12:36:35 +00:00
Johannes Kirschbauer
91ea8b23ca
nixos tests: add documentation machine
2024-09-02 14:32:01 +02:00
clan-bot
9b4fc3d75c
Merge pull request 'clanModules: Add warning for IWD' ( #2015 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-02 12:30:15 +00:00
Qubasa
85675db4c6
clanModules: Add warning for IWD
2024-09-02 14:25:35 +02:00
clan-bot
ca3adfd7c4
Merge pull request 'enable ASYNC, DTZ, YTT and EM lints' ( #2014 ) from Mic92-type-checking into main
2024-09-02 12:13:31 +00:00
Jörg Thalheim
ddaf44a91b
move all ruff settings in one place
2024-09-02 14:07:06 +02:00
Jörg Thalheim
e150b37fb8
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +02:00
Jörg Thalheim
d4d7085397
sync up linter rules in all files
2024-09-02 13:40:15 +02:00
Jörg Thalheim
59c8b4f209
replace breakpoint() check with python lint
2024-09-02 13:36:07 +02:00
Jörg Thalheim
22d6e5e153
enable comprehensions linting rules
2024-09-02 13:35:52 +02:00
clan-bot
333370a5be
Merge pull request 'make all same-module imports relative, the rest absolute' ( #2013 ) from Mic92-type-checking into main
2024-09-02 11:31:03 +00:00
Jörg Thalheim
109d1faf9e
enable bug-bear linting rules
2024-09-02 13:26:07 +02:00
Jörg Thalheim
b313f2d066
make all same-module imports relative, the rest absolute
...
This makes sorting more consitent.
2024-09-02 13:00:19 +02:00
clan-bot
6adab9fa33
Merge pull request 'fix type checking in tests' ( #2012 ) from type-checking into main
2024-09-02 10:31:27 +00:00
Jörg Thalheim
9fea3f909e
also type check tests
2024-09-02 12:23:13 +02:00
Jörg Thalheim
b24cbb18b7
fix all typing error in tests
2024-09-02 12:23:13 +02:00
clan-bot
ae3849ce00
Merge pull request 'Automatic flake update - treefmt-nix - 2024-09-02T00:00+00:00' ( #2010 ) from flake-update-treefmt-nix-2024-09-02 into main
2024-09-02 00:26:51 +00:00
clan-bot
22453b0679
Merge pull request 'Automatic flake update - sops-nix - 2024-09-02T00:00+00:00' ( #2009 ) from flake-update-sops-nix-2024-09-02 into main
2024-09-02 00:23:21 +00:00
clan-bot
e1a18397cc
Merge pull request 'Automatic flake update - flake-parts - 2024-09-02T00:00+00:00' ( #2006 ) from flake-update-flake-parts-2024-09-02 into main
2024-09-02 00:10:51 +00:00
clan-bot
64a9836980
Merge pull request 'Automatic flake update - disko - 2024-09-02T00:00+00:00' ( #2005 ) from flake-update-disko-2024-09-02 into main
2024-09-02 00:07:17 +00:00
Clan Merge Bot
df38c5e24f
update flake lock - treefmt-nix - 2024-09-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
→ 'github:numtide/treefmt-nix/3ffd842a5f50f435d3e603312eefa4790db46af5' (2024-08-28)
2024-09-02 00:00:36 +00:00
Clan Merge Bot
7df46ed702
update flake lock - sops-nix - 2024-09-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/be0eec2d27563590194a9206f551a6f73d52fa34' (2024-08-12)
→ 'github:Mic92/sops-nix/5db5921e40ae382d6716dce591ea23b0a39d96f7' (2024-09-01)
2024-09-02 00:00:33 +00:00
Clan Merge Bot
7b4d72bf6f
update flake lock - flake-parts - 2024-09-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
→ 'github:hercules-ci/flake-parts/567b938d64d4b4112ee253b9274472dc3a346eb6' (2024-09-01)
2024-09-02 00:00:03 +00:00
Clan Merge Bot
3ef01b1e15
update flake lock - disko - 2024-09-02T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/435737144be0259559ca3b43f7d72252b1fdcc1b' (2024-08-22)
→ 'github:nix-community/disko/511388d837178979de66d14ca4a2ebd5f7991cd3' (2024-08-29)
2024-09-02 00:00:01 +00:00
clan-bot
546a799367
Merge pull request 'docs: Fix incorrect command in disk-encryption getting started' ( #2004 ) from Qubasa/clan-core:Qubasa-main into main
2024-09-01 22:12:37 +00:00
Qubasa
b41fe4352b
docs: Fix incorrect command in disk-encryption getting started
2024-09-02 00:08:38 +02:00
clan-bot
2879bc68b6
Merge pull request 'vars: improve check command and add tests' ( #2002 ) from DavHau/clan-core:DavHau-dave into main
2024-09-01 14:49:31 +00:00
DavHau
64d29cd28c
vars: improve check command and add tests
2024-09-01 16:45:09 +02:00
clan-bot
015b61efe5
Merge pull request 'vars: fix listing vars + add test' ( #2001 ) from DavHau/clan-core:DavHau-dave into main
2024-09-01 14:15:13 +00:00
DavHau
b627eafc80
vars: fix listing vars + add test
2024-09-01 16:10:25 +02:00
clan-bot
b618e5cc24
Merge pull request 'vars: implement listing all vars' ( #2000 ) from DavHau/clan-core:DavHau-dave into main
2024-09-01 14:08:33 +00:00
DavHau
04010bba90
vars: implement listing all vars
2024-09-01 16:03:37 +02:00
clan-bot
1c8ac20a1f
Merge pull request 'vars: introduce deploy=true/false for generated files' ( #1999 ) from DavHau/clan-core:DavHau-dave into main
2024-09-01 12:37:15 +00:00
DavHau
62ccd0ed4b
vars: introduce deploy=true/false for generated files
2024-09-01 14:32:46 +02:00
clan-bot
5f5d928057
Merge pull request 'devshells: improve select-shell' ( #1997 ) from DavHau/clan-core:DavHau-dave into main
2024-08-31 16:04:10 +00:00
DavHau
9061c3f6aa
devshells: improve select-shell
2024-08-31 17:59:54 +02:00
clan-bot
9d9d40a7f2
Merge pull request 'docs: improve zerotier documentation' ( #1992 ) from kenji/clan-core:improve-zerotier-setup into main
2024-08-30 13:28:51 +00:00
a-kenji
0c58e1b33b
docs: improve zerotier documentation
2024-08-30 15:11:03 +02:00
clan-bot
ca7449c222
Merge pull request 'dyndns: remove mkRemovedOptionModule' ( #1990 ) from kenji/clan-core:rm-unused-dep-warn into main
2024-08-30 11:54:40 +00:00
a-kenji
06007765e6
dyndns: remove mkRemovedOptionModule
...
It has never existed, we don't need to deprecate it.
2024-08-30 13:50:22 +02:00
clan-bot
1baa48c467
Merge pull request 'password_store: create secrets with correct permissions' ( #1989 ) from pass_umask into main
2024-08-30 10:22:06 +00:00
lassulus
5ced7268a6
password_store: create secrets with correct permissions
2024-08-30 12:13:00 +02:00
clan-bot
abda2d3754
Merge pull request 'garage: move back to facts' ( #1987 ) from kenji/clan-core:garage/move-to-facts into main
2024-08-28 11:32:42 +00:00
a-kenji
f0281706f4
garage: move back to facts
...
Move back to facts until vars is in a useable state.
2024-08-28 13:28:10 +02:00
Johannes Kirschbauer
0f823c3eac
Checks: add nixos documentation-check
2024-08-28 11:44:33 +02:00
Johannes Kirschbauer
38991c9bf6
Flake: nixos-facter-module with flake: false
2024-08-28 11:01:07 +02:00
clan-bot
b26b73350c
Merge pull request 'Admin module: integrate with clan app' ( #1985 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-27 16:48:04 +00:00
Johannes Kirschbauer
c1df96010b
Fix: inventory
2024-08-27 18:44:13 +02:00
Johannes Kirschbauer
4e3dd27b70
Classgen: fix loose type for dict
2024-08-27 18:35:02 +02:00
Johannes Kirschbauer
b601bab5a2
Admin module: integrate with clan app
2024-08-27 18:21:18 +02:00
clan-bot
54139876b5
Merge pull request 'Fix: revert remove clanDir default' ( #1983 ) from hsjobeki/clan-core:hsjobeki-rev into main
2024-08-27 12:35:33 +00:00
clan-bot
a668540381
Merge pull request 'Template: fix flake-parts template' ( #1982 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-27 12:30:33 +00:00
Johannes Kirschbauer
e6f022ef81
Fix: revert remove clanDir default
2024-08-27 14:29:00 +02:00
Johannes Kirschbauer
fe815e5b45
Template: fix flake-parts template
2024-08-27 11:27:26 +02:00
clan-bot
5556de0f15
Merge pull request 'API: init Admin endpoints' ( #1981 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-27 08:48:37 +00:00
Johannes Kirschbauer
7fe5e355e0
API: init Admin endpoints
2024-08-27 10:09:08 +02:00
clan-bot
c40df5977b
Merge pull request 'Remove nixos-factor-modules for now' ( #1980 ) from disable-nixos-facter-modules into main
2024-08-27 07:42:27 +00:00
Jörg Thalheim
dc94545655
remove nixos-factor modules for now
...
I would like to get rid of blueprint before having this feature
2024-08-27 09:38:28 +02:00
clan-bot
d0e5451155
Merge pull request 'ClanModule: init Admin module' ( #1978 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-26 16:57:21 +00:00
Johannes Kirschbauer
e9d0b8c765
Python classes: add admin module
2024-08-26 18:41:12 +02:00
Johannes Kirschbauer
7b1325a232
ClanModules: add admin module
2024-08-26 18:33:47 +02:00
clan-bot
64ae437486
Merge pull request 'API: fixes' ( #1977 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-26 16:08:39 +00:00
Johannes Kirschbauer
da9af768c2
API: fix single disk service
2024-08-26 18:03:35 +02:00
Johannes Kirschbauer
41141c0483
API: fix online check
2024-08-26 18:00:41 +02:00
clan-bot
f4389c1649
Merge pull request 'clanModules: Init heisenbridge matrix <-> IRC bridge' ( #1976 ) from Qubasa/clan-core:Qubasa-main into main
2024-08-26 15:05:26 +00:00
clan-bot
a8cbca7286
Merge pull request 'UI: improve welcome workflows' ( #1975 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-26 15:04:38 +00:00
Qubasa
1a376ffc83
clanModules: Init heisenbridge matrix <-> IRC bridge
2024-08-26 16:59:53 +02:00
Johannes Kirschbauer
19bcfb0aa5
UI: add create machine suggestion
2024-08-26 16:58:08 +02:00
Johannes Kirschbauer
3f45d1a279
UI: improve welcome workflow
2024-08-26 16:29:29 +02:00
Johannes Kirschbauer
c96b5ec4de
UI: add quicklink for machine details
2024-08-26 16:28:57 +02:00
Johannes Kirschbauer
5714f9ac52
UI: add back button & improve machine layout
2024-08-26 16:28:37 +02:00
clan-bot
4d5afdb75f
Merge pull request 'clan-vm-manager: remove type assertions' ( #1974 ) from nixos-facter into main
2024-08-26 13:56:26 +00:00
Jörg Thalheim
2405315c21
clan-vm-manager: remove type assertions
...
we use mypy already, so these type assertions don't make sense.
Also we no longer have strings and always FlakeId in this case
2024-08-26 15:52:20 +02:00
clan-bot
79c7a9f7a6
Merge pull request 'remove clanDir default' ( #1972 ) from DavHau/clan-core:DavHau-dave into main
2024-08-26 13:45:50 +00:00
DavHau
61e1fd7f85
remove clanDir default
...
The default value for clanDir did not make sense, as it pointed to the directory of the module definition
Also, we should not have a default at this level as all.
2024-08-26 15:41:52 +02:00
clan-bot
791b5b79e9
Merge pull request 'nixos-facter: init at 0-unstable-2024-08-26' ( #1973 ) from nixos-facter into main
2024-08-26 13:39:10 +00:00
Jörg Thalheim
f59f6e1d74
nixos-facter: init at 0-unstable-2024-08-26
2024-08-26 15:35:14 +02:00
hsjobeki
f9c8dd1518
Merge pull request 'Integrate nixos-facter into UI' ( #1963 ) from hsjobeki/clan-core:hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1963
2024-08-26 09:52:05 +00:00
Johannes Kirschbauer
8f39db5c54
Remove nixos-facter until fixed upstream
2024-08-26 11:47:26 +02:00
Johannes Kirschbauer
10f6292073
Facter: only export the standard linux package for caching
2024-08-26 09:23:46 +02:00
Johannes Kirschbauer
086e6c29d3
Format
2024-08-26 09:05:01 +02:00
Johannes Kirschbauer
0dd992705c
UI: use nixos-facter for hardware reports
2024-08-26 09:05:01 +02:00
Johannes Kirschbauer
24483e6a13
Installer: add trusted nix caches
2024-08-26 09:05:01 +02:00
Johannes Kirschbauer
a0307a29b8
CLI: add option to generate facter.json
2024-08-26 09:05:01 +02:00
Johannes Kirschbauer
fd2dd2b565
BuildClan: autoimport facter.json
2024-08-26 09:04:59 +02:00
clan-bot
0295114c17
Merge pull request 'Automatic flake update - treefmt-nix - 2024-08-26T00:00+00:00' ( #1970 ) from flake-update-treefmt-nix-2024-08-26 into main
2024-08-26 00:15:53 +00:00
clan-bot
309854ad99
Merge pull request 'Automatic flake update - 2024-08-26T00:00+00:00' ( #1968 ) from flake-update-2024-08-26 into main
2024-08-26 00:15:26 +00:00
clan-bot
5e2e802a73
Merge pull request 'Automatic flake update - nixpkgs - 2024-08-26T00:00+00:00' ( #1969 ) from flake-update-nixpkgs-2024-08-26 into main
2024-08-26 00:15:25 +00:00
clan-bot
8bdbbafef2
Merge pull request 'Automatic flake update - disko - 2024-08-26T00:00+00:00' ( #1967 ) from flake-update-disko-2024-08-26 into main
2024-08-26 00:09:14 +00:00
Clan Merge Bot
024160b25a
update flake lock - treefmt-nix - 2024-08-26T00:00+00:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a' (2024-08-16)
→ 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
2024-08-26 00:00:35 +00:00
Clan Merge Bot
c400076767
update flake lock - nixpkgs - 2024-08-26T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/6c31eb9b990446880000e3297f69f4fdee5b69d7' (2024-08-22)
→ 'github:NixOS/nixpkgs/8da188f8e754473cb2f5a922bef75a734bfa0fd6' (2024-08-25)
2024-08-26 00:00:31 +00:00
Clan Merge Bot
da70a1c12e
update flake lock - 2024-08-26T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/ffc1f95f6c28e1c6d1e587b51a2147027a3e45ed' (2024-08-08)
→ 'github:nix-community/disko/435737144be0259559ca3b43f7d72252b1fdcc1b' (2024-08-22)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/6c31eb9b990446880000e3297f69f4fdee5b69d7' (2024-08-22)
→ 'github:NixOS/nixpkgs/8da188f8e754473cb2f5a922bef75a734bfa0fd6' (2024-08-25)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a' (2024-08-16)
→ 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
2024-08-26 00:00:29 +00:00
Clan Merge Bot
cae3339d56
update flake lock - disko - 2024-08-26T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/ffc1f95f6c28e1c6d1e587b51a2147027a3e45ed' (2024-08-08)
→ 'github:nix-community/disko/435737144be0259559ca3b43f7d72252b1fdcc1b' (2024-08-22)
2024-08-26 00:00:01 +00:00
clan-bot
a01c208acd
Merge pull request 'fix users in VM again' ( #1966 ) from wayland into main
2024-08-24 17:23:15 +00:00
Jörg Thalheim
969eb2f16e
fix users in VM again
2024-08-24 19:19:24 +02:00
clan-bot
72653f537f
Merge pull request 'docs: Improve iwd, vaultwarden, dyndns, disk-encryption and installer documentation' ( #1965 ) from Qubasa/clan-core:Qubasa-main into main
2024-08-24 11:15:24 +00:00
Qubasa
ca60743b2b
docs: Improve iwd, vaultwarden, dyndns, disk-encryption and installer documentation
2024-08-24 13:10:22 +02:00
clan-bot
aba4a1494f
Merge pull request 'fix-hw-generate' ( #1964 ) from fix-hw-generate into main
2024-08-24 10:11:34 +00:00
Jörg Thalheim
de34e058f6
hw-generate: don't load nixos-install-tools on local machine
...
We only need this on the target. Our installer have it already.
2024-08-24 12:07:22 +02:00
Jörg Thalheim
a2471bf3ec
hw-generate: add to nixos test
2024-08-24 12:07:22 +02:00
Jörg Thalheim
d365699991
use compliant machine name in installation test
2024-08-24 12:07:22 +02:00
Jörg Thalheim
7ba0966da3
hw-generate: fix args
2024-08-24 12:07:22 +02:00
Jörg Thalheim
96321123d7
correct error message about allowed hostnames
2024-08-24 11:30:26 +02:00
Luis Hebendanz
5adeccd35d
Merge pull request 'clanModules: Add vaultwarden module. Add nginx module. Make matrix-synapse subdomain configurable' ( #1942 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1942
2024-08-23 16:22:02 +00:00
Qubasa
3e2b7f95a4
clanModules: Add vaultwarden module. Add nginx module. Make matrix-synapse subdomain configurable
2024-08-23 18:15:48 +02:00
clan-bot
7b9297ed85
Merge pull request 'vars: rename 'facts' _ 'vars' in docs' ( #1962 ) from DavHau/clan-core:DavHau-dave into main
2024-08-23 16:09:31 +00:00
DavHau
a88b47c1f5
vars: rename 'facts' _ 'vars' in docs
2024-08-23 18:00:38 +02:00
clan-bot
aa80534777
Merge pull request 'vars: add deploy test for shared generators' ( #1961 ) from DavHau/clan-core:DavHau-dave into main
2024-08-23 15:41:03 +00:00
DavHau
238fae500d
vars: add deploy test for shared generators
2024-08-23 17:36:33 +02:00
clan-bot
43fb0543a7
Merge pull request 'Reapply + Fix "vars: fix - upload machines own secrets only"' ( #1959 ) from DavHau/clan-core:DavHau-dave into main
2024-08-23 13:47:44 +00:00
DavHau
f0a3eaca96
Reapply + Fix "vars: fix - upload machines own secrets only"
...
This reverts commit cb860f9a03 .
2024-08-23 15:42:46 +02:00
clan-bot
4b74ff5459
Merge pull request 'API: prepare hw_generate for facter' ( #1958 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-23 09:18:07 +00:00
Johannes Kirschbauer
1e766feb40
API: prepare hw_generate for facter
2024-08-23 11:13:06 +02:00
clan-bot
dcb51d0af3
Merge pull request 'API: hw_generate commit generated config' ( #1957 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-22 14:17:19 +00:00
Johannes Kirschbauer
b0d57cbdf5
API: hw_generate commit generated config
2024-08-22 16:11:08 +02:00
clan-bot
05d604e464
Merge pull request 'Clan-app: generate hw report' ( #1956 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-22 14:01:49 +00:00
Johannes Kirschbauer
2d119ae750
Clan-app: generate hw report
2024-08-22 15:57:00 +02:00
clan-bot
0b777dcf32
Merge pull request 'bump nixpkgs' ( #1955 ) from flake-update into main
2024-08-22 11:46:29 +00:00
Jörg Thalheim
d8d2c8b071
bump nixpkgs
2024-08-22 13:41:03 +02:00
clan-bot
68c25d6aeb
Merge pull request 'Clan-app: install machine' ( #1954 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-22 08:21:10 +00:00
Johannes Kirschbauer
ed85df6998
Clan-app: install machine interaction
2024-08-22 10:16:43 +02:00
Johannes Kirschbauer
b7d0314826
API: serde fix nullable fields should be allowed to be none
2024-08-21 17:53:25 +02:00
clan-bot
0bd6921c5d
Merge pull request 'Clan-app: fix welcome screen for initially empty clan' ( #1953 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-21 15:22:59 +00:00
Johannes Kirschbauer
1d6ff67905
Clan-app: fix welcome screen for initially empty clan
2024-08-21 17:06:49 +02:00
clan-bot
6305667e62
Merge pull request 'clan-vm-manager: Fix regression' ( #1944 ) from Qubasa/clan-core:Qubasa-new_clan_vm_manager into main
2024-08-21 13:54:31 +00:00
Qubasa
19fe0432d9
clan-cli: Fix some type errors in tests
2024-08-21 15:48:43 +02:00
Qubasa
f74df54edd
clan-vm-manager: Fix regression
2024-08-21 15:48:43 +02:00
clan-bot
8796f53f4a
Merge pull request 'UI: install improve UI workflow' ( #1952 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-21 13:40:01 +00:00
Johannes Kirschbauer
10e3664bf3
Format
2024-08-21 15:32:38 +02:00
Johannes Kirschbauer
819db34d99
Clan-app: improve install machine workflow
2024-08-21 15:31:33 +02:00
Johannes Kirschbauer
4862171e85
UI: add classes to SelectInput
2024-08-21 15:29:08 +02:00
Johannes Kirschbauer
b5951146bc
UI: add placeholder to fileInput
2024-08-21 15:29:08 +02:00
Johannes Kirschbauer
9a222d62a7
API: init set_machine
2024-08-21 15:29:08 +02:00
Mic92
3a254bee28
Merge pull request 'rework-installation' ( #1804 ) from rework-installation into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1804
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-08-21 13:28:54 +00:00
Mic92
3710175785
Merge branch 'main' into rework-installation
2024-08-21 13:28:29 +00:00
Jörg Thalheim
666718287a
fix template path for relative clan create template
2024-08-21 15:16:46 +02:00
Jörg Thalheim
a72498fe2c
capture_output: only start capturing when we enter the with statement
2024-08-21 15:16:46 +02:00
clan-bot
d16a833bb1
Merge pull request 'Revert "vars: fix - upload machines own secrets only"' ( #1950 ) from DavHau/clan-core:DavHau-dave into main
2024-08-21 13:02:27 +00:00
Jörg Thalheim
a3699721c0
remove ipdb again
...
ipdb doesn't work with capsys and breakpoint
2024-08-21 15:00:47 +02:00
DavHau
cb860f9a03
Revert "vars: fix - upload machines own secrets only"
...
This reverts commit 8d61b03f8d .
2024-08-21 14:59:05 +02:00
clan-bot
977193ed41
Merge pull request 'vars: fix - upload machines own secrets only' ( #1949 ) from DavHau/clan-core:DavHau-dave into main
2024-08-21 12:51:28 +00:00
DavHau
8d61b03f8d
vars: fix - upload machines own secrets only
2024-08-21 14:47:41 +02:00
Jörg Thalheim
6c421be9b2
test_create_flake: use template name instead of url
2024-08-21 13:59:38 +02:00
clan-bot
d6380bdbb3
Merge pull request 'formatter: rm uncommented code' ( #1947 ) from kenji/clan-core:formatter-rm into main
2024-08-21 11:59:29 +00:00
clan-bot
1eafb183df
Merge pull request 'clan-app: Fix nix run .#clan-app' ( #1948 ) from Qubasa/clan-core:Qubasa-clan-app-fix into main
2024-08-21 11:59:29 +00:00
Jörg Thalheim
449db570b3
ui: fix type errors
2024-08-21 13:53:49 +02:00
Qubasa
e6dafd05f9
clan-app: Fix nix run .#clan-app
2024-08-21 13:52:25 +02:00
a-kenji
d4c70297f2
formatter: rm uncommented code
2024-08-21 13:50:50 +02:00
Jörg Thalheim
30bbb142e2
Merge remote-tracking branch 'origin/main' into rework-installation
2024-08-21 13:38:04 +02:00
clan-bot
721c5771c8
Merge pull request 'clan-app: Fix name, desktop file and uri handling' ( #1945 ) from kenji/clan-core:clan-app into main
2024-08-21 10:38:06 +00:00
a-kenji
df04d68cf3
clan-app: Fix name, desktop file and uri handling
...
This fixes the desktop file and uri handling.
Also brings app window class and name and build in line with the actual
naming.
2024-08-21 12:31:02 +02:00
clan-bot
30fda8b986
Merge pull request 'flash: fix finding disko-install when sudo is used' ( #1943 ) from Mic92-main into main
2024-08-21 10:01:48 +00:00
Jörg Thalheim
262859fdb8
flash: fix finding disko-install when sudo is used
2024-08-21 11:57:41 +02:00
Mic92
1759a8a4dc
Merge pull request 'fix(installer): Fix language check case' ( #1940 ) from aos/clan-core:aos/fix-language-installer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1940
2024-08-21 08:15:49 +00:00
Aos Dabbagh
1e96f59ecd
fix(installer): Fix language check case
...
When attempting to follow the docs on the installer, this error comes
up:
```
$ clan flash --flake git+https://git.clan.lol/clan/clan-core \
--ssh-pubkey ~/.ssh/id_ed25519.pub \
--keymap us \
--language en_US.utf-8 \
--dry-run flash-installer
ERROR: Language 'en_US.utf-8' is not a valid language. Run 'clan flash --list-languages' to see a list of possible languages.
```
I only decided to clean up the docs, but I'm also okay with just
downcasing the locales in `list_possible_languages()`.
2024-08-21 08:15:49 +00:00
clan-bot
13d4e5c7f3
Merge pull request 'Revert "Merge pull request 'clanModules: Init nginx module. matrix-synapse: don't assume domain names' ( #1906 ) from Qubasa/clan-core:Qubasa-new-main into main"' ( #1941 ) from Mic92-main into main
2024-08-21 08:14:07 +00:00
Jörg Thalheim
3c04199447
Revert "Merge pull request 'clanModules: Init nginx module. matrix-synapse: don't assume domain names' ( #1906 ) from Qubasa/clan-core:Qubasa-new-main into main"
...
This reverts commit 88d3223ac0 , reversing
changes made to f8c20fcbe1 .
Apparently this breaks assumptions about matrix: https://git.clan.lol/clan/clan-core/pulls/1906#issuecomment-13184
2024-08-21 10:03:13 +02:00
clan-bot
fa9bcbede2
Merge pull request 'clanModules/mumble: prefer str instead of string' ( #1939 ) from kenji/clan-core:mumble-str into main
2024-08-20 13:22:24 +00:00
a-kenji
3c916fc4ad
clanModules/mumble: prefer str instead of string
2024-08-20 15:15:19 +02:00
clan-bot
45b586dbc6
Merge pull request 'Automatic flake update - nixos-images - 2024-08-20T14:47+02:00' ( #1934 ) from flake-update-nixos-images-2024-08-20 into main
2024-08-20 13:00:08 +00:00
clan-bot
952d5761df
Merge pull request 'Automatic flake update - nixpkgs - 2024-08-20T14:47+02:00' ( #1935 ) from flake-update-nixpkgs-2024-08-20 into main
2024-08-20 13:00:08 +00:00
clan-bot
c2e55fbc4f
Merge pull request 'Automatic flake update - sops-nix - 2024-08-20T14:47+02:00' ( #1936 ) from flake-update-sops-nix-2024-08-20 into main
2024-08-20 12:59:55 +00:00
clan-bot
f0bc3631a2
Merge pull request 'Automatic flake update - treefmt-nix - 2024-08-20T14:47+02:00' ( #1937 ) from flake-update-treefmt-nix-2024-08-20 into main
2024-08-20 12:59:55 +00:00
Clan Merge Bot
5cc5757455
update flake lock - treefmt-nix - 2024-08-20T14:47+02:00
...
Flake lock file updates:
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/4a6d7dccf80a1aa2d04cfaa88d9e5511542a2486' (2024-08-14)
→ 'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a' (2024-08-16)
2024-08-20 14:47:44 +02:00
Clan Merge Bot
70496ed60e
update flake lock - sops-nix - 2024-08-20T14:47+02:00
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05)
→ 'github:Mic92/sops-nix/be0eec2d27563590194a9206f551a6f73d52fa34' (2024-08-12)
2024-08-20 14:47:41 +02:00
Clan Merge Bot
0021784a8a
update flake lock - nixpkgs - 2024-08-20T14:47+02:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/03bd12dcf88b6aabc047fbf909bda4c7e344416c' (2024-08-15)
→ 'github:NixOS/nixpkgs/d2fa2514f041934a6aa261c66dc44829251cffd3' (2024-08-20)
2024-08-20 14:47:38 +02:00
Clan Merge Bot
79440aceaa
update flake lock - nixos-images - 2024-08-20T14:47+02:00
...
Flake lock file updates:
• Updated input 'nixos-images':
'github:nix-community/nixos-images/617f2cb56213d10574bc6fdb390f6e7f5b551d7e' (2024-08-08)
→ 'github:nix-community/nixos-images/b733f0680a42cc01d6ad53896fb5ca40a66d5e79' (2024-08-19)
2024-08-20 14:47:36 +02:00
kenji
acfa6e2105
Merge pull request 'facts: fix typo' ( #1909 ) from kenji/clan-core:fix-typos into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1909
2024-08-20 11:44:29 +00:00
a-kenji
255a2f5800
facts: fix typo
2024-08-20 11:44:29 +00:00
clan-bot
52e8bc163a
Merge pull request 'API/show_block_devices: add option for remote devices' ( #1903 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-20 10:10:48 +00:00
Johannes Kirschbauer
db0ebcabf0
init: Set/get single disk
2024-08-20 12:05:22 +02:00
kenji
4f34e136be
Merge pull request 'state: remove /home from default state folders' ( #1886 ) from kenji/clan-core:remove-home-from-state into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1886
Reviewed-by: lassulus <clanlol@lassul.us >
2024-08-20 10:02:12 +00:00
a-kenji
c3a491a8d9
state: remove /home from default state folders
...
Home should not always be set by default.
In the UI we can suggest it, but it catches a lot of state you might not
want to back up.
The default has been moved to be automatically set by vm's in `vm.nix`.
2024-08-20 10:02:12 +00:00
Johannes Kirschbauer
f55e772137
Fix: types
2024-08-20 11:33:23 +02:00
Johannes Kirschbauer
cabdbe5ecd
Clan-app: connection check & show remote devices
2024-08-20 09:53:15 +02:00
Johannes Kirschbauer
76ca85ac73
API/show_block_devices: add option for remote devices
2024-08-20 09:53:15 +02:00
clan-bot
88d3223ac0
Merge pull request 'clanModules: Init nginx module. matrix-synapse: don't assume domain names' ( #1906 ) from Qubasa/clan-core:Qubasa-new-main into main
2024-08-19 10:59:16 +00:00
Qubasa
4bf31c2cf6
clanModules: Add acme secret prompt for nginx
2024-08-19 12:53:15 +02:00
Qubasa
e4821a33cb
clanModules: Init vaultwarden, the bitwarden server
2024-08-19 12:00:35 +02:00
Qubasa
efd0a0f056
clanModules: Init nginx module. matrix-synapse: don't assume domain names
2024-08-19 12:00:35 +02:00
clan-bot
f8c20fcbe1
Merge pull request 'golem: add golem-provider clan module' ( #1890 ) from DavHau/clan-core:DavHau-dave into main
2024-08-19 09:55:54 +00:00
DavHau
57a19550a0
golem: add golem-provider clan module
2024-08-19 11:50:04 +02:00
clan-bot
f6a6743dcd
Merge pull request 'Classgen: fix dict type conversion for trivial dicts' ( #1905 ) from hsjobeki/clan-core:class into main
2024-08-19 06:58:49 +00:00
Johannes Kirschbauer
4139435832
Classgen: fix dict type conversion for trivial dicts
2024-08-19 08:48:31 +02:00
kenji
b61f9de05c
Merge pull request 'vars: fix using vars module with multiple machines' ( #1891 ) from kenji/clan-core:fix-vars-multiple-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1891
2024-08-17 14:00:56 +00:00
a-kenji
63b5417c3d
vars: fix using vars module with multiple machines
...
This filters the secrets to only include the secrets managed under `per-machine` and `shared`,
otherwise new deployments will fail, when using the vars module for multiple machines:
```
[vyr] /nix/store/[…]sops-install-secrets: failed to decrypt '/nix/store/[…]/sops/vars/per-machine/draper/garage/admin_token/secret': Error getting data key: 0 successful groups required, got 0
```
This doesn't fix all the edge cases with this approach.
We get a similar error if we deploy shared vars that are not
encrypted for our machine key. This needs to be addressed when
implementing the shared vars functionality.
2024-08-17 14:00:56 +00:00
clan-bot
28b588b36f
Merge pull request 'zerotierone: fix with recent nixpkgs update' ( #1902 ) from zerotierone into main
2024-08-16 09:08:18 +00:00
Jörg Thalheim
f3b63232cd
bcachefs: use unstable for zfs
2024-08-16 11:04:42 +02:00
Jörg Thalheim
ca4f347598
bump nixpkgs
2024-08-16 11:04:42 +02:00
Jörg Thalheim
466c7cb8bd
zerotierone: use our own upgraded zerotierone package in nixos module
2024-08-16 11:04:42 +02:00
Jörg Thalheim
237f762490
zerotierone: fix build against rust 1.80
2024-08-16 10:54:48 +02:00
clan-bot
22ef162d55
Merge pull request 'fix group settings not applied correctly' ( #1901 ) from group-secrets into main
2024-08-15 21:00:54 +00:00
Mic92
14ce2039b0
Merge pull request 'feat(flake): make systems overridable' ( #1893 ) from zimbatm/clan-core:overridable-flake-systems into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1893
2024-08-15 20:53:44 +00:00
Jörg Thalheim
3b40ff8156
fix group settings not applied correctly
2024-08-15 22:52:53 +02:00
zimbatm
4fa4af12dc
feat(flake): make systems overridable
...
Clan users might want to use the flake on different architectures.
This allows them to override the systems input with a new value.
2024-08-15 20:03:56 +02:00
clan-bot
f132038bcd
Merge pull request 'fix remaining places not using captured_output' ( #1900 ) from Mic92-flake-update-2024-08-12 into main
2024-08-15 18:00:53 +00:00
Jörg Thalheim
609b208d91
fix remaining places not using captured_output
2024-08-15 19:57:08 +02:00
clan-bot
78643953ad
Merge pull request 'use capture_output fixture in more places' ( #1899 ) from Mic92-flake-update-2024-08-12 into main
2024-08-15 17:25:57 +00:00
Jörg Thalheim
223b97d665
use capture in more places
2024-08-15 19:20:01 +02:00
Jörg Thalheim
5f99604f0e
remove unused fixture
2024-08-15 19:13:20 +02:00
clan-bot
9a7341872c
Merge pull request 'add fixture to capture output more fragile' ( #1898 ) from Mic92-flake-update-2024-08-12 into main
2024-08-15 16:52:37 +00:00
Jörg Thalheim
e51905545d
add fixture to capture output in tests less fragile
...
Now we always remove previous output before capturing.
2024-08-15 18:45:03 +02:00
clan-bot
95f63a8efc
Merge pull request 'Mic92-flake-update-2024-08-12' ( #1897 ) from Mic92-flake-update-2024-08-12 into main
2024-08-15 16:06:39 +00:00
Jörg Thalheim
6d764b35f7
test_history_cli: clear capsys before reading from program
2024-08-15 17:59:11 +02:00
Jörg Thalheim
bc1c7c748f
try to log content of flake substitutes
2024-08-15 17:43:57 +02:00
Jörg Thalheim
b8fe60a4f7
stop using sysusers inside vm
2024-08-15 17:30:38 +02:00
Jörg Thalheim
943e3f6d5b
fix treefmt-nix
2024-08-15 17:30:38 +02:00
Clan Merge Bot
cef77a3df4
update flake lock - 2024-08-12T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/bec6e3cde912b8acb915fecdc509eda7c973fb42' (2024-07-19)
→ 'github:nix-community/disko/ffc1f95f6c28e1c6d1e587b51a2147027a3e45ed' (2024-08-08)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
→ 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d' (2024-08-01)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/accee005735844d57b411d9969c5d0aabc6a55f6' (2024-07-21)
→ 'github:nix-community/nixos-images/617f2cb56213d10574bc6fdb390f6e7f5b551d7e' (2024-08-08)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4cc8b29327bed3d52b40041f810f49734298af46' (2024-07-21)
→ 'github:NixOS/nixpkgs/bef98989a27429e1cb9e3d9c25701ba2da742af2' (2024-08-10)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/909e8cfb60d83321d85c8d17209d733658a21c95' (2024-07-21)
→ 'github:Mic92/sops-nix/8ae477955dfd9cbf5fa4eb82a8db8ddbb94e79d9' (2024-08-05)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/07741a9babd0754bf73fb47a6340d6289eabd1d6' (2024-08-03)
→ 'github:numtide/treefmt-nix/c9f97032be6816fa234f24803b8ae79dc7753a91' (2024-08-11)
2024-08-15 17:30:38 +02:00
clan-bot
237bc7112c
Merge pull request 'Machine update: fix upload sources from machine flake, instead of current directory' ( #1896 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-15 13:31:57 +00:00
Johannes Kirschbauer
02662867fb
UI: init update machine
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
cacd49ff54
Serde: extend deserializer to accept anything
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
90b13dc803
API: init machine update
2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
3522b8ba49
Machine update: fix upload sources from machine flake, instead of current directory
2024-08-15 15:08:15 +02:00
clan-bot
fbe45e1320
Merge pull request 'Clan-app: flash installer. move expert fields into advanced form' ( #1895 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-15 10:31:49 +00:00
Johannes Kirschbauer
a703388ba7
Clan-app: move expert field into advanced form
2024-08-15 12:26:43 +02:00
clan-bot
4d57f4cf5b
Merge pull request 'fixtures_flake: avoid fileinput' ( #1889 ) from Mic92-blog/nixos-facter into main
2024-08-14 15:05:56 +00:00
Jörg Thalheim
dc229a1b3b
fixtures_flake: avoid fileinput
...
it seems that the inplace argument in some cases picks up output from
unrelated functions. Since the file is relativly small, we can just
replace the content in one go.
2024-08-14 16:56:44 +02:00
clan-bot
4fdb9455f0
Merge pull request 'Clan-cli: remove unused show machine' ( #1888 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-14 14:35:24 +00:00
Johannes Kirschbauer
3f46d37b67
Clan-app: generate hw spec via ssh
2024-08-14 16:28:43 +02:00
Johannes Kirschbauer
eb844e83fe
Clan-cli: remove unused show machine
2024-08-14 16:18:43 +02:00
kenji
99be17aa03
Merge pull request 'clanModules: add garage module' ( #1887 ) from kenji/clan-core:modules/init-garage into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1887
2024-08-14 14:16:51 +00:00
a-kenji
f12c268110
clanModules: add garage module
...
The garage module sets up backups for metadata automatically and
generates keys needed for deployment automatically.
What is still needed in a distributed deployment is sharing of the
generated rpc keys with other garage instances.
2024-08-14 16:01:13 +02:00
clan-bot
8084211fe4
Merge pull request 'Clan-app: init dynamic routes concept' ( #1885 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-14 11:22:36 +00:00
Johannes Kirschbauer
22d6d57e3a
Clan-app: dynamic router concept
2024-08-14 13:16:14 +02:00
clan-bot
92dee5784f
Merge pull request 'pkgs/yagna: init at pre-rel-v0.16.0-preview.deposits.3' ( #1883 ) from DavHau/clan-core:DavHau-dave into main
2024-08-13 20:20:20 +00:00
DavHau
b1d08ac228
pkgs/yagna: init at pre-rel-v0.16.0-preview.deposits.3
2024-08-13 22:14:39 +02:00
clan-bot
918c536e97
Merge pull request 'Clan-app: adapt overall appearance & layout' ( #1882 ) from hsjobeki/clan-core:hsjobeki-hw into main
2024-08-13 19:14:21 +00:00
Johannes Kirschbauer
f26094c1ae
Clan-app: adapt overall appearance & layout
2024-08-13 21:08:52 +02:00
clan-bot
3136a18d23
Merge pull request 'Inventory: add assertions, allow external references' ( #1877 ) from hsjobeki/clan-core:hsjobeki-inventory into main
2024-08-13 17:36:15 +00:00
clan-bot
1cb3227f14
Merge pull request 'UI: add deploy feature, for initial machine deployment' ( #1878 ) from hsjobeki/clan-core:hsjobeki-ui into main
2024-08-13 17:36:14 +00:00
clan-bot
f9e60851cb
Merge pull request 'API: init setter for service instance config.' ( #1879 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-13 17:36:02 +00:00
clan-bot
cb333fb3a0
Merge pull request 'Serializer: filter None fields, to avoid conflicts with nix module system' ( #1880 ) from hsjobeki/clan-core:hsjobeki-serde into main
2024-08-13 17:36:01 +00:00
clan-bot
b946e7b3bc
Merge pull request 'API: add keyfile arg' ( #1881 ) from hsjobeki/clan-core:hsjobeki-hw into main
2024-08-13 17:35:29 +00:00
Johannes Kirschbauer
68c65fb3fd
API: add keyfile arg
2024-08-13 19:29:28 +02:00
Johannes Kirschbauer
8d1a1ddb17
Serializer: filter None fields, to avoid conflicts with nix module system
2024-08-13 19:27:59 +02:00
Johannes Kirschbauer
f873ac2388
API: init setter for service instance config.
2024-08-13 19:27:16 +02:00
Johannes Kirschbauer
d78c2fc2ac
UI: add deploy button, for initial machine deployment
2024-08-13 19:24:53 +02:00
Johannes Kirschbauer
f0f870cf56
Inventory: add assertions, allow external references
2024-08-13 19:22:29 +02:00
clan-bot
8fe2a40bcc
Merge pull request 'Webview: use importNpmLock' ( #1876 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-13 17:21:16 +00:00
Johannes Kirschbauer
6f2b8adb54
Webview: use importNpmLock
2024-08-13 19:15:23 +02:00
clan-bot
907c2dfdde
Merge pull request 'API: init install machine' ( #1872 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-13 17:04:39 +00:00
Johannes Kirschbauer
1128bf1cac
API: init install machine
2024-08-13 18:58:20 +02:00
clan-bot
56dc13854f
Merge pull request 'vars: add test for deployment' ( #1873 ) from DavHau/clan-core:DavHau-vars-deploy-test into main
2024-08-13 13:33:25 +00:00
DavHau
6892202bf2
vars: add test for deployment
2024-08-13 15:29:51 +02:00
clan-bot
c2d8f6c726
Merge pull request 'clanModule: Extend dyndns support for most dns hosters. Improve security.' ( #1871 ) from Qubasa/clan-core:Qubasa-main into main
2024-08-12 21:03:22 +00:00
Qubasa
f0a9a7a02b
clan-cli: Add --show-trace to nix build and nixos-rebuild commands
2024-08-12 22:27:54 +02:00
Qubasa
50210708c5
clanModule: Extend dyndns support for most dns hosters. Improve security.
2024-08-12 22:27:54 +02:00
clan-bot
40f54a3801
Merge pull request 'clanModule: Init dyndns module to update domains pointing to dynamic IPs' ( #1869 ) from Qubasa/clan-core:Qubasa-main into main
2024-08-11 16:53:40 +00:00
Qubasa
e3d67fe9e1
clanModule: Init dyndns module to update domains pointing to dynamic IPs
2024-08-11 18:49:42 +02:00
clan-bot
be02bd0fb1
Merge pull request 'docs: Add zfs disk encryption getting started guide with remote unlocking.' ( #1867 ) from Qubasa/clan-core:Qubasa-main into main
2024-08-10 10:31:11 +00:00
Qubasa
cdcbd146f2
docs: Add zfs disk encryption getting started guide with remote unlocking.
2024-08-10 12:24:49 +02:00
clan-bot
b5cde4f8fb
Merge pull request 'clanModules: Fix iwd module' ( #1866 ) from Qubasa/clan-core:Qubasa-main into main
2024-08-09 20:23:32 +00:00
Qubasa
fb0ae0c22d
clanModules: Fix iwd module
2024-08-09 22:17:46 +02:00
clan-bot
74a6640b3d
Merge pull request 'clan-cli: Add --wifi option to set wifi credentials. clan-app: Add wifi settings form to flash view' ( #1862 ) from Qubasa/clan-core:Qubasa-Qubasa-main into main
2024-08-07 19:40:42 +00:00
Qubasa
9b7322fdab
clan-cli: Add --wifi option to set wifi credentials. clan-app: Add wifi settings form to flash view
2024-08-07 21:35:06 +02:00
clan-bot
5739851d5f
Merge pull request 'clanModule: Init iwd wifi credential module' ( #1840 ) from Qubasa/clan-core:Qubasa-Qubasa-main into main
2024-08-07 14:13:25 +00:00
Qubasa
64afc0da53
docs: Fix missing nav link to iwd clan module
2024-08-07 16:04:46 +02:00
Qubasa
3b186cad87
formatter: Add prettier to format js files
2024-08-07 15:54:36 +02:00
Qubasa
9d8d2bc61e
clanModule: Init wifi iwd clan module, with which you can predefine wifi network credentials
2024-08-07 15:50:30 +02:00
Qubasa
9138d72fad
clan-app: Initial move to process based api calling instead of thread based
2024-08-07 15:49:39 +02:00
kenji
b508018df1
Merge pull request 'Fix: forward meta attributes in flake-parts module' ( #1860 ) from kenji/clan-core:forward-meta into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1860
2024-08-07 12:19:17 +00:00
a-kenji
f58d5c53be
Fix: forward meta attributes in flake-parts module
...
This fixes building machines with the flake-parts module.
Since the inventory merges the machines, the `clan.core.meta` attribute
is now a submodule and conditionally imported.
Also drops the following attributes:
- clan.core.meta.icon
- clan.core.meta.description
In favor of specifying them inside the inventory.
This doesn't use `mkRemovedOptionsModule`, because in our case it would
cause infinite recursion.
2024-08-07 12:19:17 +00:00
kenji
ebd72986ce
Merge pull request 'Revert "Fix: forward meta attributes in flake-parts module"' ( #1858 ) from kenji/clan-core:revert-machines into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1858
2024-08-07 10:40:36 +00:00
a-kenji
19633da2de
Revert "Fix: forward meta attributes in flake-parts module"
...
This reverts commit ce33119896 .
The propagated `self` attribute can be an error in non `flake-parts`
modules.
2024-08-07 10:40:36 +00:00
clan-bot
e11eed333a
Merge pull request 'Clan-app: Add loading animations & improve async data handling' ( #1854 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-07 10:24:56 +00:00
Johannes Kirschbauer
28167c5156
Clan-cli: remove unused debug flag in list machine
2024-08-07 12:17:32 +02:00
Johannes Kirschbauer
7e9214053f
Clan-app: Flash improve form & file input
2024-08-07 12:16:06 +02:00
kenji
566132d3cf
Merge pull request 'fix: forward meta attributes in flake-parts module' ( #1852 ) from kenji/clan-core:forward-meta into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1852
2024-08-07 09:33:49 +00:00
a-kenji
ce33119896
Fix: forward meta attributes in flake-parts module
...
This fixes building machines with the flake-parts module.
Since the inventory merges the machines, the `clan.core.meta` attribute
is now a submodule and conditionally imported.
Also drops the following attributes:
- clan.core.meta.icon
- clan.core.meta.description
In favor of specifying them inside the inventory.
This doesn't use `mkRemovedOptionsModule`, because in our case it would
cause infinite recursion.
2024-08-07 09:33:49 +00:00
Johannes Kirschbauer
99dc5793b2
Clan-app: Add loading animations & improve async data handling
2024-08-06 22:29:11 +02:00
clan-bot
f96d28b95f
Merge pull request 'Clan-app: refine create machine workflow via query operation' ( #1853 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-06 14:11:58 +00:00
Johannes Kirschbauer
937c171769
Clan-app: refine create machine workflow via query operation
2024-08-06 16:04:21 +02:00
clan-bot
9777316d13
Merge pull request 'Clan-core: Rename clanName within Machines' ( #1851 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-06 10:30:52 +00:00
Johannes Kirschbauer
742e0a71b5
Clan-core: Rename clanName within Machines
2024-08-06 12:21:46 +02:00
kenji
0cf066f01b
Merge pull request 'mumble: remove traces' ( #1850 ) from kenji/clan-core:mumble/remove-traces into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1850
2024-08-06 10:09:20 +00:00
a-kenji
86093c7150
mumble: remove traces
2024-08-06 11:53:26 +02:00
clan-bot
2874f67fe1
Merge pull request 'Clan-app: show nixos machines and inventory machines' ( #1849 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-08-06 08:47:35 +00:00
Johannes Kirschbauer
66f69e50e8
Clan-app: show nixos machines and inventory machines
2024-08-06 10:44:31 +02:00
clan-bot
af79d3e241
Merge pull request 'clan-cli/vms: add option --publish to forward ports from host to guest' ( #1847 ) from DavHau/clan-core:DavHau-vars into main
2024-08-04 08:32:02 +00:00
DavHau
a4847915de
clan-cli/vms: add option --publish to forward ports from host to guest
2024-08-04 15:28:51 +07:00
clan-bot
1302b95ed0
Merge pull request 'tests: improve testing framework for impure vm tests' ( #1846 ) from DavHau/clan-core:DavHau-vars into main
2024-08-04 06:43:44 +00:00
DavHau
629861d404
tests: improve testing framework for impure vm tests
...
Also fix computet sops secret paths for vars
2024-08-04 13:40:12 +07:00
clan-bot
2db81fd515
Merge pull request 'build-clan: fix specialArgs not passed' ( #1845 ) from DavHau/clan-core:DavHau-dave into main
2024-08-04 06:10:37 +00:00
DavHau
a4ca900427
build-clan: fix specialArgs not passed
2024-08-04 13:06:51 +07:00
clan-bot
4c73b64c6e
Merge pull request 'devshell: remove dependency on clan-cli' ( #1844 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 15:42:27 +00:00
DavHau
6c1c615c60
devshell: remove dependency on clan-cli
...
This stops the devshell from being re-built constantly, when the source code changes.
Based on a new feature in treefmt-nix: https://github.com/numtide/treefmt-nix/pull/208
2024-08-03 22:37:03 +07:00
clan-bot
7de0789183
Merge pull request 'Add build-clan module' ( #1843 ) from hsjobeki/clan-core:hsjobeki-flake-parts into main
2024-08-03 11:38:18 +00:00
Johannes Kirschbauer
7b4b080000
Fix: type test
2024-08-03 13:14:08 +02:00
Johannes Kirschbauer
ede5cbcf13
Fix: regression list_machines. Split into multiple functions
...
list_inventory_machines, list_nixos_machine, list_sops_machines
The caller of the function should specify which machines they wants to see
2024-08-03 12:43:35 +02:00
Johannes Kirschbauer
a4ae204857
Add: legacy support for implicitly creating machines through creating a directory
...
This will be deprecated as soon as the tests dont rely on this behavior anymore
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
b893b33d3e
Forward clan name for vm test compatibility
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
440122d470
Fix wrong unit tests
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
bf7b8fca7b
Fix wrong default for imports
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
35891f7165
Add flake-parts module
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
8b0212b828
Add build-clan module
2024-08-03 12:05:09 +02:00
clan-bot
f31133b784
Merge pull request 'vars: simplify tests' ( #1842 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 08:51:39 +00:00
DavHau
0ca3d036f2
vars: simplify tests
2024-08-03 15:47:35 +07:00
clan-bot
ca95d7ce6d
Merge pull request 'vars: introduce share flag' ( #1841 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 08:33:38 +00:00
DavHau
e22ec9ea5a
clan-cli/tests: improve test helpers for VMs
2024-08-03 15:26:53 +07:00
DavHau
d1c2f0b622
vars: introduce share flag
2024-08-03 15:26:53 +07:00
clan-bot
7788767058
Merge pull request 'clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid. formatter.nix: Add deno as formatter' ( #1839 ) from Qubasa/clan-core:Qubasa-Qubasa-main into main
2024-08-02 17:02:32 +00:00
Qubasa
fb4ceebccf
formatter.nix: Add prettier
2024-08-02 18:56:53 +02:00
Qubasa
3e9ebbc90f
clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid.
2024-08-02 17:51:45 +02:00
kenji
f2e697f3e4
Merge pull request 'formatter: remove broken vale configuration' ( #1835 ) from kenji/clan-core:clan/rm-broken-vale into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1835
Reviewed-by: Luis Hebendanz <consulting@qube.email >
2024-07-31 17:04:54 +00:00
a-kenji
20e43e50a9
formatter: remove broken vale configuration
...
Removes the broken and uncommented value configuration for vale.
While vale can be a valuable tool, we need a working configuration if we
want to use it. Keeping a broken configuration on main is not a
sustainable model.
We can fix it and reintroduce it cleanly at a later stage.
2024-07-31 18:42:16 +02:00
Mic92
23cd816262
Merge pull request 'clan: remove config subcommand' ( #1828 ) from kenji/clan-core:clan/remove-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1828
2024-07-31 16:35:36 +00:00
a-kenji
0a58adce18
clan: remove config subcommand
...
This removes the `config` subcommand from the cli and the documentation
to keep the api surface small.
While this functionality was convenient it doesn't need to be surfaced
by the clan cli.
The remaining `config` python module should be ported to the `clan-app`
in a follow up pr. Because the functionality is currently only used by
the `clan-app`.
Ideally together with: #1830 .
2024-07-31 16:35:36 +00:00
clan-bot
bd552d3a33
Merge pull request 'Deserializer: add Literal; Annotated fields' ( #1833 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-31 11:06:48 +00:00
Johannes Kirschbauer
8ddfaba599
Deserializer: add Literal; Annotated fields
2024-07-31 13:00:28 +02:00
clan-bot
6814946efa
Merge pull request 'Deserializer: replace pydantic' ( #1826 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-30 12:36:08 +00:00
kenji
47ad62bc53
Merge pull request 'clan: remove flatpak check' ( #1831 ) from kenji/clan-core:clan/rm-flatpak into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1831
2024-07-30 12:34:19 +00:00
Johannes Kirschbauer
9db6cb8b6f
Deserializer: add Nullable fields
2024-07-30 14:26:13 +02:00
a-kenji
72bbc2f094
clan: remove flatpak check
...
This check logs, if the cli is started inside a flatpak environment.
2024-07-30 14:21:15 +02:00
kenji
e84a631481
Merge pull request 'merge-after-ci: use nix fmt' ( #1823 ) from kenji/clan-core:feat/merge-after-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1823
2024-07-30 11:43:40 +00:00
a-kenji
2eb6a9c404
merge-after-ci: use nix fmt
...
Use `nix fmt` instead of `treefmt` directly, since `treefmt` depends on
the cached devshell. This can lead to confusing errors.
2024-07-30 11:43:40 +00:00
kenji
3cd0feb63c
Merge pull request 'checks/mumble: improve dependency closure' ( #1827 ) from kenji/clan-core:mumble-improve-closure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1827
2024-07-30 11:40:13 +00:00
a-kenji
617ba9b265
checks/mumble: improve dependency closure
2024-07-30 13:11:50 +02:00
kenji
b11ab7b992
Merge pull request 'clan/secrets: improve naming of secret key' ( #1825 ) from kenji/clan-core:kenji-cli-change-wording into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1825
Reviewed-by: Mic92 <joerg@thalheim.io >
2024-07-30 10:58:45 +00:00
a-kenji
452c00f5f1
clan/secrets: improve naming of secret key
...
Change the secret key help wording to: `secret-name`,
to convey that it is the key and not the value.
Fixes : #1696
2024-07-30 12:54:22 +02:00
Johannes Kirschbauer
5d8fa57f23
Deserializer: replace pydantic
2024-07-30 12:26:16 +02:00
Jörg Thalheim
cc5546d79d
Merge remote-tracking branch 'origin/main' into rework-installation
2024-07-30 11:52:36 +02:00
kenji
e1e83883c0
Merge pull request 'gitignore: add .nixos-test-history' ( #1822 ) from kenji/clan-core:kenji-git/add-nixos-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1822
2024-07-30 09:27:30 +00:00
a-kenji
386ef283ca
gitignore: add .nixos-test-history
...
Add the artifacts created by nixos tests to gitignore.
2024-07-30 09:27:30 +00:00
kenji
cde34a456b
Merge pull request 'mumble: init clan-module' ( #1821 ) from kenji/clan-core:init/mumble-module into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1821
2024-07-30 09:21:00 +00:00
a-kenji
e37a6366d8
mumble: init clan-module
...
This adds the `mumble` clan-module.
This allows for voice chatting in a true peer-to-peer network.
Every machine that has the module enabled is a potential host and
client - every participant has the same role.
It doesn't matter who in the network is online - as long as one of the
machines is up, one server is up and people can start their voice chat.
2024-07-30 10:55:08 +02:00
Mic92
e20c9d52fd
Merge pull request 'better visual seperation between flake/non-flake version' ( #1817 ) from facter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1817
2024-07-29 15:56:51 +00:00
Jörg Thalheim
2e05b28fc2
better visual seperation between flake/non-flake version
2024-07-29 15:56:51 +00:00
Mic92
da44062407
Merge pull request 'blog: grammar fixes for introducing nixos-facter' ( #1820 ) from brianmcgee/clan-core:fix/blog-nixos-facter-grammmer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1820
2024-07-29 15:56:37 +00:00
Brian McGee
927b584fd9
blog: grammar fixes for introducing nixos-facter
2024-07-29 16:51:00 +01:00
clan-bot
0e710e72a4
Merge pull request 'clan-vm-manager: Fix regression' ( #1818 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-29 15:37:02 +00:00
Qubasa
ce1dec774e
clan-vm-manager: Fix regression
2024-07-29 17:33:46 +02:00
clan-bot
4a19a04d1d
Merge pull request 'Clan-app: edit clan, memoize active clan' ( #1819 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-29 15:10:00 +00:00
Johannes Kirschbauer
fa0f393cbb
Clan-app: edit clan, memoize active clan
2024-07-29 17:06:11 +02:00
clan-bot
8aee25fb4f
Merge pull request 'nixos-facter: smaller fixes' ( #1816 ) from facter into main
2024-07-29 13:59:51 +00:00
Jörg Thalheim
0d3800ea99
nixos-facter: smaller fixes
2024-07-29 15:53:50 +02:00
Mic92
69fb8e5cf7
Merge pull request 'blog: introducing nixos-facter' ( #1786 ) from brianmcgee/clan-core:blog/nixos-facter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1786
2024-07-29 13:47:00 +00:00
Jörg Thalheim
8a41908aea
disko fixup
2024-07-29 15:43:07 +02:00
Brian McGee
d06ee01793
blog: introducing nixos-facter
2024-07-29 13:24:37 +00:00
DavHau
71df351217
vars: fix bug when computing taarget path for sops
2024-07-29 12:09:59 +00:00
clan-bot
c782c6b266
Merge pull request 'shell.nix: remove dependency in shell.nix on webui' ( #1815 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-29 12:07:27 +00:00
Qubasa
ef29976ab8
shell.nix: remove dependency in shell.nix on webui
2024-07-29 13:52:11 +02:00
clan-bot
8fbb7160bf
Merge pull request 'vars/sops: fix loading of vars from directory structure' ( #1813 ) from DavHau/clan-core:DavHau-vars into main
2024-07-29 11:05:29 +00:00
DavHau
395c5cbace
vars/sops: fix loading of vars from directory structure
2024-07-29 18:01:26 +07:00
clan-bot
c658ef4566
Merge pull request 'Clan-app: example disk view' ( #1812 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-29 09:55:21 +00:00
Johannes Kirschbauer
4be5ed28db
Clan-app: example disk view
2024-07-29 11:49:55 +02:00
clan-bot
c326063aeb
Merge pull request 'Serializer: use alias, make it configurable for different use cases' ( #1811 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-29 07:04:44 +00:00
Johannes Kirschbauer
395a7fc70e
Serializer: use alias, make it configurable for different use cases
2024-07-29 09:01:06 +02:00
clan-bot
d53ac276a7
Merge pull request 'Serde: add unit tests for all serialization and deserialization logic' ( #1809 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-26 13:27:00 +00:00
Johannes Kirschbauer
7a3fad01e0
PropagatedBuild inputs workaround
2024-07-26 15:23:25 +02:00
Johannes Kirschbauer
d7b6fc16a4
Serde: add unit tests for all serialization and deserialization logic
2024-07-26 14:23:41 +02:00
clan-bot
76e192bd49
Merge pull request 'Clan-app: add dependencies; floating-ui; eslint-query' ( #1808 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-25 12:29:16 +00:00
Johannes Kirschbauer
b48135ca51
Clan-app: add popover - remove clan confirm
2024-07-25 13:11:50 +02:00
Johannes Kirschbauer
dd0c211ac4
Clan-app: add dependencies; floating-ui; eslint-query
2024-07-25 13:09:18 +02:00
Jörg Thalheim
45124bf324
satisfy treefmt
2024-07-24 22:03:12 +02:00
Jörg Thalheim
8ccd8af3cc
Merge remote-tracking branch 'origin/main' into rework-installation
2024-07-24 21:58:57 +02:00
clan-bot
51018a24d6
Merge pull request 'Update documentation' ( #1807 ) from joerg-ci into main
2024-07-24 18:36:15 +00:00
Jörg Thalheim
18c40ad2b8
docs/setup: recommends nixos configuration for nixos users
2024-07-24 20:28:50 +02:00
Jörg Thalheim
96d4cddb08
docs/setup: also mention experimental option in case someone already has nix installed
2024-07-24 20:28:46 +02:00
Jörg Thalheim
bb8f049a6e
CONTRIBUTING: mention browser
2024-07-24 20:28:35 +02:00
clan-bot
57990b02b2
Merge pull request 'fix error message when removing secrets' ( #1806 ) from Mic92-main into main
2024-07-24 18:27:19 +00:00
Jörg Thalheim
87a78ac6a8
fix error message when removing secrets
2024-07-24 20:21:10 +02:00
clan-bot
401fec0d78
Merge pull request 'remove 'Extra config:' warning' ( #1805 ) from Mic92-main into main
2024-07-24 18:10:50 +00:00
Jörg Thalheim
fe99fb8e34
remove 'Extra config:' warning
2024-07-24 20:04:31 +02:00
clan-bot
a070bd608a
Merge pull request 'Clan-app: devshell add schemas for gtk4; gsettings' ( #1803 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-24 16:31:47 +00:00
Johannes Kirschbauer
1a881e43e5
Clan-app: show clan details for each registered clan
2024-07-24 18:26:26 +02:00
Johannes Kirschbauer
edd290e314
Clan-app: devshell add schemas for gtk4; gsettings
2024-07-24 18:26:26 +02:00
clan-bot
ae04beee97
Merge pull request 'vars/sops: store secrets in /sops/vars' ( #1802 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 11:48:31 +00:00
DavHau
1b3dc65b89
vars/sops: store secrets in /sops/vars
2024-07-24 18:42:50 +07:00
clan-bot
49ace8a765
Merge pull request 'Inventory improvements' ( #1795 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-24 11:23:16 +00:00
clan-bot
8de58546f7
Merge pull request 'sops/refactor: lay groundwork for secrets with arbitrary paths' ( #1801 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 11:16:01 +00:00
Johannes Kirschbauer
1b52dca96b
Fix unit tests
2024-07-24 13:15:08 +02:00
DavHau
d7d3c404fa
sops/refactor: lay groundwork for secrets with arbitrary paths
2024-07-24 18:12:19 +07:00
clan-bot
f4960805a4
Merge pull request 'secrets: refactor parameter naming' ( #1800 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 10:55:42 +00:00
DavHau
4300838986
secrets: refactor parameter naming
2024-07-24 17:50:03 +07:00
clan-bot
2d1bbe6349
Merge pull request 'flake.nix: remove unnecessary newline' ( #1799 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 10:41:13 +00:00
DavHau
1b5bfa7af4
flake.nix: remove unnecessary newline
2024-07-24 17:35:55 +07:00
clan-bot
a79e084f53
Merge pull request 'tests/generate_flake: support inventory argument' ( #1798 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 10:10:03 +00:00
DavHau
2bc716377d
tests/generate_flake: support inventory argument
2024-07-24 17:06:42 +07:00
clan-bot
e66ea402ea
Merge pull request 'Add clan.borgbackup.exclude.' ( #1790 ) from inventory-fixes into main
2024-07-24 08:40:54 +00:00
Johannes Kirschbauer
a8886e9e2f
Python Inventory classes: Auto-update
2024-07-24 10:37:19 +02:00
Johannes Kirschbauer
d10405908b
Fix minimal template
2024-07-24 10:34:11 +02:00
Johannes Kirschbauer
d91090bb0e
Create machine: init view with api
2024-07-24 10:34:11 +02:00
Johannes Kirschbauer
2a147462c0
CLI: fix flakeId url interpretation
2024-07-24 10:34:11 +02:00
Johannes Kirschbauer
a4bdc10462
cli: Disable pre-commit hooks for cli commands
2024-07-24 10:34:10 +02:00
Johannes Kirschbauer
871fa8f1ff
Inventory: add load_eval method
2024-07-24 10:34:10 +02:00
Johannes Kirschbauer
75bdf3debc
Fix: hostPlatform not hostSystem
2024-07-24 10:34:10 +02:00
clan-bot
1951fef8db
Merge pull request 'clan-vm-manager, clan-app: Make executable icon work in process overview' ( #1797 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-23 12:15:51 +00:00
Qubasa
9ae1bc5f63
clan-vm-manager, clan-app: Make executable icon work in process overview
2024-07-23 14:12:45 +02:00
clan-bot
d014ad7829
Merge pull request 'clan-vm-manager: Fix waypipe regression in nix code' ( #1793 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-23 11:24:05 +00:00
clan-bot
5598350ac9
Merge pull request 'clan-cli/secrets: refactor: rename secret -> secret_path' ( #1796 ) from DavHau/clan-core:DavHau-vars into main
2024-07-23 11:24:05 +00:00
Qubasa
31161322d6
clan-vm-manager: Fix waypipe regression in nix code
2024-07-23 13:20:02 +02:00
DavHau
cee0e74476
clan-cli/secrets: refactor: rename secret -> secret_path
2024-07-23 18:18:32 +07:00
clan-bot
4f482ed8a6
Merge pull request 'vars: add support for password-store' ( #1794 ) from DavHau/clan-core:DavHau-vars into main
2024-07-23 07:59:50 +00:00
DavHau
5105ff14e0
vars: add support for password-store
2024-07-23 14:54:18 +07:00
Jörg Thalheim
09fb500671
password-store: write secrets with read-only permission
...
Otherwise we are installing secrets with the wrong permissions on the
first install
2024-07-22 17:22:01 +02:00
Jörg Thalheim
4025e87843
user-password: improve prompt message
2024-07-22 16:09:15 +02:00
Jörg Thalheim
5e40346c9a
add .envrc
2024-07-22 16:08:59 +02:00
Jörg Thalheim
7ff296113d
add option to not create a git in flakes create
2024-07-22 16:08:59 +02:00
Jörg Thalheim
3bbfe7fad2
hw-configure: use hostname specified in the nixos configuration
2024-07-22 16:08:59 +02:00
Jörg Thalheim
fabfba77cf
rework installation template based on received feedback
2024-07-22 16:08:59 +02:00
clan-bot
fd8834103d
Merge pull request 'vars: implement prompts' ( #1792 ) from DavHau/clan-core:DavHau-vars into main
2024-07-22 13:46:39 +00:00
DavHau
0acf9178c8
vars: implement prompts
2024-07-22 20:40:12 +07:00
Jörg Thalheim
05a28e596d
don't setup json inventory for cli users
2024-07-22 08:22:58 +02:00
Jörg Thalheim
f04ed457db
cli: default template url should come from the package itself rather than our gitea
...
This allow easier testing and also forks.
2024-07-22 08:22:58 +02:00
Jörg Thalheim
b5f6200148
docs/setup: recommends nixos configuration for nixos users
2024-07-22 05:59:03 +02:00
Jörg Thalheim
d0f01f3c17
docs/setup: also mention experimental option in case someone already has nix installed
2024-07-22 05:59:02 +02:00
clan-bot
a2c4130ebe
Merge pull request 'Automatic flake update - 2024-07-22T00:00+00:00' ( #1791 ) from flake-update-2024-07-22 into main
2024-07-22 00:06:51 +00:00
Clan Merge Bot
48faf9956f
update flake lock - 2024-07-22T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/786965e1b1ed3fd2018d78399984f461e2a44689' (2024-07-11)
→ 'github:nix-community/disko/bec6e3cde912b8acb915fecdc509eda7c973fb42' (2024-07-19)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/5eddae0afbcfd4283af5d6676d08ad059ca04b70' (2024-07-11)
→ 'github:nix-community/nixos-images/accee005735844d57b411d9969c5d0aabc6a55f6' (2024-07-21)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0af9d835c27984b3265145f8e3cbc6c153479196' (2024-07-14)
→ 'github:NixOS/nixpkgs/4cc8b29327bed3d52b40041f810f49734298af46' (2024-07-21)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/0703ba03fd9c1665f8ab68cc3487302475164617' (2024-07-14)
→ 'github:Mic92/sops-nix/909e8cfb60d83321d85c8d17209d733658a21c95' (2024-07-21)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14' (2024-07-14)
→ 'github:numtide/treefmt-nix/888bfb10a9b091d9ed2f5f8064de8d488f7b7c97' (2024-07-20)
2024-07-22 00:00:22 +00:00
Jörg Thalheim
1e89f8e5df
CONTRIBUTING: mention browser
2024-07-21 22:58:34 +02:00
Jörg Thalheim
32876a5d5d
borgbackup: add exclude option
2024-07-21 22:58:34 +02:00
Jörg Thalheim
49a07fc50f
also fix user-password with password-store
2024-07-21 21:18:38 +02:00
Jörg Thalheim
afffbec98b
borgbackup: add exclude option
2024-07-21 19:08:26 +02:00
Jörg Thalheim
d59185bdf5
also fix user-password with password-store
2024-07-21 18:21:37 +02:00
clan-bot
96a2431afe
Merge pull request 'root-password: fix password-store support' ( #1789 ) from inventory-fixes into main
2024-07-21 16:14:47 +00:00
Jörg Thalheim
7004d1ea7f
cleanup deprecated facts options
2024-07-21 18:11:30 +02:00
Jörg Thalheim
e0640b0a29
test_flake_with_core_and_pass: don't use deprecated options
2024-07-21 18:03:51 +02:00
Jörg Thalheim
16d25ab6e8
root-password: fix password-store support
2024-07-21 17:59:11 +02:00
clan-bot
41397f0e4f
Merge pull request 'Clan create fixes' ( #1788 ) from inventory-fixes into main
2024-07-21 15:05:13 +00:00
Jörg Thalheim
faf0528be2
improve lsblk instructions
2024-07-21 16:39:01 +02:00
Jörg Thalheim
7ea26b1716
flake/create: fix "directory does not exist" error
2024-07-21 16:00:35 +02:00
Jörg Thalheim
5033421c52
only set git author / email when no one is set globally
2024-07-21 16:00:35 +02:00
Jörg Thalheim
59c5942d86
drop binary cache from flake
...
This generates warnings for users of the CLI and confuses them.
In our CI systems we can just provide our binary cache.
2024-07-21 15:27:31 +02:00
Jörg Thalheim
97b6bce707
remove deprecated adwaita-icon-theme
2024-07-21 15:26:37 +02:00
clan-bot
9b00702c1d
Merge pull request 'Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1787 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-19 20:23:25 +00:00
Qubasa
5f8bd1099f
fixup! fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:20:12 +02:00
Qubasa
14ec919309
fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:29 +02:00
Qubasa
3751c4c2bd
fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:17 +02:00
Qubasa
131299694b
clan-vm-manager: Restore to known good version
2024-07-19 22:07:34 +02:00
DavHau
b047babccb
Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit 71009f80d8 .
workaround upstream bug: https://github.com/NixOS/nixpkgs/issues/324802
2024-07-19 22:07:34 +02:00
clan-bot
46f7afc2af
Merge pull request 'Classgen: refactor functions' ( #1785 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-19 16:52:37 +00:00
Johannes Kirschbauer
bfaaa2e038
Classgen: make type order predictable
2024-07-19 18:49:16 +02:00
Johannes Kirschbauer
243aa17d55
Classgen: refactor functions
2024-07-19 18:20:22 +02:00
clan-bot
1000d1defe
Merge pull request 'Classgen: add error reporting and combine common classes' ( #1784 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-19 11:07:06 +00:00
Johannes Kirschbauer
33261ab4b6
Classgen: add error reporting and combine common classes
2024-07-19 13:03:38 +02:00
clan-bot
ac5272ac9f
Merge pull request 'Docs: explain inventory imports' ( #1783 ) from hsjobeki/clan-core:hsjobeki-rearrange-docs-front into main
2024-07-19 09:29:59 +00:00
Johannes Kirschbauer
8dece6fb82
Docs: explain inventory imports
2024-07-19 11:26:34 +02:00
clan-bot
4c0c53142e
Merge pull request 'Docs: remove generated inventory.md from git index' ( #1782 ) from hsjobeki/clan-core:hsjobeki-rearrange-docs-front into main
2024-07-19 09:20:32 +00:00
Johannes Kirschbauer
d53596c6e9
Docs: remove generated inventory.md from git index
2024-07-19 11:17:08 +02:00
clan-bot
04d63bb077
Merge pull request 'docs: add reference index pages' ( #1781 ) from hsjobeki/clan-core:rearrange-docs-front into main
2024-07-19 09:11:33 +00:00
Johannes Kirschbauer
a5dd99c43d
Docs: generate api docs for inventory
2024-07-19 11:07:47 +02:00
Valentin Gagarin
b3fd59a802
docs: add reference index pages
...
- add index pages for each reference documentation category
- move concepts pages into the reference hierarchy
- render clanModules overview page in the style of the CLI overview
2024-07-19 10:27:04 +02:00
clan-bot
27b4b1ed00
Merge pull request 'Init: Autogenerate classes from nix interfaces' ( #1778 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-19 07:58:57 +00:00
Johannes Kirschbauer
a4b1a0eb47
Commit generated code otherwise CI cannot check types
2024-07-19 09:52:14 +02:00
Johannes Kirschbauer
a8bf83e849
Jsonschema: fix tests
2024-07-18 22:04:11 +02:00
Johannes Kirschbauer
fbe27bfa0a
Classgen: add mapped keys and more stuff
2024-07-18 21:58:36 +02:00
Johannes Kirschbauer
b752d2eb67
Init: Autogenerate classes from nix interfaces
2024-07-18 19:14:12 +02:00
clan-bot
1d6ff9a718
Merge pull request 'clan: Fix treefmt not applying mypy lints on clan_cli and clan_app' ( #1777 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-17 19:54:20 +00:00
Qubasa
274701b381
clan: Fix treefmt not applying mypy lints on clan_cli and clan_app
2024-07-17 21:50:52 +02:00
clan-bot
d502f00ffb
Merge pull request 'tea-create-pr: disable treefmt cache' ( #1776 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-17 16:30:45 +00:00
Qubasa
2b1d12f0b5
tea-create-pr: disable treefmt cache
2024-07-17 18:27:29 +02:00
clan-bot
4c62f04a4b
Merge pull request 'borgbackup/server: warning if a machine does not have a secret generated yet.' ( #1775 ) from inventory-fixes into main
2024-07-17 14:03:10 +00:00
Jörg Thalheim
842748cc17
borgbackup/server: warning if a machine does not have a secret generated yet.
2024-07-17 16:00:07 +02:00
Mic92
f93f64b4d0
Merge pull request 'Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"' ( #1774 ) from fix-deployment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1774
2024-07-17 12:31:48 +00:00
Jörg Thalheim
64956a7a0a
Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"
...
This reverts commit a598b878a5 .
2024-07-17 14:04:49 +02:00
clan-bot
0518f875cd
Merge pull request 'clan-app: Improve install-desktop.sh and add new desktop icons' ( #1773 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-17 11:27:59 +00:00
clan-bot
3c42193b53
Merge pull request 'Init: classgenerator' ( #1772 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-17 11:24:50 +00:00
Qubasa
5099669113
clan-app: Improve install-desktop.sh and add new desktop icons
2024-07-17 13:24:44 +02:00
Johannes Kirschbauer
fd6d9f5bec
Fix: api
2024-07-17 13:21:43 +02:00
Johannes Kirschbauer
fc7cc74b10
Init: classgenerator
2024-07-17 13:21:43 +02:00
clan-bot
483425d6a3
Merge pull request 'Inventory: init: deployment info for machines' ( #1767 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-17 10:18:50 +00:00
Johannes Kirschbauer
2a0acb28d3
Fix eval tests
2024-07-17 12:12:42 +02:00
Johannes Kirschbauer
ad70ee72e5
Unit tests: fix template test - override the input in the flake template
2024-07-17 12:06:23 +02:00
clan-bot
6c7a2ae969
Merge pull request 'vars: implement dependencies' ( #1771 ) from DavHau/clan-core:DavHau-vars into main
2024-07-17 09:45:41 +00:00
DavHau
566c1403c0
vars: implement dependencies
2024-07-17 16:42:16 +07:00
Johannes Kirschbauer
fdd19b8ddd
Inventory: fix dataclasses discrepancy once more
2024-07-17 11:39:18 +02:00
Johannes Kirschbauer
bc520df9ff
Inventory: fix options
2024-07-17 10:55:46 +02:00
Johannes Kirschbauer
e236dba1c9
Inventory: extend python dataclasses by schema changes
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
baa9dc1d1a
Inventory: extend model by deployment info
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
9e6f2743e0
Inventory: init: deployment info for machines
2024-07-17 10:07:57 +02:00
clan-bot
cfda89ef01
Merge pull request 'clan-app: Add automatic debug console in debug mode' ( #1770 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 19:04:40 +00:00
Qubasa
a55b43cf7f
clan-app: Add automatic debug console in debug mode
2024-07-16 21:01:35 +02:00
clan-bot
9c23672f50
Merge pull request 'clan-app: Add threaded api execution by default' ( #1769 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 18:48:06 +00:00
Qubasa
d7c3d8185a
clan-app: Add threaded api execution by default
2024-07-16 20:44:48 +02:00
clan-bot
85e16e0f6c
Merge pull request 'clan-app: WebExecutor now mirrors jsonschema api types generically' ( #1768 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 14:38:17 +00:00
Qubasa
d9fa19ad3b
clan-app: WebExecutor now mirrors jsonschema api types generically
2024-07-16 16:34:59 +02:00
clan-bot
e57ac53506
Merge pull request 'cli: add programms to allowed list' ( #1765 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-16 11:52:56 +00:00
Johannes Kirschbauer
d7bf84e3be
cli: add programms to allowed list
2024-07-16 13:49:16 +02:00
clan-bot
6b6afaeb32
Merge pull request 'vars: add test for multiple machines' ( #1763 ) from DavHau/clan-core:DavHau-vars into main
2024-07-16 11:38:31 +00:00
DavHau
c618cd744b
vars: add test for multiple machines
2024-07-16 18:35:13 +07:00
clan-bot
0e035390ca
Merge pull request 'clan-app: Improve method_name argument' ( #1764 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 10:24:04 +00:00
Qubasa
952bdde085
clan-app: Improve method_name argument
2024-07-16 12:16:52 +02:00
clan-bot
f17b9d4aa6
Merge pull request 'API: async signal integration migration' ( #1762 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-16 09:37:25 +00:00
Johannes Kirschbauer
dae5d01999
API: async signal integration migration
2024-07-16 11:28:20 +02:00
clan-bot
2d5a5dc203
Merge pull request 'Inventory: add global imports' ( #1749 ) from inventory-config into main
2024-07-16 08:45:00 +00:00
Johannes Kirschbauer
5ec952d29d
Inventory: migrate failure test message
2024-07-16 10:33:24 +02:00
clan-bot
dad94af825
Merge pull request 'clan-cli: deprecate nix_shell() in favor of run_cmd()' ( #1760 ) from DavHau/clan-core:DavHau-vars into main
2024-07-16 07:06:34 +00:00
DavHau
a598b878a5
clan-cli: deprecate nix_shell() in favor of run_cmd()
2024-07-16 14:03:17 +07:00
clan-bot
0bcb9ae1c0
Merge pull request 'impure-checks: improve performance by disabling dynamic deps' ( #1736 ) from DavHau/clan-core:DavHau-vars into main
2024-07-16 05:46:07 +00:00
DavHau
e7d5a6f854
impure-checks: improve performance by disabling dynamic deps
2024-07-16 12:42:45 +07:00
clan-bot
f1f6b3c94c
Merge pull request 'Webview: migrate create clan form to async api' ( #1757 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-15 18:44:32 +00:00
Jörg Thalheim
d9932b3b81
wip: debug
2024-07-15 20:41:27 +02:00
Jörg Thalheim
ef4ef00d0f
inventory: better error message if tags are not found
2024-07-15 20:41:27 +02:00
Jörg Thalheim
cc5c027d92
inventory: don't check if tag is used in inventory
...
this doesn't work with flake-parts
2024-07-15 20:41:27 +02:00
Jörg Thalheim
7d028790d9
vars: remove deprecated nixos options
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
ec5fb47b32
Inventory: fix tests
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
d99dfbcedd
Inventory: add global imports
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
69f0a27079
Webview: flash view
2024-07-15 20:40:29 +02:00
Johannes Kirschbauer
b4be28c8bb
Webview: migrate create clan form to async api
2024-07-15 20:40:29 +02:00
clan-bot
4c392a8cca
Merge pull request 'Webview: add solid-query for improved resource fetching & caching' ( #1755 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-15 17:53:54 +00:00
clan-bot
4b00dd6be1
Merge pull request 'clan-app: Remove vm-manager from codebase' ( #1754 ) from Qubasa/clan-core:Qubasa-fix_clan_app into main
2024-07-15 17:52:14 +00:00
Qubasa
77dc90d3b4
clan-app: Fix mypy lints and add GenericFnRuntime
2024-07-15 19:48:20 +02:00
Johannes Kirschbauer
9312034117
Webview: add solid-query for improved resource fetching & caching
2024-07-15 19:41:01 +02:00
Qubasa
660ac92c29
clan-app: Add Webview to python async backend
2024-07-15 19:24:38 +02:00
Qubasa
40acd695cc
clan-app: Remove vm-manager from codebase
2024-07-15 19:24:38 +02:00
clan-bot
fbd69701cd
Merge pull request 'Inventory: only apply if settings.json exists' ( #1753 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-15 17:18:20 +00:00
Johannes Kirschbauer
40d71f060e
Inventory: only apply if settings.json exists
2024-07-15 19:14:45 +02:00
clan-bot
eea84e7f89
Merge pull request 'flake-parts: expose inventory' ( #1752 ) from flake-parts into main
2024-07-15 15:21:15 +00:00
Jörg Thalheim
824ddfd0e1
flake-parts: expose inventory
2024-07-15 17:17:14 +02:00
Mic92
c8f8676fe0
Merge pull request 'flake-parts-template' ( #1751 ) from flake-parts-template into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1751
2024-07-15 15:02:36 +00:00
Jörg Thalheim
4483b7c55a
add flake-parts template
2024-07-15 15:02:36 +00:00
clan-bot
36077122c0
Merge pull request 'switch to nixfmt from nixpkgs-fmt' ( #1750 ) from Mic92-flake-parts-template into main
2024-07-15 14:52:42 +00:00
Jörg Thalheim
14100f105c
switch to nixfmt from nixpkgs-fmt
2024-07-15 16:47:54 +02:00
clan-bot
c3a80f8ca7
Merge pull request 'templates/new-clan: share disko configuration between machines' ( #1748 ) from flake-parts-template into main
2024-07-15 14:43:28 +00:00
Jörg Thalheim
52bc590c07
templates/new-clan: share disko configuration between machines
2024-07-15 16:39:23 +02:00
clan-bot
1ce4148744
Merge pull request 'templates/new-clan: share disko configuration between machines' ( #1747 ) from flake-parts-template into main
2024-07-15 14:21:52 +00:00
Jörg Thalheim
8c5b9dfc08
templates/new-clan: share disko configuration between machines
2024-07-15 16:17:05 +02:00
Mic92
ec6dc313fd
Merge pull request 'inventory-config' ( #1746 ) from inventory-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1746
2024-07-15 14:16:39 +00:00
Johannes Kirschbauer
018f18a93e
Inventory: fix roles config
2024-07-15 15:59:59 +02:00
Jörg Thalheim
8e7a34af0d
inventory: allow per role configuration
2024-07-15 13:43:43 +02:00
Jörg Thalheim
f6d30b4154
webview: restrict what links can be browsed
2024-07-15 12:54:49 +02:00
Jörg Thalheim
3b7bc61bc7
docs/clan-app: add missing npm install
2024-07-15 12:52:28 +02:00
clan-bot
3ab1b1c0cc
Merge pull request 'docs: fix flash example' ( #1745 ) from joerg-ci into main
2024-07-15 09:57:10 +00:00
Jörg Thalheim
04a0570017
docs: fix flash example
2024-07-15 11:53:25 +02:00
Luis Hebendanz
82914f6919
Merge pull request 'docs: move blog to end of navigation' ( #1744 ) from fricklerhandwerk/clan-core:move-blog-nav into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1744
2024-07-15 09:17:55 +00:00
Valentin Gagarin
b7f877679b
docs: move blog to end of navigation
...
documentation users will be here primarily because of onboarding tutorials and
reference documentation.
2024-07-15 11:03:14 +02:00
clan-bot
5347f26dd4
Merge pull request 'Automatic flake update - 2024-07-15T00:00+00:00' ( #1742 ) from flake-update-2024-07-15 into main
2024-07-15 00:07:45 +00:00
Clan Merge Bot
688d21c13e
update flake lock - 2024-07-15T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/64679cd7f318c9b6595902b47d4585b1d51d5f9e' (2024-07-04)
→ 'github:nix-community/disko/786965e1b1ed3fd2018d78399984f461e2a44689' (2024-07-11)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/f8650460d37d9d1820a93ebb7f0db5b6c3621946' (2024-07-04)
→ 'github:nix-community/nixos-images/5eddae0afbcfd4283af5d6676d08ad059ca04b70' (2024-07-11)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/60a94e515488e335bd5bce096431d490486915e3' (2024-07-07)
→ 'github:NixOS/nixpkgs/0af9d835c27984b3265145f8e3cbc6c153479196' (2024-07-14)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea' (2024-07-07)
→ 'github:Mic92/sops-nix/0703ba03fd9c1665f8ab68cc3487302475164617' (2024-07-14)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/6fc8bded78715cdd43a3278a14ded226eb3a239e' (2024-07-08)
→ 'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14' (2024-07-14)
2024-07-15 00:00:23 +00:00
clan-bot
1e8f146939
Merge pull request 'Doc: write inventory documentation' ( #1741 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-14 14:46:12 +00:00
Johannes Kirschbauer
d77f722769
Doc: write inventory documentation
2024-07-14 16:42:27 +02:00
clan-bot
8362d59c3c
Merge pull request 'Json-schema: extend interface by header to allow schema spec and arbitrary extensions' ( #1740 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-14 13:06:08 +00:00
Johannes Kirschbauer
c43c4ef067
Fix schema test
2024-07-14 15:02:32 +02:00
Johannes Kirschbauer
96e7d93e01
Fix schema test
2024-07-14 13:38:43 +02:00
Johannes Kirschbauer
c03b667df4
Inventory: fix narrow pattern
2024-07-14 13:34:50 +02:00
Johannes Kirschbauer
aff06d3f4d
Remove unneeded special args
2024-07-14 13:31:58 +02:00
Johannes Kirschbauer
d49a23b890
Inventory: generate exact schema for validation & documentation
2024-07-14 13:30:02 +02:00
Johannes Kirschbauer
77577a9f27
Json-schema: extend interface by header to allow schema spec and arbitrary extensions
2024-07-14 13:29:19 +02:00
clan-bot
76a6111764
Merge pull request 'clan-cli: Fix missing allowed-programs.json in package' ( #1739 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-14 11:12:27 +00:00
Qubasa
a3715280bc
clan-cli: Fix missing allowed-programs.json in package
2024-07-14 13:07:24 +02:00
clan-bot
d5df368cf6
Merge pull request 'sshd: remove cve workaround again' ( #1738 ) from Mic92-debug-facts into main
2024-07-13 06:24:08 +00:00
Jörg Thalheim
2e1ed9946f
sshd: remove cve workaround again
2024-07-13 08:19:09 +02:00
clan-bot
f56fd1a9bc
Merge pull request 'Webview: add clanList edit' ( #1737 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-11 16:49:04 +00:00
Johannes Kirschbauer
e7efce5c66
Webview: add clanList edit
2024-07-11 18:45:35 +02:00
clan-bot
55ac5553c1
Merge pull request 'Clan create: migrate to inventory' ( #1732 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-11 15:09:24 +00:00
Johannes Kirschbauer
473a21f1d8
Fix some type issues
2024-07-11 17:05:57 +02:00
Johannes Kirschbauer
24203666d1
Webview: add welcome workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
8e88676d51
Webview: Add async method handling
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
255f33f40b
Clan create: add template url field
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
b8e5a3fd4c
Webview: add feeback for clan create workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
f1dece0c04
Webview: improve error debug abilities
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
3c86f0a327
API: improve json serialization
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
4c4f55f309
Clan create: migrate to inventory
2024-07-11 16:39:06 +02:00
clan-bot
c23b44c4f3
Merge pull request 'vars: implement sops.defaultGroups' ( #1735 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 11:43:13 +00:00
DavHau
053e61e3f0
vars: implement sops.defaultGroups
2024-07-11 18:39:29 +07:00
clan-bot
11e705817b
Merge pull request 'clan-cli: improve runtime dependency management' ( #1733 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 08:38:27 +00:00
DavHau
430adc875a
clan-cli: improve runtime dependency management
...
Many dependencies of clan-cli are currently dynamically loaded via nix-shell on each execution.
This is nice, as it reduces the initial closure size of clan, but the overhead introduced by nix-shell piles up quickly, as some commands shell out many times during their lifetime. For example, when adding a secret git is called 10+ times.
This reduces the time of a test which adds a secret from around 50 seconds to 15 seconds.
- add run_cmd() as an alternative to nix_shell()
- introduce the concept of static dependencies which do not need to go through nix-shell
- static dependencies are defined at build time and included into the wrapper for clan-cli
- add package: clan-cli-full which statically ships all required dependencies
TODO: deprecate nix_shell() in favor of run_cmd()
2024-07-11 15:34:41 +07:00
clan-bot
6d33c195d9
Merge pull request 'vars: implement secret generation' ( #1731 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 04:42:28 +00:00
DavHau
7dbed61079
vars: implement secret generation
2024-07-11 11:37:17 +07:00
clan-bot
2a245a6111
Merge pull request 'clan-cli: simplify cli helper' ( #1726 ) from DavHau/clan-core:DavHau-dave into main
2024-07-10 11:18:48 +00:00
DavHau
4898706480
clan-cli: simplify cli helper
2024-07-10 18:14:06 +07:00
clan-bot
18b4a7e237
Merge pull request 'UI: improve open clan from directory & list machines' ( #1728 ) from hsjobeki/clan-core:hsjobeki-feat/clan-init into main
2024-07-10 09:15:58 +00:00
Johannes Kirschbauer
fe99b79c63
UI: improve open clan from directory & list machines
2024-07-10 11:08:03 +02:00
clan-bot
65a7614497
Merge pull request 'UI: init flash poc' ( #1727 ) from hsjobeki/clan-core:hsjobeki-feat/clan-init into main
2024-07-10 09:07:09 +00:00
Johannes Kirschbauer
44d2f58c47
UI: init flash poc
2024-07-10 09:43:18 +02:00
clan-bot
9407902398
Merge pull request 'clan-app: Add webview hot-reloading' ( #1724 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-09 14:00:10 +00:00
Qubasa
8dce893a3b
fixup! clan-app: Add webview hot-reloading
2024-07-09 15:55:22 +02:00
Qubasa
cfde5fa2f8
clan-app: Add webview hot-reloading
2024-07-09 15:39:33 +02:00
clan-bot
76e7e1f50f
Merge pull request 'lib.readFact: fix argument order' ( #1723 ) from Mic92-debug-facts into main
2024-07-09 13:28:22 +00:00
Jörg Thalheim
3a035437cf
lib.readFact: fix argument order
2024-07-09 15:23:26 +02:00
clan-bot
957a76c7c8
Merge pull request 'lib.facts: assume clanDir instead of machines prefix' ( #1722 ) from Mic92-main into main
2024-07-09 13:09:49 +00:00
Jörg Thalheim
cd6c632f3b
lib.facts: assume clanDir instead of machines prefix
2024-07-09 15:05:00 +02:00
clan-bot
8b0b7d0a22
Merge pull request 'lib.readFact: change order of arguments' ( #1721 ) from Mic92-main into main
2024-07-09 12:59:48 +00:00
Jörg Thalheim
d4d62f8221
lib.readFact: change order of arguments
2024-07-09 14:44:35 +02:00
Jörg Thalheim
c8e0eeed7b
better project root hint
2024-07-09 13:49:42 +02:00
clan-bot
f7dbbf831c
Merge pull request 'lib/facts: rename machineDir -> clanDir' ( #1720 ) from Mic92-main into main
2024-07-09 11:05:46 +00:00
Jörg Thalheim
1f20220bc8
rename machineDir -> clanDir
2024-07-09 13:00:34 +02:00
clan-bot
a0dc2f792d
Merge pull request 'Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1712 ) from DavHau/clan-core:DavHau-dave into main
2024-07-09 09:52:52 +00:00
clan-bot
03b10969a4
Merge pull request 'improve error message for removed settings.json' ( #1719 ) from Mic92-main into main
2024-07-09 09:52:01 +00:00
Jörg Thalheim
e2ce13114e
improve error message for removed settings.json
2024-07-09 11:44:29 +02:00
Mic92
a3e2b76517
Merge branch 'main' into DavHau-dave
2024-07-09 09:33:11 +00:00
clan-bot
46a971b313
Merge pull request 'vars: init' ( #1718 ) from DavHau/clan-core:DavHau-vars into main
2024-07-09 07:31:31 +00:00
DavHau
941cf9fb9d
vars: implement generating public variables via in_repo
2024-07-09 14:26:56 +07:00
DavHau
759660de16
clan-cli: add vars command
2024-07-09 12:42:29 +07:00
DavHau
cc6370ba1b
WIP: vars: copy python code from facts
2024-07-09 12:42:29 +07:00
clan-bot
c7a0f41167
Merge pull request 'Automatic flake update - 2024-07-08T00:00+00:00' ( #1715 ) from flake-update-2024-07-08 into main
2024-07-08 14:35:02 +00:00
Jörg Thalheim
4c217f3f1b
fix new linter issues
2024-07-08 16:30:15 +02:00
Jörg Thalheim
a7b6148e84
quote .envrc
2024-07-08 16:25:16 +02:00
Jörg Thalheim
35d7f63f95
reformat script-writers with nixfmt
2024-07-08 16:24:34 +02:00
Jörg Thalheim
516fae29b6
fix shellcheck warnings
2024-07-08 16:24:34 +02:00
Jörg Thalheim
c694cdf4b4
add shellcheck hints to all envrc files
2024-07-08 16:24:34 +02:00
Jörg Thalheim
44711c506d
fix mkdocs-rss-plugin deps
2024-07-08 16:24:34 +02:00
Jörg Thalheim
b06a09281c
remove nixos-generators
2024-07-08 16:24:34 +02:00
Jörg Thalheim
0d02333e5a
remove obsolete iso installer
...
This is now part of nixos-images
2024-07-08 16:24:34 +02:00
Jörg Thalheim
f263602fb7
treefmt: upgrade nixfmt options
2024-07-08 16:24:34 +02:00
Jörg Thalheim
5d64442282
gnome.adwaita-icon-theme -> adwaita-icon-theme
2024-07-08 15:59:54 +02:00
Jörg Thalheim
ed93140b27
matrix-synapse: remove obsolete patches
2024-07-08 15:59:54 +02:00
Clan Merge Bot
db07e52d60
update flake lock - 2024-07-08T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e' (2024-06-20)
→ 'github:nix-community/disko/64679cd7f318c9b6595902b47d4585b1d51d5f9e' (2024-07-04)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01)
→ 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/35c20ba421dfa5059e20e0ef2343c875372bdcf3' (2024-06-10)
→ 'github:nix-community/nixos-generators/168b220231a70e47cc1f0919048fa5914415fb18' (2024-07-04)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/c1e6a5f7b08f1c9993de1cfc5f15f838bf783b88' (2024-06-20)
→ 'github:nix-community/nixos-images/f8650460d37d9d1820a93ebb7f0db5b6c3621946' (2024-07-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3664857c48feacb35770c00abfdc671e55849be5' (2024-06-27)
→ 'github:NixOS/nixpkgs/60a94e515488e335bd5bce096431d490486915e3' (2024-07-07)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811' (2024-06-23)
→ 'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea' (2024-07-07)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
→ 'github:numtide/treefmt-nix/e1d7bd5ec6fc389eb3a90e232c4150338bf6a508' (2024-07-07)
2024-07-08 15:59:54 +02:00
kenji
7090152ebb
Merge pull request 'zerotier-static-peers: add external devices' ( #1698 ) from kenji/clan-core:zerotier-static/add-external into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1698
2024-07-08 07:40:09 +00:00
a-kenji
c4365c22a7
zerotier-static-peers: add external devices
...
Allow the `zerotier-auto-accept` service to add external devices through
their respective `zerotierID`, or their `zerotierIP` in a stateless way.
This is useful to either add mobile phones, that can't be managed
through clan yet, or to add devices of other peoples clans, to connect
them together.
2024-07-08 07:40:09 +00:00
clan-bot
c34fa376f5
Merge pull request 'API: extensions & tests' ( #1699 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-06 16:01:27 +00:00
Johannes Kirschbauer
55c4003a76
Inventory spec: make system optional
2024-07-06 17:56:22 +02:00
Johannes Kirschbauer
edcc1a5cb2
Test: fixup
2024-07-06 17:51:46 +02:00
Johannes Kirschbauer
44ee831d04
Test: ensure type inference runs on all dataclasses
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
492a776bde
API Types: treat '_*' as private fields and dont inspect them
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
1aec155f15
Doc: add conceptual documentation
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
234704b1f6
buildClan: autoimport configuration.nix & hardware-configuration.nix
2024-07-06 17:22:47 +02:00
DavHau
79d6f8e893
Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit 71009f80d8 .
workaround upstream bug: https://github.com/NixOS/nixpkgs/issues/324802
2024-07-05 19:29:01 +07:00
Mic92
e81906881b
Merge pull request 'Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1710 ) from revert-broken-migration into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1710
2024-07-05 09:48:24 +00:00
clan-bot
97f6f4df17
Merge pull request 'clan-cli tests: remove dynamic inclusion of helpers module' ( #1711 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 09:43:19 +00:00
DavHau
336e99b2a7
clan-cli tests: remove dynamic inclusion of helpers module
...
Dynamically extending the python path at runtime is bad for developer experience, as this is not understood by the text editor and therefore jump to definition etc. does not work.
-> Better to remove the dynamic inclusion and force developers to specify the import correctly.
2024-07-05 16:38:22 +07:00
Jörg Thalheim
71009f80d8
Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit 18b64f2d0b .
The old configuration cannot be updated like this:
eve] error:
[eve] … while calling the 'head' builtin
[eve] at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/attrsets.nix:1575:11:
[eve] 1574| || pred here (elemAt values 1) (head values) then
[eve] 1575| head values
[eve] | ^
[eve] 1576| else
[eve]
[eve] … while evaluating the attribute 'value'
[eve] at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/modules.nix:809:9:
[eve] 808| in warnDeprecation opt //
[eve] 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
[eve] | ^
[eve] 810| inherit (res.defsFinal') highestPrio;
[eve]
[eve] … while evaluating the option `system.build.toplevel':
[eve]
[eve] … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/activation/top-level.nix':
[eve]
[eve] … while evaluating the option `assertions':
[eve]
[eve] … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/boot/systemd.nix':
[eve]
[eve] … while evaluating the option `systemd.services':
[eve]
[eve] … while evaluating definitions from `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/zerotier':
[eve]
[eve] … while evaluating the option `clan.core.networking.zerotier.networkId':
[eve]
[eve] (stack trace truncated; use '--show-trace' to show the full, detailed trace)
[eve]
[eve] error: A definition for option `clan.core.networking.zerotier.networkId' is not of type `null or string'. Definition values:
[eve] - In `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/networking.nix':
[eve] {
[eve] _type = "override";
[eve] content = "267efd4a15b69623";
[eve] priorit
2024-07-05 11:16:05 +02:00
clan-bot
376b1f3939
Merge pull request 'fixtures_flakes.py: remove dead code' ( #1709 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 09:00:41 +00:00
DavHau
bb1950a4a0
fixtures_flakes.py: remove dead code
2024-07-05 15:55:52 +07:00
clan-bot
07b99450e1
Merge pull request 'devShells: make all shells inherit from default shell' ( #1708 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 08:06:19 +00:00
DavHau
c9485fb3fd
devShells: make all shells inherit from default shell
...
Currently, important tools from the default shell are lost as soon as select-shell is used to switch to another shell. select-shell itself, for example is missing, which makes it impossible to switch back to another shell.
2024-07-05 15:01:25 +07:00
clan-bot
194956f2fd
Merge pull request 'clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}' ( #1706 ) from DavHau/clan-core:DavHau-rename-clanCore into main
2024-07-04 10:09:17 +00:00
DavHau
18b64f2d0b
clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}
2024-07-04 17:05:37 +07:00
clan-bot
5c7b9aa2a4
Merge pull request 'vars: add generator.runtimeInputs' ( #1705 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:45:32 +00:00
DavHau
10bb3127a1
vars: add generator.runtimeInputs
2024-07-04 13:42:25 +07:00
clan-bot
afe0a37f92
Merge pull request 'reference docs: add missing description fields and enforce it from now on' ( #1704 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:38:15 +00:00
DavHau
97bc973969
reference docs: add missing description fields and enforce it from now on
2024-07-04 13:34:55 +07:00
clan-bot
95dcbe0cd9
Merge pull request 'vars: import by default & fix option rendering' ( #1690 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:15:50 +00:00
DavHau
3de7903317
vars: import by default & fix option rendering
2024-07-04 13:12:29 +07:00
clan-bot
56d5362a7e
Merge pull request 'facts: mention prompt_value in docs for generator.scripts' ( #1703 ) from DavHau/clan-core:DavHau-facts-docs into main
2024-07-04 06:03:34 +00:00
DavHau
841282fb06
facts: mention prompt_value in docs for generator.scripts
2024-07-04 12:59:49 +07:00
clan-bot
60d5390b79
Merge pull request 'move FlakeId to flake id' ( #1701 ) from refactor-machine into main
2024-07-03 16:37:44 +00:00
Jörg Thalheim
9994f3c101
add assertion if FlakeId has wrong value
2024-07-03 18:28:55 +02:00
Jörg Thalheim
a582eb9fd4
don't catch all exceptions when generating facts
2024-07-03 18:28:55 +02:00
Jörg Thalheim
6037ad1ce0
move FlakeId to flake id
...
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
clan-bot
f5831f744c
Merge pull request 'matrix-bot: Add data directory to gitignore' ( #1702 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-03 15:37:33 +00:00
Qubasa
698ff9dded
matrix-bot: Move it to clan-infra
2024-07-03 17:33:42 +02:00
Qubasa
fab539d497
matrix-bot: Add data directory to gitignore
2024-07-03 17:33:42 +02:00
clan-bot
2d14238769
Merge pull request 'matrix-bot: Fix incorrect caching of already pinged maintainers' ( #1700 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-03 12:27:02 +00:00
Qubasa
e4f1fc1392
matrix-bot: Fix incorrect caching of already pinged maintainers
2024-07-03 14:23:43 +02:00
clan-bot
842d9a360c
Merge pull request 'refactor-machine' ( #1691 ) from refactor-machine into main
2024-07-03 10:48:09 +00:00
clan-bot
a76eab0bd1
Merge pull request 'clanModules: init packages' ( #1697 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-03 10:35:03 +00:00
Jörg Thalheim
2f1dac6962
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
Johannes Kirschbauer
e3f7fefa45
clanModules: init packages
2024-07-03 12:31:53 +02:00
clan-bot
273eba7d23
Merge pull request 'Init single disk' ( #1694 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-03 10:00:28 +00:00
Johannes Kirschbauer
8405b119a5
Fix frontmatter of module
2024-07-03 11:57:15 +02:00
Johannes Kirschbauer
e1fd63bca2
clanModules: init single disk
2024-07-03 11:05:00 +02:00
clan-bot
fa524c9a14
Merge pull request 'matrix-bot: Init git commit summarizer' ( #1693 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-02 17:54:05 +00:00
Qubasa
4c28cda5c5
matrix-bot: Working timer
...
matrix-bot: Working timer 2
matrix-bot: nix fmt
2024-07-02 19:49:41 +02:00
Qubasa
379480d564
matrix-bot: Working openai integration
2024-07-02 19:47:38 +02:00
Qubasa
05dae89b12
matrix-bot: Working private room join and better message
2024-07-02 19:47:38 +02:00
Qubasa
e560273392
matrix-bot: Init working sending and receiving
...
matrix-bot: Code cleanup
matrix-bot: Code cleanup#
matrix-bot: Code cleanup#
matrix-bot: Ping on review neede
Add .gitignore
Working user ping
2024-07-02 19:47:36 +02:00
Qubasa
c284449d42
matrix-bot: Add argparse
...
add mautrix
2024-07-02 19:47:21 +02:00
Qubasa
341b8df7ad
matrix-bot: Init git commit summarizer
2024-07-02 19:43:42 +02:00
clan-bot
da7ad18b48
Merge pull request 'API: tests for module instance update' ( #1692 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 14:12:28 +00:00
Johannes Kirschbauer
3227de583f
API: tests for module instance update
2024-07-02 16:09:13 +02:00
kenji
afe8f5c549
Merge pull request 'add: lib/facts.nix' ( #1681 ) from kenji/clan-core:feature/clanLib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1681
2024-07-02 11:34:26 +00:00
a-kenji
2271404a51
lib: add fact loaders to clan lib
2024-07-02 11:34:26 +00:00
Ingolf Wagner
c612b9c124
add lib/facts.nix
2024-07-02 11:34:26 +00:00
kenji
d028927602
Merge pull request 'zerotier-static/halalify-all' ( #1689 ) from kenji/clan-core:zerotier-static/halalify-all into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1689
2024-07-02 11:18:11 +00:00
a-kenji
d44c28b8e4
zerotier-static: halalify all packages
2024-07-02 13:14:26 +02:00
Jörg Thalheim
cc3f99bfaa
simplify clan uri further
2024-07-02 12:52:10 +02:00
clan-bot
4d6b84f71c
Merge pull request 'remove unused multi machine clan urls' ( #1687 ) from Mic92-main into main
2024-07-02 10:26:14 +00:00
kenji
bae4f5e346
Merge pull request 'zerotier-peers: use halalified package' ( #1686 ) from kenji/clan-core:zerotier-static/halalify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1686
2024-07-02 10:24:07 +00:00
a-kenji
3aec89806e
zerotier-peers: use halalified package
2024-07-02 10:24:07 +00:00
Jörg Thalheim
ae8cff57aa
remove unused multi machine clan urls
2024-07-02 12:20:30 +02:00
clan-bot
7a27f4e774
Merge pull request 'API: add performance constraints' ( #1685 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 10:18:54 +00:00
Johannes Kirschbauer
c73a5e87d4
API: remove performance constraints
2024-07-02 12:15:37 +02:00
Johannes Kirschbauer
9307ca68eb
API: add performance constraints
2024-07-02 12:07:45 +02:00
clan-bot
6cf0cc491e
Merge pull request 'machines/machines: drop unused qmp wrapper' ( #1683 ) from Mic92-main into main
2024-07-02 10:01:43 +00:00
Jörg Thalheim
54cec7f772
remove unused MachineParams
2024-07-02 11:57:39 +02:00
clan-bot
7fc661529f
Merge pull request 'api: clan Modules add readme content' ( #1684 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 09:49:23 +00:00
Johannes Kirschbauer
2996ab5941
api: clan Modules add readme content
2024-07-02 11:45:48 +02:00
Jörg Thalheim
466fac640f
machines/machines: drop unused qmp wrapper
2024-07-02 11:42:02 +02:00
clan-bot
6f5d11320f
Merge pull request 'vars: add generators.<name>.finalScript' ( #1682 ) from DavHau/clan-core:DavHau-dave into main
2024-07-02 09:41:22 +00:00
DavHau
8f520f1806
vars: add generators.<name>.finalScript
2024-07-02 16:37:31 +07:00
clan-bot
bd7df2a166
Merge pull request 'API: migrate add machine to inventory' ( #1676 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 09:25:01 +00:00
Johannes Kirschbauer
c17943428a
Fix test
2024-07-02 11:21:52 +02:00
Johannes Kirschbauer
a71fd47354
Inventory persistence improves error resistance
2024-07-02 11:16:54 +02:00
Johannes Kirschbauer
1efadb5e3d
API: migrate machines delete and list to inventory
2024-07-02 11:07:11 +02:00
kenji
231334a904
Merge pull request 'clan: implement OSC8 hyperlinks for help output' ( #1680 ) from kenji/clan-core:clan/hyperlink into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1680
2024-07-02 08:55:01 +00:00
a-kenji
ffe6e03705
clan: implement OSC8 hyperlinks for help output
...
The name of the terminal help output stays the same to keep
compatibility with legacy terminal implementations.
2024-07-02 08:55:01 +00:00
clan-bot
f4e9505ec9
Merge pull request 'drop duplicate empty template' ( #1678 ) from Mic92-main into main
2024-07-02 08:47:59 +00:00
clan-bot
dc6a697b9a
Merge pull request 'secrets: add settings, generator submodules, improve tests' ( #1679 ) from DavHau/clan-core:DavHau-dave into main
2024-07-02 08:42:12 +00:00
Jörg Thalheim
d7a17a2ada
drop duplicate empty template
2024-07-02 10:41:55 +02:00
DavHau
1235aa42d9
secrets: add settings, generator submodules, improve tests
2024-07-02 15:38:46 +07:00
clan-bot
43dc965b5b
Merge pull request 'Davhau Dave' ( #1677 ) from DavHau/clan-core:DavHau-dave into main
2024-07-02 06:58:28 +00:00
DavHau
268adbe100
vars: simplify eval tests by using submodule directly
2024-07-02 13:55:00 +07:00
Johannes Kirschbauer
4a61e51afd
API: migrate add machine to inventory
2024-07-01 21:55:42 +02:00
clan-bot
6c8a1ef70c
Merge pull request 'Inventory: add system and sample machine' ( #1675 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-01 19:42:14 +00:00
Johannes Kirschbauer
d62552217d
Inventory: add missing settings to build the test machine
2024-07-01 21:38:50 +02:00
Johannes Kirschbauer
4363544672
Inventory: add system and sample machine
2024-07-01 21:25:02 +02:00
clan-bot
c87aa41ced
Merge pull request 'sshd: workaround for CVE-2024-6387' ( #1674 ) from openssh-cve-workaround into main
2024-07-01 12:04:54 +00:00
Jörg Thalheim
118becc744
sshd: workaround for CVE-2024-6387
2024-07-01 14:01:40 +02:00
clan-bot
f21c4569b4
Merge pull request 'fix secret generation on macos' ( #1669 ) from fix-macos-deploy into main
2024-06-30 06:25:39 +00:00
clan-bot
0eb4104753
Merge pull request 'Various cleanups' ( #1670 ) from Mic92-main into main
2024-06-30 06:24:51 +00:00
Jörg Thalheim
b57b311383
formatter/vale: exclude lib
...
Fixes ci
2024-06-30 08:19:55 +02:00
Jörg Thalheim
be480adfa8
nixos-generators: drop nixlib copy
2024-06-30 08:13:24 +02:00
Jörg Thalheim
740f05f8ea
buildClan: improve deprecation error message of clanName
...
Printing the clanName in my case was actually more confusing then
helpful. Also mention what function needs to be updated.
2024-06-30 08:08:22 +02:00
Luis Hebendanz
3879c5160b
Merge pull request 'add Vale for prose linting' ( #1370 ) from fricklerhandwerk/clan-core:add-vale into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1370
2024-06-29 09:08:49 +00:00
Valentin Gagarin
6febc67ab1
fix spelling in README
2024-06-29 09:08:49 +00:00
Valentin Gagarin
bf9aa44276
add Vale for prose linting
2024-06-29 09:08:49 +00:00
Jörg Thalheim
cb9fbc969b
introduce minifakeroot that also works on macos
2024-06-27 18:53:10 +02:00
Jörg Thalheim
2ed8bba017
make bubblewrap in fact generation optional
2024-06-27 18:23:05 +02:00
clan-bot
2fc3c8cc86
Merge pull request 'vars: init' ( #1668 ) from DavHau/clan-core:DavHau-dave into main
2024-06-27 14:13:38 +00:00
DavHau
dfcf4d8309
vars: init
...
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
clan-bot
5686f041be
Merge pull request 'update nixpkgs for new nix-unit' ( #1667 ) from DavHau/clan-core:DavHau-dave into main
2024-06-27 12:13:34 +00:00
DavHau
5b9e3c624b
update nixpkgs for new nix-unit
2024-06-27 19:09:58 +07:00
clan-bot
1476474926
Merge pull request 'api: add endpoint machine_schema' ( #1666 ) from DavHau/clan-core:DavHau-dave into main
2024-06-27 10:02:11 +00:00
DavHau
bc3d17ad06
api: add endpoint machine_schema
2024-06-27 16:58:37 +07:00
clan-bot
2f14a08e0b
Merge pull request 'Add toml frontmatter description to jsonschema' ( #1664 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-26 15:22:48 +00:00
Johannes Kirschbauer
1ec57a5c5d
Inventory: add eval tests
2024-06-26 17:19:19 +02:00
Johannes Kirschbauer
d8e0031de0
Inventory: restructure folders
2024-06-26 15:19:40 +02:00
Johannes Kirschbauer
ee543a39d0
Add toml frontmatter description to jsonschema
2024-06-26 15:10:36 +02:00
clan-bot
965fddd2f8
Merge pull request 'flake.lock: update nixpkgs' ( #1663 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-26 09:49:40 +00:00
Johannes Kirschbauer
7ede97a5b7
flake.lock: update nixpkgs
2024-06-26 11:45:40 +02:00
kenji
bb20c2dbca
Merge pull request 'clan: state add information about the backup command hooks to the help' ( #1661 ) from kenji/clan-core:clan/improve-description into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1661
2024-06-26 08:46:02 +00:00
a-kenji
a5172b995f
clan: state add information about the backup command hooks to the help
2024-06-26 08:46:02 +00:00
clan-bot
9ce5b0d3bc
Merge pull request 'ClanModules: Add docs and api to retrieve metadata' ( #1662 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-25 19:43:22 +00:00
Johannes Kirschbauer
0d56f539d0
remove module description from json schema
2024-06-25 21:40:04 +02:00
Johannes Kirschbauer
17532e999f
API: add clanModules list and details test
2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
4aaf6e4244
ClanModules: Add docs and api to retrieve metadata
2024-06-25 21:17:42 +02:00
Johannes Kirschbauer
cbb78ca1ae
ClanModules: Add docs and api to retrieve metadata
2024-06-25 21:17:01 +02:00
clan-bot
e83d428fd6
Merge pull request 'Docs: rename clanName to just name' ( #1660 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-25 12:25:27 +00:00
hsjobeki
5918da9237
Merge pull request 'Inventory: init first implementation' ( #1638 ) from hsjobeki/clan-core:wip/inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1638
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
925a24590d
buildClan: bugfixing
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4d6a9948fb
test: increase timeout
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
7818ee647c
Add machinesDirs with default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
457cac8be9
Add machinesDirs with default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
25024aba95
Add settings.json back
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4bf862eb27
Docs: add inventory module docs
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
cd6a517e0d
Template: make inventory disabled by default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
7f897e29d6
Remove useless settings.json
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
b90ec6e842
Inventory: move to lib.inventory
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
1ee95ba864
Template: use inventory
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
9304afaa44
Inventory: simplify build-clan interface
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
0d4928ab73
Inventory: init module merge & validation logic for inventory
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
eb221244e6
Extend build-clan interface
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4db65921fe
inventory: rename clan.services
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
1b226c9e09
update inventory implementation
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
b4a8a3d047
readme improvements
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
eab22fefb0
schema improvements
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
feace3a8e9
Inventory: implement borgbackup
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
cf03c71966
Docs: rename clanName to just name
2024-06-25 14:21:53 +02:00
clan-bot
8d060d8243
Merge pull request 'clan-cli: Better env jailing in temporary_home' ( #1659 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-25 10:06:55 +00:00
Qubasa
1cb6cff6fe
clan-cli: Better env jailing in temporary_home
2024-06-25 12:03:44 +02:00
kenji
f890d21ab2
Merge pull request 'clan: state list improve formatting' ( #1658 ) from kenji/clan-core:clan/state-list-improve into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1658
2024-06-25 09:56:29 +00:00
a-kenji
a6f342db35
clan: state list improve formatting
2024-06-25 11:50:19 +02:00
kenji
4c5353f192
Merge pull request 'cli: add command to list state' ( #1657 ) from kenji/clan-core:cli/state-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1657
2024-06-25 09:34:31 +00:00
a-kenji
69e826fc17
cli: add command to list state
...
Add a subcommand to list configured state for a specific machine.
Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
kenji
5ecb61e392
Merge pull request 'blog: fix typos in backup blog' ( #1656 ) from kenji/clan-core:blog-backups-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1656
2024-06-25 09:02:52 +00:00
a-kenji
03c68cfc04
blog: fix typos in backup blog
2024-06-25 09:02:52 +00:00
kenji
d9b95b37d0
Merge pull request 'clan: ssh fix typos' ( #1655 ) from kenji/clan-core:fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1655
2024-06-25 08:50:36 +00:00
a-kenji
9d394baca5
clan: ssh fix typos
2024-06-25 10:32:05 +02:00
clan-bot
b56a5e33d2
Merge pull request 'clan-cli: Acutally test SecretStore for age and password-store.' ( #1654 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-24 19:45:06 +00:00
Qubasa
642b60cd98
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
clan-bot
411b37bef5
Merge pull request 'clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret' ( #1653 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-24 18:11:26 +00:00
Qubasa
10877d73f4
clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret
2024-06-24 20:08:02 +02:00
clan-bot
0ce560da52
Merge pull request 'clan-cli: Add validity check for ssh' ( #1652 ) from Qubasa/clan-core:Qubasa-test_secrets into main
2024-06-24 17:26:34 +00:00
Qubasa
960d8541b1
Fix run_vm test
...
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
9a39ed1766
Fixed Contributing.md guide
2024-06-24 19:22:24 +02:00
Qubasa
8580664340
Add repro-hook to .gitignore
2024-06-24 19:22:24 +02:00
Qubasa
feab5f737e
clan-cli: Add validity check for ssh
...
stash
2024-06-24 19:22:19 +02:00
clan-bot
0f92dcb4b2
Merge pull request 'Inventory: add concrete use-case examples' ( #1650 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-24 14:03:46 +00:00
Johannes Kirschbauer
c77230e3b6
Json-schema tests: add schema specifier to test
2024-06-24 16:00:46 +02:00
Johannes Kirschbauer
bcb7152c9f
schema improvements: add additionalProperties: false to ensure closed types
2024-06-24 15:55:48 +02:00
Johannes Kirschbauer
aed486f020
lib: eval clan module as lib function
2024-06-24 15:47:25 +02:00
clan-bot
3061cd2838
Merge pull request 'dev report: backup' ( #1651 ) from matrix into main
2024-06-24 13:08:51 +00:00
Jörg Thalheim
e08ea4d5ba
first draft of the backup article
2024-06-24 15:05:37 +02:00
Johannes Kirschbauer
b222c98a54
Inventory: add concrete use-case examples
2024-06-24 14:35:41 +02:00
clan-bot
6b3ea54977
Merge pull request 'Automatic flake update - 2024-06-24T00:00+00:00' ( #1648 ) from flake-update-2024-06-24 into main
2024-06-24 00:06:47 +00:00
Clan Merge Bot
1ff35fb538
update flake lock - 2024-06-24T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/1bbdb06f14e2621290b250e631cf3d8948e4d19b' (2024-06-09)
→ 'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e' (2024-06-20)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/d14b286322c7f4f897ca4b1726ce38cb68596c94' (2024-05-20)
→ 'github:nix-community/nixos-generators/35c20ba421dfa5059e20e0ef2343c875372bdcf3' (2024-06-10)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/72771bd35f4e19e32d6f652528483b5e07fc317b' (2024-06-07)
→ 'github:nix-community/nixos-images/c1e6a5f7b08f1c9993de1cfc5f15f838bf783b88' (2024-06-20)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/7d916e720af6b2ca355e4d0cfb8e4f742c172239' (2024-06-09)
→ 'github:NixOS/nixpkgs/084f8df2f3ff80cdec6f515931036f63c5d2f36c' (2024-06-23)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/f0922ad001829b400f0160ba85b47d252fa3d925' (2024-06-09)
→ 'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811' (2024-06-23)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed' (2024-06-08)
→ 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
2024-06-24 00:00:22 +00:00
clan-bot
b9356240df
Merge pull request 'fix fake-etc build on machines without sandbox' ( #1645 ) from fix-macos-deploy into main
2024-06-21 15:05:45 +00:00
Jörg Thalheim
5b351da166
fix fake-etc build on machines without sandbox
...
If we have no sandbox enabled or on macos with sandbox enabled, /etc
contains a lot more files than we actually want.
Instead of copying some random files, we now just create those files
ourself.
2024-06-21 17:01:40 +02:00
clan-bot
501962227b
Merge pull request 'clan-cli: Add validity check for age key generation' ( #1642 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-21 13:18:34 +00:00
Qubasa
7b0e1b437b
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
clan-bot
877cc38e2b
Merge pull request 'clan-cli: Disable stack trace on KeyboardInterrupt' ( #1641 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-21 11:14:47 +00:00
Qubasa
7cd26af66e
clan-cli: Disable stack trace on KeyboardInterrupt
2024-06-21 13:11:33 +02:00
clan-bot
48721995ab
Merge pull request 'clan.core.state: wrap all commands in shell scripts' ( #1639 ) from refactor-state into main
2024-06-20 16:20:31 +00:00
Jörg Thalheim
12c62abbee
fix dropping non-existing database
2024-06-19 18:00:51 +02:00
Jörg Thalheim
2fee219952
clanCore -> clan.core
2024-06-19 17:55:59 +02:00
Jörg Thalheim
e68ebc8d6c
clan.core.state: wrap all commands in shell scripts
...
Otherwise we cannot execute them via ssh and also have nix store
dependencies.
2024-06-19 17:54:46 +02:00
Jörg Thalheim
06e6c24a64
postgresql: don't prepend postgresql- for states
2024-06-19 17:38:31 +02:00
clan-bot
4a61601160
Merge pull request 'Inventory: add concrete use-case examples' ( #1636 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-19 11:08:04 +00:00
Johannes Kirschbauer
fda1ffb38c
Inventory: add concrete use-case examples
2024-06-19 13:04:10 +02:00
clan-bot
bd601d77b7
Merge pull request 'UI: display block devices' ( #1635 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-19 09:39:41 +00:00
Johannes Kirschbauer
c4705ef8b6
UI: display block devices
2024-06-19 11:36:19 +02:00
clan-bot
f48e5f0c22
Merge pull request 'UI: display known network hosts' ( #1633 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-19 09:11:01 +00:00
Johannes Kirschbauer
da86c15b62
UI: display known network hosts
2024-06-19 11:07:45 +02:00
clan-bot
62cee96ef0
Merge pull request 'Inventory: init draft ideas' ( #1632 ) from hsjobeki/clan-core:hsjobeki-inventory into main
2024-06-19 07:50:12 +00:00
Johannes Kirschbauer
cfe3a4c1d1
Inventory: init draft ideas
2024-06-19 09:47:13 +02:00
Johannes Kirschbauer
881e95dd75
Inventory: init draft ideas
2024-06-19 09:40:23 +02:00
clan-bot
14e4cea83c
Merge pull request 'refactor: rename clanCore -> clan.core' ( #1629 ) from DavHau/clan-core:DavHau-rename-clanCore into main
2024-06-18 11:35:57 +00:00
DavHau
4db2e8303f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
clan-bot
4ac65b59ee
Merge pull request 'update matrix address' ( #1631 ) from new-matrix-address into main
2024-06-17 13:32:07 +00:00
Jörg Thalheim
c7802687e3
update matrix address
2024-06-17 15:26:23 +02:00
clan-bot
a3f93950d1
Merge pull request 'matrix-synapse: restart service on restore' ( #1630 ) from clan-name into main
2024-06-17 12:30:03 +00:00
Jörg Thalheim
682566603a
fix restore if database does not exists
2024-06-17 14:21:45 +02:00
Jörg Thalheim
b41b4e4ca1
matrix-synapse: restart service on restore
2024-06-17 14:21:45 +02:00
clan-bot
9f0f999c29
Merge pull request 'fix: remove IFD in nix flake show' ( #1628 ) from DavHau/clan-core:DavHau-dave into main
2024-06-17 08:09:39 +00:00
DavHau
419ee46c88
fix: remove IFD in nix flake show
2024-06-17 15:06:25 +07:00
clan-bot
07fe8b0b23
Merge pull request 'API: init methods: hw_generate, dns discovery' ( #1626 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-16 14:32:42 +00:00
Johannes Kirschbauer
97d8dd9816
API: init methods: hw_generate, dns discovery
2024-06-16 16:29:18 +02:00
clan-bot
07b32229e4
Merge pull request 'Docs: update machine hardware config instructions' ( #1625 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-15 20:30:50 +00:00
Johannes Kirschbauer
0826c2bce0
Docs: update machine hardware config instructions
2024-06-15 22:27:46 +02:00
clan-bot
559e748ce4
Merge pull request 'CLI: init hw-generate command' ( #1624 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-15 19:35:56 +00:00
Johannes Kirschbauer
ec1eab7e14
CLI: init hw-generate command
2024-06-15 21:31:23 +02:00
clan-bot
119a8574e1
Merge pull request 'API: init op_key, improve seralisation & signature typing' ( #1622 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-15 09:38:29 +00:00
Johannes Kirschbauer
ef6f9444d9
Webview: init machine details
2024-06-15 11:35:15 +02:00
Johannes Kirschbauer
5d01ad5732
Webview: minor improvements
2024-06-15 11:34:54 +02:00
Johannes Kirschbauer
062718fdbc
Webview: init global state for current clan path
2024-06-15 11:34:20 +02:00
Johannes Kirschbauer
bab9b10dcb
Webview: init api event registry
2024-06-15 11:33:53 +02:00
Johannes Kirschbauer
03c432fd6a
API: mock echo op_key
2024-06-15 11:32:42 +02:00
Johannes Kirschbauer
759ace4f74
API: init op_key, improve seralisation & signature typing
2024-06-15 11:32:09 +02:00
clan-bot
e43caad3a7
Merge pull request 'matrix-synapse: user creation fixes' ( #1620 ) from matrix into main
2024-06-14 09:36:41 +00:00
Jörg Thalheim
fc9a051498
postgres: handle restores without associated systemd service
2024-06-14 11:29:59 +02:00
Jörg Thalheim
c47bd20f29
container-driver: source nixos environment variables in test commands
2024-06-14 11:27:06 +02:00
Jörg Thalheim
ae088147bc
matrix-synapse: use upstream patch to create users declarativly
2024-06-14 11:27:06 +02:00
Jörg Thalheim
fa78cc0163
matrix-synapse: use registration_shared_secret_path instead
2024-06-14 11:18:09 +02:00
Jörg Thalheim
a6144220ca
matrix-synapse: fix user check
2024-06-14 11:18:09 +02:00
Jörg Thalheim
e6b5aab685
postgresql: move postRestoreCommand to a dedicated command
...
We need to call this command from the cli
2024-06-14 11:18:09 +02:00
kenji
c36768f826
Merge pull request 'fix: outside of direnv clan-li warns show-config deprecated' ( #1619 ) from samrose/clan-core:sam/show-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1619
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-06-14 08:10:29 +00:00
samrose
ca784a632d
fix: trying run_no_stdout with original show-config
2024-06-13 18:44:50 -04:00
samrose
74ebbe77f3
fix: formatting cli command correctly
2024-06-13 12:59:26 -04:00
samrose
7c68030300
fix: outside of direnv clan-li warns this is going to be deprecated
2024-06-13 12:44:48 -04:00
clan-bot
844c45940f
Merge pull request 'API: init icon resolve' ( #1616 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-12 11:24:45 +00:00
Johannes Kirschbauer
72d99bd0f7
API: init icon resolve
2024-06-12 13:21:39 +02:00
clan-bot
1d511d5128
Merge pull request 'vm.nix: fix typo in comment' ( #1611 ) from DavHau/clan-core:DavHau-dave into main
2024-06-11 21:49:18 +00:00
DavHau
93f0ee9dd3
vm.nix: fix typo in comment
2024-06-11 14:44:08 -07:00
clan-bot
e6e11d6a07
Merge pull request 'API: improve type & class construction' ( #1610 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-11 17:23:42 +00:00
Johannes Kirschbauer
74538f69a9
Webview: add form handling for create clan
2024-06-11 19:20:40 +02:00
Johannes Kirschbauer
b0845c050c
API: improve type & class construction
2024-06-11 19:20:40 +02:00
clan-bot
d8b513e33b
Merge pull request 'Webview/API: init open clan workflow' ( #1609 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-11 14:31:51 +00:00
Johannes Kirschbauer
6532e2acff
Webview: init 'open clan' workflow
2024-06-11 16:28:02 +02:00
clan-bot
b4a3b2937a
Merge pull request 'matrix-synapse: add missing xkcdpass to password generator' ( #1608 ) from matrix into main
2024-06-11 13:44:08 +00:00
Jörg Thalheim
a60f08a16e
matrix-synapse: add missing xkcdpass to password generator
2024-06-11 15:40:58 +02:00
Mic92
4177a27f66
Merge pull request 'matrix-synapse: drop drop security.wrappers' ( #1607 ) from nixos-images-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1607
2024-06-11 13:32:58 +00:00
Jörg Thalheim
a0ceeca71a
matrix-synapse: drop drop security.wrappers
...
This was debug code and not meant for production.
2024-06-11 13:32:58 +00:00
clan-bot
50b5b4afe3
Merge pull request 'matrix-synapse: don't require to set default users' ( #1606 ) from Mic92-nixos-images-input into main
2024-06-11 13:18:37 +00:00
clan-bot
ed5597c028
Merge pull request 'drop nixos-stable' ( #1605 ) from nixos-images-input into main
2024-06-11 13:13:48 +00:00
Jörg Thalheim
39d325de40
matrix-synapse: don't require to set default users
2024-06-11 15:12:41 +02:00
Jörg Thalheim
f0c754a1aa
drop nixos-stable
2024-06-11 15:03:57 +02:00
clan-bot
4c5c33f0f4
Merge pull request 'matrix-synapse: add automatic user creation' ( #1603 ) from synapse into main
2024-06-11 11:22:32 +00:00
Jörg Thalheim
6d3ec1852e
matrix-synapse: add automatic user creation
2024-06-11 13:19:18 +02:00
clan-bot
6b94a90ad1
Merge pull request 'api: refactor create flake into create clan' ( #1602 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-11 10:15:44 +00:00
Johannes Kirschbauer
81b1487057
api: refactor create flake into create clan
2024-06-11 12:11:29 +02:00
kenji
b72fa7ae3c
Merge pull request 'borbackup: set IdentitiesOnly=Yes' ( #1601 ) from kenji/clan-core:identities into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1601
2024-06-10 14:09:14 +00:00
a-kenji
b4e5b44a76
borbackup: set IdentitiesOnly=Yes
...
Since `borgbackup` is run as root user it might try other ssh keys.
2024-06-10 14:09:14 +00:00
clan-bot
1cc0442fd5
Merge pull request 'backups: extend tests to also check state.preBackupCommand' ( #1600 ) from synapse into main
2024-06-10 14:01:53 +00:00
Jörg Thalheim
0ebd805092
backups: extend tests to also check state.preBackupCommand
2024-06-10 15:57:41 +02:00
clan-bot
18506310ff
Merge pull request 'Expand backup and restore capabilities w.r.t. postgresql.' ( #1582 ) from synapse into main
2024-06-10 13:24:08 +00:00
Jörg Thalheim
0042663673
borgbackup: move preBackupScript to a different systemd context
2024-06-10 15:17:46 +02:00
clan-bot
2e1a3f6b6a
Merge pull request 'test: extend minimal flake test with verification' ( #1599 ) from DavHau/clan-core:DavHau-dave into main
2024-06-10 05:24:17 +00:00
DavHau
f4060b6d16
test: extend minimal flake test with verification
2024-06-09 22:19:38 -07:00
clan-bot
ccf1f0735c
Merge pull request 'tests: add test for creating machine on minimal clan' ( #1596 ) from DavHau/clan-core:DavHau-dave into main
2024-06-10 04:58:02 +00:00
DavHau
8eafd43fd3
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00
clan-bot
69f236d43c
Merge pull request 'Automatic flake update - 2024-06-10T00:00+00:00' ( #1598 ) from flake-update-2024-06-10 into main
2024-06-10 00:05:18 +00:00
Clan Merge Bot
53bd801d2c
update flake lock - 2024-06-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/0274af4c92531ebfba4a5bd493251a143bc51f3c' (2024-05-31)
→ 'github:nix-community/disko/1bbdb06f14e2621290b250e631cf3d8948e4d19b' (2024-06-09)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/47bfb55316e105390dd761e0b6e8e0be09462b67' (2024-05-30)
→ 'github:nix-community/nixos-images/72771bd35f4e19e32d6f652528483b5e07fc317b' (2024-06-07)
• Removed input 'nixos-images/nixos-2311'
• Added input 'nixos-images/nixos-stable':
'github:NixOS/nixpkgs/0b8e7a1ae5a94da2e1ee3f3030a32020f6254105' (2024-06-05)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/6634a0509e9e81e980b129435fbbec518ab246d0' (2024-06-02)
→ 'github:NixOS/nixpkgs/7d916e720af6b2ca355e4d0cfb8e4f742c172239' (2024-06-09)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/ab2a43b0d21d1d37d4d5726a892f714eaeb4b075' (2024-06-02)
→ 'github:Mic92/sops-nix/f0922ad001829b400f0160ba85b47d252fa3d925' (2024-06-09)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706' (2024-06-01)
→ 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed' (2024-06-08)
2024-06-10 00:00:22 +00:00
kenji
2fd2abab8c
Merge pull request 'gui-installer: fix maintainer name' ( #1597 ) from kenji/clan-core:fix-name into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1597
2024-06-09 12:49:14 +00:00
a-kenji
780a1effb0
gui-installer: fix maintainer name
2024-06-09 14:28:54 +02:00
clan-bot
293c9b7843
Merge pull request 'templates: add minimal clan flake template for (G)UI' ( #1595 ) from DavHau/clan-core:DavHau-dave into main
2024-06-09 00:05:02 +00:00
DavHau
f074a14247
templates: add minimal clan flake template for (G)UI
2024-06-08 17:00:18 -07:00
clan-bot
5df6147661
Merge pull request 'Clan-cli/show: more detailed description' ( #1594 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 16:28:36 +00:00
Johannes Kirschbauer
af69c57a9e
Clan-cli/show: more detailed description
2024-06-08 18:24:54 +02:00
clan-bot
2e9b0f73c5
Merge pull request 'Webview: add solid-toast feeback system' ( #1593 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 16:17:59 +00:00
Johannes Kirschbauer
208a79fc4c
Webview: add solid-toast feeback system
2024-06-08 18:14:15 +02:00
clan-bot
7a230062ef
Merge pull request 'API: add show clan to retrieve the buildClan meta' ( #1592 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 16:11:43 +00:00
Johannes Kirschbauer
a4a9bf1318
API: include show into docs
2024-06-08 18:07:41 +02:00
Johannes Kirschbauer
61db2382af
API: add show clan to retrieve the buildClan meta
2024-06-08 17:53:17 +02:00
clan-bot
b3c68c0552
Merge pull request 'API: add abstract open_file method, implement open_file' ( #1591 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 15:09:35 +00:00
Johannes Kirschbauer
16a8ff208e
API: add abstract open_file method, implement open_file
2024-06-08 17:04:56 +02:00
clan-bot
2b82a966c7
Merge pull request 'UI: add open clan button' ( #1590 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 13:28:18 +00:00
Johannes Kirschbauer
f929502db4
UI: add open clan button
2024-06-08 15:24:18 +02:00
clan-bot
75d34e6c32
Merge pull request 'api: list files' ( #1589 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 13:05:52 +00:00
Johannes Kirschbauer
56b72ebb09
api: list files
2024-06-08 15:01:53 +02:00
kenji
0613f7c411
Merge pull request 'clan: fix backup provider completions' ( #1587 ) from kenji/clan-core:clan-complete-providers into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1587
2024-06-07 19:16:13 +00:00
a-kenji
cfd809581d
clan: fix backup provider completions
2024-06-07 19:16:13 +00:00
clan-bot
825d94ffb0
Merge pull request 'gui-installer: calculate bugfix version from lastModifiedDate' ( #1588 ) from DavHau/clan-core:DavHau-dave into main
2024-06-07 18:39:28 +00:00
DavHau
37715a9565
gui-installer: calculate bugfix version from lastModifiedDate
2024-06-07 11:35:25 -07:00
kenji
580e1d4bc4
Merge pull request 'clan: remove very obvious comments' ( #1586 ) from kenji/clan-core:clan/package/clean into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1586
2024-06-07 13:20:23 +00:00
a-kenji
98b438754a
clan: remove very obvious comments
...
Remove some very obvious comments as to not lose meaning of the
comments.
We want comments that convey non-obvious behavior so they will be
actually read.
2024-06-07 14:45:53 +02:00
kenji
88875ab4f4
Merge pull request 'syncthing: automatically add zt network ip to devices' ( #1585 ) from kenji/clan-core:syncthing/add-ip into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1585
2024-06-07 12:33:09 +00:00
a-kenji
c0ba1517dd
syncthing: automatically add zt network ip to devices
2024-06-07 14:25:21 +02:00
kenji
e56494d573
Merge pull request 'clan: install shell completions for zsh' ( #1584 ) from kenji/clan-core:enable-zsh-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1584
2024-06-07 07:57:40 +00:00
a-kenji
ac7b30c43f
clan: install shell completions for zsh
2024-06-06 23:20:54 +02:00
Jörg Thalheim
70c86efe6f
backup: add a way to stop services before restoring a state.
2024-06-06 17:30:35 +02:00
Jörg Thalheim
46530a0a9c
postgresql: add backup and restore
2024-06-06 14:28:50 +02:00
Jörg Thalheim
c550261d40
postgresql: add new method to create users and databases
2024-06-06 14:07:56 +02:00
Jörg Thalheim
697850a24d
matrix-synapse: create with utf-8 encoding
2024-06-06 14:07:56 +02:00
Jörg Thalheim
4822fbc80e
add postgresql backup hooks
2024-06-06 13:27:30 +02:00
Jörg Thalheim
c1d86cd8ac
fix running cli without arguments
2024-06-06 13:27:30 +02:00
Jörg Thalheim
13005a2aef
matrix-enable: drop enable option
2024-06-06 13:27:30 +02:00
Jörg Thalheim
f5979d80a8
change clan url to gitea archive url
2024-06-06 11:11:48 +02:00
Jörg Thalheim
f8f9b5fe8f
matrix-synapse: create database with right collation also when postgresql already exists #1108
2024-06-06 11:11:48 +02:00
kenji
8f7e6c1519
Merge pull request 'syncthing-remove-newline' ( #1581 ) from kenji/clan-core:syncthing-remove-newline into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1581
2024-06-06 08:34:08 +00:00
a-kenji
002611c946
syncthing: remove trailing newline
2024-06-06 08:34:08 +00:00
kenji
53473b9a4b
Merge pull request 'syncthing: update facts to new system' ( #1580 ) from kenji/clan-core:syncthing/update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1580
2024-06-06 08:21:31 +00:00
a-kenji
33fbf3832c
syncthing: update facts to new system
2024-06-06 08:21:31 +00:00
kenji
19d76ca2a1
Merge pull request 'modules/syncthing-static-peers: init' ( #1579 ) from kenji/clan-core:init/static-syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1579
2024-06-06 08:01:09 +00:00
a-kenji
a439233968
modules/syncthing-static-peers: init
2024-06-06 09:55:57 +02:00
kenji
b22ae35e4f
Merge pull request 'borbackup-static: impl' ( #1577 ) from kenji/clan-core:modules/init/borbackup-static-impl into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1577
2024-06-05 21:17:24 +00:00
a-kenji
95371d31bb
borbackup-static: impl
...
Implements sane defaults implementing borgbackup
Fixes : #1551
2024-06-05 21:17:24 +00:00
kenji
e02023502b
Merge pull request 'zerotier-static-peers: filter out non existing Ip' ( #1576 ) from kenji/clan-core:fix/static-zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1576
2024-06-05 17:52:59 +00:00
a-kenji
0a338d62a6
zerotier-static-peers: filter out non existing Ip
2024-06-05 19:46:55 +02:00
kenji
6093c88074
Merge pull request 'static-hosts: filter out non existing Ip's' ( #1574 ) from kenji/clan-core:static-hosts-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1574
2024-06-05 15:32:57 +00:00
a-kenji
c9ead61bbd
static-hosts: filter out non existing Ip's
2024-06-05 17:28:35 +02:00
clan-bot
0c9ba1507f
Merge pull request 'clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret' ( #1573 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-05 12:37:02 +00:00
Qubasa
b54e072e9d
clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret
2024-06-05 14:31:45 +02:00
clan-bot
d115837167
Merge pull request 'clan-cli: temporary_home, set XDG_RUNTIME_DIR' ( #1571 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-05 11:39:14 +00:00
kenji
44a0076478
Merge pull request 'clan: improve machine completions' ( #1572 ) from kenji/clan-core:clan/dynamic-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1572
2024-06-05 11:38:50 +00:00
Qubasa
0ffb45eaf0
clan-cli: temporary_home, set XDG_RUNTIME_DIR
2024-06-05 13:34:17 +02:00
a-kenji
0c09fcbbda
clan: improve machine completions
...
In recent nix versions the `nix flake show` command busts the eval
cache, which made the function that used to be faster, slower.
On benchmarks the completion was around 180-200ms.
2024-06-05 13:32:23 +02:00
clan-bot
ba5deadfdb
Merge pull request 'Hsjobeki Main' ( #1570 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 10:14:53 +00:00
Johannes Kirschbauer
13459ed5c5
clan-app: switch default view to webui
2024-06-05 12:10:26 +02:00
clan-bot
23529bbcc2
Merge pull request 'clan-app: rename clan-vm-manager' ( #1569 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 09:41:05 +00:00
kenji
2434ef20dd
Merge pull request 'clan: fix backup description' ( #1567 ) from kenji/clan-core:clan/fix/backup-description into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1567
2024-06-05 09:40:01 +00:00
Johannes Kirschbauer
45a1738d1e
clan-app: rename clan-vm-manager
2024-06-05 11:36:02 +02:00
a-kenji
ece426f8b0
clan: fix backup description
2024-06-05 11:35:04 +02:00
clan-bot
72751667d4
Merge pull request 'clan-app: Rename clan-vm-manager to clan-app.' ( #1566 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 09:31:22 +00:00
Johannes Kirschbauer
b03fe685dc
clan-app: rename clan-vm-manager
2024-06-05 11:24:59 +02:00
kenji
dcb9bbe50f
Merge pull request 'clan: add dynamic completions to clan backups' ( #1565 ) from kenji/clan-core:clan/backups/dynamic-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1565
2024-06-05 09:23:02 +00:00
a-kenji
1e6ea7344e
clan: add dynamic completions to clan backups providers
2024-06-05 09:23:02 +00:00
a-kenji
99008e1e3a
clan: add dynamic completion function for backup providers
2024-06-05 09:23:02 +00:00
clan-bot
320fe242a0
Merge pull request 'web-ui: init type API checks' ( #1564 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 09:11:44 +00:00
Johannes Kirschbauer
816217748a
web-ui: init type API checks
2024-06-05 11:07:55 +02:00
clan-bot
a8501282c1
Merge pull request 'web-ui: remove type test method' ( #1563 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 07:58:08 +00:00
Johannes Kirschbauer
2e0d4afbb3
web-ui: remove type test method
2024-06-05 09:54:17 +02:00
clan-bot
418966420d
Merge pull request 'hsjobeki-main' ( #1562 ) from hsjobeki-main into main
2024-06-05 07:52:38 +00:00
Johannes Kirschbauer
5b9a73aef5
clan-api: wrap all api responses with error/success envelop type
2024-06-05 09:46:48 +02:00
Johannes Kirschbauer
2e70a884bb
clan-cli: create flake refactor to create clan
2024-06-05 09:45:47 +02:00
Johannes Kirschbauer
dfffb69321
clan-cli: refactor CmdOut to serializable dataclass
2024-06-05 09:44:44 +02:00
Johannes Kirschbauer
730cb913db
clan-api: add support for generic types & annotated types
2024-06-05 09:43:45 +02:00
clan-bot
930d5ea7ca
Merge pull request 'demo.sh: fix tags' ( #1561 ) from DavHau/clan-core:DavHau-dave into main
2024-06-04 22:27:39 +00:00
DavHau
8683efad56
demo.sh: fix tags
2024-06-04 15:23:39 -07:00
kenji
a204d5f911
Merge pull request 'documentation(backups): make exampe more robust' ( #1560 ) from kenji/clan-core:improve/backup-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1560
2024-06-04 15:17:29 +00:00
a-kenji
efd772435c
documentation(backups): make exampe more robust
2024-06-04 17:09:26 +02:00
kenji
d852d42b1c
Merge pull request 'borgbackup: fixes error when specifying multiple backup directories' ( #1559 ) from kenji/clan-core:improve/backup-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1559
2024-06-04 14:54:39 +00:00
a-kenji
07c645214f
borgbackup: try to fix
2024-06-04 16:27:53 +02:00
kenji
05aa3522ee
Merge pull request 'clan/improve/dynamic-completions-config' ( #1558 ) from kenji/clan-core:clan/improve/dynamic-completions-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1558
2024-06-04 13:57:18 +00:00
a-kenji
3abe481316
clan: add dynamic completions to clan vms inspect
2024-06-04 15:50:50 +02:00
a-kenji
96f0ed1a8f
clan: add dynamic completions to clan vms run
2024-06-04 15:48:12 +02:00
a-kenji
3e1dbd5fbd
clan: add dynamic completions to clan config
2024-06-04 15:44:39 +02:00
kenji
475fa95fd4
Merge pull request 'clan/improve/dynamic-completions' ( #1557 ) from kenji/clan-core:clan/improve/dynamic-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1557
2024-06-04 13:28:09 +00:00
a-kenji
996dc47da5
clan: add dynamic-completions to clan secrets set
2024-06-04 15:21:00 +02:00
a-kenji
755d7c6470
clan: add dynamic completions to clan secrets machines
2024-06-04 15:02:35 +02:00
a-kenji
6ab585da1f
clan: add dynamic completions for clan secrets import-sops
2024-06-04 13:40:24 +02:00
kenji
5fed6e52f2
Merge pull request 'clan: add dynamic completions to clan secrets {users,groups} and add completion functions' ( #1556 ) from kenji/clan-core:add/completion/to-groups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1556
2024-06-04 11:35:42 +00:00
a-kenji
37b620257f
clan: add dynamic completions for secret groups
2024-06-04 13:30:38 +02:00
a-kenji
e2bf74ff27
clan: add dynamic completions for clan secrets users
2024-06-04 13:30:38 +02:00
a-kenji
10ab6f0155
clan: add dynamic completion for clan secret groups
2024-06-04 13:30:38 +02:00
a-kenji
43d2644a99
clan: add completion function for clan users
2024-06-04 13:30:11 +02:00
a-kenji
0661051baa
clan: clan secrets groups add machine completions
2024-06-04 13:30:11 +02:00
kenji
0a1399501f
Merge pull request 'clan: fix help message' ( #1553 ) from kenji/clan-core:add/completion/groups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1553
2024-06-04 10:28:34 +00:00
a-kenji
b9046cbae0
clan: fix help message
2024-06-04 10:28:34 +00:00
kenji
708cfc506c
Merge pull request 'clan: add more machine completion functions to secrets' ( #1552 ) from kenji/clan-core:add/completion/secret-subcommands into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1552
2024-06-04 09:30:02 +00:00
a-kenji
9b6a9f0515
clan: add more machine completion functions to secrets
2024-06-04 11:07:24 +02:00
clan-bot
8a8a6170ca
Merge pull request 'demo.sh: fix tag' ( #1550 ) from DavHau/clan-core:DavHau-dave into main
2024-06-04 05:00:07 +00:00
DavHau
6bfd553520
demo.sh: fix tag
2024-06-03 21:55:09 -07:00
clan-bot
bcfcc025dd
Merge pull request 'distro-packages: add test for deb installation' ( #1549 ) from DavHau/clan-core:DavHau-dave into main
2024-06-04 04:17:21 +00:00
DavHau
5980794050
distro-packages: add test for deb installation
2024-06-04 06:09:58 +02:00
kenji
b5923bf9c6
Merge pull request 'zerotier-static-peers: use correct exclusion source' ( #1548 ) from kenji/clan-core:modules/fix/static into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1548
2024-06-03 21:24:29 +00:00
a-kenji
c49207e39d
zerotier-static-peers: use correct exclusion source
2024-06-03 22:53:44 +02:00
kenji
f8e026c335
Merge pull request 'zerotier-static-peers: add guard condition' ( #1547 ) from kenji/clan-core:modules/add/zerotier-guard into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1547
2024-06-03 20:47:03 +00:00
a-kenji
26a877bffe
zerotier-static-peers: add guard condition
2024-06-03 22:42:04 +02:00
kenji
c5937b3ae3
Merge pull request 'clan: add dyncamic completions for secrets' ( #1546 ) from kenji/clan-core:kenji-clan/secrets-dynamic/add-completion into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1546
2024-06-03 19:55:12 +00:00
a-kenji
cc401675fe
clan: add dyncamic completions for secrets
2024-06-03 21:47:14 +02:00
kenji
1252f7db17
Merge pull request 'clan: add dynamic machine completions to clan secrets subcommands' ( #1545 ) from clan/secrets/add-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1545
2024-06-03 15:42:37 +00:00
a-kenji
bda4e4302f
clan: add dynamic machine completions to clan secrets subcommands
2024-06-03 17:32:33 +02:00
kenji
97edbbfab4
Merge pull request 'clan: add dynamic completion to clan machines show' ( #1544 ) from kenji-clan/machine-show/add-commpletion into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1544
2024-06-03 15:15:45 +00:00
a-kenji
4df6567915
clan: add dynamic completion to clan machines show
2024-06-03 17:06:03 +02:00
kenji
7a7585819c
Merge pull request 'clan.static-hosts: excludeHosts should be empty if topLevelDomain is defined.' ( #1538 ) from mrvandalo/clan-core:feature/static-hosts-exclude-nothing-when-tld-is-given into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1538
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-06-03 10:44:41 +00:00
Ingolf Wagner
64a4a03e08
clan.static-hosts: excludeHosts should be empty if topLevelDomain is defined.
2024-06-03 10:44:41 +00:00
clan-bot
4101d1c566
Merge pull request 'Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."' ( #1543 ) from lassulus/clan-core:lassulus-HEAD into main
2024-06-03 10:30:50 +00:00
lassulus
05ed378199
Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."
...
This reverts commit 58f5bc0be0 .
2024-06-03 12:25:20 +02:00
clan-bot
1986d1fe31
Merge pull request 'clan_cli secrets_upload: fix permissions' ( #1542 ) from lassulus/clan-core:lassulus-HEAD into main
2024-06-03 08:58:49 +00:00
lassulus
22cb1955e7
clan_cli secrets_upload: fix permissions
2024-06-03 10:52:18 +02:00
clan-bot
748d9ff6d5
Merge pull request 'Automatic flake update - 2024-06-03T00:00+00:00' ( #1540 ) from flake-update-2024-06-03 into main
2024-06-03 00:05:17 +00:00
Clan Merge Bot
ef8a71beaa
update flake lock - 2024-06-03T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/10986091e47fb1180620b78438512b294b7e8f67' (2024-05-27)
→ 'github:nix-community/disko/0274af4c92531ebfba4a5bd493251a143bc51f3c' (2024-05-31)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
→ 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/2478833ef8cc6de3d9e331f53b6f3682e425f207' (2024-05-27)
→ 'github:nix-community/nixos-images/47bfb55316e105390dd761e0b6e8e0be09462b67' (2024-05-30)
• Updated input 'nixos-images/nixos-2311':
'github:NixOS/nixpkgs/0c007b36981bdbd69ccf0c7df30a174e63660667' (2024-05-26)
→ 'github:NixOS/nixpkgs/64e468fd2652105710d86cd2ae3e65a5a6d58dec' (2024-05-29)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4ae13643e7f2cd4bc6555fce074865d9d14e7c24' (2024-05-28)
→ 'github:NixOS/nixpkgs/6634a0509e9e81e980b129435fbbec518ab246d0' (2024-06-02)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/962797a8d7f15ed7033031731d0bb77244839960' (2024-05-26)
→ 'github:Mic92/sops-nix/ab2a43b0d21d1d37d4d5726a892f714eaeb4b075' (2024-06-02)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
→ 'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706' (2024-06-01)
2024-06-03 00:00:22 +00:00
clan-bot
a83d530be2
Merge pull request 'clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py' ( #1536 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-02 14:56:41 +00:00
Qubasa
58f5bc0be0
clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py.
2024-06-02 16:52:31 +02:00
clan-bot
b03f9ad2f8
Merge pull request 'clan-cli: Refactor machines/update.py to cmd.run' ( #1535 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-02 08:04:18 +00:00
Qubasa
cca39c4839
clan-cli: Refactor machines/update.py to cmd.run
2024-06-02 10:00:23 +02:00
clan-bot
1c39e79ee7
Merge pull request 'clan-cli: Add input arg to cmd.run. Replace subprocess.run in password_store' ( #1533 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-02 07:57:18 +00:00
Qubasa
44660056f1
clan-cli: Refactor subprocess.run to cmd.run. tea-create-pr: Fix missing fail-on-change for treefmt
2024-06-02 09:53:24 +02:00
clan-bot
5ed929ca31
Merge pull request 'docs: Add meta tags for link preview and fix js loading issue.' ( #1531 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-01 20:23:30 +00:00
Qubasa
da176909f2
docs: Add meta tags for link preview and fix js loading issue.
2024-06-01 22:19:37 +02:00
hsjobeki
693d2e0553
Merge pull request 'clan-core: add clan meta for ui usage' ( #1529 ) from hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1529
2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
49c3b78c77
clan-core: add template to impure tests
2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
c7008fd302
clan-core: add clan meta for ui usage
2024-05-31 16:26:46 +00:00
clan-bot
2ac4294ff9
Merge pull request 'split list machines into show machine command' ( #1521 ) from machines-show into main
2024-05-31 15:00:03 +00:00
Jörg Thalheim
84f75de34c
split list machines into show machine command
2024-05-31 16:56:09 +02:00
clan-bot
868ca7854d
Merge pull request 'upgrade nix in development to latest' ( #1528 ) from nix-latest into main
2024-05-31 14:41:21 +00:00
Jörg Thalheim
e4a7f27b7c
upgrade nix in development to latest
...
Better error messages!!
2024-05-31 16:37:07 +02:00
clan-bot
0ebad63703
Merge pull request 'Contributing.md: Fix incorrect formating.' ( #1527 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-31 14:02:18 +00:00
Qubasa
5f1861ddef
Contributing.md: Fix incorrect formating.
2024-05-31 15:58:29 +02:00
clan-bot
30b41a314e
Merge pull request 'clan: add dynamic completions for fact generation services' ( #1525 ) from a-kenji-clan/complete-services into main
2024-05-31 13:25:15 +00:00
a-kenji
a15286c709
clan: add dynamic completions for fact generation services
2024-05-31 15:21:07 +02:00
clan-bot
80ee98d3bd
Merge pull request 'Contributing.md: Explain merge-after-ci for externals.' ( #1524 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-31 12:02:02 +00:00
Qubasa
9444c1fded
Contributing.md: Explain merge-after-ci for externals.
2024-05-31 13:58:13 +02:00
clan-bot
606143124d
Merge pull request 'clan: add completion timeout as static' ( #1523 ) from a-kenji-clan/completions into main
2024-05-31 11:10:52 +00:00
a-kenji
af0f628f35
clan: add completion timeout as static
2024-05-31 13:06:46 +02:00
clan-bot
abec5d41cd
Merge pull request 'clan: add dynamic completions' ( #1522 ) from a-kenji-clan/cli/init-dynamic-completions into main
2024-05-31 11:00:50 +00:00
a-kenji
32a20caad4
clan: add dynamic completions
...
Add dynamic completion scaffolding to the clan `cli`.
Also add a dynamic completion mechanism for machines for commands that
have machines as their sole argument.
More intricate dynamic completions will be implemented in follow up
PR's.
2024-05-31 12:55:41 +02:00
clan-bot
c496cf578c
Merge pull request 'tea-create-pr: Add automatic rebase and autostash' ( #1518 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-30 22:03:38 +00:00
Qubasa
0d426daee9
tea-create-pr: Add automatic rebase and autostash
2024-05-30 23:59:27 +02:00
clan-bot
823a4937a8
Merge pull request 'docs: Fix installer wrong indentation' ( #1516 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-30 21:44:41 +00:00
Qubasa
676f95a9af
tea-create-pr: Fix non working assignees label
2024-05-30 23:37:53 +02:00
Qubasa
75fe2d651b
tea-create-pr: Better username detection
2024-05-30 23:29:59 +02:00
Qubasa
4a27f3bc3f
docs: Fix installer wrong indentation
2024-05-30 22:41:30 +02:00
clan-bot
5829a5fc3c
Merge pull request 'Change clan favicon to one without text' ( #1506 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-30 20:30:02 +00:00
Qubasa
7aebe6c345
tea-create-pr: Require fork and upstream branch
2024-05-30 22:25:25 +02:00
Qubasa
3090ce5e28
Change clan favicon to one without text
2024-05-30 21:59:48 +02:00
clan-bot
4ebe58f860
Merge pull request 'Webview: css font and icon import transformation' ( #1501 ) from hsjobeki-main into main
2024-05-30 16:28:14 +00:00
Johannes Kirschbauer
fc9f3e9da9
Webview: css font and icon import transformation
2024-05-30 18:23:49 +02:00
kenji
9f125cdc8e
Merge pull request 'Add top level domain option for zerotier machines.' ( #1499 ) from mrvandalo/clan-core:feature/static-host-tld into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1499
2024-05-29 18:40:15 +00:00
Ingolf Wagner
505b455039
Add top level domain option for zerotier machines.
2024-05-29 18:40:15 +00:00
clan-bot
788d5dd4bc
Merge pull request 'install.sh: improvements' ( #1500 ) from DavHau-install-dev into main
2024-05-29 18:03:50 +00:00
DavHau
e8d66ae8e5
install.sh: improvements
...
- use either curl or wget
- add to PATH /nix/var/nix/profiles/default/bin
2024-05-29 18:51:34 +02:00
clan-bot
0745dfc19a
Merge pull request 'gui-installer: depend on git + ignore flake config' ( #1498 ) from DavHau-dave into main
2024-05-29 15:48:54 +00:00
DavHau
0820c59df5
gui-installer: depend on git + ignore flake config
2024-05-29 17:42:44 +02:00
clan-bot
941e891ae4
Merge pull request 'Webview: bootstrap layout' ( #1497 ) from hsjobeki-main into main
2024-05-29 14:45:45 +00:00
Johannes Kirschbauer
5caba68a54
Webview: bootstrap layout
2024-05-29 16:40:54 +02:00
Mic92
3f5ca3f5fa
Merge pull request 'make config command read-only' ( #1319 ) from config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1319
2024-05-29 11:25:27 +00:00
Jörg Thalheim
1b8ba590f7
make config command read-only
2024-05-29 13:17:55 +02:00
clan-bot
28330e78d8
Merge pull request 'Update flakes' ( #1492 ) from pass-nix-options into main
2024-05-29 10:58:19 +00:00
Jörg Thalheim
a5cf0c7aad
fmt more stuff
2024-05-29 12:51:43 +02:00
Jörg Thalheim
ef5170e44b
drop non-compiling wayland-proxy-virtwl
2024-05-29 12:51:18 +02:00
Jörg Thalheim
f79ab6d56b
update flake
2024-05-29 12:51:04 +02:00
clan-bot
126954d3d2
Merge pull request 'fix offline build of flash command' ( #1491 ) from pass-nix-options into main
2024-05-29 10:49:15 +00:00
Jörg Thalheim
fbea80b976
fix offline build of flash command
2024-05-29 12:45:50 +02:00
Jörg Thalheim
eb5fe2fe15
flash: make configuration more explicit
...
Injecting nixos configuration and potentially overriding settings a user
made and can cause surprises.
In most cases, users want to just make these option part of their NixOS
configuration and by having the rest in the command line
we make it more explicit what other configuration is being applied.
2024-05-29 12:45:50 +02:00
clan-bot
999178a764
Merge pull request 'Consistently pass nix options to underlying tools' ( #1488 ) from pass-nix-options into main
2024-05-29 08:25:53 +00:00
clan-bot
189e5b1da8
Merge pull request 'clan: clarify default backend' ( #1490 ) from a-kenji-cli/facts-clarify into main
2024-05-29 08:23:06 +00:00
Jörg Thalheim
d002419ae7
drop global argparse flags
...
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
a-kenji
5729428e05
clan: clarify default backend
2024-05-29 10:17:22 +02:00
clan-bot
ce3f542101
Merge pull request 'clan: add epilog to facts subcommands' ( #1489 ) from a-kenji-cli/expand-examples into main
2024-05-29 08:15:46 +00:00
Jörg Thalheim
9362d8b42d
backup cli: make sure we have a flake
2024-05-29 10:14:14 +02:00
Jörg Thalheim
3bd7641a72
flash: add write-efi-boot-entries flag
2024-05-29 10:14:14 +02:00
Jörg Thalheim
fc3f65fb57
allow to override nix options in update/install/flash commands
2024-05-29 10:14:14 +02:00
a-kenji
ac50e989b2
clan: add epilog to facts subcommands
2024-05-29 10:10:23 +02:00
Jörg Thalheim
b4eaa3643f
cli: also register common flags in subcommands
...
When a user runs --help on a subcommand they don't see some options such
as --options or --flake. To fix this we now register all common flags
also in subcommands.
2024-05-29 09:29:49 +02:00
clan-bot
8882006ed1
Merge pull request 'clan/docs.py: remove epilog from the reference overview' ( #1487 ) from a-kenji-cli/docs/reference-overview into main
2024-05-28 18:05:07 +00:00
a-kenji
a11e94e367
clan/docs.py: remove epilog from the reference overview
2024-05-28 20:01:48 +02:00
Mic92
8f2a0791a7
Merge pull request 'Update Contributing guide to external developers' ( #1484 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1484
2024-05-28 16:12:11 +00:00
Qubasa
de5355f23f
Update Contributing guide to external developers
2024-05-28 18:06:31 +02:00
clan-bot
45b06145ad
Merge pull request 'packaging: package clan gui for many distros' ( #1485 ) from DavHau-dave into main
2024-05-28 15:54:08 +00:00
DavHau
a32db28470
packaging: package clan gui for many distros
2024-05-28 17:50:32 +02:00
clan-bot
9ab0d6fa74
Merge pull request 'packaging: package clan gui for many distros' ( #1483 ) from DavHau-dave into main
2024-05-28 15:37:18 +00:00
DavHau
baa33a53f5
packaging: package clan gui for many distros
2024-05-28 17:33:55 +02:00
clan-bot
2097ad7903
Merge pull request 'Docs: fix relative links to git.clan.lol' ( #1482 ) from hsjobeki-main into main
2024-05-28 15:18:45 +00:00
Johannes Kirschbauer
76fb0acbaf
Docs: fix relative links to git.clan.lol
2024-05-28 17:14:16 +02:00
clan-bot
2860f7bd2d
Merge pull request 'clan/docs.py: add epilog to reference docs' ( #1481 ) from a-kenji-docs/epilog into main
2024-05-28 15:13:57 +00:00
a-kenji
5a7f5558f2
clan/docs.py: add epilog to reference docs
...
Fixes #1469
2024-05-28 17:08:46 +02:00
clan-bot
880eb46b2d
Merge pull request 'Docs: use offline fonts' ( #1480 ) from hsjobeki-main into main
2024-05-28 15:05:22 +00:00
Johannes Kirschbauer
99fe8ef55f
Docs: use offline fonts
2024-05-28 16:58:59 +02:00
clan-bot
e077e479b3
Merge pull request 'Fix typos' ( #1477 ) from a-kenji-fix/typos into main
2024-05-28 13:02:19 +00:00
a-kenji
ef3301a52d
Fix typos
2024-05-28 14:58:38 +02:00
clan-bot
56444f17b0
Merge pull request 'consistent rename cLAN -> Clan' ( #1475 ) from rename into main
2024-05-28 11:38:57 +00:00
Jörg Thalheim
908fdb444f
drop deprecated mdDoc
2024-05-28 13:35:11 +02:00
clan-bot
52bc1cc728
Merge pull request 'docs/secrets: improve chapter assigning access' ( #1474 ) from DavHau-dave into main
2024-05-28 11:11:46 +00:00
DavHau
4e3870365a
docs/secrets: improve chapter assigning access
...
Since we already walk the user through creating a secret in an earlier step, it makes more sense explain first how to add machines/users to an existing secret instead of creating a new one
2024-05-28 13:08:19 +02:00
clan-bot
61b5e8dfc3
Merge pull request 'clan: add descriptions for reference documentation' ( #1473 ) from a-kenji-cli/doc into main
2024-05-28 09:40:50 +00:00
a-kenji
f0c5cbe27f
clan: add descriptions for reference documentation
2024-05-28 11:37:32 +02:00
clan-bot
2a82bc9662
Merge pull request 'clan: add run_no_stdout function suppressing stdout' ( #1472 ) from a-kenji-run_no_stdout into main
2024-05-28 09:17:14 +00:00
a-kenji
12add74aae
clan: add run_no_stdout function suppressing stdout
...
Add the `run_no_stdout` function suppressing stdout by default.This
keeps the noise down on most commands, while still
stayingdebuggable.Stdout will be active when the `--debug` flag is
passed to the cli.
Fixes #1443
2024-05-28 11:13:55 +02:00
clan-bot
74a3434977
Merge pull request 'editor: improve nixpkgs option completions' ( #1470 ) from a-kenji-improve/editor into main
2024-05-28 07:38:09 +00:00
a-kenji
dfc2352ca4
editor: improve nixpkgs option completions
2024-05-28 09:34:57 +02:00
clan-bot
6e0b017b61
Merge pull request 'clan: machines --help add examples to help output' ( #1468 ) from a-kenji-clan/cli/machines-examples into main
2024-05-27 19:04:30 +00:00
a-kenji
b379b3b1fd
clan: machines --help add examples to help output
2024-05-27 21:01:05 +02:00
clan-bot
bddb3aa0e2
Merge pull request 'clan: duplicate description field for generation of the reference documentation' ( #1467 ) from a-kenji-clan/cli/add-description into main
2024-05-27 18:32:54 +00:00
a-kenji
447d2286cc
clan: duplicate description field for generation of the reference documentation
2024-05-27 20:29:34 +02:00
clan-bot
14e9b09793
Merge pull request 'clan: ssh --help add examples' ( #1466 ) from a-kenji-clan/help/ssh into main
2024-05-27 18:18:08 +00:00
a-kenji
f63c5ab128
clan: ssh --help add examples
...
Add examples to the output of `clan ssh --help`.
2024-05-27 20:14:37 +02:00
clan-bot
476a771f3f
Merge pull request 'clan: rename cLan to clan' ( #1465 ) from a-kenji-rename-clan into main
2024-05-27 17:56:32 +00:00
a-kenji
c48f4e4942
clan: rename cLan to clan
2024-05-27 19:52:51 +02:00
Mic92
ea198b3fdd
Merge pull request 'consistent rename cLAN -> Clan' ( #1464 ) from rename into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1464
2024-05-27 13:58:32 +00:00
Jörg Thalheim
2c8e231bb2
consistent rename cLAN -> Clan
2024-05-27 13:58:32 +00:00
Jörg Thalheim
55af9f3182
consistent rename cLAN -> Clan
2024-05-27 15:54:17 +02:00
clan-bot
e3627d9bdd
Merge pull request 'clan: add examples and description to most help' ( #1463 ) from a-kenji-clan/examples into main
2024-05-27 12:37:22 +00:00
a-kenji
5d60d92be3
clan: add examples and description to most help
...
Add examples and description to most toplevel help outputs.
2024-05-27 14:33:58 +02:00
clan-bot
ec6db1a2f4
Merge pull request 'clan-cli: Fix nix develop not working in template because of symlink' ( #1462 ) from Qubasa-main into main
2024-05-27 12:05:17 +00:00
Qubasa
a3c94bc73b
clan-cli: Fix nix develop not working in template because of symlink
2024-05-27 14:00:31 +02:00
clan-bot
1a81a3caea
Merge pull request 'init: vscode .#editor' ( #1461 ) from Qubasa-init/editors into main
2024-05-27 12:00:26 +00:00
Qubasa
d45ce2183e
init: vscode .#editor
2024-05-27 13:52:54 +02:00
clan-bot
6d9fbd78b2
Merge pull request 'drop offline in nix shell' ( #1459 ) from fix-mass-rebuilds into main
2024-05-27 11:43:32 +00:00
Jörg Thalheim
0ea0872cd6
drop offline in nix shell
...
Otherwise we become gentoo!
2024-05-27 13:40:11 +02:00
clan-bot
d7bfedd234
Merge pull request 'make git-hooks opt-in' ( #1453 ) from git-hooks into main
2024-05-27 10:34:07 +00:00
clan-bot
978b450865
Merge pull request 'docs: secrets: list the main steps of the guide' ( #1456 ) from DavHau-dave into main
2024-05-27 10:05:55 +00:00
DavHau
63ee7d8ab1
docs: secrets: list the main steps of the guide
...
... so the user has a routh idea about the mein steps
2024-05-27 12:02:29 +02:00
clan-bot
82fb1a812a
Merge pull request 'A Kenji Clan/Cli/Fix Naming' ( #1455 ) from a-kenji-clan/cli/fix-naming into main
2024-05-27 09:54:36 +00:00
a-kenji
c47916651c
clan: fix description of cli tool
2024-05-27 11:51:25 +02:00
Jörg Thalheim
e23755d78e
make git-hooks opt-in
...
pre-commit hook break git commits and are disruptive.
Therefore people that want to enable this feature, should enable it locally instead.
I.e. treefmt will also check untracked files that are not meant for the current commit.
2024-05-27 11:08:17 +02:00
clan-bot
a21e246e97
Merge pull request 'clan: facts generate allow regeneration of facts' ( #1447 ) from a-kenji-clan/feat/facts-regenerate-1403 into main
2024-05-26 21:00:38 +00:00
a-kenji
578fc55e40
clan: facts generate allow regeneration of facts
...
Add `--regenerate` flag to `clan facts generate` which allows forcing
the generation of facts, regardless of their current existence.
Examples:
```
clan facts generate [MACHINE] --regenerate
```
or
```
clan facts generate [MACHINE] --service [SERVICE] --regenerate
```
2024-05-26 22:55:48 +02:00
clan-bot
6b15862f12
Merge pull request 'clan: facts generate specific service' ( #1446 ) from a-kenji-feat/clan/facts-generate-service-1395 into main
2024-05-26 19:57:17 +00:00
a-kenji
4e87389a4d
clan: facts generate specific service
...
Add `--service` flag to the `clan` cli which allows specifying a certain
service to be generated.
Example:
```
clan facts generate [MACHINE] --service [SERVICE]
```
Fixes #1395
2024-05-26 21:52:56 +02:00
clan-bot
85a9c5d611
Merge pull request 'Webview: improve linting & typechecks' ( #1445 ) from hsjobeki-main into main
2024-05-26 16:41:11 +00:00
Johannes Kirschbauer
a3a250b57d
Webview: improve linting & typechecks
2024-05-26 18:37:29 +02:00
clan-bot
2a1ebc63f0
Merge pull request 'Api: init response envelop' ( #1444 ) from hsjobeki-feat/api-improvements into main
2024-05-26 16:08:02 +00:00
Johannes Kirschbauer
2d9be0e603
API: handle functions with multiple arguments
2024-05-26 18:04:49 +02:00
Johannes Kirschbauer
5e266578ae
Api: init response envelop
2024-05-26 15:57:10 +02:00
clan-bot
a4ffc78e4f
Merge pull request 'clan: fix clan facts list [MACHINE]' ( #1442 ) from a-kenji-fix/clan-facts-list into main
2024-05-26 12:29:37 +00:00
a-kenji
ead8118713
clan: fix clan facts list [MACHINE]
...
Fix `clan facts list [MACHINE]`.
The get command returned a dictionary of bytestrings.
We now convert them to strings.
2024-05-26 14:26:08 +02:00
clan-bot
ce83726a57
Merge pull request 'api: improve message serialisation' ( #1440 ) from hsjobeki-feat/api-improvements into main
2024-05-26 12:20:11 +00:00
Johannes Kirschbauer
daa0be20de
api: fix breaking tests
2024-05-26 14:17:17 +02:00
Johannes Kirschbauer
1dafa44ab8
api: convert name casing
2024-05-26 13:54:21 +02:00
Johannes Kirschbauer
bff3d3be5b
webview: fix typo
2024-05-26 13:41:07 +02:00
Johannes Kirschbauer
bacc862d52
fix: tests
2024-05-26 13:41:05 +02:00
Johannes Kirschbauer
27ecbca557
api: improve message serialisation
2024-05-26 13:40:47 +02:00
clan-bot
998789f75e
Merge pull request 'Add draft: Git Based Machine Deployment with Clan-Core' ( #1439 ) from Qubasa-main into main
2024-05-25 16:37:39 +00:00
Qubasa
8aaddb53a0
Add draft: Git Based Machine Deployment with Clan-Core
2024-05-25 18:34:19 +02:00
clan-bot
a6f3c71344
Merge pull request 'blog: fix typos' ( #1436 ) from a-kenji-fix/typos-1 into main
2024-05-25 10:34:05 +00:00
a-kenji
bfe8b1c5e5
blog: fix typos
2024-05-25 11:57:28 +02:00
clan-bot
cff15989a6
Merge pull request 'blog: fix typo on jsonschema post' ( #1435 ) from DavHau-dave into main
2024-05-25 08:41:03 +00:00
DavHau
b20453c697
blog: fix typo on jsonschema post
2024-05-25 10:37:56 +02:00
clan-bot
215930b383
Merge pull request 'blog: add link for discourse comments' ( #1434 ) from DavHau-dave into main
2024-05-25 07:47:56 +00:00
DavHau
8b4009eedf
blog: add link for discourse comments
2024-05-25 09:44:49 +02:00
clan-bot
157e6034aa
Merge pull request 'blog: custom slug for jsonschema converter post' ( #1433 ) from DavHau-dave into main
2024-05-25 07:37:54 +00:00
DavHau
ee9a35a7ac
blog: custom slug for jsonschema converter post
2024-05-25 09:34:50 +02:00
clan-bot
8f9843927a
Merge pull request 'blog: improve description of jsonschema post' ( #1432 ) from DavHau-dave into main
2024-05-25 07:12:35 +00:00
DavHau
89cb284402
blog: improve description of jsonschema post
2024-05-25 09:09:20 +02:00
clan-bot
03837330f5
Merge pull request 'blog: add jsonschema blog post' ( #1431 ) from DavHau-dave into main
2024-05-25 07:01:10 +00:00
DavHau
6f4c9247f1
blog: add jsonschema blog post
2024-05-25 08:57:57 +02:00
clan-bot
2f5390a9a9
Merge pull request 'blog: Remove asciinema player' ( #1430 ) from Qubasa-main into main
2024-05-24 15:13:58 +00:00
Qubasa
5de3bd67fd
blog: Fix remote url
2024-05-24 17:10:47 +02:00
clan-bot
795010c01f
Merge pull request 'blog: Remove asciinema player' ( #1429 ) from Qubasa-main into main
2024-05-24 14:58:52 +00:00
Qubasa
8e8fda967b
blog: Remove asciinema player
2024-05-24 16:57:26 +02:00
Qubasa
c175e3fd0a
blog: Remove asciinema player
2024-05-24 16:54:51 +02:00
clan-bot
c40591df09
Merge pull request 'blog: Remove pictures.' ( #1428 ) from Qubasa-main into main
2024-05-24 13:53:28 +00:00
Qubasa
5fd02a8c67
blog: Remove pictures.
2024-05-24 15:50:14 +02:00
Luis Hebendanz
b8c778b1ec
Merge pull request 'add-pre-commit' ( #1413 ) from fricklerhandwerk/clan-core:add-pre-commit into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1413
2024-05-24 12:39:56 +00:00
Valentin Gagarin
ff5f55e779
add pre-commit check
...
make sure things are sane before they hit CI, re-purposing the existing
treefmt configuration.
this adds a custom installer for pre-commit hooks, which is inspired by
pre-commit.nix[0], but is much more minimal than the underlying
pre-commit[1] and builds on a historic idea[2] from this repository.
[0]: https://github.com/cachix/git-hooks.nix
[1]: https://github.com/pre-commit/pre-commit
[2]: 930923512c
2024-05-24 12:39:56 +00:00
clan-bot
647e7fe514
Merge pull request 'documentation: add keys' ( #1426 ) from a-kenji-add-keys into main
2024-05-24 11:49:09 +00:00
a-kenji
b5626aae1e
documentation: add keys
2024-05-24 13:46:05 +02:00
clan-bot
7c59b68deb
Merge pull request 'documenation: use monospace font for code blocks' ( #1425 ) from a-kenji-fix-monospace into main
2024-05-24 11:11:02 +00:00
a-kenji
67ebc38b0b
documenation: use monospace font for code blocks
...
Use monospace font for code blocks.
Fixes : #1337
2024-05-24 13:08:00 +02:00
clan-bot
38f6e182b7
Merge pull request 'clan machines list: reduce noise' ( #1418 ) from a-kenji-fix/output-noisy/1115 into main
2024-05-24 10:58:13 +00:00
a-kenji
5d0a0762b3
clan machines list: reduce noise
...
Don't log nix error output by default on `clan machines list`.
Log it, if `--debug` is passed.
Fixes #1115
2024-05-24 12:55:14 +02:00
clan-bot
e2185a2f36
Merge pull request 'documentation: improve legibility of command output' ( #1423 ) from a-kenji-fix/lsblk into main
2024-05-24 10:40:34 +00:00
a-kenji
33504088c2
documentation: improve legibility of command output
...
Improve legibility of command output.
2024-05-24 12:37:27 +02:00
clan-bot
0290a0e726
Merge pull request 'documenation: fix flake-parts what's next section' ( #1422 ) from a-kenji-fix/docs/flake-parts into main
2024-05-24 10:14:55 +00:00
a-kenji
5320c621b9
documenation: fix flake-parts what's next section
2024-05-24 12:11:42 +02:00
clan-bot
0fd00b441b
Merge pull request 'impure-checks: unset CLAN_DIR' ( #1420 ) from a-kenji-fix/env into main
2024-05-24 10:06:10 +00:00
a-kenji
ecb74a5b39
impure-checks: unset CLAN_DIR
...
Unset `CLAN_DIR` in the impure checks, so that it won't reference the
users configuration.
Fixes #1419
2024-05-24 12:03:11 +02:00
clan-bot
5c67836d24
Merge pull request 'lib.jsonschema: parse some more types' ( #1417 ) from DavHau-dave into main
2024-05-23 14:17:56 +00:00
DavHau
66f06a484b
lib.jsonschema: parse some more types
2024-05-23 16:12:49 +02:00
clan-bot
98d5aaae81
Merge pull request 'modules: init trusted-nix-cache module' ( #1414 ) from a-kenji-add/cache-module into main
2024-05-23 07:32:36 +00:00
a-kenji
b440ab3dba
modules: init trusted-nix-cache module
2024-05-23 09:29:31 +02:00
clan-bot
dfdbe76ef2
Merge pull request 'flake.nix: change disko back to nix-community' ( #1409 ) from change_disko_input into main
2024-05-22 19:17:48 +00:00
Qubasa
48bb275946
flake.nix: change disko back to nix-community
2024-05-22 21:14:30 +02:00
clan-bot
10e61dfeb2
Merge pull request 'Revert "Merge pull request 'add pre-commit-check' ( #1369 ) from fricklerhandwerk/clan-core:add-pre-commit into main"' ( #1408 ) from Qubasa-revert_hooks into main
2024-05-22 12:36:23 +00:00
Qubasa
dcf98a93ee
Revert "Merge pull request 'add pre-commit-check' ( #1369 ) from fricklerhandwerk/clan-core:add-pre-commit into main"
...
This reverts commit 4c4afe8028 , reversing
changes made to 2785f59960 .
2024-05-22 14:31:53 +02:00
Luis Hebendanz
4c4afe8028
Merge pull request 'add pre-commit-check' ( #1369 ) from fricklerhandwerk/clan-core:add-pre-commit into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1369
2024-05-22 11:49:57 +00:00
Valentin Gagarin
63b2ffc6c2
use a custom installer for pre-commit hooks
2024-05-22 11:49:57 +00:00
Valentin Gagarin
29d713e44e
add pre-commit check
...
make sure things are sane before they hit CI.
this re-purposes the existing treefmt configuration.
2024-05-22 11:49:57 +00:00
clan-bot
2785f59960
Merge pull request 'zerotier-static-peers: init module' ( #1400 ) from a-kenji-modules/init/static-zerotier-hosts into main
2024-05-22 10:40:41 +00:00
a-kenji
f96427fb6f
zerotier-static-peers: init module
...
Init zerotertier-static-peers module.
This module automatically configures the networkId.
It will automatically accept peers based on their zerotier-ips in the
clan flake.
2024-05-22 12:37:13 +02:00
clan-bot
fdf72f3fea
Merge pull request 'user-password: set prompt to true by default' ( #1399 ) from a-kenji-user-password/on-by-default into main
2024-05-22 10:19:04 +00:00
a-kenji
420f8b57cc
user-password: set prompt to true by default
2024-05-22 12:15:26 +02:00
clan-bot
829e66581c
Merge pull request 'modules: static hosts filter nonexistent ip' ( #1398 ) from a-kenji-fix/path-loading into main
2024-05-21 15:28:52 +00:00
a-kenji
d8e0773536
modules: static hosts filter nonexistent ip
2024-05-21 17:24:14 +02:00
clan-bot
9d1467ec8a
Merge pull request 'zerotier-members: fix joining by member ip' ( #1397 ) from a-kenji-fix/by-ip into main
2024-05-21 14:42:35 +00:00
a-kenji
34fd684652
zerotier-members: fix joining by member ip
2024-05-21 16:39:28 +02:00
clan-bot
12c9871d9c
Merge pull request 'clan ui: setup typed api method' ( #1391 ) from hsjobeki-main into main
2024-05-21 14:06:45 +00:00
Johannes Kirschbauer
13678606e7
api: fix typing issues
2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
d6e0bbebd1
webview: replace dream2nix by buildNpm from nixpkgs to save inputs
2024-05-21 15:52:20 +02:00
clan-bot
9e90a1cc5e
Merge pull request 'documentation: remove references to Icons for introductory material' ( #1392 ) from a-kenji-rm/icon into main
2024-05-21 09:19:51 +00:00
a-kenji
6128032865
documentation: remove references to Icons for introductory material
...
The icons are not yet used in this path.
This is unneccessary overhead for new users, with no payoff yet.
2024-05-21 11:16:12 +02:00
Johannes Kirschbauer
3427b0360a
clan ui: add check to build script
2024-05-21 10:09:05 +02:00
Johannes Kirschbauer
53548eb56e
clan ui: move print into log.debug statements
2024-05-20 19:59:50 +02:00
Johannes Kirschbauer
8d77525664
clan ui: setup typed api method
2024-05-20 19:34:49 +02:00
clan-bot
c3be19f3cd
Merge pull request 'clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.' ( #1389 ) from Qubasa-main into main
2024-05-20 17:14:24 +00:00
Qubasa
5a804bc327
clanModule.sshd: Deactivate password auth. Change flake template to every machine having its own disko.nix file.
2024-05-20 19:11:12 +02:00
clan-bot
180577ca75
Merge pull request 'clan-ui: rollback default view until webview is ready' ( #1388 ) from feat/ui into main
2024-05-20 09:11:35 +00:00
Johannes Kirschbauer
fee16e6328
clan-ui: rollback default view until webview is ready
2024-05-20 11:08:14 +02:00
clan-bot
445e3fe9cb
Merge pull request 'Automatic flake update - 2024-05-20T00:00+00:00' ( #1387 ) from flake-update-2024-05-20 into main
2024-05-20 00:03:44 +00:00
Clan Merge Bot
227fc53e8a
update flake lock - 2024-05-20T00:00+00:00
...
Flake lock file updates:
• Updated input 'dream2nix':
'github:nix-community/dream2nix/995e831dac8c2c843f1289d15dfec526cb84afdd' (2024-05-14)
→ 'github:nix-community/dream2nix/f28d1cc6898532ac331a1625628090dc7c5b02e2' (2024-05-19)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e' (2024-05-02)
→ 'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/722b512eb7e6915882f39fff0e4c9dd44f42b77e' (2024-04-22)
→ 'github:nix-community/nixos-generators/a63e0c83dd83fe28cc571b97129e13373436bd82' (2024-05-19)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/81e709ca1da9c5c31b65cc8f82a97181f78ec076' (2024-05-13)
→ 'github:nix-community/nixos-images/8c9cab8c44434c12dafc465fbf61a710c5bceb08' (2024-05-19)
• Updated input 'nixos-images/nixos-2311':
'github:NixOS/nixpkgs/6eccabe980dcb2048aab7f97f862fb6d79b98abe' (2024-05-12)
→ 'github:NixOS/nixpkgs/95742536dc6debb5a8b8b78b27001c38f369f1e7' (2024-05-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/c029b7f004009923bbfc90bbc31263cd4b08759f' (2024-05-15)
→ 'github:NixOS/nixpkgs/8a2555763c48e2410054de3f52f7310ce3241ec5' (2024-05-19)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/b6cb5de2ce57acb10ecdaaf9bbd62a5ff24fa02e' (2024-05-12)
→ 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5' (2024-05-19)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
→ 'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
2024-05-20 00:00:21 +00:00
clan-bot
7b856b815c
Merge pull request 'zerotier-members: allow joining by zerotier ip' ( #1386 ) from a-kenji-main into main
2024-05-19 21:16:24 +00:00
a-kenji
1612bfbae0
zerotier-members: allow joining by zerotier ip
2024-05-19 23:13:26 +02:00
clan-bot
42f1c52eaa
Merge pull request 'init: static-hosts module' ( #1385 ) from a-kenji-init/statix-hosts-module into main
2024-05-19 11:09:54 +00:00
clan-bot
e3de42c3de
Merge pull request 'user-password: fix module path' ( #1384 ) from a-kenji-fix/user-passord-module into main
2024-05-19 11:08:42 +00:00
a-kenji
e5f9cb0842
user-password: fix module path
...
Fixes #1381
2024-05-19 13:03:47 +02:00
a-kenji
29de5a9130
init: static-hosts module
2024-05-19 13:01:37 +02:00
clan-bot
0f0ed1b59d
Merge pull request 'clan flash: Use latest kernel with zfs support. bcachefs supported too.' ( #1379 ) from Qubasa-main into main
2024-05-18 21:50:26 +00:00
Qubasa
98f3878f66
clan flash: Use latest kernel with zfs support. bcachefs supported too.
2024-05-18 23:47:17 +02:00
clan-bot
fab1268ed6
Merge pull request 'Add bcachefs support. Fix clan flash docu.' ( #1378 ) from Qubasa-main into main
2024-05-18 21:21:14 +00:00
Qubasa
69d1c792b0
Add bcachefs support. Fix clan flash docu.
2024-05-18 23:18:02 +02:00
hsjobeki
137e1a0ad4
Merge pull request 'init webview: add webview ui and list machine as api example' ( #1365 ) from feat/ui into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1365
2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
dcc7e8be5c
devShell: fallback for darwin
2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
59b3981582
fix: segfault gtk when using webkit
2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
bd34807055
clan ui: override webkitgtk unbroken on darwin.
2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
e8c1508dc7
clan ui: integrate webview ui into clan-mananger-gtk
2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
484247de6d
add webview threaded api
2024-05-18 14:14:12 +00:00
Johannes Kirschbauer
3b3426d219
init webview: add webview ui and list machine as api example
2024-05-18 14:14:12 +00:00
clan-bot
3dc070db92
Merge pull request 'Change favicon. Add socials. Add RSS link.' ( #1372 ) from Qubasa-main into main
2024-05-17 14:10:22 +00:00
Qubasa
f0bc96072d
Change favicon. Add socials. Add RSS link.
2024-05-17 16:07:14 +02:00
clan-bot
3c579e6417
Merge pull request 'readme: Update matrix link' ( #1371 ) from Qubasa-main into main
2024-05-16 18:42:35 +00:00
Qubasa
4639cf70d9
Fix rss plugin warning
2024-05-16 20:39:39 +02:00
Qubasa
90007fb30b
Add profile picture for W
2024-05-16 19:43:55 +02:00
Qubasa
9f3c734b48
Working dark theme switcher
2024-05-16 19:32:05 +02:00
Qubasa
908f9af671
Migrated blog to mkdocs
2024-05-16 15:08:24 +02:00
Qubasa
be81b30fee
readme: Update matrix link
2024-05-15 23:00:08 +02:00
clan-bot
7108083c3a
Merge pull request 'ssh-flash & documentation' ( #1350 ) from ssh-flash into main
2024-05-15 20:58:02 +00:00
Qubasa
85fffb6047
nix flake update & disable checks.flash-installer
2024-05-15 22:54:38 +02:00
Qubasa
3ad516f72d
template: Throw error on missing ssh pub key
2024-05-14 18:29:04 +02:00
Qubasa
16bd11be19
Add nix flake check remark to docu
2024-05-14 18:20:56 +02:00
Qubasa
d717646d93
Add clan flash documentation.
2024-05-14 16:13:50 +02:00
Qubasa
ea31177f67
Fix doc build error
2024-05-14 15:41:15 +02:00
Qubasa
01fa7085de
Renamed machines.md to deploy.md
2024-05-14 15:41:15 +02:00
Qubasa
d2a248ed2d
Renamed machines.md to deploy.md
2024-05-14 15:41:15 +02:00
Qubasa
bae03fa338
Add --no-reboot flag to clan machine install
2024-05-14 15:41:15 +02:00
Qubasa
ecc80556cf
Heavily improve documentation and flake template
2024-05-14 15:41:15 +02:00
Qubasa
aa03d0f877
Fix missing efi and x64 support in template
2024-05-14 15:41:15 +02:00
Qubasa
a82aac7757
Fix build error
2024-05-14 15:41:15 +02:00
Qubasa
aca83b3448
fix get_keymap_and_locale
2024-05-14 15:41:15 +02:00
Qubasa
9ccf712ce8
Removed ssh password login
2024-05-14 15:41:15 +02:00
Qubasa
182b6f51f7
Add keymap and language detection
2024-05-14 15:41:15 +02:00
Qubasa
edce28582a
clan flash: Copied network-status from nixos-images into installer
2024-05-14 15:41:15 +02:00
Qubasa
b1dd5c2832
Add --ssh-pubkey FILE argument
2024-05-14 15:41:15 +02:00
clan-bot
038e63612f
Merge pull request 'clan-cli(docs): modularize in preparation for manpage generation' ( #1361 ) from a-kenji-docs/modularize into main
2024-05-14 10:21:44 +00:00
a-kenji
a50aaa34c3
clan-cli(docs): modularize in preparation for manpage generation
2024-05-14 12:18:37 +02:00
clan-bot
cb56aedb9a
Merge pull request 'docs: remove linenums from every code block' ( #1360 ) from a-kenji-docs-patch-8 into main
2024-05-14 09:39:14 +00:00
a-kenji
e2616c7eaa
docs: remove linenums from every code block
...
Remove linenums from every single code block.
Makes site considerably less busy and easier to read.
2024-05-14 11:32:30 +02:00
clan-bot
280491cdf5
Merge pull request 'docs: user-password add admonition' ( #1359 ) from a-kenji-docs/fix into main
2024-05-14 09:31:53 +00:00
a-kenji
7de05e8ff0
docs: user-password add admonition
2024-05-14 11:29:07 +02:00
clan-bot
80fc0d489a
Merge pull request 'modules: init user-password' ( #1358 ) from a-kenji-modules/init/user-password into main
2024-05-14 08:58:37 +00:00
a-kenji
81b534f520
modules: init user-password
...
Init a user-password module, that allows setting the password for a
single user.
fixes #1351
2024-05-14 10:55:43 +02:00
clan-bot
dfc7ac20e5
Merge pull request 'Reorder getting started documentation' ( #1345 ) from Qubasa-main into main
2024-05-10 21:02:33 +00:00
Qubasa
37c72b8848
Reorder getting started documentation
2024-05-10 22:59:45 +02:00
clan-bot
eff3835bcb
Merge pull request 'Fix template. Improve docu. Add disko as default imported module.' ( #1342 ) from Qubasa-main into main
2024-05-10 13:42:12 +00:00
Qubasa
a60978240c
Fix template. Improve docu. Add disko as default imported module.
2024-05-10 15:39:46 +02:00
clan-bot
56d6329e22
Merge pull request 'fix docs .envrc watch_file' ( #1339 ) from Qubasa-main into main
2024-05-09 13:05:34 +00:00
Qubasa
3e5ecd18fd
fix docs .envrc watch_file
2024-05-09 15:00:03 +02:00
clan-bot
72c05a4ba4
Merge pull request 'hsjobeki-main' ( #1332 ) from hsjobeki-main into main
2024-05-08 10:30:16 +00:00
Johannes Kirschbauer
d5cf64c73e
vm-manager: hide hidden vm log info
2024-05-08 12:27:16 +02:00
Johannes Kirschbauer
bb41d0ebca
docs: add faq page
2024-05-08 12:23:04 +02:00
clan-bot
51751b8f80
Merge pull request 'template: fix disko devices' ( #1328 ) from a-kenji-docs-patch-7 into main
2024-05-07 20:48:50 +00:00
a-kenji
658d9ddebc
template: fix disko devices
2024-05-07 22:46:15 +02:00
clan-bot
935b1eabc6
Merge pull request 'docs: simplify hardware-configuration' ( #1326 ) from a-kenji-docs-patch-5 into main
2024-05-07 19:40:06 +00:00
a-kenji
dd99a3e821
docs: simplify hardware-configuration
2024-05-07 21:37:25 +02:00
clan-bot
64bc1bde3b
Merge pull request 'docs: add tip for wlan configuration' ( #1325 ) from a-kenji-docs-patch-4 into main
2024-05-07 19:29:11 +00:00
a-kenji
ca4535ccfd
add: tip
2024-05-07 21:26:15 +02:00
clan-bot
d2f072d812
Merge pull request 'docs: add reference to the help page' ( #1324 ) from a-kenji-docs-patch-3 into main
2024-05-07 18:47:50 +00:00
a-kenji
4bc30e575a
docs: add reference to the help page
2024-05-07 20:45:09 +02:00
clan-bot
fe70fd4bfb
Merge pull request 'docs: improve getting started prerequisite docs' ( #1322 ) from a-kenji-docs-patch-2 into main
2024-05-07 13:48:22 +00:00
a-kenji
37430ecd13
docs: improve getting started prerequisite docs
2024-05-07 15:45:38 +02:00
clan-bot
6a7bb09ad1
Merge pull request 'docs: add link to cli reference' ( #1321 ) from a-kenji-improve/docs into main
2024-05-07 13:37:40 +00:00
a-kenji
de8f73890a
docs: add link to cli reference
2024-05-07 15:34:56 +02:00
clan-bot
30a82d0a2f
Merge pull request 'clan-cli: add --json and --png flags to machine install' ( #1320 ) from a-kenji-feat/clan-install-json into main
2024-05-07 12:52:21 +00:00
a-kenji
c7e662806f
clan-cli: add --json and --png flags to machine install
...
Allow using `clan machines [machine] install` in conjunction with the
`--json` and `--png` flags.
Fixes #1180
2024-05-07 14:47:13 +02:00
clan-bot
2fde5c5cdf
Merge pull request 'disko module: add default for singleDiskExt4' ( #1300 ) from hsjobeki-main into main
2024-05-07 11:29:19 +00:00
Johannes Kirschbauer
d7f3b6a1e0
cli-docs: add automatic markdown cli docs
2024-05-07 13:26:33 +02:00
Johannes Kirschbauer
7c1852507e
disko module: add default for singleDiskExt4
2024-05-07 13:11:04 +02:00
clan-bot
83c6f3a15d
Merge pull request 'Add jsonschema test case' ( #1309 ) from Qubasa-main into main
2024-05-04 12:14:07 +00:00
Qubasa
86ae5d8fac
Fix invalid jsonschema testcase
2024-05-04 14:11:28 +02:00
Luis Hebendanz
51745d069d
Merge pull request 'ci: Change from deploy on pull_request to deploy on main push' ( #1313 ) from Qubasa-autodeploy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1313
2024-05-04 11:42:45 +00:00
Qubasa
30ff40fa8b
ci: Change from deploy on pull_request to deploy on main push
2024-05-04 13:42:16 +02:00
clan-bot
a5eeb5f8a3
Merge pull request 'ci: Change from deploy on pull_request to deploy on main push' ( #1312 ) from Qubasa-autodeploy into main
2024-05-04 11:40:49 +00:00
Qubasa
8a0f33b634
ci: Change from deploy on pull_request to deploy on main push
2024-05-04 13:37:56 +02:00
clan-bot
f1c12dc592
Merge pull request 'gitea_action: Add docs.clan.lol auto deploy' ( #1311 ) from Qubasa-autodeploy into main
2024-05-04 11:34:28 +00:00
Qubasa
fdcb19dfbb
Remove print of priv key in ci
2024-05-04 13:31:30 +02:00
Qubasa
8347d10eb7
Merge branch 'fix_secrets' into autodeploy
2024-05-04 13:12:17 +02:00
Qubasa
42f59b2559
secrets: Fix test failure through flake update
2024-05-04 13:11:37 +02:00
Qubasa
3d4ba5ad14
moonlight-sunshine-accept: Fix formatting error
2024-05-03 20:38:53 +02:00
Qubasa
de4e1c35cd
gitea_action: Add docs.clan.lol auto deploy
2024-05-03 20:34:27 +02:00
Qubasa
fa51b82cfb
jsonschema: Filter out 'invisible' options, that are there to throw errors on define
2024-05-03 19:40:42 +02:00
Qubasa
83f07816a3
Add jsonschema test case
2024-05-03 19:40:42 +02:00
Clan Merge Bot
346707ea8d
update flake lock - 2024-04-29T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb' (2024-04-05)
→ 'github:nix-community/disko/285e26465a0bae510897ca04da26ce6307c652b4' (2024-04-26)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/0c15e76bed5432d7775a22e8d22059511f59d23a' (2024-04-04)
→ 'github:nix-community/nixos-generators/722b512eb7e6915882f39fff0e4c9dd44f42b77e' (2024-04-22)
• Updated input 'nixos-generators/nixlib':
'github:nix-community/nixpkgs.lib/90b1a963ff84dc532db92f678296ff2499a60a87' (2024-03-31)
→ 'github:nix-community/nixpkgs.lib/3c62b6a12571c9a7f65ab037173ee153d539905f' (2024-04-07)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/298edc8f1e0dfffce67f50375c9f5952e04a6d02' (2024-04-07)
→ 'github:NixOS/nixpkgs/30ddacc06345a478f9528fa29e2c8857b90381b2' (2024-04-28)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/39191e8e6265b106c9a2ba0cfd3a4dafe98a31c6' (2024-04-07)
→ 'github:Mic92/sops-nix/f1b0adc27265274e3b0c9b872a8f476a098679bd' (2024-04-23)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac' (2024-04-01)
→ 'github:numtide/treefmt-nix/c6aaf729f34a36c445618580a9f95a48f5e4e03f' (2024-04-25)
2024-05-03 10:31:23 +00:00
Mic92
cb6a041ce2
Merge pull request 'rename everything to Clan' ( #1301 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1301
2024-05-03 09:47:55 +00:00
Jörg Thalheim
7983c4f16e
deprecate gitea nix builds
2024-05-03 11:45:02 +02:00
Jörg Thalheim
979d3d81a7
rename everything to Clan
2024-05-03 11:45:02 +02:00
clan-bot
e63d1e3319
Merge pull request 'Throw error on missing clanModule description or if description too long. Add xfce description.' ( #1306 ) from Qubasa-main into main
2024-05-02 16:00:32 +00:00
Qubasa
82773f260a
Throw error on missing clanModule description or if description too long. Add xfce description.
2024-05-02 17:53:27 +02:00
clan-bot
810b44e338
Merge pull request 'Require README.md for every clan module' ( #1302 ) from Qubasa-main into main
2024-05-02 15:03:59 +00:00
Qubasa
a47c07b31b
Fix zt-tcp-relay
2024-05-02 16:59:17 +02:00
Qubasa
d897ac390c
Remove unreferenced clan modules
2024-05-02 16:34:25 +02:00
Qubasa
4baa36a40b
Move vm clanModules to lib
2024-05-02 16:34:25 +02:00
Qubasa
142a6036fb
Add description field to function-schema
2024-05-02 16:34:25 +02:00
Qubasa
b0336e13b1
Require README.md for every clan module
2024-05-02 16:34:25 +02:00
clan-bot
7ab63ffd85
Merge pull request 'qga: add argument 'check'' ( #1303 ) from DavHau-dave into main
2024-05-02 13:13:12 +00:00
DavHau
6f82fa3553
qga: add argument 'check'
2024-05-02 15:03:22 +02:00
clan-bot
e9fd2ff2a4
Merge pull request 'check jsonschema comaptibility for all clan modules' ( #1280 ) from schema into main
2024-05-01 21:18:33 +00:00
Qubasa
edcc92c75b
Add package function-schema and module-schema. Add check for module jsonschema.
2024-05-01 23:16:17 +02:00
clan-bot
48cd1d9f26
Merge pull request 'template: remove invalid enable option for zerotier' ( #1299 ) from hsjobeki-main into main
2024-04-30 17:41:46 +00:00
Johannes Kirschbauer
e8e325853d
template: remove invalid enable option for zerotier
2024-04-30 19:37:03 +02:00
clan-bot
311df5e962
Merge pull request 'template: use disko module direcly' ( #1298 ) from hsjobeki-main into main
2024-04-30 17:23:08 +00:00
Johannes Kirschbauer
1f63c661b1
template: use disko module direcly
2024-04-30 19:16:13 +02:00
clan-bot
d6b9a7df45
Merge pull request 'add cli docs generator' ( #1297 ) from hsjobeki-main into main
2024-04-30 17:11:37 +00:00
Johannes Kirschbauer
ca6cfca589
add cli docs generator
2024-04-30 19:01:53 +02:00
Johannes Kirschbauer
964625630e
add cli docs generator
2024-04-30 18:53:00 +02:00
Mic92
68a8a1ca71
Merge pull request 'Fix reading secret from pipe' ( #1296 ) from error-handling into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1296
2024-04-30 14:54:24 +00:00
Jörg Thalheim
4b2c0cbd39
sops: fix setting secret from pipe
2024-04-30 14:04:49 +02:00
Jörg Thalheim
92f96e8a45
sops: also log content type on error
2024-04-30 13:56:07 +02:00
clan-bot
5538a99319
Merge pull request 'clan-cli: add CLAN_DIR environment variable' ( #1283 ) from a-kenji-feat/clan-dir into main
2024-04-30 10:08:13 +00:00
a-kenji
3ebafbfebe
clan-cli: add CLAN_DIR environment variable
...
Add the `CLAN_DIR` environment variable.
With this the user can specify the location of the clan.
2024-04-30 12:00:47 +02:00
clan-bot
55692e00ed
Merge pull request 'clanCore: remove repl-flake as it is now stable' ( #1278 ) from lassulus-HEAD into main
2024-04-27 14:37:25 +00:00
lassulus
44b25fc08f
clanCore: remove repl-flake as it is now stable
2024-04-27 16:28:23 +02:00
clan-bot
cf9ab04899
Merge pull request 'clan(help): standardise on machine capitalisation' ( #1276 ) from a-kenji-clan-help/standardize into main
2024-04-26 10:14:35 +00:00
a-kenji
a0ee7be07d
clan(help): standardise on machine capitalisation
2024-04-26 12:07:09 +02:00
clan-bot
ffa59e8a05
Merge pull request 'clan(help): improve install description' ( #1274 ) from a-kenji-improve-clan-help into main
2024-04-26 09:49:50 +00:00
a-kenji
458a27cf1a
clan(help): improve install description
2024-04-26 11:42:18 +02:00
clan-bot
fb998105ea
Merge pull request 'docs: improve docs' ( #1273 ) from hsjobeki-main into main
2024-04-26 09:27:24 +00:00
Johannes Kirschbauer
6709ae4c0d
docs: improve docs
2024-04-26 11:20:43 +02:00
clan-bot
7fa18a5ccc
Merge pull request 'dos: improve docs' ( #1272 ) from hsjobeki-main into main
2024-04-26 09:14:23 +00:00
Johannes Kirschbauer
904e4cf624
docs: improve docs
2024-04-26 11:07:33 +02:00
clan-bot
db5694ea94
Merge pull request 'init c4 uml & refactor secrets with some diagrams' ( #1255 ) from hsjobeki-main into main
2024-04-26 08:49:00 +00:00
Johannes Kirschbauer
05f3da28f8
docs: improve secrets documentation
2024-04-26 10:44:14 +02:00
Johannes Kirschbauer
3f8e1c85b6
docs: init c4 diagrams
2024-04-24 16:35:27 +02:00
clan-bot
2e6e40da66
Merge pull request 'vm-manager: move signals to emitter' ( #1271 ) from hsjobeki-vm-manager/empty-splash into main
2024-04-24 12:50:34 +00:00
Johannes Kirschbauer
90228b5da8
vm-manager: move signals to emitter
2024-04-24 14:41:53 +02:00
clan-bot
6722b0378d
Merge pull request 'secrets: ensure all added/deleted files get committed' ( #1253 ) from DavHau-dave into main
2024-04-24 10:42:50 +00:00
DavHau
e09658c817
secrets: ensure all added/deleted files get committed
2024-04-24 17:26:32 +07:00
clan-bot
ef86b042ee
Merge pull request 'add: cd command' ( #1265 ) from a-kenji-docs-patch-1 into main
2024-04-23 18:57:09 +00:00
a-kenji
403ff66eb4
add: cd command
2024-04-23 20:52:41 +02:00
clan-bot
9df3978f4d
Merge pull request 'vm-manager: add empty list screen' ( #1264 ) from hsjobeki-vm-manager/empty-splash into main
2024-04-23 14:22:47 +00:00
Johannes Kirschbauer
9c553e967b
vm-manager: add empty list screen
2024-04-23 16:18:10 +02:00
Johannes Kirschbauer
ff189dd2b7
vm-manager: add empty list screen
2024-04-23 16:17:09 +02:00
Johannes Kirschbauer
ec17bfb4ba
vm-manager: add empty list screen
2024-04-23 16:16:48 +02:00
Johannes Kirschbauer
51a32dd5c6
WIP
2024-04-23 11:16:33 +02:00
clan-bot
5fffc1d50b
Merge pull request 'installer: fix qr code again' ( #1260 ) from lassulus-HEAD into main
2024-04-22 19:10:59 +00:00
lassulus
56d6a124ac
installer: fix qr code again
2024-04-22 21:04:41 +02:00
clan-bot
a8c94c3595
Merge pull request 'clan-cli ssh: --json can be file or str' ( #1259 ) from lassulus-HEAD into main
2024-04-22 18:56:19 +00:00
lassulus
b0ade15ba3
installer: make qrcode compatible with nixos-images
2024-04-22 20:49:35 +02:00
clan-bot
bf80a0cec4
Merge pull request 'clan-cli ssh: --json can be file or str' ( #1258 ) from lassulus-HEAD into main
2024-04-22 18:27:35 +00:00
lassulus
93957b18c7
clan-cli ssh: fix qr code format
2024-04-22 20:21:44 +02:00
lassulus
b8264f8fd2
clan-cli ssh: --json can be file or str
2024-04-22 20:13:17 +02:00
clan-bot
4a74b04cc6
Merge pull request 'facts password-store: take path from variable' ( #1256 ) from lassulus-HEAD into main
2024-04-21 17:16:32 +00:00
lassulus
552db78555
facts password-store: take path from variable
2024-04-21 19:09:46 +02:00
clan-bot
c0ab303338
Merge pull request 'clan: clan machines install use verbose flag' ( #1252 ) from a-kenji-clan/install into main
2024-04-19 14:45:29 +00:00
a-kenji
b30bc64bee
clan: clan machines install use verbose flag
2024-04-19 16:38:39 +02:00
clan-bot
f53dc04260
Merge pull request 'fix actual installer' ( #1251 ) from image into main
2024-04-19 12:18:06 +00:00
Jörg Thalheim
58968019d0
fix actual installer
2024-04-19 14:13:02 +02:00
Jörg Thalheim
405d98215a
deploy-docs: fix undefined variable
2024-04-19 13:59:39 +02:00
Mic92
d97d2d48ed
Merge pull request 'deploy-docs: fix undefined variable' ( #1250 ) from image into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1250
2024-04-19 11:59:35 +00:00
Jörg Thalheim
940aa10041
deploy-docs: fix undefined variable
2024-04-19 11:59:35 +00:00
clan-bot
2f87f120be
Merge pull request 'Change iso to nixos-images version' ( #1249 ) from image into main
2024-04-19 11:49:51 +00:00
Jörg Thalheim
4cf8c48252
Change iso to nixos-images version
2024-04-19 13:43:40 +02:00
clan-bot
e5c8bb63e9
Merge pull request 'docs: clan core ref' ( #1246 ) from hsjobeki-main into main
2024-04-18 11:12:28 +00:00
Johannes Kirschbauer
d3670920bf
docs: clan core ref
2024-04-18 13:05:58 +02:00
clan-bot
23eb23483e
Merge pull request 'clan: clan ssh fix password login' ( #1245 ) from a-kenji-clan-cli/fix-ssh-passowrd into main
2024-04-17 19:52:00 +00:00
a-kenji
971bd7a6db
clan: clan ssh fix password login
2024-04-17 21:45:14 +02:00
clan-bot
00fc842936
Merge pull request 'docs: add clan modules readme support' ( #1244 ) from hsjobeki-main into main
2024-04-17 16:31:17 +00:00
Johannes Kirschbauer
d5cff80489
docs: init synthing & deltachat
2024-04-17 18:26:37 +02:00
clan-bot
f018e43089
Merge pull request 'clan: clan ssh fix for new installer image' ( #1243 ) from a-kenji-clan/fix-ssh into main
2024-04-17 16:25:38 +00:00
a-kenji
b3dfaaab04
clan: clan ssh fix for new installer image
2024-04-17 18:20:40 +02:00
clan-bot
44364a49c2
Merge pull request 'pkgs: add metadata' ( #1238 ) from a-kenji-pkgs/add-metadata into main
2024-04-17 11:35:19 +00:00
a-kenji
f3ee2649d2
pkgs: add metadata
...
Closes #1151
2024-04-17 13:32:50 +02:00
clan-bot
e49687c427
Merge pull request 'docs: add clan modules readme support' ( #1237 ) from hsjobeki-main into main
2024-04-17 10:58:17 +00:00
Johannes Kirschbauer
0f85d81eb2
docs: add clan modules readme support
2024-04-17 12:52:04 +02:00
kenji
1a7e2aea6f
Merge pull request 'clan-cli: fix clan ssh --json and --png' ( #1234 ) from clan/ssh into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1234
2024-04-17 10:12:37 +00:00
a-kenji
bd10720e5d
clan-cli: fix clan ssh --json and --png
...
This fixes `clan ssh` with the `--json` and `--png` flags.
It will now correctly use the actual fields that are present in the
generated json.
- probes if the ports are accessible
- if accessible will attempt a single ssh connection with the provided
password, in order to not spam ssh attempts
Fixes #1177
2024-04-17 10:12:37 +00:00
clan-bot
89804d41a4
Merge pull request 'rework multicast support' ( #1236 ) from parallelism into main
2024-04-17 09:05:05 +00:00
Jörg Thalheim
751f676079
rework multicast support
2024-04-17 10:57:17 +02:00
clan-bot
ccab6f5661
Merge pull request 'docs: split clan-core options into sub-pages' ( #1235 ) from hsjobeki-main into main
2024-04-17 07:45:54 +00:00
Johannes Kirschbauer
bef1960c9b
docs: split clan-core options into sub-pages
2024-04-17 09:39:40 +02:00
clan-bot
f426064019
Merge pull request 'docs: generate api docs' ( #1233 ) from hsjobeki-tutorials into main
2024-04-16 17:13:38 +00:00
Johannes Kirschbauer
805fd18251
docs: generate api docs
2024-04-16 19:07:28 +02:00
clan-bot
548b12ff5b
Merge pull request 'documentation: convert note to admonition' ( #1227 ) from a-kenji-docs/set-target-host into main
2024-04-16 10:34:38 +00:00
a-kenji
887f7c680d
documentation: convert note to admonition
2024-04-16 12:28:32 +02:00
clan-bot
90b7d0f147
Merge pull request 'docs: improve flake-parts configuration' ( #1226 ) from hsjobeki-tutorials into main
2024-04-16 10:08:54 +00:00
Johannes Kirschbauer
da486ae9ec
docs: improve flake-parts configuration
2024-04-16 12:02:44 +02:00
clan-bot
cdc197cc1d
Merge pull request 'refactor facts command to regenerate facts for all machines' ( #1223 ) from parallelism into main
2024-04-15 20:35:22 +00:00
Jörg Thalheim
f7c2228f3f
include machine name when generating secrets
2024-04-15 22:17:53 +02:00
Jörg Thalheim
dba32ae28e
flake-parts: fix merging of all-machines-json
2024-04-15 22:14:54 +02:00
Jörg Thalheim
033e5194fb
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
clan-bot
433a2cd71a
Merge pull request 'documentation: improve presentation' ( #1222 ) from a-kenji-docs/improve into main
2024-04-15 10:03:34 +00:00
a-kenji
48f3611478
documentation: improve presentation
2024-04-15 11:57:23 +02:00
kenji
09bb66d842
Merge pull request 'broken links replaced (and linking to doc pages (mkdocs rendered pages))' ( #1220 ) from vater/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1220
2024-04-15 09:49:14 +00:00
vater
e4a50694c0
broken links removed (and linking to doc pages (mkdocs rendered pages))
2024-04-14 22:38:05 +00:00
clan-bot
851c52c54e
Merge pull request 'documentation: add contribution standards' ( #1219 ) from a-kenji-documentation/standards into main
2024-04-14 15:00:44 +00:00
a-kenji
869671affe
documentation: add contribution standards
2024-04-14 16:54:23 +02:00
clan-bot
1db538f960
Merge pull request 'documentation: small admonition nit' ( #1216 ) from a-kenji-documentation/nits into main
2024-04-14 13:24:29 +00:00
a-kenji
2381d3e4c5
documentation: small admonition nit
2024-04-14 15:18:16 +02:00
clan-bot
98297e32e4
Merge pull request 'documentation: improve configuration' ( #1215 ) from a-kenji-docs/configuration into main
2024-04-14 13:05:18 +00:00
a-kenji
43e843a7aa
documentation: improve configuration
2024-04-14 15:00:41 +02:00
clan-bot
865a0968ab
Merge pull request 'documenation: improve flake-parts' ( #1214 ) from a-kenji-documentation/improve/flake-parts into main
2024-04-14 12:27:34 +00:00
a-kenji
16cca7dc5f
documenation: improve flake-parts
2024-04-14 14:23:11 +02:00
clan-bot
a0038fac19
Merge pull request 'docs: fix contributing casing' ( #1213 ) from a-kenji-docs/fix-contrib into main
2024-04-14 11:29:15 +00:00
a-kenji
e0ccd28b16
docs: fix contributing casing
2024-04-14 13:22:51 +02:00
clan-bot
08852c81f1
Merge pull request 'documentation: improve secrets page' ( #1212 ) from a-kenji-docs/secrets into main
2024-04-14 11:19:49 +00:00
a-kenji
0e70a43cb2
documentation: improve secrets page
2024-04-14 13:15:26 +02:00
clan-bot
50aa3b93fb
Merge pull request 'documentation: improve networking section' ( #1211 ) from a-kenji-docs/improve-networking into main
2024-04-14 10:49:36 +00:00
a-kenji
8bca254450
documentation: improve networking section
2024-04-14 12:43:09 +02:00
clan-bot
a8edac10a9
Merge pull request 'documenation: improve styling' ( #1210 ) from a-kenji-docs/installer-style into main
2024-04-14 10:35:15 +00:00
a-kenji
2e2a6be406
documenation: improve styling
2024-04-14 12:30:56 +02:00
clan-bot
34cfeb18a6
Merge pull request 'documentation: improve installer wording' ( #1209 ) from a-kenji-docs/installer-wording into main
2024-04-14 10:26:43 +00:00
a-kenji
305a4dad03
documentation: improve installer wording
2024-04-14 12:20:30 +02:00
clan-bot
6751f7bc36
Merge pull request 'documentation: improve templates section' ( #1208 ) from a-kenji-docs/update-template into main
2024-04-14 09:58:50 +00:00
clan-bot
646bf069d2
Merge pull request 'documentation: fix typo' ( #1207 ) from a-kenji-fix/typ into main
2024-04-14 09:56:20 +00:00
clan-bot
b78aca92ef
Merge pull request 'documentation: disable copy for outputs' ( #1206 ) from a-kenji-docs/outputs into main
2024-04-14 09:52:01 +00:00
a-kenji
cdc9a96c21
documentation: improve templates section
2024-04-14 11:51:43 +02:00
a-kenji
dc771ea299
documentation: fix typo
2024-04-14 11:46:53 +02:00
a-kenji
755a22553f
documentation: disable copy for outputs
2024-04-14 11:45:20 +02:00
clan-bot
9da8b27701
Merge pull request 'docs: fix migrated build directory' ( #1205 ) from hsjobeki-tutorials into main
2024-04-13 17:45:24 +00:00
Johannes Kirschbauer
cadc6c5ac1
docs: fix migrated build directory
2024-04-13 19:40:28 +02:00
clan-bot
f311174d05
Merge pull request 'docs: decompose configuration guide' ( #1204 ) from hsjobeki-tutorials into main
2024-04-13 15:52:29 +00:00
Johannes Kirschbauer
c77c1b05d2
docs: decompose configuration guide
2024-04-13 15:46:38 +00:00
clan-bot
5c740c5455
Merge pull request 'documentation: standardize on bash doccomments' ( #1203 ) from a-kenji-docs/standardize-bash into main
2024-04-13 14:41:20 +00:00
a-kenji
dd3cee4992
documentation: standardize on bash doccomments
2024-04-13 16:35:16 +02:00
clan-bot
4b7775da84
Merge pull request 'docs: improve template' ( #1201 ) from hsjobeki-tutorials into main
2024-04-13 14:33:28 +00:00
Johannes Kirschbauer
879374daaa
format
2024-04-13 16:29:24 +02:00
Johannes Kirschbauer
49c5ccf7d1
template: remove system
2024-04-13 16:00:01 +02:00
Johannes Kirschbauer
1d8226427c
docs: reword
2024-04-13 15:55:15 +02:00
Johannes Kirschbauer
ee974d268a
docs: improve template
2024-04-13 15:53:45 +02:00
clan-bot
8011874233
Merge pull request 'documentation: make lsblk command copyable' ( #1200 ) from a-kenji-docs/impr into main
2024-04-13 13:21:59 +00:00
a-kenji
ae192a74c3
documentation: make lsblk command copyable
2024-04-13 15:16:05 +02:00
clan-bot
305e8317de
Merge pull request 'hsjobeki-tutorials' ( #1199 ) from hsjobeki-tutorials into main
2024-04-13 12:57:33 +00:00
Johannes Kirschbauer
6d6c9a6e85
docs: add success block
2024-04-13 14:53:18 +02:00
Johannes Kirschbauer
4e862cf8cc
docs: rephrase tabs
2024-04-13 14:48:26 +02:00
Johannes Kirschbauer
77921f9c79
docs: clean up directory structure
2024-04-13 14:48:26 +02:00
clan-bot
4b152ddd5e
Merge pull request 'documentation: fix wording' ( #1198 ) from a-kenji-docs/wording into main
2024-04-13 12:19:10 +00:00
a-kenji
1be5df23ee
documentation: fix wording
2024-04-13 14:12:47 +02:00
clan-bot
34b191118d
Merge pull request 'docs: move hardware / cloud computers behind tab selection' ( #1197 ) from hsjobeki-tutorials into main
2024-04-13 12:03:57 +00:00
Johannes Kirschbauer
996a98fe40
docs: move hardware / cloud computers behind tab selection
2024-04-13 13:59:48 +02:00
clan-bot
af4de2ee35
Merge pull request 'documentation: allow code content to be copied' ( #1196 ) from a-kenji-documentation/impl/copy into main
2024-04-13 11:55:52 +00:00
clan-bot
154190c130
Merge pull request 'docs: remove custom css' ( #1195 ) from hsjobeki-tutorials into main
2024-04-13 11:50:12 +00:00
a-kenji
b1ae4d4b3e
documentation: allow code content to be copied
...
Allow code content to be copied.
Fixes #1179
2024-04-13 13:48:25 +02:00
Johannes Kirschbauer
ebbfd5a768
docs: remove custom css
2024-04-13 11:44:32 +00:00
clan-bot
3c2fa887a0
Merge pull request 'documentation: improve wifi' ( #1194 ) from a-kenji-docs/improve into main
2024-04-13 11:36:58 +00:00
a-kenji
10084a6ec5
documentation: improve wifi
2024-04-13 13:32:54 +02:00
clan-bot
792a84483c
Merge pull request 'vm-manager: fix typos in error message' ( #1193 ) from a-kenji-vm-manager/fix into main
2024-04-13 10:28:54 +00:00
clan-bot
ce61b4abe4
Merge pull request 'documentation: fix wording' ( #1192 ) from a-kenji-docs/fix into main
2024-04-13 10:25:30 +00:00
clan-bot
053c8f0257
Merge pull request 'documentation: fix wording' ( #1191 ) from a-kenji-docs/wording into main
2024-04-13 10:22:59 +00:00
clan-bot
3dd7275500
Merge pull request 'documentation: add missing character' ( #1190 ) from a-kenji-docs/missing into main
2024-04-13 10:19:05 +00:00
a-kenji
6968ec5cb8
vm-manager: fix typos in error message
2024-04-13 12:18:58 +02:00
clan-bot
7ef08c2403
Merge pull request 'documentation: add correct nix-shell invocation' ( #1189 ) from a-kenji-docs/add-clan-cli into main
2024-04-13 10:14:45 +00:00
a-kenji
90c51b142a
documentation: fix wording
2024-04-13 12:14:20 +02:00
a-kenji
fd969fa22c
documentation: fix wording
2024-04-13 12:11:13 +02:00
clan-bot
4d26fd6ea1
Merge pull request 'docs: fix wording' ( #1188 ) from a-kenji-docs/install into main
2024-04-13 10:10:51 +00:00
a-kenji
08e96db063
documentation: add missing character
2024-04-13 12:09:40 +02:00
a-kenji
eb043a9ace
documentation: add correct nix-shell invocation
2024-04-13 12:08:35 +02:00
a-kenji
64ef6ae92b
docs: fix wording
2024-04-13 12:06:29 +02:00
clan-bot
35d834b71d
Merge pull request 'clan-vm-manager: fix wording in toast' ( #1187 ) from a-kenji-clan-vm-manager/fix/toast into main
2024-04-13 10:02:03 +00:00
a-kenji
80ecdb6370
clan-vm-manager: fix wording in toast
2024-04-13 11:55:58 +02:00
clan-bot
2ee91c23de
Merge pull request 'docs: fix wording and typo' ( #1185 ) from a-kenji-doc/fix/wording into main
2024-04-13 09:53:15 +00:00
a-kenji
8a14ab9231
docs: fix wording and typo
2024-04-13 11:41:00 +02:00
clan-bot
a5383cad5a
Merge pull request 'clan-cli: fix typos' ( #1183 ) from a-kenji-clan-cli/fix/typos into main
2024-04-12 15:47:32 +00:00
a-kenji
719efee964
clan-cli: fix typos
2024-04-12 17:40:54 +02:00
hsjobeki
c7018604b7
Merge pull request 'docs: self host documentation with mkDocs' ( #1176 ) from hsjobeki-tutorials into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1176
2024-04-12 15:14:43 +00:00
Johannes Kirschbauer
6bc847dce1
docs: add theming
2024-04-12 17:13:11 +02:00
Jörg Thalheim
4dff1eb3bc
deploy-docs: fail on error
2024-04-12 17:13:11 +02:00
Jörg Thalheim
e9b23af604
add deploy script for homepage
2024-04-12 17:13:11 +02:00
Jörg Thalheim
caaaa10580
fix build on macos
2024-04-12 17:13:11 +02:00
Johannes Kirschbauer
c1f2784d05
disable module docs until migrated
2024-04-12 17:13:11 +02:00
Johannes Kirschbauer
bca0c0dac4
remove checks
2024-04-12 17:13:11 +02:00
Johannes Kirschbauer
ee388c9b47
docs: fix links
2024-04-12 17:13:11 +02:00
Johannes Kirschbauer
f77fc058b4
worklow: disable link checking, this is done by mkDocs
2024-04-12 17:13:11 +02:00
Valentin Gagarin
b08df9f5de
fix up title
2024-04-12 17:13:11 +02:00
Valentin Gagarin
bbe0448eee
make "Getting Started" the start page
2024-04-12 17:13:11 +02:00
Valentin Gagarin
c707d9c278
add instructions to live reload docs
2024-04-12 17:13:11 +02:00
Johannes Kirschbauer
a7e8500d99
docs: self host documentation with mkDocs
2024-04-12 17:13:11 +02:00
clan-bot
2bfccbf948
Merge pull request 'docs: fix diskLayouts' ( #1182 ) from a-kenji-documentation/fix/docs into main
2024-04-12 14:54:54 +00:00
a-kenji
e4ee2e81ed
docs: fix diskLayouts
2024-04-12 16:44:00 +02:00
kenji
5424c6d9e3
Merge pull request 'fix installer' ( #1175 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1175
2024-04-12 14:00:25 +00:00
a-kenji
7fd456f3d4
installer: add zstd compression
2024-04-12 14:00:25 +00:00
Jörg Thalheim
5444b34f18
fix installer
2024-04-12 14:00:25 +00:00
clan-bot
2310b16396
Merge pull request 'docs: fix iso location' ( #1174 ) from a-kenji-fix/docss into main
2024-04-12 13:15:29 +00:00
clan-bot
01a4bc35c3
Merge pull request 'docs: remove superfluous heading' ( #1173 ) from a-kenji-fix/docs into main
2024-04-12 13:11:25 +00:00
a-kenji
f29df0a452
docs: fix iso location
2024-04-12 15:06:01 +02:00
a-kenji
0c60335243
docs: remove superfluous heading
2024-04-12 14:55:59 +02:00
Mic92
6633ab1082
Merge pull request 'fix case when secrets are regenerated during update/install' ( #1172 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1172
2024-04-12 12:51:27 +00:00
Jörg Thalheim
448d752db1
fix case when secrets are regenerated during update/install
2024-04-12 14:46:51 +02:00
Mic92
5e19717254
Merge pull request 'Rework and fix root-password module' ( #1171 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1171
2024-04-12 12:00:43 +00:00
Jörg Thalheim
c8dd4bbfd6
rework root-password module
2024-04-12 12:00:43 +00:00
clan-bot
b535768568
Merge pull request 'sops/compat: fix name reference' ( #1170 ) from docs into main
2024-04-12 11:29:32 +00:00
Jörg Thalheim
139adc7a72
sops/compat: fix name reference
2024-04-12 13:23:52 +02:00
clan-bot
33c4aedfb3
Merge pull request 'sops: fix secret path generation' ( #1168 ) from docs into main
2024-04-12 11:19:56 +00:00
Jörg Thalheim
b8d474402a
sops: fix secret path generation
2024-04-12 13:12:31 +02:00
Mic92
38f294a710
Merge pull request 'quickstart: fix link' ( #1162 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1162
2024-04-12 10:09:28 +00:00
Jörg Thalheim
a1a6fae63b
quickstart: fix link
2024-04-12 10:09:28 +00:00
clan-bot
a57711c266
Merge pull request 'clan-vm-manager: Add install-desktop.sh' ( #1161 ) from Qubasa-main into main
2024-04-12 09:54:09 +00:00
Qubasa
d06f16bd4a
clan-vm-manager: Add install-desktop.sh. Fix incorrect doku link
2024-04-12 11:47:18 +02:00
hsjobeki
37f4c719cc
Merge pull request 'docs: fix unsupported languages' ( #1157 ) from hsjobeki-tutorials into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1157
2024-04-10 16:50:07 +00:00
Johannes Kirschbauer
c9a93d3db7
docs: fix unsupported languages
2024-04-10 18:40:51 +02:00
hsjobeki
04836590ae
Merge pull request 'docs: improve tutorials' ( #1156 ) from hsjobeki-tutorials into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1156
2024-04-10 16:25:18 +00:00
Johannes Kirschbauer
f8a6f8197e
docs: improve template & secrets
2024-04-10 16:25:18 +00:00
Mic92
ba453c97cc
Merge pull request 'factstore: secret backends now can return the path to a secret dynamically' ( #1143 ) from networkd into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1143
2024-04-10 15:14:30 +00:00
Jörg Thalheim
d974da9fee
also enable LLMNR
2024-04-10 15:14:30 +00:00
Jörg Thalheim
d049067096
factstore: secret backends now can return the path to a secret dynamically
...
try to move path function out
2024-04-10 15:14:30 +00:00
Jörg Thalheim
42b482d572
fix multicast dns for ethernet
2024-04-10 15:14:30 +00:00
clan-bot
78774b3f70
Merge pull request 'don't hard-code page weight' ( #1118 ) from fricklerhandwerk/clan-core:doc-contributing into main
2024-04-10 13:35:50 +00:00
clan-bot
8a070d39ac
Merge pull request 'build iso with nixos-generators' ( #1155 ) from lassulus-generators-iso into main
2024-04-10 13:20:00 +00:00
lassulus
61e9f43eba
build iso with nixos-generators
2024-04-10 15:03:55 +02:00
clan-bot
10b7845c00
Merge pull request 'docs: improve tutorials' ( #1154 ) from hsjobeki-tutorials into main
2024-04-10 13:01:21 +00:00
Johannes Kirschbauer
199223d505
docs: move install stick into sperate docs
2024-04-10 14:54:41 +02:00
clan-bot
2edbb82ab8
Merge pull request 'tutorials' ( #1149 ) from tutorials into main
2024-04-10 11:43:07 +00:00
Johannes Kirschbauer
631f121a81
docs: fix links
2024-04-10 13:37:54 +02:00
Johannes Kirschbauer
a0883169e7
docs: improve getting started
2024-04-10 13:33:47 +02:00
Johannes Kirschbauer
e6b9bcc8f3
docs: improve tutorials
2024-04-10 13:33:47 +02:00
clan-bot
2e491d8d98
Merge pull request 'templates: makes template working' ( #1148 ) from hsjobeki-main into main
2024-04-10 10:38:56 +00:00
Johannes Kirschbauer
15be88f265
templates: makes template working
2024-04-10 12:28:41 +02:00
clan-bot
39a946e564
Merge pull request 'add root-password module' ( #1147 ) from hsjobeki-main into main
2024-04-10 09:36:16 +00:00
Johannes Kirschbauer
8474065fa2
add root-password module
2024-04-10 11:23:39 +02:00
Mic92
aab4ff4229
Merge pull request 'docs: improve tutorials' ( #1126 ) from tutorials into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1126
2024-04-10 09:14:03 +00:00
Johannes Kirschbauer
fabae0e80c
docs: improve tutorials
2024-04-10 09:14:03 +00:00
Mic92
cf6ec40793
Merge pull request 'fix quickstart instructions' ( #1146 ) from alejandrosame/clan-core:fix/quickstart into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1146
2024-04-10 09:13:13 +00:00
Alejandro Sanchez Medina
565f014719
fix quickstart instructions
...
The guide instructs the reader to look for the PTUUID (partition ID) to fill
disk ID in the disklayout. This leads to an error as the partition gets deleted
and the UUID is no longer valid. The ID-LINK field is a unique ID provided by
the hardware manufacturer.
2024-04-09 20:57:36 +02:00
Mic92
72493f0b05
Merge pull request 'enable multicast fore default dhcp network' ( #1141 ) from networkd into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1141
2024-04-09 13:35:51 +00:00
Jörg Thalheim
544c618958
enable multicast fore default dhcp network
2024-04-09 13:35:51 +00:00
clan-bot
d80c75e062
Merge pull request 'Set networking.hostName to clanCore.machineName' ( #1140 ) from networkd into main
2024-04-09 13:14:44 +00:00
Jörg Thalheim
aa0db5dc6d
sops: strip out clanCore.machineName instead of networking.hostName
2024-04-09 15:10:27 +02:00
Jörg Thalheim
bc71fa5781
set networking.hostName to clanCore.machineName
2024-04-09 15:10:08 +02:00
clan-bot
d2343e3f42
Merge pull request 'drop custom systemd-networkd unit' ( #1132 ) from networkd into main
2024-04-09 10:37:51 +00:00
Jörg Thalheim
184ecbebec
drop custom systemd-networkd unit
...
We no longer use multicast dns. This one doesn't
conflict with nixos-generate-config.
2024-04-09 12:31:57 +02:00
clan-bot
540948deb4
Merge pull request 'vms/run.py: refactor use kwargs instead of dataclass for function args' ( #1125 ) from DavHau-dave into main
2024-04-09 07:36:02 +00:00
DavHau
e389b86e91
vms/run.py: refactor use kwargs instead of dataclass for function args
2024-04-09 14:30:46 +07:00
clan-bot
fac3a86066
Merge pull request 'Automatic flake update - 2024-04-08T00:00+00:00' ( #1124 ) from flake-update-2024-04-08 into main
2024-04-08 00:13:31 +00:00
Clan Merge Bot
3e6ec4f2a5
update flake lock - 2024-04-08T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/502241afa3de2a24865ddcbe4c122f4546e32092' (2024-03-28)
→ 'github:nix-community/disko/0a17298c0d96190ef3be729d594ba202b9c53beb' (2024-04-05)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01)
→ 'github:hercules-ci/flake-parts/9126214d0a59633752a136528f5f3b9aa8565b7d' (2024-04-01)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/63194fceafbfe583a9eb7d16ab499adc0a6c0bc2' (2024-03-28)
→ 'github:nix-community/nixos-generators/0c15e76bed5432d7775a22e8d22059511f59d23a' (2024-04-04)
• Updated input 'nixos-generators/nixlib':
'github:nix-community/nixpkgs.lib/b2a1eeef8c185f6bd27432b053ff09d773244cbc' (2024-03-24)
→ 'github:nix-community/nixpkgs.lib/90b1a963ff84dc532db92f678296ff2499a60a87' (2024-03-31)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/cd1c70d941d69d8d6425984ff8aefca9b28e861a' (2024-03-31)
→ 'github:NixOS/nixpkgs/298edc8f1e0dfffce67f50375c9f5952e04a6d02' (2024-04-07)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/99b1e37f9fc0960d064a7862eb7adfb92e64fa10' (2024-03-31)
→ 'github:Mic92/sops-nix/39191e8e6265b106c9a2ba0cfd3a4dafe98a31c6' (2024-04-07)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/1810d51a015c1730f2fe05a255258649799df416' (2024-03-30)
→ 'github:numtide/treefmt-nix/49dc4a92b02b8e68798abd99184f228243b6e3ac' (2024-04-01)
2024-04-08 00:00:15 +00:00
clan-bot
c0a91b1610
Merge pull request 'improve starter template' ( #1123 ) from Qubasa-better-template into main
2024-04-07 19:12:02 +00:00
Qubasa
52a18fd1a4
Improve documentation
2024-04-07 21:07:02 +02:00
Qubasa
f505e0f5db
template: Reverted systemd-boot in installer. EF02 partition on wrong second place
2024-04-07 17:09:44 +02:00
Qubasa
6cfa5055fa
template: Fixed incorrect nix code
2024-04-07 15:59:33 +02:00
Johannes Kirschbauer
8b4f092f68
machine.md: clean up guide
2024-04-07 14:32:23 +02:00
Johannes Kirschbauer
9762c0501d
migrate.md: make docs more approachable
2024-04-07 12:53:15 +02:00
Qubasa
85180a951a
Improve documentation
2024-04-06 13:35:17 +02:00
Qubasa
017ad7a5fb
Improve documentation
2024-04-06 13:34:40 +02:00
Qubasa
ef7e07ea9e
Improve documentation
2024-04-06 12:34:49 +02:00
Qubasa
0b570bc7a2
Fix merge issue
2024-04-06 11:56:06 +02:00
Qubasa
335156368b
Improve documentation
2024-04-06 11:54:34 +02:00
Valentin Gagarin
e471e498e9
docs: don't set page weight
...
since currently the web site simply dumps these pages, this makes it
impossible to control the item order
2024-04-05 21:52:56 +02:00
Jörg Thalheim
146ac98948
improve starter template
2024-04-05 18:55:14 +02:00
Mic92
fb83d621e7
Merge pull request 'flash-fixes' ( #1116 ) from flash-fixes into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1116
2024-04-05 16:54:31 +00:00
Jörg Thalheim
0fd17a500f
flake-parts: fixup type for specialArgs
2024-04-05 18:48:37 +02:00
Jörg Thalheim
207225d5af
flash: expose mode option
2024-04-05 18:48:37 +02:00
Jörg Thalheim
d5e408dd0b
grub: enable efi support by default
2024-04-05 18:47:11 +02:00
Qubasa
0d125bf387
Improved docs
2024-04-05 18:03:14 +02:00
Qubasa
bd4cd89109
Add machines/my-machine/settings.json
2024-04-05 16:25:05 +02:00
Jörg Thalheim
158a0d2d98
improve starter template
2024-04-05 13:08:32 +02:00
clan-bot
a3d361cbd8
Merge pull request 'add flake parts tutorial' ( #1106 ) from flake-parts into main
2024-04-04 13:09:52 +00:00
Jörg Thalheim
b9ccdf5000
add flake parts tutorial
2024-04-04 15:05:08 +02:00
clan-bot
e0f6359615
Merge pull request 'flake-parts: fix clan-core reference' ( #1105 ) from flake-parts into main
2024-04-04 11:42:32 +00:00
Jörg Thalheim
0dc879410c
flake-parts: fix clan-core reference
2024-04-04 13:38:15 +02:00
Mic92
bc83356f71
Merge pull request 'Add flake-parts module' ( #1104 ) from flake-parts into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1104
2024-04-04 11:08:08 +00:00
Jörg Thalheim
7c44991843
drop unused test_backup_client machine
2024-04-04 11:24:30 +02:00
Jörg Thalheim
73321e230a
add flake-parts module for clan
2024-04-03 16:45:06 +02:00
Jörg Thalheim
3ad6d6b15e
flash: improve prompt if no disk is specified
2024-04-03 12:00:02 +02:00
Jörg Thalheim
60b954368e
docs: replace hashedPassword with initialHashedPassword
2024-04-03 12:00:02 +02:00
clan-bot
72394f5656
Merge pull request 'Clan Manager: connect events with feedback system' ( #1103 ) from hsjobeki-main into main
2024-04-03 09:41:03 +00:00
Johannes Kirschbauer
18c793b7e0
Clan VM Manager: connect feedback with events
2024-04-03 11:36:33 +02:00
clan-bot
dce8306533
Merge pull request 'fix: readme typo' ( #1102 ) from hsjobeki-main into main
2024-04-03 07:51:04 +00:00
Johannes Kirschbauer
dc1f47c062
fix: readme typo
2024-04-03 09:43:24 +02:00
clan-bot
8ace46806c
Merge pull request 'sops: fix decrypte path on machine' ( #1091 ) from fact_refactor2 into main
2024-04-02 11:55:53 +00:00
Jörg Thalheim
9bbf2a745e
clan/install: drop -t flag from nixos-anywhere
2024-04-02 13:50:24 +02:00
Jörg Thalheim
4c6280553c
sops: fix decrypte path on machine
2024-04-02 13:50:24 +02:00
clan-bot
05376a613f
Merge pull request 'syncthing: fix conflicting definition of fs.inotify.max_user_watches' ( #1090 ) from DavHau-dave into main
2024-04-02 11:00:26 +00:00
DavHau
1f9e74574b
syncthing: fix conflicting definition of fs.inotify.max_user_watches
2024-04-02 17:56:07 +07:00
clan-bot
393d171709
Merge pull request 'flatpak: add gitignore' ( #1089 ) from a-kenji-gi/flatpak into main
2024-04-02 10:54:34 +00:00
a-kenji
9fb4d1d2dd
flatpak: add gitignore
2024-04-02 12:48:19 +02:00
clan-bot
5b4426069e
Merge pull request 'clan-cli: add a check for the flatpak sandbox' ( #1088 ) from a-kenji-clan-cli/check/flatpak-sandbox into main
2024-04-02 10:24:49 +00:00
a-kenji
250c0bb68d
clan-cli: add a check for the flatpak sandbox
...
Allows for differentiation between sandbox and non sandbox usage.
2024-04-02 12:19:48 +02:00
clan-bot
7363151c47
Merge pull request 'modules: add ergochat' ( #1078 ) from a-kenji-add/ergo into main
2024-04-02 09:36:55 +00:00
a-kenji
389e533360
modules: add ergochat
2024-04-02 11:30:22 +02:00
clan-bot
93b719b09a
Merge pull request 'buildClan: add clan-core to specialArgs' ( #1076 ) from DavHau-dave into main
2024-04-02 09:15:37 +00:00
clan-bot
6326e99b8a
Merge pull request 'modules: add thelounge' ( #1075 ) from a-kenji-init/ergochat into main
2024-04-02 09:07:18 +00:00
DavHau
6524a007f3
buildClan: add clan-core to specialArgs
2024-04-02 16:03:45 +07:00
a-kenji
8848d5c82c
modules: add thelounge
2024-04-02 11:01:00 +02:00
clan-bot
e5b8795b81
Merge pull request 'cli/secrets: show hint in --help on how to retrieve a key' ( #1074 ) from DavHau-dave into main
2024-04-02 07:40:54 +00:00
DavHau
83899aa054
cli/secrets: show hint in --help on how to retrieve a key
2024-04-02 14:36:01 +07:00
clan-bot
2d787f2f02
Merge pull request 'moonlight: fix facts declaration' ( #1072 ) from DavHau-dave into main
2024-04-01 10:48:25 +00:00
DavHau
cd746fd951
moonlight: fix facts declaration
2024-04-01 17:44:22 +07:00
clan-bot
bb2a7008e1
Merge pull request 'Automatic flake update - 2024-04-01T00:00+00:00' ( #1070 ) from flake-update-2024-04-01 into main
2024-04-01 00:11:28 +00:00
Clan Merge Bot
961e44ed2d
update flake lock - 2024-04-01T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/5d2d3e421ade554b19b4dbb0d11a04023378a330' (2024-03-24)
→ 'github:nix-community/disko/502241afa3de2a24865ddcbe4c122f4546e32092' (2024-03-28)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/2b3720c7af2271be8cee713cd2f69c5127b0a8e4' (2024-03-25)
→ 'github:nix-community/nixos-generators/63194fceafbfe583a9eb7d16ab499adc0a6c0bc2' (2024-03-28)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/57e6b3a9e4ebec5aa121188301f04a6b8c354c9b' (2024-03-25)
→ 'github:NixOS/nixpkgs/cd1c70d941d69d8d6425984ff8aefca9b28e861a' (2024-03-31)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/405987a66cce9a4a82f321f11b205982a7127c88' (2024-03-24)
→ 'github:Mic92/sops-nix/99b1e37f9fc0960d064a7862eb7adfb92e64fa10' (2024-03-31)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/7ee5aaac63c30d3c97a8c56efe89f3b2aa9ae564' (2024-03-18)
→ 'github:numtide/treefmt-nix/1810d51a015c1730f2fe05a255258649799df416' (2024-03-30)
2024-04-01 00:00:15 +00:00
clan-bot
c67b2f18b4
Merge pull request 'docs: render zola pages in clan-core flake' ( #1069 ) from DavHau-dave into main
2024-03-31 05:37:36 +00:00
DavHau
5483309c9b
docs: render zola pages in clan-core flake
...
This integrates the generated options docs part of our website into the clan-core project. This is better than having it in a separate repos because we want to lear about breakages as early as possible.
Changes which break the documentation should be blocked by this early on
2024-03-31 12:33:31 +07:00
clan-bot
99d106c53d
Merge pull request 'docs: render module options docs' ( #1068 ) from DavHau-dave into main
2024-03-30 17:31:34 +00:00
DavHau
46afc1879c
docs: render module options docs
...
fix errors while rendering some modules
2024-03-31 00:26:08 +07:00
clan-bot
15b2829d6a
Merge pull request 'secrets: improve description of generator script' ( #1067 ) from DavHau-dave into main
2024-03-30 10:22:40 +00:00
DavHau
25977f6074
secrets: improve description of generator script
2024-03-30 17:16:26 +07:00
clan-bot
8e2f367611
Merge pull request 'migrate secrets to new api' ( #1064 ) from fact_refactor2 into main
2024-03-28 10:17:24 +00:00
Jörg Thalheim
237fb9234d
migrate secrets to new api
2024-03-28 11:02:14 +01:00
clan-bot
8e98cacc22
Merge pull request 'refactor clanCore.secrets -> clanCore.facts' ( #1040 ) from facts_refactor2 into main
2024-03-27 15:20:21 +00:00
lassulus
2893025f3f
refactor clanCore.secrets -> clanCore.facts
2024-03-27 16:03:16 +01:00
clan-bot
a973509bc9
Merge pull request 'clan-cli: Fix tmpdir leak and fix tests/temporary_dir inconsistencies' ( #1063 ) from Qubasa-fix_tmpdir_leak2 into main
2024-03-27 14:58:20 +00:00
Qubasa
941bc49c1d
clan-cli: Fix tmpdir leak and fix tests/temporary_dir inconsistencies
2024-03-27 15:51:52 +01:00
clan-bot
d344f512c7
Merge pull request 'checks: add check for rendering docs' ( #1058 ) from DavHau-dave into main
2024-03-27 10:03:38 +00:00
DavHau
90a504936c
checks: add check for rendering docs
2024-03-27 16:59:42 +07:00
clan-bot
4ddac7d5ad
Merge pull request 'Improved README' ( #1057 ) from Qubasa-improv_readme3 into main
2024-03-26 18:29:50 +00:00
Qubasa
b5e42839d8
Improved README
2024-03-26 19:20:00 +01:00
clan-bot
cf12bc5d0b
Merge pull request 'rewrite backups documentation' ( #1055 ) from Mic92-main into main
2024-03-26 16:29:32 +00:00
Jörg Thalheim
72bc35ed74
rewrite backups documentation
2024-03-26 17:21:06 +01:00
clan-bot
977dfc02f3
Merge pull request 'localbackup: also create mountpoints' ( #1053 ) from Mic92-main into main
2024-03-26 14:59:11 +00:00
Jörg Thalheim
04e251bbd9
localbackup: also create mountpoints
2024-03-26 15:53:13 +01:00
clan-bot
a1b4f5db33
Merge pull request 'localbackup: rename mountHook/umountHook to preMountHook/postUnmountHook' ( #1050 ) from Mic92-main into main
2024-03-26 14:02:40 +00:00
Jörg Thalheim
4b37835bc7
localbackup: rename mountHook/umountHook to preMountHook/postUnmountHook
2024-03-26 14:58:37 +01:00
clan-bot
70b1667993
Merge pull request 'cli/ssh: allocate tty by default' ( #1043 ) from Mic92-main into main
2024-03-26 12:18:27 +00:00
Jörg Thalheim
e58b0f86aa
Revert "ssh: add interactive flag"
...
This reverts commit 4d8f76b861 .
2024-03-26 13:13:35 +01:00
Jörg Thalheim
7cb9f9b5e3
ssh: default tty to False
...
nix behaves weird when the terminal is interactive because
we are also do line buffering.
2024-03-26 13:05:11 +01:00
Jörg Thalheim
193da82381
update nixos-generators
2024-03-26 12:52:00 +01:00
Jörg Thalheim
fa9f56f112
ruff: switch to check subcommand
2024-03-26 12:52:00 +01:00
Jörg Thalheim
4d8f76b861
ssh: add interactive flag
2024-03-26 12:51:46 +01:00
Jörg Thalheim
27274d61c1
cli/ssh: allocate tty by default
...
-t is only enabled when the local ssh command is also connected to a tty,
so it seems to be enabled by default.
2024-03-26 12:07:15 +01:00
clan-bot
77b49a1960
Merge pull request 'localbackup: add missing config arg to submodule' ( #1042 ) from Mic92-main into main
2024-03-26 10:47:35 +00:00
Jörg Thalheim
c5eca59838
localbackup: add missing config arg to submodule
2024-03-26 11:41:03 +01:00
clan-bot
862ce38ed4
Merge pull request 'documentation: fix grammer' ( #1041 ) from a-kenji-fix/grammar into main
2024-03-25 15:10:10 +00:00
a-kenji
05608001f4
documentation: fix grammer
2024-03-25 16:03:18 +01:00
clan-bot
50bde12e23
Merge pull request 'documentation fixes for facts generate command' ( #1038 ) from facts-generate into main
2024-03-25 14:38:30 +00:00
Jörg Thalheim
7ed9a42f64
docs/backup: update command needed to regenerate backups
2024-03-25 15:33:57 +01:00
Jörg Thalheim
dad2d6781b
fix casing in facts generate logs
2024-03-25 15:33:57 +01:00
clan-bot
c360f3b060
Merge pull request 'waypipe: fix the waypipe module' ( #1037 ) from a-kenji-modules/waypipe/fix into main
2024-03-25 14:27:14 +00:00
a-kenji
a68f4118f1
waypipe: fix the waypipe module
2024-03-25 15:21:16 +01:00
clan-bot
a91075e480
Merge pull request 'localbackup: add regression test' ( #1035 ) from localbackup into main
2024-03-25 13:00:14 +00:00
Mic92
6a70a12abc
Merge pull request 'switch back to upstream waypipe' ( #1025 ) from waypipe into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1025
2024-03-25 12:54:16 +00:00
Jörg Thalheim
8a8695a404
bump nixpkgs
2024-03-25 13:36:30 +01:00
Jörg Thalheim
c59d9466b6
switch back to upstream waypipe
2024-03-25 13:34:02 +01:00
Jörg Thalheim
bb17d74ec6
localbackup: integrate into regression test
2024-03-25 13:26:42 +01:00
Jörg Thalheim
a66f215ea4
localbackup: add mounthooks
2024-03-25 13:26:42 +01:00
Jörg Thalheim
64a3e36d6c
localbackup: add pre/post exec hooks
2024-03-25 12:42:59 +01:00
Jörg Thalheim
2a9dabc92d
localbackup: default to empty target list
2024-03-25 12:42:59 +01:00
clan-bot
4babcbfa55
Merge pull request 'Re-encrypt secrets after rotating users/machines keys' ( #1034 ) from yubikey-support into main
2024-03-25 11:40:32 +00:00
Jörg Thalheim
00704e9e55
re-encrypt secrets after rotating users/machines keys
2024-03-25 12:34:29 +01:00
Jörg Thalheim
06203471ae
docs/backup: extend documentation
2024-03-25 11:07:09 +01:00
Jörg Thalheim
a395d4a8fb
add hint to use --force when a key already exists
2024-03-25 11:06:20 +01:00
clan-bot
a5406e4950
Merge pull request 'clanCore/packages.nix: add gitMinimal' ( #1031 ) from DavHau-dave into main
2024-03-25 04:54:00 +00:00
DavHau
1edc8678f5
clanCore/packages.nix: add gitMinimal
...
WIthout this, deployment via `clan machines update` will fail on the remote machine if the flake.nix has a git input
2024-03-25 11:47:32 +07:00
clan-bot
f3f3b163c2
Merge pull request 'Automatic flake update - 2024-03-25T00:00+00:00' ( #1030 ) from flake-update-2024-03-25 into main
2024-03-25 00:22:15 +00:00
Clan Merge Bot
4fd4c98348
update flake lock - 2024-03-25T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/21d89b333ca300bef82c928c856d48b94a9f997c' (2024-03-14)
→ 'github:nix-community/disko/5d2d3e421ade554b19b4dbb0d11a04023378a330' (2024-03-24)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/efd4e38532b5abfaa5c9fc95c5a913157dc20ccb' (2024-03-14)
→ 'github:nix-community/nixos-generators/417a857dfb824e60930881a254dd67d6796f5884' (2024-03-22)
• Updated input 'nixos-generators/nixlib':
'github:nix-community/nixpkgs.lib/630ebdc047ca96d8126e16bb664c7730dc52f6e6' (2024-03-10)
→ 'github:nix-community/nixpkgs.lib/fa827dda806c5aa98f454da4c567991ab8ce422c' (2024-03-17)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/f471be9644f3ab2f3cb868de1787ab70a537b0e7' (2024-03-17)
→ 'github:NixOS/nixpkgs/3d41d1087707826b3a90685ab69147f8dc8145d5' (2024-03-24)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616' (2024-03-17)
→ 'github:Mic92/sops-nix/405987a66cce9a4a82f321f11b205982a7127c88' (2024-03-24)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/35791f76524086ab4b785a33e4abbedfda64bd22' (2024-03-12)
→ 'github:numtide/treefmt-nix/7ee5aaac63c30d3c97a8c56efe89f3b2aa9ae564' (2024-03-18)
2024-03-25 00:00:15 +00:00
clan-bot
ea63fc2ede
Merge pull request 'select-shell: Fix breakage with previous shell.nix change' ( #1029 ) from Qubasa-main into main
2024-03-24 23:37:57 +00:00
Qubasa
240af17c2f
select-shell: Fix breakage with previous shell.nix change
2024-03-25 00:32:03 +01:00
clan-bot
d0eccf4854
Merge pull request 'clan-vm-manager: devshell doesn't require clan-cli derivation' ( #1028 ) from Qubasa-main into main
2024-03-24 22:57:52 +00:00
Qubasa
8dd6dc79cf
clan-vm-manager: devshell doesn't require clan-cli derivation
2024-03-24 23:52:30 +01:00
clan-bot
e737b4c56d
Merge pull request 'clan-vm-manager: Basic pytest framework established' ( #1026 ) from Qubasa-main into main
2024-03-24 22:41:07 +00:00
Qubasa
d6d8a88549
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
2024-03-24 23:36:00 +01:00
clan-bot
4ec01d4a1f
Merge pull request 'refactor secrets & facts into secret_facts & public_facts' ( #1027 ) from facts_refactor into main
2024-03-24 10:10:45 +00:00
lassulus
8d34c51df2
refactor secrets & facts -> secret_facts & public_facts
2024-03-23 05:46:54 +01:00
Qubasa
8a513f462a
clan-vm-manager: Basic pytest framework established
2024-03-22 19:08:35 +01:00
Mic92
6638d7a5cf
Merge pull request 'backup docs' ( #949 ) from docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/949
2024-03-22 14:56:22 +00:00
Jörg Thalheim
a27d60891e
backup docs
2024-03-22 14:56:22 +00:00
clan-bot
b6ef23aba2
Merge pull request 'clanModules: init matrix-synapse' ( #1017 ) from matrix-synapse into main
2024-03-22 11:39:50 +00:00
lassulus
549b3d543b
checks/matrix-synapse: init
2024-03-22 12:26:37 +01:00
lassulus
34cc4ec3ec
clanModules: init matrix-synapse
2024-03-22 12:26:37 +01:00
clan-bot
0e818c1abe
Merge pull request 'sunshine: improve launching of pairing' ( #1021 ) from a-kenji-sunshine/improve-accept into main
2024-03-20 09:00:58 +00:00
a-kenji
afb4a2a936
sunshine: improve launching of pairing
2024-03-20 09:55:25 +01:00
clan-bot
3c9e2553e1
Merge pull request 'localbackup' ( #1020 ) from localbackup into main
2024-03-20 08:49:07 +00:00
Jörg Thalheim
4994f1c69d
backups: add test for pre and post restore command
2024-03-20 09:32:01 +01:00
Jörg Thalheim
843226ac88
backups: fix name extraction for borgbackup restore
2024-03-20 09:32:01 +01:00
Jörg Thalheim
c69a9e05a6
backups: skip preRestore and postRestore if not specified by a service
2024-03-20 09:32:01 +01:00
Jörg Thalheim
fa94ee4b96
backups: no longer interpret backup interface as bash commands
2024-03-20 09:32:01 +01:00
Jörg Thalheim
56760f0e8d
rework backup interface to no longer need to list backups to restore them
2024-03-20 09:32:01 +01:00
Jörg Thalheim
9b354d9098
add localbackup provider
2024-03-20 09:32:01 +01:00
Mic92
cc72f76a7c
Merge pull request 'make backup provider more generic' ( #1019 ) from backup into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1019
2024-03-20 08:29:05 +00:00
Jörg Thalheim
1136c2e16a
backups: don't export all local environment over ssh
2024-03-20 08:29:05 +00:00
Jörg Thalheim
1715260c14
fix case when we have multiple backup destinations
2024-03-20 08:29:05 +00:00
Jörg Thalheim
8abc7acf60
make backup provider more generic
2024-03-20 08:29:05 +00:00
clan-bot
4c44233113
Merge pull request 'refactor backup test to be just a single machine' ( #1016 ) from Mic92-openssh into main
2024-03-19 13:38:10 +00:00
Jörg Thalheim
27af4da84d
refactor backup test to be just a single machine
2024-03-19 14:32:11 +01:00
clan-bot
0d8d43a8c9
Merge pull request 'moonlight: drop libnotify' ( #1012 ) from a-kenji-moonlight/libnotify into main
2024-03-19 12:21:29 +00:00
a-kenji
bfea4d08e6
moonlight: drop libnotify
2024-03-19 13:14:04 +01:00
clan-bot
65e7449d15
Merge pull request 'sunshine: drop unused files' ( #1003 ) from a-kenji-drop/sunshine into main
2024-03-19 11:59:41 +00:00
a-kenji
cc4698eb1a
sunshine: drop unused files
2024-03-19 12:53:28 +01:00
clan-bot
f710a66a53
Merge pull request 'init: sunshine-moonlight-accept module' ( #1002 ) from a-kenji-init/sunshine-accept into main
2024-03-19 11:50:15 +00:00
a-kenji
c6928fc1ac
fmt
2024-03-19 12:40:58 +01:00
a-kenji
bd801ca292
Merge branch 'main' into init/sunshine-accept
2024-03-19 12:33:45 +01:00
a-kenji
2897124a12
fmt: module
2024-03-19 12:30:40 +01:00
a-kenji
60bb5dc8e0
init: sunshine-moonlight-accept module
2024-03-19 12:11:09 +01:00
clan-bot
7d09b0ad75
Merge pull request 'devshell: remove dependency on clan-cli derivation' ( #1000 ) from DavHau-dave into main
2024-03-19 06:05:15 +00:00
DavHau
056742a44d
devshell: remove dependency on clan-cli derivation
...
The devShell depended on clan-cli due to it being included as a dependency in the treefmt config. This is not optimal because this makes the devshell rebuild unnecessary often and also lead to build failures of the dev-shell if the clan-cli code is in a broken state (git rebasing, or during development etc.)
2024-03-19 13:00:59 +07:00
clan-bot
da986d85f7
Merge pull request 'Automatic flake update - 2024-03-18T00:00+00:00' ( #998 ) from flake-update-2024-03-18 into main
2024-03-18 00:11:00 +00:00
Clan Merge Bot
520ba0cba0
update flake lock - 2024-03-18T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/fe064a639319ed61cdf12b8f6eded9523abcc498' (2024-03-11)
→ 'github:nix-community/disko/21d89b333ca300bef82c928c856d48b94a9f997c' (2024-03-14)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/1d9c8cd24eba7942955f92fdcefba5a6a7543bc6' (2024-03-11)
→ 'github:nix-community/nixos-generators/efd4e38532b5abfaa5c9fc95c5a913157dc20ccb' (2024-03-14)
• Updated input 'nixos-generators/nixlib':
'github:nix-community/nixpkgs.lib/7873d84a89ae6e4841528ff7f5697ddcb5bdfe6c' (2024-03-03)
→ 'github:nix-community/nixpkgs.lib/630ebdc047ca96d8126e16bb664c7730dc52f6e6' (2024-03-10)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/e4e2121b151e492fd15d4bdb034e793738fdc120' (2024-03-12)
→ 'github:NixOS/nixpkgs/f471be9644f3ab2f3cb868de1787ab70a537b0e7' (2024-03-17)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/e52d8117b330f690382f1d16d81ae43daeb4b880' (2024-03-11)
→ 'github:Mic92/sops-nix/83b68a0e8c94b72cdd0a6e547a14ca7eb1c03616' (2024-03-17)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/720322c5352d7b7bd2cb3601a9176b0e91d1de7d' (2024-03-10)
→ 'github:numtide/treefmt-nix/35791f76524086ab4b785a33e4abbedfda64bd22' (2024-03-12)
2024-03-18 00:00:14 +00:00
clan-bot
3da245a616
Merge pull request 'nixos-install: also respect port' ( #997 ) from Mic92-openssh into main
2024-03-17 21:23:24 +00:00
Jörg Thalheim
f9241448c5
nixos-install: also respect port
2024-03-17 22:18:22 +01:00
clan-bot
e8f74ea5d6
Merge pull request 'drop secret store logging from install command' ( #996 ) from Mic92-openssh into main
2024-03-17 20:41:39 +00:00
Jörg Thalheim
7412ae027e
allow to debug nixos-anywhere
2024-03-17 21:36:22 +01:00
Jörg Thalheim
36b788853a
drop secret store logging from install command
2024-03-17 21:32:23 +01:00
Mic92
a6c87d3abc
Merge pull request 'change from nixpkgs-fmt to rfc style formatter' ( #995 ) from openssh into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/995
2024-03-17 18:53:59 +00:00
Jörg Thalheim
ede4d3f6e5
re-format with nixfmt
2024-03-17 19:48:49 +01:00
Jörg Thalheim
f2a0f84bc2
change from nixpkgs-fmt to rfc style formatter
2024-03-17 19:44:57 +01:00
clan-bot
ab658bc610
Merge pull request 'make installer nixos module stand-alone' ( #994 ) from openssh into main
2024-03-17 18:42:55 +00:00
Jörg Thalheim
13b69ca63a
make installer nixos module stand-alone
2024-03-17 19:38:50 +01:00
clan-bot
2171e665e8
Merge pull request 'installer: also match qemu and serial consoles for prompting qrcode' ( #993 ) from openssh into main
2024-03-17 18:23:07 +00:00
Jörg Thalheim
b33751e8f8
installer: also match qemu and serial consoles for prompting qrcode
2024-03-17 19:14:24 +01:00
clan-bot
5852a0b870
Merge pull request 'add nix to devShell' ( #992 ) from openssh into main
2024-03-17 17:36:00 +00:00
Jörg Thalheim
81bd63fe8b
add nix to devShell
...
It's important for some tests that package manager used inside NixOS vms is the same as outside
2024-03-17 18:31:16 +01:00
clan-bot
66e57b1f04
Merge pull request 'sshd: module fix impurity' ( #987 ) from openssh into main
2024-03-17 17:20:10 +00:00
Jörg Thalheim
99ea2ffe1c
fix evaluation of backup module
2024-03-17 18:16:08 +01:00
Jörg Thalheim
7fb05130c9
don't use impure builtins.storePath
2024-03-17 18:10:23 +01:00
Jörg Thalheim
789bb82835
change facts path to be reachable as a store path
2024-03-17 18:10:23 +01:00
clan-bot
1bc61bb4af
Merge pull request 'clan-vm-manager: init log view with current state of log' ( #990 ) from hsjobeki-main into main
2024-03-17 14:03:49 +00:00
Johannes Kirschbauer
384b0697fb
clan-vm-manager: init log view with current state of log
2024-03-17 14:57:32 +01:00
clan-bot
ff38569a36
Merge pull request 'clan-vm-manager: connect log view to build state of machines' ( #989 ) from hsjobeki-main into main
2024-03-17 13:14:49 +00:00
Johannes Kirschbauer
3888a7dba3
clan-vm-manager: connect log view to build state of machines
2024-03-17 14:08:39 +01:00
clan-bot
999574a353
Merge pull request 'dev-shell: make python shell load fast' ( #985 ) from DavHau-dave into main
2024-03-14 10:23:53 +00:00
DavHau
bbab5a2952
dev-shell: make python shell load fast
...
- Add caching for editable installs
- Remove sleep statement in GUI code
2024-03-14 17:19:08 +07:00
DavHau
63444b012a
merge-after-ci: fix bug
2024-03-14 12:46:17 +07:00
clan-bot
e6325ee11e
Merge pull request 'openssh fixes' ( #983 ) from openssh into main
2024-03-13 14:04:25 +00:00
Jörg Thalheim
406033b69a
fix openssh secrets
...
change facts path to be the full path
sshd: fixup store path
2024-03-13 14:59:46 +01:00
Mic92
210b1f7741
Merge pull request 'fix openssh secrets' ( #982 ) from openssh into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/982
2024-03-13 13:27:10 +00:00
Jörg Thalheim
67f2c89a99
fix openssh secrets
2024-03-13 13:27:10 +00:00
clan-bot
0300c9ff8b
Merge pull request 'merge-after-ci: set labels correctly' ( #981 ) from DavHau-dave into main
2024-03-13 12:20:20 +00:00
DavHau
22369298fa
merge-after-ci: set labels correctly
2024-03-13 19:11:12 +07:00
clan-bot
fef4ea2f7a
Merge pull request 'secrets-improvements' ( #948 ) from secrets-improvements into main
2024-03-13 10:23:27 +00:00
Jörg Thalheim
6bcddae692
allow multi-line interactive secrets
2024-03-13 11:18:56 +01:00
Jörg Thalheim
c52cffca37
allow fact-only secrets
2024-03-13 11:08:36 +01:00
Jörg Thalheim
e9ab0417d8
add sshd module
2024-03-13 11:08:36 +01:00
clan-bot
413c93a496
Merge pull request 'sunshine: add path' ( #947 ) from a-kenji-sunshine/add-path into main
2024-03-12 22:06:37 +00:00
a-kenji
8600af7b28
sunshine: add path
2024-03-12 23:01:02 +01:00
clan-bot
37f41e588d
Merge pull request 'sunshine: add apps, improve uaccess rules' ( #946 ) from a-kenji-imp/sunshine into main
2024-03-12 21:23:06 +00:00
a-kenji
69aca55feb
sunshine: add apps, improve uaccess rules
2024-03-12 22:17:08 +01:00
clan-bot
181380ac33
Merge pull request 'sunshine: improve module' ( #945 ) from a-kenji-imp/sunshine into main
2024-03-12 19:59:09 +00:00
a-kenji
f39d47b5b7
sunshine: improve module
2024-03-12 20:53:04 +01:00
clan-bot
59bfd9db96
Merge pull request 'vm: improve xfce and vm-user module' ( #944 ) from a-kenji-fix/vm into main
2024-03-12 18:59:19 +00:00
a-kenji
8abdbe00b9
vm: improve xfce and vm-user module
2024-03-12 19:53:11 +01:00
clan-bot
1902261f4c
Merge pull request 'clan-modules: add xfce-vm module' ( #943 ) from a-kenji-init/vm-module into main
2024-03-12 18:42:19 +00:00
clan-bot
cc5b2ced67
Merge pull request 'fix: typo' ( #942 ) from a-kenji-fix/devshell into main
2024-03-12 18:37:21 +00:00
a-kenji
ffb9970b34
clan-modules: add xfce-vm module
...
A specific module for vm's that don't (yet) support the waypipe module.
2024-03-12 19:36:11 +01:00
a-kenji
dd0b5c0ae7
fix: typo
2024-03-12 17:37:19 +01:00
clan-bot
b9ab6b4a00
Merge pull request 'clan-modules: add vm-user module' ( #932 ) from a-kenji-add/vm-user into main
2024-03-12 16:36:24 +00:00
Mic92
ca0872a8d2
Merge pull request 'reduce eval worker' ( #941 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/941
2024-03-12 16:34:24 +00:00
Jörg Thalheim
d8bbfd11e4
reduce eval worker
2024-03-12 17:34:07 +01:00
Mic92
b1fe3f37ac
Merge branch 'main' into a-kenji-add/vm-user
2024-03-12 16:32:03 +00:00
clan-bot
564d78b6a2
Merge pull request 'clan_vm_manager: Fix mypy errors for clan_cli types' ( #938 ) from Qubasa-main into main
2024-03-12 16:31:48 +00:00
Qubasa
40ee794be9
clan_vm_manager: Fix mypy errors for clan_cli types
2024-03-12 23:27:20 +07:00
Mic92
449eea0880
Merge pull request 'Revert "workaround gitea bug"' ( #940 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/940
2024-03-12 16:26:50 +00:00
Jörg Thalheim
8dcfebd9f9
Revert "workaround gitea bug"
...
This reverts commit 8697d64625 .
2024-03-12 17:23:12 +01:00
a-kenji
dd9ac7bc75
clan-modules: add vm-user module
2024-03-12 17:20:02 +01:00
Mic92
0065b86577
Merge pull request 'ci' ( #935 ) from ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/935
2024-03-12 16:10:54 +00:00
Jörg Thalheim
8697d64625
workaround gitea bug
2024-03-12 16:10:54 +00:00
Jörg Thalheim
55a09ae6c4
mypy: fix clan-cli import in vm-manager
2024-03-12 16:10:54 +00:00
kenji
b85cf22b3f
Merge pull request 'enable: spice-vdagent if xserver is enable' ( #931 ) from a-kenji-add/spice-vm-profile into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/931
2024-03-12 16:00:54 +00:00
a-kenji
20074bf5ec
enable: spice-vdagent if xserver is enable
2024-03-12 16:00:54 +00:00
Mic92
f27d9ea577
Merge pull request 'clan.borgbackup: drop enable option' ( #918 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/918
2024-03-12 15:50:33 +00:00
Jörg Thalheim
a3242bfbb7
fix backup not beeing activated
2024-03-12 13:17:04 +01:00
Jörg Thalheim
836e7eeb22
update flake
2024-03-12 13:06:12 +01:00
Jörg Thalheim
a607d0cb86
clan.borgbackup: drop enable option
2024-03-12 11:21:10 +01:00
clan-bot
4c0a07f454
Merge pull request 'clan-vm-manager: add log view' ( #927 ) from hsjobeki-main into main
2024-03-10 13:14:54 +00:00
Johannes Kirschbauer
87ab67a4d6
clan-vm-manager: add log view
2024-03-10 14:10:59 +01:00
Johannes Kirschbauer
cb3cef2a1c
vm-manager: add toast overlay to main window
2024-03-10 10:40:00 +01:00
clan-bot
1069ec5618
Merge pull request 'clan-cli: Add py.typed to make mypy work when used as library in clan-vm-manager' ( #923 ) from Qubasa-main into main
2024-03-10 09:10:21 +00:00
Qubasa
883c46bcaa
clan-cli: Readd mypy ignore clan_cli because of treefmt complaining
2024-03-10 16:06:03 +07:00
Qubasa
38699a8311
clan-cli: Add py.typed to make mypy work when used as library in clan-vm-manager
2024-03-10 15:18:18 +07:00
clan-bot
0a43e9ca71
Merge pull request 'clan-vm-manager: Add library for mypy pygobject types' ( #921 ) from Qubasa-main into main
2024-03-09 16:55:54 +00:00
Qubasa
0ecc717dd1
clan-vm-manager: Readd ignore for clan_cli because nix fmt fails in CI. But why \?
2024-03-09 23:51:59 +07:00
Qubasa
e99a3b35b9
clan-vm-manager: Remove mypy ignore clan_cli types
2024-03-09 23:17:00 +07:00
Qubasa
1f724d339f
clan-vm-manager: Add library for mypy pygobject types
2024-03-09 23:15:32 +07:00
clan-bot
666071e49a
Merge pull request 'docs: improve readme for better onboarding' ( #920 ) from hsjobeki-main into main
2024-03-09 10:28:52 +00:00
Johannes Kirschbauer
c4b267cdb5
docs: improve start command
2024-03-09 11:25:11 +01:00
Johannes Kirschbauer
2cbb49e05e
docs: improve readme for better onboarding
2024-03-09 10:58:12 +01:00
clan-bot
23798c041b
Merge pull request 'clan-vm-manager: Fix ClanUrl not pickable' ( #919 ) from Qubasa-main into main
2024-03-08 16:51:45 +00:00
Qubasa
285a83ec97
clan_cli: Renamed ClanUrl to FlakeId
2024-03-08 23:47:27 +07:00
Qubasa
1b0f0bdd70
clan-vm-manager: Fix ClanUrl not pickable
2024-03-08 23:23:18 +07:00
clan-bot
631fe1d4e9
Merge pull request 'clan_vm_manager: Starting rewrite of Machine class' ( #917 ) from Qubasa-main into main
2024-03-08 15:06:19 +00:00
Qubasa
93ca333227
clan_cli: Add TimeTable class to cmd.py. Fix bugs in Machine rewrite
2024-03-08 22:01:54 +07:00
Qubasa
fcb7a4b032
clan_vm_manager: Rewrite of Machine Class Part 1
2024-03-08 15:32:12 +07:00
clan-bot
cb0cc8c71a
Merge pull request 'add flash command and tests' ( #916 ) from Mic92-main into main
2024-03-07 16:29:11 +00:00
Jörg Thalheim
2cd353b0b0
fix building installer iso
2024-03-07 17:24:57 +01:00
Jörg Thalheim
d3c09b342d
fix container tests
2024-03-07 14:13:11 +01:00
Jörg Thalheim
83cbc18f66
treefmt
2024-03-07 14:13:11 +01:00
Jörg Thalheim
8edaa9856a
fix install test
2024-03-07 14:13:11 +01:00
Jörg Thalheim
800bfd4653
add flash command
2024-03-07 14:13:11 +01:00
Jörg Thalheim
a7194b1b40
installer: switch to systemd-boot
...
grub is not able to boot from the disks that we flash for weird reasons.
Since BIOS-boot is on life-support, we may as well just use systemd-boot.
2024-03-07 14:13:11 +01:00
Jörg Thalheim
d84b5e7457
add confirmation prompt when installing
2024-03-07 14:13:11 +01:00
clan-bot
e99c7e8b2a
Merge pull request 'clan_cli: Rewrite ClanURI' ( #915 ) from Qubasa-main into main
2024-03-07 12:12:28 +00:00
Qubasa
7a772e8fd4
clan_vm_manager: Fix broken vm start
2024-03-07 19:09:01 +07:00
clan-bot
3fc42469a6
Merge pull request 'clan_cli: Rewrite ClanURI' ( #914 ) from Qubasa-main into main
2024-03-07 12:08:16 +00:00
Qubasa
bda7701861
clan_cli: Simplify ClanURI
2024-03-07 19:04:48 +07:00
Qubasa
e640e0d7c3
clan_cli: Rewrite ClanURI
2024-03-07 16:41:37 +07:00
clan-bot
2bf6c300e8
Merge pull request 'fix: typos' ( #913 ) from a-kenji-fix/typos into main
2024-03-06 12:15:23 +00:00
a-kenji
e3ee7b5ef2
fix: typos
2024-03-06 13:11:49 +01:00
clan-bot
9a16b66ad6
Merge pull request 'clan_cli,clan_vm_manager: Moved profiler to clan_cli. Add cmd timer to see how long run commands take' ( #912 ) from Qubasa-main into main
2024-03-06 10:15:37 +00:00
Qubasa
043f2e5061
clan_cli,clan_vm_manager: Moved profiler to clan_cli. Add cmd timer to see how long run commands take
2024-03-06 17:12:20 +07:00
clan-bot
9c59247b77
Merge pull request 'clan_vm_manager: Fix switch desync when pressed too fast. Secrets folder shared between build and run. clan_cli: run_vm now can have custom tmpdir location' ( #910 ) from Qubasa-main into main
2024-03-06 09:35:38 +00:00
Qubasa
b25a559ff3
clan_vm_manager: Fix switch desync when pressed too fast. Secrets folder shared between build and run. clan_cli: run_vm now can have custom tmpdir location
2024-03-06 16:32:19 +07:00
clan-bot
0337fb3a67
Merge pull request 'drop meshnamed from repository' ( #909 ) from Mic92-main into main
2024-03-06 09:05:41 +00:00
Jörg Thalheim
c23a878dfd
drop meshnamed from repository
...
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00
Jörg Thalheim
f542c3135c
bump disko
2024-03-06 09:51:02 +01:00
clan-bot
c58da9a978
Merge pull request 'clan-cli sops: accept bytes' ( #891 ) from sops_bytes into main
2024-03-06 08:45:44 +00:00
clan-bot
bfb02d69f6
Merge pull request 'clan-vm-manager: Add register_on_change to GKVStore. Improve overall signal typing.' ( #908 ) from Qubasa-main into main
2024-03-06 08:07:53 +00:00
Qubasa
98121e1fa3
clan-vm-manager: Add register_on_change to GKVStore. Improve overall signal typing.
2024-03-06 15:05:10 +07:00
clan-bot
15d856422b
Merge pull request 'clan_vm_manager: Fix incorrect detection of vm already in list' ( #907 ) from Qubasa-main into main
2024-03-05 17:35:09 +00:00
Qubasa
6ae500754d
clan_vm_manager: Fix switch <-> vm status desync
2024-03-06 00:32:22 +07:00
Qubasa
90350bafa3
clan_vm_manager: Fix join list not rerendering correctly when updating clan_store
2024-03-06 00:18:42 +07:00
Qubasa
0cb9c393cb
clan_vm_manager: Fix incorrect detection of vm already in list
2024-03-06 00:18:42 +07:00
clan-bot
a2c64f1781
Merge pull request 'clan_vm_manager: Fix vms not shutting down after closing GTK app. Sync JoinList with ClanStore' ( #906 ) from Qubasa-main into main
2024-03-05 16:13:26 +00:00
Qubasa
dc8a2cbcba
clan_vm_manager: Fix vms not shutting down after closing GTK app. Sync JoinList with ClanStore
2024-03-05 23:10:30 +07:00
clan-bot
48ee12b49d
Merge pull request 'secrets: fix typo' ( #905 ) from a-kenji-fix-typo into main
2024-03-05 11:02:59 +00:00
a-kenji
ee41416697
secrets: fix typo
2024-03-05 11:59:55 +01:00
clan-bot
79076ea1a8
Merge pull request 'clan_vm_manager: Add CUMTIME to profiler output' ( #904 ) from Qubasa-main into main
2024-03-04 09:02:49 +00:00
Qubasa
119bbd4964
clan_vm_manager: Add CUMTIME to profiler output
2024-03-04 16:00:04 +07:00
clan-bot
307cd9aaa0
Merge pull request 'clan_vm_manager: Cache profiler obj for multi call functions' ( #903 ) from Qubasa-main into main
2024-03-04 08:55:47 +00:00
Qubasa
25264bbf34
clan_vm_manager: Cache profiler obj for multi call functions
2024-03-04 15:52:57 +07:00
clan-bot
1a72c0ed0c
Merge pull request 'clan_vm_manager: Extracted VMObject to own component' ( #901 ) from Qubasa-main into main
2024-03-04 07:14:16 +00:00
Qubasa
b43de010c6
clan_vm_manager: Add profiler component
2024-03-04 14:01:30 +07:00
Qubasa
1d72e4baa7
clan_vm_manager: Extracted VMObject to own component
2024-03-04 12:38:20 +07:00
clan-bot
72c3f15fcc
Merge pull request 'clan_vm_manager: Renamed Views to ViewStack' ( #899 ) from Qubasa-main into main
2024-03-03 09:54:26 +00:00
Qubasa
0fc1f340ad
clan_vm_manager: Renamed Views to ViewStack
2024-03-03 16:51:34 +07:00
clan-bot
2294d7701a
Merge pull request 'clan_vm_manager: Renamed VMs singleton to ClanStore. And VM to VMObject' ( #898 ) from Qubasa-main into main
2024-03-03 09:50:32 +00:00
Qubasa
548bea1889
clan_vm_manager: Renamed VMs singleton to ClanStore. And VM to VMObject
2024-03-03 16:47:38 +07:00
clan-bot
ffea00d75f
Merge pull request 'clan_vm_manager: New directory structure' ( #897 ) from Qubasa-main into main
2024-03-03 09:41:16 +00:00
Qubasa
24f8548796
clan_vm_manager: New directory structure
2024-03-03 16:38:25 +07:00
clan-bot
1c77ae2651
Merge pull request 'clan_vm_manager: Added suffix task to glib task functions' ( #894 ) from Qubasa-main into main
2024-03-03 09:18:42 +00:00
Qubasa
06cb6304b1
clan_vm_manager: Improved readability of GKVStore
2024-03-03 16:15:50 +07:00
Qubasa
b09a7103b1
clan_vm_manager: Added suffix task to glib task functions
2024-03-03 16:01:08 +07:00
clan-bot
a520ea7020
Merge pull request 'clan-vm-manager: Fix incorrect use of all Glib.idle_add uses' ( #893 ) from Qubasa-main into main
2024-03-03 08:55:43 +00:00
Qubasa
295829dc84
clan_vm_manager: Remove superfluous argument to build_vm
2024-03-03 15:52:56 +07:00
clan-bot
ab3718550c
Merge pull request 'clan-vm-manager: Fix incorrect use of all Glib.idle_add uses' ( #892 ) from Qubasa-main into main
2024-03-03 08:49:07 +00:00
Qubasa
5ab94861f9
clan_vm_manager: Fix incorrect signal behaviour in GKVStore setitem
2024-03-03 15:47:00 +07:00
Qubasa
86313b301d
clan_vm_manager: Fix dynamic join
2024-03-03 15:47:00 +07:00
Qubasa
ff29e91542
clan_cli: history_add now returns newly added HistoryEntry. clan-vm-manager: Join now uses signals instead of callbacks.
2024-03-03 15:47:00 +07:00
Qubasa
ed3ee26bb6
clan-vm-manager: Fix incorrect use of all Glib.idle_add uses
2024-03-03 15:47:00 +07:00
Qubasa
1abcd77afa
clan_vm_manager: Fix incorrect signal behaviour in GKVStore setitem
2024-03-03 15:44:16 +07:00
lassulus
1d5605fa4a
clan-cli sops: accept bytes
2024-03-03 09:25:40 +01:00
clan-bot
ec6c43deb1
Merge pull request 'clan_cli secrets generate: fix type in error msg' ( #890 ) from interactive_secrets into main
2024-03-03 07:43:48 +00:00
lassulus
393db0d6f7
clan_cli secrets generate: fix type in error msg
2024-03-03 08:40:22 +01:00
Qubasa
68b0482792
clan_vm_manager: Fix dynamic join
2024-03-03 13:50:49 +07:00
clan-bot
5039a7224c
Merge pull request 'interactive_secrets' ( #885 ) from interactive_secrets into main
2024-03-03 06:15:44 +00:00
Qubasa
5de3b9bf44
clan_cli: history_add now returns newly added HistoryEntry. clan-vm-manager: Join now uses signals instead of callbacks.
2024-03-03 12:47:18 +07:00
lassulus
cfdba84d9d
fix pyproject syntax, ignore E731
2024-03-03 06:20:08 +01:00
lassulus
cde452f99b
clan-cli sops: fix super class interface compliance
2024-03-03 06:20:08 +01:00
lassulus
ed604a7ded
clan-cli secrets: actually check if only service needs regeneration
2024-03-03 06:20:08 +01:00
Qubasa
9806ad0b0b
clan-vm-manager: Fix incorrect use of all Glib.idle_add uses
2024-03-03 11:21:12 +07:00
lassulus
9880dede41
clan-cli: add interactive secrets/fact generation
2024-03-03 04:06:18 +01:00
lassulus
f47ed3b11c
clanCore secrets: rename toplevel secret to service
2024-03-02 11:43:20 +01:00
lassulus
e74b586576
outputs: pass secretsData directly
2024-03-02 11:43:20 +01:00
lassulus
1eeaa8eead
clan-cli vms run: remove unused vm arg
2024-03-02 11:20:05 +01:00
lassulus
0dce19d031
clan-cli machines: cache machines_func via store
2024-03-02 11:20:05 +01:00
clan-bot
4001f97f4b
Merge pull request 'devshells: cleanup' ( #888 ) from DavHau-dave into main
2024-03-02 04:58:32 +00:00
DavHau
b542412247
devshells: cleanup
2024-03-02 11:55:15 +07:00
clan-bot
b0a0e29467
Merge pull request 'rename lol.clan to org.clan' ( #887 ) from Mic92-main into main
2024-03-01 11:55:24 +00:00
Jörg Thalheim
a6f46e88ca
rename lol.clan to org.clan
2024-03-01 12:52:05 +01:00
clan-bot
f6c9d941c3
Merge pull request 'devShells: one global python devshell + activation via command' ( #886 ) from DavHau-dave into main
2024-03-01 11:22:09 +00:00
DavHau
148e8b0ac0
devShells: one global python devshell + activation via command
...
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
clan-bot
44fa4d52d6
Merge pull request 'clan_vm_manager: Add GKVStore to combat O(n2) runtimes. Add pygdb to devshell' ( #884 ) from Qubasa-main into main
2024-03-01 03:49:53 +00:00
Qubasa
85844bc750
clan_vm_manager: Fix gdb package incompatible with aarch darwin
2024-03-01 10:46:35 +07:00
Qubasa
d611729e32
clan_vm_manager: Fix GLib.idle_add rexecuting the VM push multiple times because of missing GLib.SOURCE_REMOVE
2024-03-01 01:58:03 +07:00
Qubasa
5950b26413
clan_vm_manager: Working GKVStore that emulates the ListStore Object
2024-03-01 01:26:45 +07:00
Qubasa
3a5280f22a
clan_vm_manager: Add GKVStore to combat O(n2) runtimes. Add pygdb to devshell
2024-02-29 22:46:09 +07:00
clan-bot
d1495492c3
Merge pull request 'writers: fix bug by typo' ( #883 ) from DavHau-dave into main
2024-02-27 15:25:28 +00:00
DavHau
cc93b8bdec
writers: fix bug by typo
2024-02-27 22:21:42 +07:00
clan-bot
70b8c31cc0
Merge pull request 'merge-after-ci: rewrite according to #814 ' ( #882 ) from DavHau-dave into main
2024-02-27 11:35:26 +00:00
DavHau
4e32c07666
merge-after-ci: rewrite according to #814
2024-02-27 18:32:11 +07:00
DavHau
7ab01b2f98
formatting: exclude script-writers.nix
...
Was copied from nixpkgs -> Keeping the diff low in order to upstream easier
2024-02-27 18:20:33 +07:00
DavHau
a8f4b59ade
script-writers: add wrapping support (makeWrapperArgs)
2024-02-27 18:20:33 +07:00
DavHau
97c717e747
script-writers: init (copied from nixpkgs)
2024-02-27 18:20:33 +07:00
clan-bot
609156dbf1
Merge pull request 'clan-vm-manager: Moved switch from list view to VM object.' ( #881 ) from Qubasa-main into main
2024-02-26 20:56:55 +00:00
Qubasa
062b39e64c
clan-vm-manager: Moved switch from list view to VM object.
2024-02-27 03:53:19 +07:00
clan-bot
951e843de8
Merge pull request 'Automatic flake update - 2024-02-26T00:00+00:00' ( #880 ) from flake-update-2024-02-26 into main
2024-02-26 09:22:27 +00:00
DavHau
901e5ca0aa
fix formatting
2024-02-26 16:19:30 +07:00
Clan Merge Bot
052782bd4c
update flake lock - 2024-02-26T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/d07de570ba05cec2807d058daaa044f6955720c7' (2024-02-10)
→ 'github:nix-community/disko/23d308f0059955e3719efc81a34d1fc0369fbb74' (2024-02-22)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/843e2f04c716092797ffa4ce14c446adce2f09ef' (2024-02-08)
→ 'github:nix-community/nixos-generators/f4631dee1a0fd56c0db89860e83e3588a28c7631' (2024-02-22)
• Updated input 'nixos-generators/nixlib':
'github:nix-community/nixpkgs.lib/f5af57d3ef9947a70ac86e42695231ac1ad00c25' (2023-09-03)
→ 'github:nix-community/nixpkgs.lib/e623008d8a46517470e6365505f1a3ce171fa46a' (2024-02-18)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/bdc57436da855500d44e9c1ce7450c0772e1cfa1' (2024-02-11)
→ 'github:NixOS/nixpkgs/2a34566b67bef34c551f204063faeecc444ae9da' (2024-02-25)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/2eb7c4ba3aa75e2660fd217eb1ab64d5b793608e' (2024-02-11)
→ 'github:Mic92/sops-nix/2874fbbe4a65bd2484b0ad757d27a16107f6bc17' (2024-02-25)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/ac599dab59a66304eb511af07b3883114f061b9d' (2024-02-07)
→ 'github:numtide/treefmt-nix/e497a9ddecff769c2a7cbab51e1ed7a8501e7a3a' (2024-02-25)
2024-02-26 00:00:15 +00:00
clan-bot
ff60eddd47
Merge pull request 'clan-vm-manager: Fix ui state desync on build error. Add build progress bar' ( #879 ) from Qubasa-main into main
2024-02-25 19:03:44 +00:00
Qubasa
61f2df7130
clan-vm-manager: Fix ui state desync on build error. Add build progress bar
2024-02-26 01:59:45 +07:00
clan-bot
2fc44a34e9
Merge pull request 'clan_vm_manager: Fix qmp shutdown command, bad socket error on retried shutdown' ( #878 ) from Qubasa-main into main
2024-02-25 18:21:43 +00:00
Qubasa
6de8393df1
clan_vm_manager: Fix qmp shutdown command, bad socket error on retried shutdown
2024-02-26 01:18:13 +07:00
clan-bot
b5a32a6227
Merge pull request 'clan_vm_manager: Improve VM start and stop switch. Switch will be disabled while stopping vm' ( #877 ) from Qubasa-main into main
2024-02-25 18:11:38 +00:00
Qubasa
e38aa7b73e
clan_vm_manager: Improve VM start and stop switch. Switch will be disabled while stopping vm
2024-02-26 01:04:09 +07:00
clan-bot
98d18dfd25
Merge pull request 'Also commit files when adding machines/users or removing secrets' ( #876 ) from Mic92-main into main
2024-02-22 15:15:21 +00:00
Jörg Thalheim
79e956b5c3
Also commit files when adding machines/users or removing secrets
2024-02-22 16:12:11 +01:00
Jörg Thalheim
52d357ee42
secrets: commit when renaming secrets
2024-02-22 15:59:12 +01:00
Mic92
544d24bf83
Merge pull request 'borgbackup: drop comment from string' ( #875 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/875
2024-02-22 14:45:07 +00:00
Jörg Thalheim
62a698f5fa
borgbackup: drop comment from string
...
Looks weird in the logs.
2024-02-22 14:45:07 +00:00
Jörg Thalheim
06165afd38
borgbackup: drop comment from string
...
Looks weird in the logs.
2024-02-22 15:42:19 +01:00
clan-bot
1cf8a01f4c
Merge pull request 'print backup archive ids instead of bare objects' ( #874 ) from Mic92-main into main
2024-02-22 14:29:47 +00:00
Jörg Thalheim
7e93bc9aa3
print backup archive ids instead of bare objects
2024-02-22 15:26:20 +01:00
clan-bot
fcb25eb695
Merge pull request 'encrypt backups by default' ( #873 ) from Mic92-main into main
2024-02-22 14:06:07 +00:00
Jörg Thalheim
5554c4df2e
encrypt backups by default
2024-02-22 15:03:22 +01:00
clan-bot
fbd74cbec2
Merge pull request 'secret cli: accept a pattern in secrets list' ( #872 ) from Mic92-main into main
2024-02-22 13:25:07 +00:00
Jörg Thalheim
dd98cac94e
secret cli: accept a pattern in secrets list
2024-02-22 14:21:53 +01:00
clan-bot
f084e5941a
Merge pull request 'borgbackup: use persistent timers' ( #871 ) from Mic92-main into main
2024-02-22 12:50:25 +00:00
Jörg Thalheim
92ca61760e
borgbackup: use persistent timers
2024-02-22 13:47:09 +01:00
clan-bot
e7caf6a2c4
Merge pull request 'add lychee link checker' ( #870 ) from Mic92-main into main
2024-02-21 16:21:48 +00:00
Jörg Thalheim
2493eef5f4
add lychee link checker
2024-02-21 17:18:28 +01:00
clan-bot
a530be5c5f
Merge pull request 'Updating contribution documentation' ( #869 ) from Mic92-main into main
2024-02-21 16:05:50 +00:00
Jörg Thalheim
094f5bc0f3
Updating contribution documentation
2024-02-21 17:02:13 +01:00
Jörg Thalheim
edd76e876a
drop obsolete documentation
2024-02-21 17:02:13 +01:00
clan-bot
c4fdd3820c
Merge pull request 'drop obsolete documentation' ( #868 ) from Mic92-main into main
2024-02-21 15:54:47 +00:00
Jörg Thalheim
34ba0c043b
drop obsolete documentation
2024-02-21 16:51:27 +01:00
clan-bot
e3d70c7693
Merge pull request 'clan-cli: remove unused flag' ( #867 ) from Mic92-fix-cross-system into main
2024-02-21 10:19:26 +00:00
Jörg Thalheim
458297bc10
clan-cli: remove unused flag
2024-02-21 10:55:53 +01:00
Jörg Thalheim
9445478e2b
fix cross-system deploy
...
This allows to be nixpkgs.pkgs and deploy systems of a different arch.
2024-02-21 10:55:53 +01:00
clan-bot
a4b16525f2
Merge pull request 'README: fix links harder' ( #866 ) from fix_links into main
2024-02-21 09:25:12 +00:00
clan-bot
f364ed5bf9
Merge pull request 'clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages' ( #865 ) from Qubasa-main into main
2024-02-21 09:23:21 +00:00
lassulus
011e2cc2b1
README: fix links harder
2024-02-21 10:22:09 +01:00
Qubasa
70a1c03989
clan_cli: Add exception handling in logger
2024-02-21 16:20:01 +07:00
Qubasa
aebf960188
clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages
2024-02-21 16:16:58 +07:00
clan-bot
ac14c7132c
Merge pull request 'README: fix links' ( #864 ) from fix_links into main
2024-02-21 09:15:49 +00:00
lassulus
b7aca18ac5
README: fix links
2024-02-21 10:12:41 +01:00
clan-bot
7e9c135b42
Merge pull request 'secret_store: drop update_check and generate_hash as abstract methods' ( #863 ) from Mic92-target_host into main
2024-02-20 18:01:51 +00:00
Jörg Thalheim
5a5e31e890
disable vgpu on non-nixos systems
2024-02-20 18:58:38 +01:00
Jörg Thalheim
a214677da0
secret_store: drop update_check and generate_hash as abstract methods
...
Only password implements those just now
2024-02-20 18:58:38 +01:00
clan-bot
2dc0d0f6e5
Merge pull request 'secrets: add git support when updating secrets' ( #862 ) from Mic92-target_host into main
2024-02-20 11:45:13 +00:00
Jörg Thalheim
38e5e4f12c
secrets: add git support when updating secrets
2024-02-20 12:41:52 +01:00
clan-bot
8aa8a0cb48
Merge pull request 'abstract_fixes' ( #861 ) from abstract_fixes into main
2024-02-20 10:51:42 +00:00
lassulus
0c457c0b6a
clan-cli SecretStore: remove generate_hash from base class
2024-02-20 11:48:13 +01:00
lassulus
a9c11ca42a
clan-cli SecretStore: implement update_check in base class
2024-02-20 11:47:53 +01:00
clan-bot
382fb593da
Merge pull request 'sops: unbreak edit flags' ( #860 ) from Mic92-target_host into main
2024-02-20 10:18:17 +00:00
Jörg Thalheim
43a8da1485
sops: unbreak edit flags
2024-02-20 11:07:00 +01:00
clan-bot
e023d25b4b
Merge pull request 'add option to set defaultGroups for secrets' ( #858 ) from Mic92-target_host into main
2024-02-16 16:29:28 +00:00
Jörg Thalheim
1d1358cdc9
improve error message if group does not exists
2024-02-16 17:26:20 +01:00
Jörg Thalheim
023b9f4257
add option to set defaultGroups for secrets
2024-02-16 17:26:20 +01:00
clan-bot
cbba6d8bf1
Merge pull request 'make secrets stores inherit from an interface' ( #857 ) from Mic92-target_host into main
2024-02-16 14:00:20 +00:00
Jörg Thalheim
052f040017
upload_secrets: call update_check directly without introspection
2024-02-16 14:57:01 +01:00
Jörg Thalheim
8eac6992c7
split of generate_secrets method into smaller functions
2024-02-16 14:48:46 +01:00
Jörg Thalheim
c155fe0fb9
make facts stores inherit from an interface
2024-02-16 14:47:39 +01:00
Jörg Thalheim
587812ebc9
make secrets stores inherit from an interface
2024-02-16 14:47:28 +01:00
clan-bot
d9d4ad096d
Merge pull request 'demo script' ( #856 ) from Qubasa-HEAD into main
2024-02-16 10:55:02 +00:00
Qubasa
e20ac2c4d9
Working demo script
2024-02-16 17:51:55 +07:00
Qubasa
8e50af967e
Working demo script
2024-02-16 17:47:34 +07:00
Qubasa
b47a04f478
demo script
2024-02-16 17:47:05 +07:00
clan-bot
99c5032b63
Merge pull request 'clan-vm-manager: Added clan icon to trayicon' ( #855 ) from Qubasa-main into main
2024-02-16 09:14:08 +00:00
Qubasa
8a0edddca7
clan-vm-manager: Fixing vm starting.
2024-02-16 16:10:49 +07:00
clan-bot
fcc5ad00fb
Merge pull request 'waypipe: disable gpu for now' ( #854 ) from Mic92-target_host into main
2024-02-16 08:55:35 +00:00
Jörg Thalheim
033dc6ee55
update comments about virtio-gpu
2024-02-16 09:52:13 +01:00
Jörg Thalheim
d4d5f9cf5e
waypipe: disable gpu for now
2024-02-16 09:50:53 +01:00
Qubasa
0b0867907e
clan-vm-manager: Added clan icon to trayicon
2024-02-16 12:25:06 +07:00
clan-bot
14ba5f7a83
Merge pull request 'add waypipe user to video group' ( #853 ) from Mic92-target_host into main
2024-02-15 18:41:04 +00:00
Jörg Thalheim
9228ffc1eb
waypipe: add fixed uid for user
2024-02-15 19:33:01 +01:00
Mic92
3561e54074
Merge pull request 'add waypipe user to video group' ( #852 ) from Mic92-target_host into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/852
2024-02-15 18:31:39 +00:00
Jörg Thalheim
53ec26f318
add waypipe user to video group
2024-02-15 18:31:39 +00:00
Jörg Thalheim
dab89144b9
add waypipe user to video group
2024-02-15 19:30:51 +01:00
clan-bot
0735f8e983
Merge pull request 'vms: move qemu_command to its own module' ( #851 ) from Mic92-target_host into main
2024-02-15 16:30:01 +00:00
Jörg Thalheim
8a109b666b
vms: move qemu_command to its own module
2024-02-15 17:25:24 +01:00
clan-bot
73e4167384
Merge pull request 'vms: smaller cleanups' ( #850 ) from Mic92-target_host into main
2024-02-15 16:23:24 +00:00
Jörg Thalheim
5a718dd086
vms: drop unused xchdir
2024-02-15 17:19:43 +01:00
Jörg Thalheim
63c5065620
vms: move virtiofsd/waypipe into their own modules
2024-02-15 17:19:31 +01:00
clan-bot
02df3613dc
Merge pull request 'fix fact store' ( #849 ) from Mic92-target_host into main
2024-02-15 11:27:59 +00:00
Jörg Thalheim
90e9bc999e
add file prefix for nix 2.19 or newer
2024-02-15 12:24:18 +01:00
clan-bot
5cdc2b203c
Merge pull request 'waypipe: add more environment variables' ( #848 ) from a-kenji-wayland-module-env-add into main
2024-02-15 10:09:12 +00:00
a-kenji
8007013205
waypipe: add more environment variables
2024-02-15 11:03:27 +01:00
clan-bot
145d2e4de7
Merge pull request 'add factsStore modules' ( #839 ) from fact_store into main
2024-02-15 09:46:01 +00:00
lassulus
5ed4881687
vms: use vm fact/secret-store
2024-02-15 10:41:25 +01:00
lassulus
e3627c12f7
add factsStore modules
2024-02-15 10:41:25 +01:00
clan-bot
1af2e270d1
Merge pull request 'waypipe: add wayland environment' ( #847 ) from a-kenji-wayland-module-env into main
2024-02-15 09:01:49 +00:00
a-kenji
cd4ffa7d77
waypipe: add wayland environment
2024-02-15 09:58:56 +01:00
clan-bot
8b49e43215
Merge pull request 'optimize filesystem mount flags' ( #846 ) from Mic92-target_host into main
2024-02-14 12:06:47 +00:00
Jörg Thalheim
49d1704153
optimize filesystem mount flags
...
perf!
2024-02-14 13:01:47 +01:00
clan-bot
f91df4fb88
Merge pull request 'clan_vm_manager: --debug enables debug mode in clan_cli too' ( #840 ) from Qubasa-add_spinner into main
2024-02-14 08:43:14 +00:00
Qubasa
3e8350bd3f
clan_cli: Added longer timeout for test
2024-02-14 15:40:03 +07:00
clan-bot
ff1b4d3d8c
Merge pull request 'waypipe: rename systemd unit' ( #845 ) from a-kenji-waypipe/rename-system-service into main
2024-02-13 15:45:29 +00:00
a-kenji
9f4b67acc5
waypipe: rename systemd unit
2024-02-13 16:42:29 +01:00
clan-bot
e6235bdd1d
Merge pull request 'waypipe: improve default module' ( #844 ) from a-kenji-improve/module/waypipe into main
2024-02-13 15:40:11 +00:00
a-kenji
643ec149f7
waypipe: improve default module
2024-02-13 16:37:14 +01:00
clan-bot
d45576326f
Merge pull request 'Fix demo script' ( #843 ) from a-kenji-demo/improve/script into main
2024-02-13 15:18:23 +00:00
a-kenji
7aab4ade6c
Fix demo script
...
The `--wayland` cli option is now a module option.
2024-02-13 16:15:36 +01:00
clan-bot
58e0227256
Merge pull request 'waypipe: improve default module' ( #842 ) from a-kenji-waypipe/improve into main
2024-02-13 15:08:03 +00:00
a-kenji
9e760960eb
waypipe: improve default module
2024-02-13 16:02:46 +01:00
clan-bot
e8622f8f32
Merge pull request 'vms: enable sysusers' ( #841 ) from Mic92-target_host into main
2024-02-13 13:20:02 +00:00
Jörg Thalheim
aa6123a798
vms: enable sysusers
2024-02-13 14:14:54 +01:00
clan-bot
8d25c0d0d4
Merge pull request 'switch to sops-nix experimental branch' ( #832 ) from Mic92-target_host into main
2024-02-13 13:01:01 +00:00
Jörg Thalheim
2202e5a001
fix virtiofsd in CIs
2024-02-13 13:57:52 +01:00
Jörg Thalheim
9f494e1024
drop check for /var/lib/nixos
2024-02-13 12:44:22 +01:00
Jörg Thalheim
e8bb051c35
demo.sh: make relative path configureable
2024-02-13 11:45:42 +01:00
Jörg Thalheim
7c41a0e0f8
also use qcow2 for volatile state
2024-02-13 11:45:42 +01:00
Jörg Thalheim
2970c1bc00
use virtio-console instead of serial for vm
2024-02-13 11:45:42 +01:00
Jörg Thalheim
d2d4267003
format rootfs in vm itself
2024-02-13 11:45:42 +01:00
Jörg Thalheim
4c6a95c844
drop unused mounts
2024-02-13 11:45:42 +01:00
Jörg Thalheim
1c1b613598
simplify vmstate directory
2024-02-13 11:45:42 +01:00
Jörg Thalheim
53df1fc209
qemu: disable sea-bios and option rom
2024-02-13 11:45:42 +01:00
Jörg Thalheim
f8a10ab0fc
switch to sops-nix experimental branch
2024-02-13 11:45:23 +01:00
Jörg Thalheim
8f7eb704c7
vms: integrate virtiofsd
2024-02-13 11:44:17 +01:00
Qubasa
6d06742c49
clan_cli: Added lazy qmp
2024-02-13 16:44:09 +07:00
Qubasa
e17fa83dad
test_vms_cli: Trying new way of testing
2024-02-13 16:44:09 +07:00
Qubasa
a1afd05fcb
clan_cli: Made qmp implementation lazy
2024-02-13 16:44:09 +07:00
Qubasa
4323e73517
clan_vm_manager: started spinner. not fully working yet
2024-02-13 16:44:09 +07:00
Qubasa
d828a73aa4
UI: Improve README
2024-02-13 16:44:09 +07:00
Qubasa
8c8481d9fe
clan_vm_manager: --debug enables debug mode in clan_cli too
2024-02-13 16:44:09 +07:00
clan-bot
1e81836440
Merge pull request 'update flake lock' ( #838 ) from Qubasa-main into main
2024-02-12 12:03:30 +00:00
lassulus
73f4b0f4c6
fix borgbackup check
...
we need to switch to the classical test environment again, because borg
was complaining otherwise
2024-02-12 12:59:32 +01:00
Qubasa
d54531e38c
update flake lock
2024-02-12 14:52:01 +07:00
clan-bot
d17da151b3
Merge pull request 'UI: Added tray icon' ( #831 ) from Qubasa-main into main
2024-02-12 07:19:59 +00:00
Qubasa
e30168742e
clan_vm_manager: Added VM shutdown timeout
2024-02-12 14:16:44 +07:00
Qubasa
b54e6eb520
UI: Added tray icon
2024-02-12 13:43:54 +07:00
clan-bot
a9afbb7f8e
Merge pull request 'allow passing of extra_config into machines' ( #834 ) from lassulus-extra_config into main
2024-02-11 07:43:52 +00:00
lassulus
a94201c1d0
allow passing of extra_config into machines
2024-02-11 08:40:41 +01:00
lassulus
0dc0ee5b80
nixosModules clanCore: fix iso format
2024-02-10 13:27:51 +01:00
clan-bot
27c5d7b9ca
Merge pull request 'waypipe: add more default settings' ( #836 ) from a-kenji-waypipe/add into main
2024-02-10 12:24:55 +00:00
a-kenji
0b5dad83ae
waypipe: add more default settings
2024-02-10 13:22:16 +01:00
clan-bot
37b393c659
Merge pull request 'clanModules: add waypipe service' ( #835 ) from a-kenji-init/waypipe into main
2024-02-10 12:03:49 +00:00
a-kenji
ac032dee39
clanModules: add waypipe service
2024-02-10 12:32:06 +01:00
clan-bot
bdd28564bd
Merge pull request 'vms: init graceful shutdown for GUI' ( #833 ) from DavHau-dave into main
2024-02-09 12:58:52 +00:00
DavHau
a438a27c69
vms: init graceful shutdown for GUI
...
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI
the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
clan-bot
20235ee09b
Merge pull request 'UI: Fixed incorrect display of cLAN icon in window switcher' ( #830 ) from Qubasa-main into main
2024-02-08 08:08:28 +00:00
Qubasa
d99ef89f7c
UI: Fixed incorrect display of cLAN icon in window switcher
2024-02-08 15:00:36 +07:00
clan-bot
bea1dc5fa0
Merge pull request 'Clan VM Manager: add dropdown to add more machines' ( #827 ) from hsjobeki-main into main
2024-02-08 07:40:06 +00:00
Johannes Kirschbauer
1d50d8824c
Clan VM Manager: add dropdown to add more machines
2024-02-08 14:36:47 +07:00
clan-bot
0be50c10df
Merge pull request 'UI: Improved Join card display' ( #829 ) from Qubasa-main into main
2024-02-08 07:31:30 +00:00
Qubasa
67029693aa
UI: Improved Join card display
2024-02-08 14:28:34 +07:00
clan-bot
f2c03b81d5
Merge pull request 'UI: Fixed style.css not working when installed' ( #828 ) from Qubasa-main into main
2024-02-08 07:13:06 +00:00
Qubasa
58065a7401
UI: Fixed style.css not working when installed
2024-02-08 14:10:17 +07:00
clan-bot
a23771c232
Merge pull request 'UI: Added joining multiple clans one after another over clan url' ( #826 ) from Qubasa-main into main
2024-02-07 10:19:01 +00:00
Qubasa
e6e4f6f958
UI: Added joining multiple clans one after another over clan url
2024-02-07 17:16:20 +07:00
clan-bot
a4059d1788
Merge pull request 'Clan VM Manager: detect if clan exists' ( #825 ) from hsjobeki-main into main
2024-02-07 09:20:33 +00:00
Johannes Kirschbauer
14cb6544ec
Clan VM Manager: detect if clan exists
2024-02-07 16:08:48 +07:00
clan-bot
9b7116631f
Merge pull request 'Clan VM Manager: init per vm settings handler' ( #824 ) from hsjobeki-main into main
2024-02-07 08:43:58 +00:00
Johannes Kirschbauer
3c28e82a0c
Clan VM Manager: init per vm settings handler
2024-02-07 15:41:18 +07:00
clan-bot
30be55584d
Merge pull request 'clan_manager: UI is now a singelton.' ( #822 ) from Qubasa-main into main
2024-02-07 05:06:11 +00:00
Qubasa
74323595c9
clan_manager: UI is now a singelton.
2024-02-07 12:03:12 +07:00
clan-bot
ceeaefdfa2
Merge pull request 'clan-cli: add simple flash command' ( #821 ) from lassulus-flaash into main
2024-02-07 04:31:52 +00:00
lassulus
75dfbfdad7
nixosModules zerotier: remove unneeded default
2024-02-07 05:26:01 +01:00
lassulus
bbc28a6262
clan-cli: add simple flash command
2024-02-07 05:26:01 +01:00
clan-bot
bffaa9081a
Merge pull request 'add requireExplicitUpdate option for mobile devices' ( #820 ) from Mic92-target_host into main
2024-02-06 16:59:03 +00:00
Jörg Thalheim
5afd5baeb2
add requireExplicitUpdate option for mobile devices
2024-02-06 17:55:34 +01:00
clan-bot
082f1b9f78
Merge pull request 'document build host option' ( #819 ) from Mic92-target_host into main
2024-02-06 16:30:04 +00:00
Jörg Thalheim
c3a9754e51
document build host option
2024-02-06 17:27:06 +01:00
clan-bot
1467af0bc6
Merge pull request 'remove unused ssh.run method' ( #818 ) from Mic92-target_host into main
2024-02-06 16:24:47 +00:00
Jörg Thalheim
6646aad714
set nixpkgs.pkgs for secrets generation
...
This allows us to use the same nixpkgs instance for all machines.
2024-02-06 17:21:42 +01:00
Jörg Thalheim
8f74f257e7
add support for build machines
2024-02-06 17:21:42 +01:00
Jörg Thalheim
5e5077c31c
rename machine.host to machine.target_host
2024-02-06 17:21:42 +01:00
Jörg Thalheim
7d62e147a9
rename target_host to target_host_address
2024-02-06 17:21:42 +01:00
Jörg Thalheim
0745bcb9a0
machines/update: get flake_attr from machine class
2024-02-06 17:21:42 +01:00
Jörg Thalheim
eee82b97cd
remove unused ssh.run method
2024-02-06 15:47:32 +01:00
clan-bot
e305de8ebb
Merge pull request 'machines: don't ignore errors when parsing secretsData json' ( #817 ) from Mic92-target_host into main
2024-02-06 14:18:38 +00:00
Jörg Thalheim
f1756c3a43
machines: don't ignore errors when parsing secretsData json
2024-02-06 15:15:21 +01:00
clan-bot
ead3bc364d
Merge pull request 'skip machines without target_host when running clan machines update' ( #816 ) from Mic92-target_host into main
2024-02-06 14:07:31 +00:00
Jörg Thalheim
8db4d31a52
skip machines without target_host when running clan machines update
2024-02-06 15:04:19 +01:00
clan-bot
b9ee5d7c0c
Merge pull request 'move checks if targetHost/buildHost is set to cli' ( #815 ) from Mic92-target_host into main
2024-02-06 13:54:50 +00:00
Jörg Thalheim
d36aea3f73
move checks if targetHost/buildHost is set to cli
2024-02-06 14:51:44 +01:00
clan-bot
a08aaf6f67
Merge pull request 'clan_manager: Implemented machine_icon, machine_description' ( #813 ) from Qubasa-main into main
2024-02-06 13:16:31 +00:00
Qubasa
79ee50b810
clan_manager: Implemented machine_icon, machine_description
2024-02-06 20:13:18 +07:00
clan-bot
5ab8c5416d
Merge pull request 'cli,nix: Add machine_icon, machine_description to vm' ( #812 ) from Qubasa-main into main
2024-02-06 12:29:32 +00:00
Qubasa
8194b61e4b
cli,nix: Add machine_icon, machine_description
2024-02-06 19:25:34 +07:00
clan-bot
e696cd4257
Merge pull request 'clanCore: fix deploymentAddress -> targetHost alias' ( #811 ) from Mic92-target_host into main
2024-02-06 09:57:56 +00:00
Jörg Thalheim
def7007f3e
clanCore: fix deploymentAddress -> targetHost alias
2024-02-06 10:55:07 +01:00
clan-bot
be2557152a
Merge pull request 'Automatic flake update - 2024-02-05T00:00+00:00' ( #804 ) from flake-update-2024-02-05 into main
2024-02-06 04:20:53 +00:00
Clan Merge Bot
19f1db72e7
update flake lock - 2024-02-05T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/07f6395285469419cf9d078f59b5b49993198c00' (2024-01-11)
→ 'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f' (2024-02-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/50071d87c75300c037e28439c5176c3933b9fce5' (2024-01-28)
→ 'github:NixOS/nixpkgs/5d75993fa5feaa333f3eadd83e0a08fc34432acc' (2024-02-04)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/73bf36912e31a6b21af6e0f39218e067283c67ef' (2024-01-28)
→ 'github:Mic92/sops-nix/23f61b897c00b66855074db471ba016e0cda20dd' (2024-02-04)
2024-02-06 04:17:06 +00:00
clan-bot
84a5fdf7c6
Merge pull request 'build-clan: Removed unecessary arg, machineDescription and machineIcon' ( #810 ) from Qubasa-main into main
2024-02-05 09:58:58 +00:00
Qubasa
e0ba8dd6cb
build-clan: Removed unecessary arg, machineDescription and machineIcon
2024-02-05 16:56:13 +07:00
clan-bot
aa5c75939a
Merge pull request 'clan-cli: add autocommits for facts/secrets' ( #809 ) from lassulus-autocommits into main
2024-02-05 09:08:29 +00:00
lassulus
9585883e80
clan-cli secrets: commit facts/secrets after generating them
2024-02-05 10:03:10 +01:00
lassulus
e94983be21
clan-cli secrets: remove debug output
2024-02-05 10:03:10 +01:00
lassulus
0a89abef89
clan-cli git: add commit_files function
2024-02-05 10:03:10 +01:00
clan-bot
9b39e13d59
Merge pull request 'vm_manager: Fixed uri join and then vm start not working' ( #808 ) from Qubasa-main into main
2024-02-05 09:01:21 +00:00
Qubasa
4fa82b993d
vm_manager: Fixed uri join and then vm start not working
2024-02-05 15:57:14 +07:00
clan-bot
9ffc25969d
Merge pull request 'async join' ( #807 ) from hsjobeki-main into main
2024-02-05 08:07:51 +00:00
Johannes Kirschbauer
327645486f
async join
2024-02-05 15:05:14 +07:00
clan-bot
5bac2e161f
Merge pull request 'Added machineIcon and machineDescription to buildClan' ( #806 ) from Qubasa-main into main
2024-02-05 07:21:18 +00:00
Qubasa
e8416856f7
Added machineIcon and machineDescription to buildClan
2024-02-05 14:18:40 +07:00
clan-bot
46cd4c5963
Merge pull request 'Starting to implement logs' ( #799 ) from Qubasa-main into main
2024-02-05 06:40:26 +00:00
Qubasa
d1a1bcf1eb
Added --debug flag clan command in nix tests
2024-02-05 13:37:35 +07:00
Qubasa
bc1842dd2b
UI: Fixed multiple connects to signal
2024-02-05 13:37:35 +07:00
clan-bot
cb71bf8b10
Merge pull request 'nixosModules zerotier: fix type of dns' ( #805 ) from lassulus-zerotier-dns into main
2024-02-05 01:35:04 +00:00
lassulus
3c0541a5b2
nixosModules zerotier: fix type of dns
2024-02-05 02:31:14 +01:00
clan-bot
d77aa9a471
Merge pull request 'clanCore zerotier: set default values in config for merging' ( #803 ) from lassulus-zerotier-settings2 into main
2024-02-03 08:29:06 +00:00
lassulus
264bceec41
clanCore zerotier: set default values in config for merging
2024-02-03 09:26:04 +01:00
clan-bot
4cc3b3cfd3
Merge pull request 'clan-cli update: upload only local paths from localhost' ( #802 ) from lassulus-fast_flake_archive into main
2024-02-03 06:56:37 +00:00
lassulus
3f2f3012b9
clan-cli update: remove legacy argument
2024-02-03 07:53:15 +01:00
lassulus
06c2734c9b
clan-cli update: upload only local paths from localhost
2024-02-03 07:53:15 +01:00
clan-bot
ebb44d8402
Merge pull request 'clanCore zerotier: add settings option' ( #801 ) from lassulus-zerotier-settings into main
2024-02-03 03:51:53 +00:00
lassulus
888828451a
clanCore zerotier: add settings option
2024-02-03 04:48:54 +01:00
clan-bot
42ff01ce6e
Merge pull request 'clan-cli: secrets check command' ( #800 ) from lassulus-check_secrets into main
2024-02-02 16:43:25 +00:00
lassulus
62f46751c7
clan-cli machines: remove debug prints
2024-02-02 17:40:19 +01:00
lassulus
8cbedfd3b8
clan-cli password-store: remove debug print
2024-02-02 17:40:19 +01:00
lassulus
ece289d0cc
clan-cli secrets: add check command
2024-02-02 17:40:19 +01:00
clan-bot
32110de07f
Merge pull request 'rename deployment address to target address' ( #798 ) from Mic92-target_host into main
2024-02-02 09:42:29 +00:00
Jörg Thalheim
584299e199
rename deployment address to target address
...
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
clan-bot
3183a3e2fc
Merge pull request 'Starting to implement logs' ( #796 ) from Qubasa-main into main
2024-02-02 05:07:39 +00:00
Qubasa
a894b358b4
vm-manager: Added log console printing on vm start. Added python logging module
2024-02-02 12:04:30 +07:00
clan-bot
833f114552
Merge pull request 'multi join via cli' ( #795 ) from hsjobeki-main into main
2024-02-02 04:01:49 +00:00
Johannes Kirschbauer
88a947f41a
multi join via cli
2024-02-02 10:58:28 +07:00
clan-bot
9e71e4244e
Merge pull request 'halalify zerotierone' ( #794 ) from lassulus-halalify into main
2024-02-01 14:46:53 +00:00
lassulus
165604e1ac
halalify zerotierone
2024-02-01 15:44:13 +01:00
clan-bot
70378a34aa
Merge pull request 'zerotier generate: kill process group' ( #793 ) from lassulus-zerotier-kill-pg into main
2024-02-01 09:14:17 +00:00
lassulus
1a6e99f4ff
zerotier generate: retry if port allocation fails
2024-02-01 10:11:30 +01:00
clan-bot
e30d811d7c
Merge pull request 'zerotier generate: kill process group' ( #792 ) from lassulus-zerotier-kill-pg into main
2024-02-01 09:06:22 +00:00
lassulus
5cc2413000
zerotier generate: kill process group
2024-02-01 10:01:28 +01:00
clan-bot
fe1f92dba8
Merge pull request 'qemu: init python modules for qmp and qga' ( #790 ) from DavHau-dave into main
2024-02-01 05:40:06 +00:00
DavHau
5bdbb43490
qemu: init python modules for qmp and qga
2024-02-01 12:32:21 +07:00
Qubasa
ed8e5d4022
Starting to implement logs
2024-02-01 10:21:58 +07:00
clan-bot
57bca781b0
Merge pull request 'vms: rename wayland attrs to waypipe' ( #789 ) from a-kenji-rename-wayland-to-waypipe into main
2024-02-01 03:17:12 +00:00
a-kenji
de041d4b2c
vms: rename wayland attrs to waypipe
...
And remove the options from the cli interface.
2024-02-01 10:14:36 +07:00
clan-bot
5d8f9d606b
Merge pull request 'vms: wayland attr specified in configuration' ( #787 ) from a-kenji-allow/wayland-in-config into main
2024-02-01 02:06:52 +00:00
a-kenji
7000caafa9
vms: wayland attr specified in configuration
2024-02-01 09:00:43 +07:00
clan-bot
31f58a9ce4
Merge pull request 'syncthing: remember auto accepted folders, if introduced' ( #786 ) from a-kenji-syncthing-default-accept into main
2024-01-31 15:39:50 +00:00
a-kenji
73d10c6337
syncthing: remember auto accepted folders, if introduced
...
Makes it more compatible with restoring state
2024-01-31 22:24:46 +07:00
clan-bot
6c9bf23901
Merge pull request 'group clans by url' ( #783 ) from hsjobeki-main into main
2024-01-31 04:23:15 +00:00
Johannes Kirschbauer
31fcaf0d4e
group clans by url
2024-01-31 11:20:35 +07:00
clan-bot
1e513d99f5
Merge pull request 'vm-state: fix and improve testing' ( #782 ) from DavHau-dave into main
2024-01-31 04:07:41 +00:00
DavHau
af9b4c32e8
Reapply "vm-state: fix and improve testing"
...
This reverts commit a429ab5d3c .
vm-state: revert sysusers, improve testing
zerotier: enable persistence
vm-state: cleanup tests
2024-01-31 11:02:16 +07:00
clan-bot
d3350cd362
Merge pull request 'syncthing: make inotify tuning overrideable' ( #781 ) from a-kenji-syncthing-inotify into main
2024-01-31 03:47:06 +00:00
a-kenji
14ff7551f1
syncthing: make inotify tuning overrideable
2024-01-31 10:44:31 +07:00
clan-bot
56fc022524
Merge pull request 'some minor secrets fixups' ( #780 ) from lassulus-secrets-fixes into main
2024-01-30 11:13:35 +00:00
lassulus
59c09a114c
secrets modules: pass secrets as bytes
2024-01-30 12:11:05 +01:00
lassulus
140973270a
secrets: add sandbox user
2024-01-30 12:11:05 +01:00
clan-bot
6229cab375
Merge pull request 'Machine __str__ impl' ( #779 ) from Qubasa-heads/origin/Qubasa-fix into main
2024-01-30 08:38:51 +00:00
Qubasa
e7668f6e41
Machine __str__ impl
2024-01-30 15:32:35 +07:00
clan-bot
3a4128d2e7
Merge pull request 'Added demo.sh to prepare demo environment' ( #777 ) from Qubasa-origin/Qubasa-fix into main
2024-01-30 08:04:49 +00:00
Qubasa
deae5c6168
UI: Fixed toggle button color on second time not changing
2024-01-30 15:02:05 +07:00
Qubasa
4b2657a9b3
Added demo.sh to prepare demo environment
2024-01-30 14:42:22 +07:00
clan-bot
76ccf36a58
Merge pull request 'Demo version' ( #776 ) from Qubasa-main into main
2024-01-30 07:05:55 +00:00
Qubasa
28a9367479
Demo version
2024-01-30 14:02:52 +07:00
clan-bot
4ea77cd7ef
Merge pull request 'URI: Fixed removed url fragment' ( #775 ) from Qubasa-main into main
2024-01-30 06:31:29 +00:00
Qubasa
af4de33292
URI: Fixed removed url fragment
2024-01-30 13:28:12 +07:00
clan-bot
c1cd070cfd
Merge pull request 'CLI: Added grouping output for clan history list.' ( #774 ) from Qubasa-main into main
2024-01-30 05:43:02 +00:00
Qubasa
f9754ee899
CLI: Added grouping output for clan history list.
2024-01-30 12:39:52 +07:00
clan-bot
059988b6ac
Merge pull request 'Fixed clan uri. Expand user, then resolve' ( #773 ) from Qubasa-main into main
2024-01-30 05:20:52 +00:00
Qubasa
07bec607bc
Fixed clan uri. Expand user, then resolve
2024-01-30 12:17:24 +07:00
clan-bot
ab91edf21f
Merge pull request 'clan-cli: implement waypipe backend' ( #772 ) from Mic92-main into main
2024-01-30 03:42:07 +00:00
Jörg Thalheim
33d755360d
clan-cli: implement waypipe backend
2024-01-30 10:37:52 +07:00
Jörg Thalheim
7b60678d1f
cmd: skip print for zero-length bufs
2024-01-30 10:30:25 +07:00
Jörg Thalheim
b4a94e66f8
clan-cli: drop unused variables
2024-01-30 10:30:25 +07:00
Jörg Thalheim
076b3b4ee2
drop unused unfree_nixpkgs function
2024-01-30 10:30:25 +07:00
clan-bot
36f5d61ce6
Merge pull request 'syncthing: add inotify' ( #771 ) from a-kenji-syncthing/add/initify into main
2024-01-29 10:26:55 +00:00
a-kenji
7ecf4f3c61
syncthing: add inotify
2024-01-29 11:23:32 +01:00
clan-bot
34eeaef416
Merge pull request 'clan-cli machines: get flake path via flake metadata' ( #770 ) from lassulus-flake_dir into main
2024-01-29 09:17:26 +00:00
lassulus
8862920b32
clan-cli machines: get flake path via flake metadata
2024-01-29 09:54:30 +01:00
clan-bot
a4b9ce2361
Merge pull request 'Revert "vm-state: fix and improve testing"' ( #768 ) from DavHau-revert into main
2024-01-29 08:20:09 +00:00
DavHau
a429ab5d3c
Revert "vm-state: fix and improve testing"
...
This reverts commit 41c97a5fce .
2024-01-29 15:16:10 +07:00
clan-bot
b93ab681b8
Merge pull request 'Secret mgmt problem' ( #767 ) from Qubasa-main into main
2024-01-29 08:15:44 +00:00
Qubasa
b10650b77b
UI: Display error logs on VM crash. Fixed inspect_vm problem.
2024-01-29 15:11:57 +07:00
clan-bot
a6bb737280
Merge pull request 'package vsock-enabled waypipe' ( #766 ) from Mic92-main into main
2024-01-29 07:29:22 +00:00
Qubasa
6da5ec6f1c
Secret mgmt problem
2024-01-29 14:00:38 +07:00
Jörg Thalheim
de604a3b74
package vsock-enabled waypipe
2024-01-29 11:48:08 +07:00
clan-bot
a3afeaf58c
Merge pull request 'flake.lock: Update' ( #764 ) from a-kenji-fix/update/nixpkgs into main
2024-01-29 04:31:36 +00:00
a-kenji
825a081fbd
flake.lock: Update
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/fa5db12d76f9e8ee11e572cdbe021230e48b6afa' (2024-01-11)
→ 'github:nix-community/disko/f67ba6552845ea5d7f596a24d57c33a8a9dc8de9' (2024-01-29)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/246219bc21b943c6f6812bb7744218ba0df08600' (2023-12-04)
→ 'github:nix-community/nixos-generators/896f6589db5b25023b812bbb6c1f5d3a499b1132' (2024-01-24)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ada47602cea34540873ddf17e49c32b50fd70d2a' (2024-01-24)
→ 'github:NixOS/nixpkgs/50071d87c75300c037e28439c5176c3933b9fce5' (2024-01-28)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c0b3a5af90fae3ba95645bbf85d2b64880addd76' (2024-01-10)
→ 'github:Mic92/sops-nix/73bf36912e31a6b21af6e0f39218e067283c67ef' (2024-01-28)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/04f25d7bec9fb29d2c3bacaa48a3304840000d36' (2024-01-07)
→ 'github:numtide/treefmt-nix/c6153c2a3ff4c38d231e3ae99af29b87f1df5901' (2024-01-28)
2024-01-29 05:14:09 +01:00
clan-bot
74a9faac87
Merge pull request 'nix-direnv-watch-file -> watch-file' ( #763 ) from Mic92-main into main
2024-01-29 04:11:13 +00:00
Jörg Thalheim
4ed946850f
nix-direnv-watch-file -> watch-file
2024-01-29 11:02:43 +07:00
DavHau
41c97a5fce
vm-state: fix and improve testing
...
Also adds qemu qga protocol implementation to execute commands
2024-01-26 19:41:05 +07:00
clan-bot
dce7a67ecb
Merge pull request 'clan-cli secrets: generate secrets inside bubblewrap' ( #761 ) from lassulus-bubblewrap into main
2024-01-24 18:23:31 +00:00
lassulus
1b9445b71f
clan-cli secrets: generate secrets inside bubblewrap
2024-01-24 19:20:07 +01:00
clan-bot
a91504f0b2
Merge pull request 'clan-cli secrets: add secret_store as python class' ( #733 ) from lassulus-HEAD into main
2024-01-24 14:52:14 +00:00
lassulus
b6e67aac60
clan-cli install: use new Machine interface, fix mypy error
2024-01-24 15:49:24 +01:00
lassulus
8ac9ad3133
clan-cli update: use new Machine class interface
2024-01-24 15:49:12 +01:00
lassulus
875d79c57a
clan-cli Machine: make deployment info lazy
2024-01-24 15:49:12 +01:00
lassulus
f67e750bbf
clan-cli backups: use new machine class for eval
2024-01-24 15:49:12 +01:00
lassulus
96c92a4cc0
test_vm_persistance: substitute clan-core repo
2024-01-24 15:49:12 +01:00
lassulus
bdd1f9be6d
machines.Machine: refactor flake_dir -> flake; use Machine class in vm
2024-01-24 15:49:12 +01:00
lassulus
b98e15d6d7
test_vm_persistance: add age keys
2024-01-24 15:49:12 +01:00
lassulus
ce28342ba3
secret generators: run with set -efu -o pipefail
2024-01-24 15:49:12 +01:00
lassulus
1d4e533438
move secret stores into clan_cli codebase
2024-01-24 15:49:12 +01:00
clan-bot
0fe91a28c3
Merge pull request 'Fix zerotier in vms' ( #759 ) from a-kenji-fix-zerotier-state-vm into main
2024-01-23 19:39:13 +00:00
a-kenji
14c50dc305
fix zerotier in vms
2024-01-23 19:43:42 +01:00
Jörg Thalheim
b5a12bc4ba
move python code in nixos Module to external file
2024-01-23 15:04:40 +01:00
lassulus
ed6eb50f7d
WIP: clan-cli secrets: add secret_store as python class
2024-01-23 15:04:40 +01:00
clan-bot
3f8ddb716b
Merge pull request 'prepare details view' ( #755 ) from hsjobeki-main into main
2024-01-21 11:48:36 +00:00
Johannes Kirschbauer
5533b7780c
prepare details view
2024-01-21 12:46:04 +01:00
clan-bot
bb16abf6d2
Merge pull request 'add search bar' ( #754 ) from hsjobeki-main into main
2024-01-21 11:16:14 +00:00
Johannes Kirschbauer
3c018e30bd
add search bar
2024-01-21 12:13:15 +01:00
clan-bot
8286b05651
Merge pull request 'add join to list' ( #753 ) from hsjobeki-main into main
2024-01-20 13:54:22 +00:00
Johannes Kirschbauer
94cfd4547c
display id as subtitle
2024-01-20 14:51:37 +01:00
clan-bot
e38a0d2c72
Merge pull request 'add join to list' ( #752 ) from hsjobeki-main into main
2024-01-20 12:21:23 +00:00
Johannes Kirschbauer
b96fdcc178
add join to list
2024-01-20 13:18:43 +01:00
clan-bot
bb3f264645
Merge pull request 'organize files and classes consistently' ( #751 ) from hsjobeki-main into main
2024-01-20 09:15:48 +00:00
Johannes Kirschbauer
efea7698b3
organize files and classes consistently
2024-01-20 10:12:37 +01:00
clan-bot
eb477c3ba2
Merge pull request 'UI: Added signal handling for stopped and started vm.' ( #750 ) from Qubasa-main into main
2024-01-19 17:58:10 +00:00
Qubasa
a38f45db0a
Remove error from qemu_command
2024-01-19 18:54:54 +01:00
Qubasa
f4ccb09406
UI: Added signal handling for stopped and started vm.
2024-01-19 18:52:51 +01:00
clan-bot
2768695be2
Merge pull request 'localsend: add notes about future integrations' ( #749 ) from a-kenji-localsend-notes into main
2024-01-19 16:02:42 +00:00
a-kenji
2d6a1ba07e
localsend: add notes about future integrations
2024-01-19 16:59:32 +01:00
clan-bot
682b4011ed
Merge pull request 'Otherwise we loose our build inputs' ( #747 ) from Mic92-main into main
2024-01-19 14:05:51 +00:00
Jörg Thalheim
e93dff98f6
don't garbage collect in nix vm tests
...
Otherwise we loose our build inputs
2024-01-19 15:02:25 +01:00
clan-bot
28f94f04a8
Merge pull request 'Improved error messages in clan_cli' ( #746 ) from Qubasa-main into main
2024-01-19 13:13:46 +00:00
Qubasa
154bdc384f
Improved error messages in clan_cli
2024-01-19 14:10:22 +01:00
clan-bot
8aa1f93fca
Merge pull request 'Wrapped vm.run in cmd.run. Working --wayland' ( #745 ) from Qubasa-main into main
2024-01-19 13:00:04 +00:00
Qubasa
01a61f778b
Wrapped vm.run in cmd.run. Working --wayland
2024-01-19 13:56:17 +01:00
Mic92
ae155ec03a
Merge pull request 'build-clan: force system override in secrets generators' ( #744 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/744
2024-01-17 14:40:46 +00:00
Jörg Thalheim
a183553419
build-clan: force system override in secrets generators
2024-01-17 14:40:46 +00:00
clan-bot
4f13eab871
Merge pull request 'build-clan: don't set system with lib.mkForce' ( #743 ) from Mic92-main into main
2024-01-17 14:28:27 +00:00
Jörg Thalheim
cc1ad1dc52
build-clan: don't set system with lib.mkForce
2024-01-17 15:25:29 +01:00
Johannes Kirschbauer
00a03fc502
Gtk4 migration ( #693 )
...
Co-authored-by: Qubasa <consulting@qube.email >
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/693
Co-authored-by: Johannes Kirschbauer <hsjobeki@gmail.com >
Co-committed-by: Johannes Kirschbauer <hsjobeki@gmail.com >
2024-01-17 12:11:49 +00:00
clan-bot
c862aa342b
Merge pull request 'clanModules: init localsend module' ( #741 ) from a-kenji-init/localsend into main
2024-01-17 10:25:29 +00:00
a-kenji
9aeaceeb65
clanModules: init localsend module
2024-01-17 11:12:09 +01:00
clan-bot
b6a7fd5be1
Merge pull request 'disable state home for now' ( #740 ) from Mic92-main into main
2024-01-17 10:03:48 +00:00
Jörg Thalheim
04ceef6633
use upstream qemu for wayland feature
2024-01-17 11:00:45 +01:00
Jörg Thalheim
c66df25ad1
disable state home for now
2024-01-17 10:59:01 +01:00
clan-bot
01294ef9e5
Merge pull request 'bump nixpkgs' ( #739 ) from Mic92-main into main
2024-01-17 09:53:36 +00:00
Jörg Thalheim
23d5f951a4
bump nixpkgs
2024-01-17 10:45:49 +01:00
clan-bot
427eaaca4e
Merge pull request 'docs: categorize via sub-directories for inclusion in website' ( #738 ) from DavHau-main into main
2024-01-17 06:55:51 +00:00
DavHau
b029798dfb
docs: categorize via sub-directories for inclusion in website
2024-01-17 13:53:24 +07:00
clan-bot
63e8a5a827
Merge pull request 'state.nix: improve docs' ( #732 ) from DavHau-main into main
2024-01-17 06:51:55 +00:00
clan-bot
509c8cc72b
Merge pull request 'URI: Added support for #flake_attr' ( #736 ) from Qubasa-main into main
2024-01-16 16:14:37 +00:00
Qubasa
6d532174d9
URI: Added support for #flake_attr
2024-01-16 17:11:26 +01:00
clan-bot
5c06aa7d71
Merge pull request 'CLI: History supports multiple attrs from the same url now. Errors when executing the cli are formatted better' ( #735 ) from Qubasa-main into main
2024-01-16 15:19:10 +00:00
Qubasa
8da8889b5d
CLI: History supports multiple attrs from the same url now. Errors when executing the cli are formatted better
2024-01-16 16:16:12 +01:00
clan-bot
a919a888f9
Merge pull request 'clanModules: disable nixos manual by default' ( #734 ) from a-kenji-disable-manual into main
2024-01-16 14:21:23 +00:00
a-kenji
c7df270a47
clanModules: disable nixos manual by default
2024-01-16 15:14:16 +01:00
DavHau
2e10eea514
state.nix: improve docs
2024-01-15 16:03:47 +07:00
clan-bot
6c9ceee3e2
Merge pull request 'add option to orbit moons' ( #729 ) from Mic92-zerotier into main
2024-01-12 17:34:09 +00:00
Jörg Thalheim
234dec62b3
add option to orbit moons
2024-01-12 18:31:18 +01:00
clan-bot
f988e11c1f
Merge pull request 'zerotier: add support for moons' ( #728 ) from Mic92-zerotier into main
2024-01-12 17:28:42 +00:00
Jörg Thalheim
5e0e4a9a32
zerotier: add support for moons
2024-01-12 18:26:00 +01:00
clan-bot
37c425d624
Merge pull request 'cmd.py refactor part 7' ( #727 ) from Qubasa-main into main
2024-01-12 16:41:21 +00:00
Qubasa
de52a55228
cmd.py refactor part 7
2024-01-12 17:37:59 +01:00
clan-bot
202830abc8
Merge pull request 'cmd.py refactor part 6' ( #726 ) from Qubasa-main into main
2024-01-12 16:25:16 +00:00
Qubasa
a72477e574
cmd.py refactor part 6
2024-01-12 17:21:48 +01:00
Qubasa
38e2c29f08
cmd.py refactor part 6
2024-01-12 17:02:56 +01:00
clan-bot
94ddb813b7
Merge pull request 'cmd.py refactor part 5' ( #724 ) from Qubasa-main into main
2024-01-12 15:55:46 +00:00
Qubasa
6b39ea5592
cmd.py refactor part 5
2024-01-12 16:52:34 +01:00
clan-bot
1169f88db4
Merge pull request 'Fixed duplicate logging issue with correct logging in ssh and in root logger' ( #723 ) from Qubasa-main into main
2024-01-12 15:49:52 +00:00
Qubasa
5730dd8921
Fixed duplicate logging issue with correct logging in ssh and in root logger
2024-01-12 16:46:44 +01:00
Jörg Thalheim
c65f1237fd
add moonlight module
2024-01-12 16:02:24 +01:00
clan-bot
d5946b44ed
Merge pull request 'zerotier: configure alternative tcp fallback relay' ( #721 ) from Mic92-HEAD into main
2024-01-12 14:15:54 +00:00
Jörg Thalheim
40a2d89431
zerotier: configure alternative tcp fallback relay
2024-01-12 15:13:20 +01:00
clan-bot
5662e7fbf4
Merge pull request 'revert logger changes in 6647c38417e41d926009f1c5cd91e05d5ae1cba5' ( #720 ) from Mic92-HEAD into main
2024-01-12 13:52:27 +00:00
Jörg Thalheim
6ef8fd95fa
revert logger changes in 6647c38417
...
This adds another logger to the logger in clan_cli.ssh which we do not want
2024-01-12 14:48:36 +01:00
clan-bot
80135e615d
Merge pull request 'zt-tcp-relay: add clan module + test' ( #719 ) from Mic92-HEAD into main
2024-01-12 13:27:52 +00:00
Jörg Thalheim
08085d81dd
zt-tcp-relay: add clan module + test
2024-01-12 14:25:31 +01:00
clan-bot
bea04318fd
Merge pull request 'zt-tcp-relay: init at 2023-07-11' ( #718 ) from Mic92-HEAD into main
2024-01-12 12:53:09 +00:00
Jörg Thalheim
a7551c16e2
zt-tcp-relay: init at 2023-07-11
2024-01-12 13:49:36 +01:00
clan-bot
a4b4a2bc0d
Merge pull request 'drop qemu-rutabaga patches' ( #717 ) from Mic92-HEAD into main
2024-01-12 11:27:07 +00:00
Jörg Thalheim
31fcd44351
drop qemu-rutabaga patches
2024-01-12 12:20:29 +01:00
clan-bot
ca0dfe9f78
Merge pull request 'cmd: add a timeout in select' ( #716 ) from Mic92-HEAD into main
2024-01-11 23:23:57 +00:00
Jörg Thalheim
a83d7e0afc
cmd: add a timeout in select
2024-01-12 00:20:22 +01:00
clan-bot
aa2c3aaa53
Merge pull request 'Re-added rlist.remove to counter busy loop' ( #715 ) from Qubasa-main into main
2024-01-11 23:16:51 +00:00
Qubasa
12896d72ea
cmd.py: Fix busy loop.
2024-01-12 00:13:21 +01:00
Qubasa
b4a3be7628
Re-added rlist.remove to counter busy loop
2024-01-12 00:08:15 +01:00
clan-bot
291fc2ac3d
Merge pull request 'cmd.py: Fix deadlock because of incorrect select usage' ( #714 ) from Qubasa-main into main
2024-01-11 22:06:29 +00:00
Qubasa
c56e1d1684
cmd.py: Fix deadlock because of incorrect select usage
2024-01-11 23:03:14 +01:00
clan-bot
c2f8fa87cc
Merge pull request 'Removed duplicate logging messages' ( #713 ) from Qubasa-main into main
2024-01-11 21:49:30 +00:00
Qubasa
f087f527cc
Removed duplicate logging messages
2024-01-11 22:46:29 +01:00
clan-bot
d99e8f79c5
Merge pull request 'cmd.py refactor part 4' ( #707 ) from Qubasa-main into main
2024-01-11 21:31:42 +00:00
Qubasa
2c6c4bacce
Identified deadlocking funciton
2024-01-11 22:28:35 +01:00
Qubasa
a98463e3b9
Enabled logging DEBUG in pytest
2024-01-11 22:14:55 +01:00
Qubasa
6647c38417
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Qubasa
038aa769aa
cmd.py: Fixing bug: missing output because of forgotten flush() call
2024-01-11 21:11:49 +01:00
Qubasa
3ed58de082
Fixed missing log.BOTH and error_msg at prev refactors
2024-01-11 21:11:49 +01:00
Qubasa
13ba1440bd
cmd.py refactor part 4
2024-01-11 21:11:49 +01:00
clan-bot
0179cec841
Merge pull request 'make zerotier name configureable' ( #711 ) from Mic92-zerotier into main
2024-01-11 17:05:54 +00:00
Jörg Thalheim
656d94ed4d
schema-check: set clanName dummy
2024-01-11 18:02:50 +01:00
Jörg Thalheim
bb26c85573
drop deadcode
2024-01-11 18:00:42 +01:00
Jörg Thalheim
ca0749c76f
drop runSchemaTests/runMockApi from checks
2024-01-11 17:53:06 +01:00
Jörg Thalheim
163abdb311
schema: set also clanName
...
this is usually set by buildClan
2024-01-11 17:41:41 +01:00
Jörg Thalheim
5dd222eb69
zerotier: set interface altname
2024-01-11 15:51:34 +01:00
clan-bot
5ed1db4f1e
Merge pull request 'zerotier-members: add ipv6 to list display' ( #712 ) from lassulus-zerotier-list into main
2024-01-11 14:49:28 +00:00
lassulus
babf69af4e
zerotier-members: add ipv6 to list display
2024-01-11 15:46:26 +01:00
Jörg Thalheim
449b884231
zerotier: use configuration file instead to set the network name
2024-01-11 14:57:00 +01:00
Jörg Thalheim
7e644a2054
make zerotier name configureable
2024-01-11 14:57:00 +01:00
clan-bot
b8bda773c4
Merge pull request 'zerotier: delete old networks' ( #709 ) from Mic92-zerotier into main
2024-01-11 12:29:09 +00:00
Jörg Thalheim
ab381dfb75
zerotier: delete old networks
2024-01-11 13:24:00 +01:00
Mic92
8bc16b0f87
Merge pull request 'meshnamed: mark networkmanager interfaces as unmanaged' ( #708 ) from zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/708
2024-01-11 11:47:59 +00:00
Jörg Thalheim
0a5b5e9b5c
meshnamed: mark networkmanager interfaces as unmanaged
2024-01-11 12:17:44 +01:00
clan-bot
7ce276c25c
Merge pull request 'cmd.py part 3 refactor' ( #706 ) from Qubasa-main into main
2024-01-10 17:57:51 +00:00
Qubasa
25e6f90b01
Improved error message. Fixed incorrect ret code check in git.py
2024-01-10 18:54:34 +01:00
Qubasa
50781d6cf0
Fixed bug, where exception is raised where there shouldn't be raised one
2024-01-10 18:46:54 +01:00
Qubasa
513f48bab1
cmd.py part 3 refactor
2024-01-10 18:39:19 +01:00
Mic92
7bb78ce5a6
Merge pull request 'open up zerotier ports' ( #705 ) from Mic92-wayland-update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/705
2024-01-10 17:24:41 +00:00
Jörg Thalheim
eb42320d14
open up zerotier ports
2024-01-10 17:24:41 +00:00
clan-bot
726ba6147f
Merge pull request 'Added ClanCmdError. cmd.run now returns this error' ( #704 ) from Qubasa-main into main
2024-01-10 17:02:08 +00:00
Qubasa
cbc4c966f1
Added ClanCmdError. cmd.run now returns this error
2024-01-10 17:58:39 +01:00
clan-bot
e75b4ac6e6
Merge pull request 'Refactor subprocess to cmd.py part 2' ( #685 ) from Qubasa-main into main
2024-01-10 16:34:38 +00:00
Qubasa
2f9195b779
Fix cmd to default print on all outputs. Default print on stderr
2024-01-10 17:31:11 +01:00
Qubasa
715ed10e59
nix fmt
2024-01-10 17:19:33 +01:00
Qubasa
cc6f9e67fa
nix fmt
2024-01-10 17:19:12 +01:00
Qubasa
6f27cd8b6a
Updated cmd.py with Mic92 changes to fit previous changes
2024-01-10 17:18:21 +01:00
clan-bot
22b1438c37
Merge pull request 're-anble pulseaudio in qemu' ( #703 ) from Mic92-wayland-update into main
2024-01-10 14:36:25 +00:00
Mic92
65b3657eac
Merge branch 'main' into Mic92-wayland-update
2024-01-10 14:33:55 +00:00
Jörg Thalheim
d72bb17878
re-anble pulseaudio in qemu
2024-01-10 15:32:37 +01:00
Qubasa
7049573d28
Refactor subprocess to cmd.py part 2
2024-01-10 12:11:29 +01:00
clan-bot
98fff1f390
Merge pull request 'state: declare /home as state by default' ( #702 ) from DavHau-main into main
2024-01-10 10:40:36 +00:00
DavHau
49eca79751
state: declare /home as state by default
2024-01-10 17:37:40 +07:00
clan-bot
940f2fc68b
Merge pull request 'state: move options clanCore.state to a separate file' ( #701 ) from DavHau-main into main
2024-01-10 10:13:13 +00:00
DavHau
9f6af4129a
state: move options clanCore.state to a separate file
2024-01-10 17:10:10 +07:00
clan-bot
9f4e38fcf0
Merge pull request 'cmd: rework redirecting stdout/stderr' ( #700 ) from Mic92-wayland-update into main
2024-01-09 16:39:19 +00:00
Jörg Thalheim
b476f6386d
cmd: rework redirecting stdout/stderr
2024-01-09 17:34:43 +01:00
clan-bot
11cc850bed
Merge pull request 'VMs: ensure state dirs don't collide between clans' ( #699 ) from DavHau-main into main
2024-01-09 10:25:39 +00:00
DavHau
368931c5af
VMs: ensure state dirs don't collide between clans
2024-01-09 17:22:48 +07:00
clan-bot
2426094aad
Merge pull request 'VMs: port vm_persistence test to python' ( #698 ) from DavHau-main into main
2024-01-09 07:50:31 +00:00
DavHau
5cdd9a1817
VMs: port vm_persistence test to python
2024-01-09 14:47:33 +07:00
clan-bot
b26ab00edb
Merge pull request 'zerotier-members: print authorized state on list' ( #697 ) from lassulus-member_list_auth into main
2024-01-08 21:32:00 +00:00
lassulus
ae774353c1
zerotier-members: print authorized state on list
2024-01-08 22:28:13 +01:00
clan-bot
b092743ddd
Merge pull request 'VMs: persist state folders on host' ( #696 ) from DavHau-main into main
2024-01-08 11:42:19 +00:00
DavHau
4bdf769075
VMs: persist state folders on host
...
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders
TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00
clan-bot
e08698aac3
Merge pull request 'move selected_vm to the ClanListToolbar constructor' ( #690 ) from Mic92-wayland-update into main
2024-01-04 17:53:02 +00:00
clan-bot
55047c1320
Merge pull request 'Update start/stop button based on VM state' ( #689 ) from Mic92-wayland-update into main
2024-01-04 17:50:25 +00:00
Jörg Thalheim
8e00120724
move selected_vm to the ClanListToolbar constructor
2024-01-04 18:50:21 +01:00
Jörg Thalheim
a80c386e44
Update start/stop button based on VM state
2024-01-04 18:47:52 +01:00
Jörg Thalheim
0192ec2d4f
executor: simplify running_procs
2024-01-04 18:42:13 +01:00
clan-bot
a3294ab714
Merge pull request 'reduce number of eval workers' ( #688 ) from Mic92-wayland-update into main
2024-01-04 16:21:16 +00:00
clan-bot
e9dc905148
Merge pull request 'clan-vm-manager: make joining clan url more logical' ( #687 ) from Mic92-wayland-update into main
2024-01-04 16:18:29 +00:00
Jörg Thalheim
b4c5168855
reduce number of eval workers
2024-01-04 17:18:10 +01:00
Jörg Thalheim
cb9b25b34d
clan-vm-manager: make joining clan url more logical
...
The icon is confusing. It distracts from the actual "Join" label. Also when a user
copy in an URL we can assume they trust the content, which might be not the case
when they just clicked on an URL.
2024-01-04 17:08:01 +01:00
Jörg Thalheim
11a2e808f0
clan-vm-manager: rename "New" to "Join Clan"
2024-01-04 16:50:19 +01:00
Jörg Thalheim
61a0c69b38
clan-vm-manager: rename "Online" to "Status"
...
online means connected to some network, which is not what this field shows.
2024-01-04 16:49:21 +01:00
clan-bot
f7c0a7d8bd
Merge pull request 'strip whitespace from clan uris' ( #686 ) from Mic92-wayland-update into main
2024-01-04 15:34:10 +00:00
clan-bot
3c1d48fc93
Merge pull request 'switch to xwayland display :1' ( #683 ) from Mic92-wayland-update into main
2024-01-04 15:31:10 +00:00
Jörg Thalheim
f240dc9338
strip whitespace from clan uris
2024-01-04 16:30:26 +01:00
Jörg Thalheim
907520cb7e
update nix-direnv
2024-01-04 16:24:26 +01:00
Jörg Thalheim
25fd707c3f
switch to xwayland display :1
...
no conflict with Xorg
2024-01-04 16:18:27 +01:00
clan-bot
d0f1cf6720
Merge pull request 'Fix broken executor.py' ( #684 ) from Qubasa-main into main
2024-01-03 12:42:03 +00:00
Qubasa
b87010016d
Fix broken executor.py
2024-01-03 13:26:25 +01:00
clan-bot
4f432bb5af
Merge pull request 'clan_uri: Support all other formats by just differentiating between remote and local' ( #680 ) from Qubasa-main into main
2024-01-02 16:24:51 +00:00
Qubasa
f424395bd3
Fixed cmd.py writing to stderr
2024-01-02 17:21:06 +01:00
Qubasa
9c7f62a4a5
Refactor subprocess to cmd.py part 1. Fixed clan_uri test.
2024-01-02 17:21:06 +01:00
Qubasa
1986271bef
delete unecessary f.truncate
2024-01-02 17:21:06 +01:00
Qubasa
79b651a6f2
Fixed unsafe dirs.py urlquoting, improved cmd.py run func
2024-01-02 17:21:06 +01:00
Qubasa
d7c5850f2f
clan_uri: Support all other formats by just differentiating between remote and local
2024-01-02 17:21:05 +01:00
clan-bot
cce293fab5
Merge pull request 'Executor: drop unused in_file' ( #682 ) from Mic92-wayland-update into main
2024-01-02 14:46:25 +00:00
Jörg Thalheim
c889b2ade1
only set process title on Linux
...
the systemcall is not portable
2024-01-02 15:44:28 +01:00
Jörg Thalheim
c07e7868a5
Executor: drop unused in_file
2024-01-02 15:44:28 +01:00
clan-bot
77b4ef4ba0
Merge pull request 'drop references to debug.py' ( #681 ) from Mic92-wayland-update into main
2024-01-02 14:26:02 +00:00
Jörg Thalheim
2ec7282389
drop references to debug.py
2024-01-02 15:22:36 +01:00
clan-bot
328a24ab39
Merge pull request 'Automatic flake update - 2024-01-01T00:00+00:00' ( #670 ) from flake-update-2024-01-01 into main
2024-01-02 14:14:59 +00:00
clan-bot
76c896605b
Merge pull request 'fix: join workflow' ( #677 ) from hsjobeki-main into main
2024-01-02 09:05:41 +00:00
Johannes Kirschbauer
ea0fd3ba84
rebase
2024-01-02 10:02:25 +01:00
clan-bot
bba05382cf
Merge pull request 'dirs.py: remove outdated comment' ( #676 ) from DavHau-main into main
2024-01-02 07:29:05 +00:00
DavHau
e5c238346a
dirs.py: remove outdated comment
2024-01-02 14:25:37 +07:00
clan-bot
8a8a7fb52d
Merge pull request 'vm-manager: More error handling' ( #675 ) from Qubasa-main into main
2024-01-02 06:27:30 +00:00
Qubasa
af6722daa0
vm-manager: Added right click context menu
2024-01-02 07:24:30 +01:00
Qubasa
5d69830f1a
vm-manager: More error handling
2024-01-02 06:23:55 +01:00
clan-bot
b6bcf8dfa7
Merge pull request 'Added show_error_dialogue on exception' ( #674 ) from Qubasa-main into main
2024-01-02 04:57:05 +00:00
Qubasa
1a3a33281b
Added show_error_dialogue on exception
2024-01-02 05:54:19 +01:00
clan-bot
101331b90a
Merge pull request 'Removed unecessary debug.py and test code' ( #672 ) from Qubasa-main into main
2024-01-01 18:01:16 +00:00
Qubasa
9f75237d27
Removed unecessary debug.py and test code
2024-01-01 18:58:12 +01:00
clan-bot
cbcc68ebeb
Merge pull request 'history: added vm config to FlakeConfig' ( #671 ) from Qubasa-origin/Qubasa-main-no-flake-update into main
2024-01-01 17:27:48 +00:00
Qubasa
4265f53d37
Added settings attribute to history file
2024-01-01 18:24:40 +01:00
Clan Merge Bot
644af3e164
update flake lock - 2024-01-01T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/1144887c6f4d2dcbb2316a24364ef53e25b0fcfe' (2023-12-06)
→ 'github:nix-community/disko/0ce1b15b99ac7c280384f136eae00b968f5b3f72' (2023-12-28)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1f8d62a69936dd899d0e7c955537b2f4ca5bc623' (2023-12-10)
→ 'github:NixOS/nixpkgs/eae82ed71467a19374437376fbb7f5e3ad486aeb' (2023-12-31)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/d806e546f96c88cd9f7d91c1c19ebc99ba6277d9' (2023-12-10)
→ 'github:Mic92/sops-nix/cfdbaf68d00bc2f9e071f17ae77be4b27ff72fa6' (2023-12-31)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/afdd5e48a0869b389027307652a658051c0d2f96' (2023-12-10)
→ 'github:numtide/treefmt-nix/2961375283668d867e64129c22af532de8e77734' (2023-12-19)
2024-01-01 00:00:16 +00:00
Qubasa
3c5dd31501
Added write and read history file functions
2023-12-31 15:17:12 +01:00
Qubasa
17f5d90926
history: added vm config to FlakeConfig
2023-12-31 14:56:03 +01:00
clan-bot
a7718a4ab7
Merge pull request 'vm-manager: Fixed quit application not working bug' ( #668 ) from Qubasa-main into main
2023-12-31 13:16:16 +00:00
Qubasa
cddce324ef
vm-manager: Fixed quit application not working bug
2023-12-31 14:13:11 +01:00
clan-bot
e1ad63668d
Merge pull request 'cli: fixed run vm not working with url' ( #667 ) from Qubasa-main into main
2023-12-31 13:00:03 +00:00
Qubasa
d604255217
cli: fixed run vm not working with url
2023-12-31 13:56:55 +01:00
clan-bot
d9603927a4
Merge pull request 'cli: Switched b64 encoding of gcroot names to urlparse' ( #666 ) from Qubasa-main into main
2023-12-31 12:54:29 +00:00
Qubasa
6abfe4d595
cli: Switched b64 encoding of gcroot names to urlparse
2023-12-31 13:51:13 +01:00
clan-bot
8d2e0864ae
Merge pull request 'Removed unused ui-assets workflow file.' ( #665 ) from Qubasa-main into main
2023-12-30 23:53:14 +00:00
Qubasa
cb933787ff
Added gcroot for clan Icon and VM
2023-12-31 00:49:57 +01:00
Qubasa
5c08242b7e
Removed unused ui-assets workflow file.
2023-12-30 23:14:32 +01:00
clan-bot
1703c06995
Merge pull request 'Removed python deal.' ( #664 ) from Qubasa-main into main
2023-12-30 22:13:48 +00:00
Qubasa
001a48da52
Removed python deal.
2023-12-30 23:10:43 +01:00
clan-bot
3b815961bd
Merge pull request 'dialog prepare flash usb window' ( #663 ) from hsjobeki-main into main
2023-12-30 10:17:34 +00:00
Johannes Kirschbauer
d346f90e43
prepare flash usb window
2023-12-30 11:14:45 +01:00
clan-bot
4916336e1c
Merge pull request 'new clan; Join page with none as initial value' ( #662 ) from hsjobeki-main into main
2023-12-30 09:47:01 +00:00
Johannes Kirschbauer
76c06f4be1
error handling. add: dialog
2023-12-30 10:43:03 +01:00
Johannes Kirschbauer
7f604a41f2
error handling. add: dialog
2023-12-30 10:41:33 +01:00
clan-bot
330fb6bc6a
Merge pull request 'new clan; Join page with none as initial value' ( #661 ) from hsjobeki-main into main
2023-12-28 13:34:30 +00:00
Johannes Kirschbauer
44d269fcc0
new clan; Join page with none as initial value
2023-12-28 14:30:58 +01:00
clan-bot
5879c852d3
Merge pull request 'UI: Added process executor. Display vm status correctly in list. | CLI: Added get_qemu_version(), fixed virtio audio bug.' ( #660 ) from Qubasa-main into main
2023-12-26 17:23:35 +00:00
Qubasa
c6188c17fb
pytest: Removed -s flag for CI
2023-12-26 18:20:41 +01:00
Qubasa
e17508702a
UI: Added process executor. Display vm status correctly in list. | CLI: Added get_qemu_version(), fixed virtio audio bug.
2023-12-26 18:02:43 +01:00
clan-bot
a7ac0aa1b6
Merge pull request 'cli/install: add option to specify alternative kexec url' ( #659 ) from Mic92-wayland-update into main
2023-12-26 13:40:29 +00:00
Jörg Thalheim
a057f58229
cli/install: add option to specify alternative kexec url
2023-12-26 14:36:51 +01:00
clan-bot
7c43cf5ecc
Merge pull request 'qemu-wayland: upgrade to latest 8.2.0 & enable virtio-audio' ( #657 ) from Mic92-wayland-update into main
2023-12-21 14:54:23 +00:00
Jörg Thalheim
38f9642d29
rutabaga_gfx_ffi: unstable-2023-12-05 -> unstable-2023-12-20
2023-12-21 15:46:31 +01:00
Jörg Thalheim
db0e792052
gfxstream: unstable-2023-12-11 -> unstable-2023-12-19
2023-12-21 15:41:57 +01:00
Jörg Thalheim
06b71c8d60
aemu: unstable-2023-11-10 -> unstable-2023-08-31
2023-12-21 15:41:21 +01:00
Jörg Thalheim
dfcac47e00
qemu-wayland: upgrade to latest 8.2.0
2023-12-21 15:40:50 +01:00
Jörg Thalheim
ca70dee092
switch to virtio-audio
2023-12-21 15:39:27 +01:00
clan-bot
def8b845ad
Merge pull request 'clan_vm_manager: Partially working process executor with killpg' ( #656 ) from Qubasa-main into main
2023-12-19 17:05:21 +00:00
Qubasa
30d80a3b28
nix fmt
2023-12-19 18:02:06 +01:00
Qubasa
aaf2fd5569
Improved spawn interface. Added garbage collector
2023-12-19 17:51:43 +01:00
Qubasa
646671a89f
Fully working executor
2023-12-19 16:44:36 +01:00
Qubasa
c64420f191
Added proc executor
2023-12-19 16:44:36 +01:00
Qubasa
62e8da8f41
merge
2023-12-19 16:44:36 +01:00
Qubasa
b53df4f896
clan_vm_manager: Partially working process executor with killpg
2023-12-19 16:44:36 +01:00
clan-bot
5517f3c57e
Merge pull request 'modules/syncthing: use generator path' ( #655 ) from a-kenji-syncthing-add-path into main
2023-12-19 13:17:34 +00:00
a-kenji
a834143ce2
modules/syncthing: use generator path
2023-12-19 14:14:29 +01:00
clan-bot
136655e682
Merge pull request 'join window' ( #654 ) from hsjobeki-main into main
2023-12-19 12:58:04 +00:00
Johannes Kirschbauer
24207a8f5a
join window
2023-12-19 13:39:22 +01:00
clan-bot
4839835437
Merge pull request 'add installer test' ( #653 ) from lassulus-ssh_test into main
2023-12-18 22:46:18 +00:00
lassulus
71469d4c8c
checks: add test-installation
2023-12-18 23:41:31 +01:00
lassulus
0490cbb52c
checks backups: remove debug output
2023-12-18 23:41:31 +01:00
lassulus
f932dab29c
flake: define option for clanInternals
...
We need this to define test machines in different flake modules
2023-12-18 23:41:31 +01:00
clan-bot
40124d707d
Merge pull request 'checks: move ssh_keys to lib/ssh' ( #651 ) from lassulus-ssh_test into main
2023-12-16 21:53:57 +00:00
lassulus
dc08be2879
checks: move ssh_keys to lib/ssh
2023-12-16 22:52:18 +01:00
clan-bot
b47a8d00a1
Merge pull request 'checks: add backup test' ( #650 ) from lassulus-backups_test into main
2023-12-16 21:04:06 +00:00
lassulus
be33de4ddd
checks backup: limit to linux systems
2023-12-16 22:02:36 +01:00
lassulus
1c07eacdce
clan_cli: remove incorrect clan_flake check
2023-12-16 21:46:19 +01:00
lassulus
21fd3a74bb
machines build_machine_data: raise ClanError on error
2023-12-16 21:46:19 +01:00
lassulus
a36743fcd9
backups borgbackup: remove dry-run from restore
2023-12-16 21:46:19 +01:00
lassulus
e1094742d3
checks: add backup test
2023-12-16 21:46:19 +01:00
clan-bot
c771afc4da
Merge pull request 'multi window mess' ( #649 ) from hsjobeki-main into main
2023-12-16 14:02:16 +00:00
Johannes Kirschbauer
b2ec5bd220
add debugging help
2023-12-16 15:00:43 +01:00
clan-bot
f26996aaaa
Merge pull request 'multi window mess' ( #648 ) from hsjobeki-main into main
2023-12-16 13:57:52 +00:00
Johannes Kirschbauer
f72d9abb3e
move list hook
2023-12-16 14:56:20 +01:00
Johannes Kirschbauer
0704eed334
multi window mess
2023-12-16 14:49:45 +01:00
clan-bot
857c199d02
Merge pull request 'window switcher' ( #647 ) from hsjobeki-main into main
2023-12-16 12:06:56 +00:00
Johannes Kirschbauer
da592935f5
fix formatting
2023-12-16 13:05:17 +01:00
Johannes Kirschbauer
08bf197120
fix typing
2023-12-16 13:04:50 +01:00
Johannes Kirschbauer
7384fee660
format
2023-12-16 13:03:10 +01:00
Johannes Kirschbauer
0afa27bc15
window switcher
2023-12-16 12:52:10 +01:00
clan-bot
9d1f68bc0f
Merge pull request 'Automatic flake update - 2023-12-11T00:00+00:00' ( #637 ) from flake-update-2023-12-11 into main
2023-12-15 13:18:21 +00:00
clan-bot
0f18736122
Merge pull request 'add wayland-proxy-virtwl module' ( #646 ) from Mic92-wayland-update into main
2023-12-15 13:15:59 +00:00
Jörg Thalheim
f81a9ffb69
add wayland-proxy-virtwl module
2023-12-15 14:14:20 +01:00
Jörg Thalheim
a1a8486be8
clanCore: refactor flake-module.nix into smaller files
2023-12-15 14:14:20 +01:00
clan-bot
069083e8ae
Merge pull request 'use nix-unit from nixpkgs, drop floco from flake inputs' ( #645 ) from Mic92-wayland-update into main
2023-12-15 11:37:43 +00:00
Jörg Thalheim
f168a9282d
add wayland-proxy-virtwl fork
2023-12-15 12:36:07 +01:00
Jörg Thalheim
4d8fb4b672
drop floco from flake inputs
2023-12-15 12:36:07 +01:00
Jörg Thalheim
41b5e88808
use nix-unit from nixpkgs
2023-12-15 12:36:07 +01:00
clan-bot
3ef2ee6721
Merge pull request 'qemu-wayland: add patch to fix vulkaninfo' ( #644 ) from Mic92-wayland-update into main
2023-12-15 11:16:38 +00:00
Jörg Thalheim
b4dff44416
qemu-wayland: add patch to fix vulkaninfo
2023-12-15 12:12:46 +01:00
clan-bot
4037fdb467
Merge pull request 'fixed history allowing adding the same clan twice' ( #643 ) from Qubasa-main into main
2023-12-14 19:59:14 +00:00
Qubasa
83e1c972ad
Finished clan history command. Ported remaining async to sync funcs
2023-12-14 20:57:31 +01:00
Qubasa
4c2ff0d6af
fixed history allowing adding the same clan twice
2023-12-14 18:54:00 +01:00
clan-bot
beae9e03dc
Merge pull request 'Moved history to own subcommand' ( #638 ) from Qubasa-main into main
2023-12-14 17:48:32 +00:00
Qubasa
999747c5fc
Deleted everything webui
2023-12-14 18:47:14 +01:00
Qubasa
30cd375d98
Fixed failing tests in machines and history cli, removed test_machines_api.py
2023-12-14 18:25:42 +01:00
Qubasa
67be1d1977
Improved ClanURI
2023-12-14 18:21:10 +01:00
Qubasa
54f0a7d342
Reworked machines list, and history commands
2023-12-14 18:21:10 +01:00
Qubasa
a8ceeab0fe
Fixed pytest
2023-12-14 18:21:10 +01:00
Qubasa
08682ee9bb
Fixing pytest
2023-12-14 18:21:10 +01:00
Qubasa
040e06bcdd
Improved history command
2023-12-14 18:21:10 +01:00
Qubasa
3a28e023e2
Moved history to own subcommand
2023-12-14 18:21:10 +01:00
clan-bot
77bfe7e32f
Merge pull request 'vms/run: remove superfluous command' ( #642 ) from a-kenji-refactor-run into main
2023-12-14 14:54:08 +00:00
a-kenji
df6adf979e
vms/run: remove superfluous command
2023-12-14 15:45:45 +01:00
kenji
6b78b50d44
Merge pull request 'vms/run: fix virtual machines spawning multiple windows' ( #641 ) from vms-fix-run into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/641
2023-12-14 12:01:47 +00:00
a-kenji
10cbb6d15c
vms/run: fix virtual machines spawning multiple windows
2023-12-14 08:55:12 +01:00
clan-bot
fc148e13c9
Merge pull request 'qemu-wayland: 8.2.0-rc2 -> 8.2.0-rc3' ( #639 ) from Mic92-wayland-update into main
2023-12-13 15:29:03 +00:00
Jörg Thalheim
421193e837
qemu-wayland: 8.2.0-rc2 -> 8.2.0-rc3
2023-12-13 16:21:41 +01:00
Clan Merge Bot
5a4dbd18f4
update flake lock - 2023-12-11T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22' (2023-11-25)
→ 'github:nix-community/disko/1144887c6f4d2dcbb2316a24364ef53e25b0fcfe' (2023-12-06)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/150f38bd1e09e20987feacb1b0d5991357532fb5' (2023-09-30)
→ 'github:nix-community/nixos-generators/246219bc21b943c6f6812bb7744218ba0df08600' (2023-12-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0b62f5adfd6635f8013d800ceb0cf39411a8216f' (2023-12-03)
→ 'github:NixOS/nixpkgs/1f8d62a69936dd899d0e7c955537b2f4ca5bc623' (2023-12-10)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/8bca48cb9a12bbd8766f359ad00336924e91b7f7' (2023-12-03)
→ 'github:Mic92/sops-nix/d806e546f96c88cd9f7d91c1c19ebc99ba6277d9' (2023-12-10)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/e82f32aa7f06bbbd56d7b12186d555223dc399d1' (2023-11-12)
→ 'github:numtide/treefmt-nix/afdd5e48a0869b389027307652a658051c0d2f96' (2023-12-10)
2023-12-11 00:00:51 +00:00
clan-bot
517ab187fc
Merge pull request 'Used inspect commands in vm-manager' ( #636 ) from Qubasa-main into main
2023-12-08 23:47:50 +00:00
Qubasa
7c36383075
Used inspect commands in vm-manager
2023-12-09 00:45:12 +01:00
clan-bot
6767bbf4a0
Merge pull request 'Added clan flakes inspect command. Improved ClanURI. Added democlan as dependency in flake.nix' ( #635 ) from Qubasa-main into main
2023-12-08 23:25:37 +00:00
Qubasa
c00a1983fa
Removed democlan dependency
2023-12-09 00:23:19 +01:00
Qubasa
5d42756f58
Fixed democlan dep
2023-12-09 00:21:33 +01:00
Qubasa
b60aef97f9
Removed democlan dependency
2023-12-09 00:19:30 +01:00
Qubasa
4506202a82
Added clan flakes inspect command. Improved ClanURI. Added democlan as dependency in flake.nix
2023-12-09 00:09:21 +01:00
clan-bot
91ca79be0d
Merge pull request 'clanCore: Fixed missing type null for clanIcon' ( #634 ) from Qubasa-main into main
2023-12-08 18:33:58 +00:00
Qubasa
b9b14bfd39
clanCore: Fixed missing type null for clanIcon
2023-12-08 19:30:04 +01:00
Qubasa
fe8da705e9
clanCore: Fixed missing type null for clanIcon
2023-12-08 19:27:58 +01:00
clan-bot
635c81b967
Merge pull request 'backups: support services for restore' ( #631 ) from lassulus-HEAD into main
2023-12-08 18:16:08 +00:00
clan-bot
69d7b81aee
Merge pull request 'Changed clanIcon to be included into clanCore' ( #633 ) from Qubasa-main into main
2023-12-08 18:11:48 +00:00
lassulus
c2742463c3
clan-cli Machines: implement eval/build-cache
2023-12-08 19:09:29 +01:00
lassulus
4cc9c4366c
backups: support services for restore
2023-12-08 19:09:29 +01:00
Qubasa
c4331b168d
Changed clanIcon to be included into clanCore
2023-12-08 19:08:57 +01:00
clan-bot
dd060b04f8
Merge pull request 'Added clanIcon' ( #632 ) from Qubasa-main into main
2023-12-08 18:04:15 +00:00
Qubasa
2088afb79d
Added clanIcon
2023-12-08 19:01:11 +01:00
clan-bot
a4c774d74d
Merge pull request 'move clanName into nixos machine configuration' ( #630 ) from Mic92-main into main
2023-12-08 15:21:59 +00:00
Jörg Thalheim
821e5e0a7b
disable tty0 when using wayland
...
we don't vga output and use our serial console instead
2023-12-08 16:19:09 +01:00
Jörg Thalheim
d7a9c1bc96
switch to initrd.systemd by default
2023-12-08 16:17:58 +01:00
Mic92
3e219d44c4
Merge pull request 'move clanName into nixos machine configuration' ( #629 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/629
2023-12-08 15:05:56 +00:00
Jörg Thalheim
26c6954db0
move clanName into nixos machine configuration
2023-12-08 15:05:56 +00:00
Jörg Thalheim
3054b9c77d
move clanName into nixos machine configuration
2023-12-08 16:03:29 +01:00
clan-bot
08871258bb
Merge pull request 'add wayland option' ( #628 ) from Mic92-main into main
2023-12-08 14:16:43 +00:00
Jörg Thalheim
0e91f8721f
prefix nixpkgs# explicitly in nix_shell
...
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
Jörg Thalheim
af3001a3ac
vms/run: split large vm run method into smaller ones
2023-12-08 15:09:48 +01:00
Jörg Thalheim
49010f4d46
add wayland option
2023-12-08 14:13:47 +01:00
clan-bot
bb0f37ad26
Merge pull request 'make vm inspect non-async' ( #627 ) from Mic92-main into main
2023-12-08 13:02:02 +00:00
Jörg Thalheim
10930c27bf
make vm inspect non-async
2023-12-08 13:59:24 +01:00
clan-bot
4eb0e4354a
Merge pull request 'syncthing: restrict access of peers to vpn' ( #626 ) from a-kenji-restrict-introducer into main
2023-12-08 12:56:35 +00:00
a-kenji
528068b5c4
syncthing: restrict access of peers to vpn
2023-12-08 13:53:32 +01:00
clan-bot
90db791ff0
Merge pull request 'Added windows folder' ( #624 ) from Qubasa-main into main
2023-12-08 12:49:07 +00:00
Qubasa
b8bc7a3fcc
clan_cli: URI parser now only has HTTP and FILE. Also clan:///home/user or clan://~/Downloads is supported
2023-12-08 13:46:21 +01:00
clan-bot
82815979b5
Merge pull request 'vms/run: rename flake_url to flake-url' ( #623 ) from Mic92-main into main
2023-12-08 12:42:59 +00:00
Jörg Thalheim
8cff166393
vms/run: rename flake_url to flake-url
2023-12-08 13:40:28 +01:00
clan-bot
9e416cee10
Merge pull request 'add rutabaga-gfx-ffi patches' ( #622 ) from Mic92-main into main
2023-12-08 12:14:56 +00:00
Jörg Thalheim
f518b293fa
add rutabaga-gfx-ffi patches
2023-12-08 13:08:36 +01:00
clan-bot
39079f0145
Merge pull request 'add serial module to vms' ( #621 ) from Mic92-main into main
2023-12-08 11:37:50 +00:00
Jörg Thalheim
44108e7dac
add serial module to vms
...
This is useful for debugging in the cli.
2023-12-08 12:35:33 +01:00
Qubasa
6f80cdb5eb
Replaced Status with checkbox
2023-12-08 12:18:55 +01:00
clan-bot
cc4d81f41c
Merge pull request 'always provide a clan_flake_toplevel value' ( #620 ) from Mic92-main into main
2023-12-08 11:12:57 +00:00
Jörg Thalheim
4b16269a38
vms/run/inspect: also make it more type-safe
...
nix will show proper error messages when it cannot find a flake.
2023-12-08 12:08:48 +01:00
Jörg Thalheim
218478c801
vms/run: make flake field option always have a value
2023-12-08 12:08:45 +01:00
Qubasa
a811c36628
Added join window
2023-12-08 11:56:27 +01:00
clan-bot
38bf05955d
Merge pull request 'make cli options more type safe using a dataclass' ( #619 ) from Mic92-main into main
2023-12-08 10:33:44 +00:00
Jörg Thalheim
b9ca10c4da
make cli options more type safe using a dataclass
2023-12-08 11:31:29 +01:00
clan-bot
691ddbdd43
Merge pull request 'make sure that flake url is always set in the cli' ( #618 ) from Mic92-main into main
2023-12-08 10:07:50 +00:00
Jörg Thalheim
e97bcbd94f
make sure that flake url is always set in the cli
2023-12-08 11:05:22 +01:00
clan-bot
b2ad652634
Merge pull request 'backups: implement list the easy way' ( #617 ) from lassulus-backups2 into main
2023-12-07 17:25:56 +00:00
lassulus
3d1533892b
backups: implement list/create and dry-run restore
2023-12-07 18:23:22 +01:00
clan-bot
6da870795b
Merge pull request 'init: syncthing module' ( #616 ) from a-kenji-init/syncthing-module into main
2023-12-07 13:14:33 +00:00
a-kenji
9d2476111f
init: syncthing module
...
Assumes one `introducer` peer, which can AutoShare configured folders,
with peers that know the `deviceID` of the introducer.
2023-12-07 14:10:15 +01:00
clan-bot
7d44bcd2eb
Merge pull request 'backups: implement list the easy way' ( #614 ) from lassulus-backups2 into main
2023-12-07 12:32:47 +00:00
lassulus
0ab11948e7
backups: implement list the easy way
2023-12-07 13:22:41 +01:00
Qubasa
a4ac7d2fdb
Added windows folder
2023-12-06 18:38:19 +01:00
clan-bot
6d8f67d3b2
Merge pull request 're-add 'U' ruff type category' ( #615 ) from Mic92-main into main
2023-12-06 16:18:29 +00:00
Jörg Thalheim
b6cb13bcde
move mypy/ipdb to devshell
2023-12-06 17:16:28 +01:00
Jörg Thalheim
5e34e55fff
modernize code with ruff
2023-12-06 17:13:58 +01:00
Jörg Thalheim
02f2b3700e
re-add 'U' ruff type category
...
This should have been not removed
2023-12-06 17:11:17 +01:00
clan-bot
8395849fb1
Merge pull request 'pending-script: add @ before username' ( #613 ) from Mic92-main into main
2023-12-06 15:17:42 +00:00
Jörg Thalheim
7bf71a3ea6
pending-script: add @ before username
2023-12-06 16:15:42 +01:00
clan-bot
196f72396a
Merge pull request 'add qemu-wayland' ( #612 ) from Mic92-main into main
2023-12-06 14:55:24 +00:00
Jörg Thalheim
b0ecc17645
get rid of task_manager
2023-12-06 15:53:23 +01:00
Jörg Thalheim
eedcad03a3
add qemu-wayland
2023-12-06 15:53:23 +01:00
clan-bot
6e807198d1
Merge pull request 'clan_cli: ClanURI fixed non executing tests' ( #611 ) from Qubasa-main into main
2023-12-06 12:41:16 +00:00
Qubasa
010e0bd3f9
clan_cli: ClanURI fixed non executing tests
2023-12-06 13:38:22 +01:00
clan-bot
0ae283714d
Merge pull request 'clan_cli: Remodeled ClanURI parser' ( #610 ) from Qubasa-main into main
2023-12-05 17:19:42 +00:00
Qubasa
9fa88b1599
clan_cli: Remodeled ClanURI parser
2023-12-05 18:16:51 +01:00
Qubasa
34a943b3ad
clan_cli: Remodeled ClanURI parser
2023-12-05 18:08:27 +01:00
clan-bot
767817e7fa
Merge pull request 'Improved desktop file installation' ( #609 ) from Qubasa-main into main
2023-12-05 15:20:03 +00:00
Qubasa
cebc52ba87
clan_cli: Added ClanURI class parser
2023-12-05 16:17:15 +01:00
Qubasa
a0084e745f
Improved desktop file installation
2023-12-05 16:05:13 +01:00
clan-bot
684ab49550
Merge pull request 'clan-vm-manager: fix meta.mainProgram' ( #608 ) from DavHau-main into main
2023-12-05 13:33:29 +00:00
DavHau
621bc4bd77
clan-vm-manager: fix meta.mainProgram
2023-12-05 20:31:14 +07:00
clan-bot
357116d8a5
Merge pull request 'clan-vm-manager: Fixed vm-manager start' ( #607 ) from Qubasa-main into main
2023-12-05 12:44:07 +00:00
Qubasa
cf57beb584
nix fmt
2023-12-05 13:41:41 +01:00
Qubasa
c27a5d4f0c
clan-vm-manager: Fixed vm-manager start
2023-12-05 13:41:02 +01:00
clan-bot
6863cfb032
Merge pull request 'clan-vm-manager: Fixed assets folder not included' ( #606 ) from Qubasa-main into main
2023-12-04 18:26:51 +00:00
Qubasa
51f9a4696e
clan-vm-manager: Added join subcommand
2023-12-04 19:23:35 +01:00
Qubasa
55b28ed262
clan-vm-manager: Added URI xdg-mime installation into devshell
2023-12-04 17:53:22 +01:00
clan-bot
1338282c62
Merge pull request 'backups: add clanCore backup & clan borgbackup module' ( #605 ) from lassulus-backups into main
2023-12-04 16:51:33 +00:00
lassulus
83dd430d03
implement backup cli for borgbackup
2023-12-04 17:47:23 +01:00
Qubasa
22c26c3e1f
clan-vm-manager: Fixed assets folder not included
2023-12-04 16:56:42 +01:00
clan-bot
98a2da0de1
Merge pull request 'clan-vm-manager: Preserved selection on view change' ( #604 ) from Qubasa-main into main
2023-12-04 13:31:37 +00:00
Qubasa
1250079136
clan-vm-manager: Preserved selection on view change
2023-12-04 14:29:05 +01:00
clan-bot
893dc46660
Merge pull request 'Automatic flake update - 2023-12-04T00:00+00:00' ( #603 ) from flake-update-2023-12-04 into main
2023-12-04 00:05:07 +00:00
Clan Merge Bot
65cb70a745
update flake lock - 2023-12-04T00:00+00:00
...
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
→ 'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/173b74db07f26344f3517716edd4bff6987b512d' (2023-11-26)
→ 'github:NixOS/nixpkgs/0b62f5adfd6635f8013d800ceb0cf39411a8216f' (2023-12-03)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/4be58d802693d7def8622ff34d36714f8db40371' (2023-11-26)
→ 'github:Mic92/sops-nix/8bca48cb9a12bbd8766f359ad00336924e91b7f7' (2023-12-03)
2023-12-04 00:00:56 +00:00
clan-bot
81af412363
Merge pull request 'gui add stack switcher, remove notebook tabs' ( #602 ) from hsjobeki-main into main
2023-12-03 13:11:26 +00:00
Johannes Kirschbauer
6b25601877
gui add stack switcher, remove notebook tabs
2023-12-03 14:09:09 +01:00
clan-bot
98728b83cd
Merge pull request 'extend clan history model' ( #601 ) from hsjobeki-main into main
2023-12-02 15:19:20 +00:00
Johannes Kirschbauer
71a31cb138
gui re-rendering & cleanup
2023-12-02 16:16:48 +01:00
Johannes Kirschbauer
0ae7ce8f7c
extend clan history model
2023-12-02 16:16:38 +01:00
clan-bot
b11df3f14e
Merge pull request 'partiall working run VM' ( #600 ) from Qubasa-main into main
2023-12-01 23:18:34 +00:00
Qubasa
ece06cb266
nix fmt
2023-12-02 00:15:55 +01:00
Qubasa
6936156630
partiall working run VM
2023-12-02 00:15:25 +01:00
clan-bot
e748177662
Merge pull request 'Improved Table with feedback from W' ( #598 ) from Qubasa-main into main
2023-12-01 22:18:31 +00:00
Qubasa
2d6a8a69f9
Removed submodule
2023-12-01 23:16:45 +01:00
Qubasa
a917154b25
VMBase dataclass added
2023-12-01 23:13:36 +01:00
Qubasa
e1f55d3fdd
VMBase dataclass added
2023-12-01 19:31:57 +01:00
Qubasa
4801562d4f
moved code-workspace
2023-12-01 16:11:59 +01:00
Qubasa
35297a2750
remove breakpoint
2023-12-01 15:51:44 +01:00
Qubasa
4bca1f3ebf
nix fmt
2023-12-01 15:46:27 +01:00
Qubasa
eda195f530
Added better error handling in --flake argument
2023-12-01 15:45:05 +01:00
Qubasa
0db372a49a
Extracted class from app.py
2023-12-01 15:18:05 +01:00
Qubasa
3a63f4a1e3
Extracted class from app.py
2023-12-01 15:17:54 +01:00
Qubasa
89252a7751
fixed assert bug
2023-12-01 14:24:44 +01:00
Qubasa
6d0e7b0df3
Implemented working double click on table with information extraction
2023-12-01 14:22:50 +01:00
Qubasa
0a8aadae62
nix fmt
2023-12-01 13:15:34 +01:00
Qubasa
d71ecc614b
Improved Table with feedback from W
2023-12-01 13:14:38 +01:00
clan-bot
5a82ff5759
Merge pull request 'remove outdated comment' ( #597 ) from DavHau-dave into main
2023-12-01 09:56:45 +00:00
DavHau
94ead5b29b
remove outdated comment
2023-12-01 16:31:35 +07:00
clan-bot
d108a6f10e
Merge pull request 'docs: add API guidelines' ( #596 ) from DavHau-dave into main
2023-12-01 09:30:20 +00:00
DavHau
5c548ee62c
docs: add API guidelines
2023-12-01 16:28:14 +07:00
clan-bot
7e8ab5fd9e
Merge pull request 'remove outdated comment' ( #595 ) from DavHau-dave into main
2023-12-01 09:14:07 +00:00
DavHau
3c68b201c7
remove outdated comment
2023-12-01 16:11:31 +07:00
clan-bot
1b294846c7
Merge pull request 'flake history: make operations atomic' ( #594 ) from DavHau-dave into main
2023-12-01 07:03:19 +00:00
DavHau
ae08c76c96
flake history: make operations atomic
2023-12-01 14:00:15 +07:00
clan-bot
a77bf18786
Merge pull request 'clan-cli: also package mimetypes' ( #593 ) from Mic92-type-checking into main
2023-11-30 13:33:49 +00:00
Jörg Thalheim
35812463d3
clan-cli: also package mimetypes
2023-11-30 14:31:37 +01:00
Jörg Thalheim
59d1829f4d
disallow variable shadowing
2023-11-30 14:31:37 +01:00
Jörg Thalheim
01dbcec6a1
make type checking more strict
2023-11-30 14:31:37 +01:00
clan-bot
169355d78a
Merge pull request 'add option to extend path for generator' ( #591 ) from generator into main
2023-11-30 13:18:07 +00:00
Jörg Thalheim
f208bc0f22
add option to extend path for generator
2023-11-30 14:15:40 +01:00
clan-bot
bc839213e0
Merge pull request 'nix-direnv: update to 2.5.1' ( #590 ) from Mic92-opengl-vm into main
2023-11-30 10:32:25 +00:00
Jörg Thalheim
3ba9f441df
nix-direnv: update to 2.5.1
2023-11-30 11:29:49 +01:00
clan-bot
0f1a562970
Merge pull request 'integegrate remote-viewer instead of spicy' ( #589 ) from Mic92-opengl-vm into main
2023-11-30 10:11:10 +00:00
Jörg Thalheim
7502184f66
fix build
2023-11-30 11:08:50 +01:00
Jörg Thalheim
d34c44a45e
task-manager: spam select() without timeout
2023-11-30 10:57:58 +01:00
Jörg Thalheim
ed472a6425
error if age key cannot be decoded
2023-11-30 10:57:58 +01:00
Jörg Thalheim
9d64ccb08e
integegrate remote-viewer instead of spicy
2023-11-29 16:07:12 +01:00
Mic92
8aab42184d
Merge pull request 'more-linting' ( #584 ) from more-linting into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/584
2023-11-29 13:29:45 +00:00
Jörg Thalheim
6f0722c692
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
Jörg Thalheim
7d755beca6
enable more linting
2023-11-29 13:29:45 +00:00
clan-bot
6991b325d7
Merge pull request 'clan-core/secrets: escape trailing newline in facts' ( #586 ) from a-kenji-trim-facts into main
2023-11-29 13:27:03 +00:00
a-kenji
deefddd3c2
clan-core/secrets: escape facts trailing newline
2023-11-29 13:29:20 +01:00
clan-bot
c142b3b559
Merge pull request 'secret fixes' ( #572 ) from Mic92-cli into main
2023-11-29 10:40:22 +00:00
Jörg Thalheim
39617bbf03
run_upload_secrets: don't swallow stdout output
2023-11-29 11:38:01 +01:00
Jörg Thalheim
61c5cb58e3
install: fix secrets upload
2023-11-29 11:38:01 +01:00
Jörg Thalheim
7d770465d5
test: add ipv6 example without port
2023-11-29 11:38:01 +01:00
Jörg Thalheim
5e7d7c251e
add sops command to sync keys with secrets
2023-11-29 11:34:19 +01:00
clan-bot
5d071d2df9
Merge pull request 'clan-vm-manager/devshell: set PYTHONBREAKPOINT with nix' ( #577 ) from Mic92-HEAD into main
2023-11-29 10:32:41 +00:00
Jörg Thalheim
50bf7dbaeb
clan-vm-manager/devshell: set PYTHONBREAKPOINT with nix
2023-11-29 11:29:58 +01:00
clan-bot
87bd33c09f
Merge pull request 'clan-vm-manager: drop rants from README' ( #576 ) from Mic92-HEAD into main
2023-11-29 10:29:52 +00:00
Jörg Thalheim
a6b035279e
clan-vm-manager: drop rants from README
...
they could be reformulated as pitfall documentation but in the current form it looks unprofessional
2023-11-29 11:26:46 +01:00
clan-bot
2a6ff7f938
Merge pull request 'Made TreeView resizable' ( #574 ) from Qubasa-main into main
2023-11-28 19:14:16 +00:00
Qubasa
eb92eb8823
nix fmt
2023-11-28 20:11:51 +01:00
Qubasa
feca9f03b5
Made TreeView resizable
2023-11-28 20:11:04 +01:00
clan-bot
d6d9205e16
Merge pull request 'Fully working clan select' ( #573 ) from Qubasa-main into main
2023-11-28 18:58:39 +00:00
Qubasa
ea59947a93
nix fmt
2023-11-28 19:55:40 +01:00
Qubasa
6b5a03e2f6
Added UI structure and first clan vm manager
2023-11-28 19:52:29 +01:00
Qubasa
2b87166015
Fully working clan select
2023-11-28 18:19:01 +01:00
lassulus
c9e640a74d
add dummy backups cli
2023-11-28 13:23:48 +01:00
clan-bot
a8d47de49b
Merge pull request 'init: vm manager list view' ( #570 ) from hsjobeki-main into main
2023-11-28 09:33:58 +00:00
Johannes Kirschbauer
79db56e4bd
GUI: select handler to vm list
2023-11-28 10:31:25 +01:00
Johannes Kirschbauer
b21e24d1bf
init: vm manager list view
2023-11-28 10:29:38 +01:00
clan-bot
9268cd316f
Merge pull request 'allow ipv6 addresses in deployment addresses' ( #569 ) from Mic92-cli into main
2023-11-28 09:08:31 +00:00
Jörg Thalheim
5a8172f232
allow ipv6 addresses in deployment addresses
2023-11-28 10:05:45 +01:00
clan-bot
f441e7295e
Merge pull request 'Automatic flake update - 2023-11-27T00:00+00:00' ( #568 ) from flake-update-2023-11-27 into main
2023-11-27 00:05:51 +00:00
Clan Merge Bot
d96e719c50
update flake lock - 2023-11-27T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/2d7d77878c5d70f66f3d676ff66708d8d4f9d7df' (2023-11-12)
→ 'github:nix-community/disko/3cb78c93e6a02f494aaf6aeb37481c27a2e2ee22' (2023-11-25)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3fb937a1e9f4157f57011965b99fcb7f4139d9ad' (2023-11-20)
→ 'github:NixOS/nixpkgs/173b74db07f26344f3517716edd4bff6987b512d' (2023-11-26)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/0e3a94167dcd10a47b89141f35b2ff9e04b34c46' (2023-11-14)
→ 'github:Mic92/sops-nix/4be58d802693d7def8622ff34d36714f8db40371' (2023-11-26)
2023-11-27 00:00:56 +00:00
clan-bot
57adebe076
Merge pull request 'Added spice-gtk' ( #567 ) from Qubasa-main into main
2023-11-25 01:28:27 +00:00
Qubasa
5d2334ea24
Added spice-gtk
2023-11-25 02:25:49 +01:00
clan-bot
bbb75d1857
Merge pull request 'Added snarky comments into README' ( #566 ) from Qubasa-main into main
2023-11-25 01:07:33 +00:00
Qubasa
67414ea9cf
Added snarky comments into README
2023-11-25 02:04:55 +01:00
clan-bot
21fe12df01
Merge pull request 'Added basic GTK window handling' ( #565 ) from Qubasa-main into main
2023-11-25 00:58:04 +00:00
Qubasa
0a7496835d
Added basic GTK window handling
2023-11-25 01:55:01 +01:00
ui-asset-bot
d73236a62d
update ui-assets.nix
2023-11-24 14:59:09 +00:00
clan-bot
d9a87c3474
Merge pull request 'openapi: put a static version into the repository' ( #564 ) from Mic92-cli into main
2023-11-24 14:58:34 +00:00
Jörg Thalheim
d394792238
openapi: put a static version into the repository
...
This avoids a lot of rebuilds and we can also track api changes better
2023-11-24 15:56:27 +01:00
clan-bot
d352e0ac2c
Merge pull request 'rename vms create to vms run' ( #563 ) from Mic92-cli into main
2023-11-24 14:03:29 +00:00
Jörg Thalheim
4a19e3af95
rename vms create to vms run
2023-11-24 15:00:08 +01:00
clan-bot
8692c7dcc4
Merge pull request 'nix-unit: add missing wrapper' ( #562 ) from Mic92-cli into main
2023-11-24 07:30:21 +00:00
Jörg Thalheim
b0086f598f
nix-unit: pin nix version
...
This will always break and this way we can delay how often we update it.
2023-11-24 08:28:08 +01:00
Jörg Thalheim
642ca139d0
nix-unit: add missing wrapper
2023-11-24 08:22:13 +01:00
clan-bot
85943ccffe
Merge pull request 'WIP backups' ( #557 ) from lassulus-backups into main
2023-11-23 17:18:55 +00:00
lassulus
c9d10437e5
backups: add clanCore backup & clan borgbackup module
2023-11-23 18:12:49 +01:00
clan-bot
c07591c08d
Merge pull request 'clan-cli: drop unused mypy overrides for gi' ( #561 ) from Mic92-cli into main
2023-11-23 17:06:01 +00:00
Jörg Thalheim
0e6840a91d
clan-cli: drop unused mypy overrides for gi
2023-11-23 18:01:40 +01:00
clan-bot
23c821c3cb
Merge pull request 'start spice in background' ( #560 ) from Mic92-cli into main
2023-11-23 16:59:27 +00:00
Jörg Thalheim
72453b5078
start spice in background
2023-11-23 17:56:05 +01:00
clan-bot
9cb6061d35
Merge pull request 'fake_deal: fixup call wrapper' ( #559 ) from Mic92-cli into main
2023-11-23 16:37:40 +00:00
Jörg Thalheim
935acbd94a
spice: use unix socket instead of tcp
2023-11-23 17:34:06 +01:00
Jörg Thalheim
d4bafa9017
fake_deal: fixup call wrapper
2023-11-23 17:32:37 +01:00
clan-bot
b8e8458191
Merge pull request 'switch to spice for graphical vms' ( #558 ) from Mic92-cli into main
2023-11-23 16:07:31 +00:00
Jörg Thalheim
93ab408827
switch to spice for graphical vms
2023-11-23 16:59:07 +01:00
Jörg Thalheim
4f18c48892
vms: start with cpu=max
...
This unlocks some cpu extensions
2023-11-23 16:55:36 +01:00
clan-bot
9cdcb309a8
Merge pull request 'clan-vm-manager' ( #556 ) from clan-vm-manager into main
2023-11-23 14:32:52 +00:00
Jörg Thalheim
595ba1ab23
nix-direnv: update to 2.4.0
2023-11-23 15:30:44 +01:00
Jörg Thalheim
7047196b07
clan-vm-manager: add desktop-icon
2023-11-23 15:30:44 +01:00
Jörg Thalheim
1a76cbdace
clan-vm-manager: prepend local clan-cli to python path
2023-11-23 15:30:44 +01:00
Jörg Thalheim
ce500066e9
clan-vm-manager: simplify shellHook
2023-11-23 15:30:44 +01:00
Jörg Thalheim
47471c666b
clan-vm-manager: add nix package
2023-11-23 15:30:44 +01:00
Jörg Thalheim
3f7bb87021
clan-cli: drop dependency on deal
2023-11-23 15:03:46 +01:00
Jörg Thalheim
1d5e87d407
drop glade backup file
2023-11-23 15:03:46 +01:00
Jörg Thalheim
d35229216e
mv clan-vm-manager to its own package
2023-11-23 15:03:46 +01:00
Qubasa
dddbe74d6a
Added gtk demo app
2023-11-23 15:03:38 +01:00
Qubasa
9698e57fa6
Added more deal tests
2023-11-21 16:44:38 +01:00
clan-bot
af4e991f87
Merge pull request 'drop desktop item from cli' ( #554 ) from joerg-ci into main
2023-11-21 14:29:55 +00:00
Jörg Thalheim
6649240494
drop desktop item from cli
2023-11-21 15:26:36 +01:00
clan-bot
f030b210f1
Merge pull request 'drop dependency on fastapi in the cli' ( #551 ) from Mic92-cli into main
2023-11-21 14:13:13 +00:00
Jörg Thalheim
f27b1da6b9
drop dependency on fastapi in the cli
2023-11-21 15:09:18 +01:00
clan-bot
5fb5a41223
Merge pull request 'drop join from cli' ( #549 ) from Mic92-cli into main
2023-11-21 13:31:36 +00:00
Jörg Thalheim
d76ab43136
drop join from cli
2023-11-21 14:25:51 +01:00
clan-bot
ce39a3ba2f
Merge pull request 'Revert "nix-unit; update"' ( #548 ) from Mic92-cli into main
2023-11-21 13:00:49 +00:00
Jörg Thalheim
d4e9fd4883
Revert "nix-unit; update"
...
This reverts commit 3b50f62b37 .
2023-11-21 13:58:05 +01:00
clan-bot
9d36fcebc9
Merge pull request 'schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue' ( #543 ) from Qubasa-main into main
2023-11-21 12:49:38 +00:00
Mic92
c812a3060a
Merge pull request 'cli' ( #547 ) from cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/547
2023-11-21 12:48:35 +00:00
Jörg Thalheim
33d9536570
fix compilation of frontend
2023-11-21 12:48:35 +00:00
Jörg Thalheim
647a4214fb
get rid of pydantic in cli
2023-11-21 12:48:35 +00:00
clan-bot
48dfce624b
Merge pull request 'jsonschema: support mdDoc description' ( #544 ) from DavHau-jsonschema into main
2023-11-21 10:33:30 +00:00
DavHau
f38cc8a209
jsonschema: support mdDoc description
2023-11-21 17:29:22 +07:00
Qubasa
ad4032e214
schemathesis: Add as runnable application instead of library to resolve httpx dependency collision issue
2023-11-20 17:14:12 +01:00
clan-bot
53f0cf15ae
Merge pull request 'lib/jsonschema: add more types and excludes' ( #542 ) from DavHau-jsonschema into main
2023-11-20 12:43:51 +00:00
DavHau
96bd6855e9
lib/jsonschema: add more types and excludes
...
- Complete the types to cover almost everything
- exclude specific types like functionTo or package
2023-11-20 19:40:27 +07:00
clan-bot
3742acda8b
Merge pull request 'nix-unit; update' ( #540 ) from DavHau-jsonschema into main
2023-11-20 10:07:03 +00:00
DavHau
a656b5e83e
lib/jsonschema: support listOf unspecified
2023-11-20 17:03:42 +07:00
DavHau
3b50f62b37
nix-unit; update
2023-11-20 17:03:37 +07:00
ui-asset-bot
efeccc9307
update ui-assets.nix
2023-11-20 08:34:25 +00:00
clan-bot
d24625f80e
Merge pull request 'extend toolbar styling, add support for atomic menu' ( #539 ) from hsjobeki-main into main
2023-11-20 08:33:01 +00:00
Johannes Kirschbauer
0bd9c4048c
move join url
2023-11-20 09:29:46 +01:00
Johannes Kirschbauer
837661582c
decompose join/create clan, move to manage page
2023-11-20 09:22:39 +01:00
Johannes Kirschbauer
a70433c0ef
extend toolbar styling, add support for atomic menu
2023-11-20 09:21:59 +01:00
clan-bot
1981c4ea2b
Merge pull request 'history: fix: store entries only once' ( #537 ) from DavHau-dave into main
2023-11-20 04:42:09 +00:00
DavHau
7eb6132c1d
history: fix: store entries only once
2023-11-20 11:39:00 +07:00
ui-asset-bot
fbf236e218
update ui-assets.nix
2023-11-19 11:10:43 +00:00
clan-bot
df7296d437
Merge pull request 'ui: add clan tool bar' ( #535 ) from DavHau-dave into main
2023-11-19 11:10:06 +00:00
Johannes Kirschbauer
9bae43957c
fix imports & class order
2023-11-19 12:06:36 +01:00
DavHau
b432c9493e
ui: add clan tool bar
...
To use for selecting a clan from the history
2023-11-18 18:32:02 +07:00
ui-asset-bot
895438f56a
update ui-assets.nix
2023-11-18 10:18:20 +00:00
DavHau
5706f20f9a
Merge pull request 'removed unused part' ( #534 ) from hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/534
2023-11-18 10:17:42 +00:00
Johannes Kirschbauer
31e9b988b8
prepare for select clan from history
2023-11-18 11:00:16 +01:00
Johannes Kirschbauer
a6cde2f937
removed unused part
2023-11-18 11:00:16 +01:00
ui-asset-bot
46297b1888
update ui-assets.nix
2023-11-18 09:43:34 +00:00
clan-bot
7ef2b69d63
Merge pull request 'ui: display overlay when no machines available' ( #533 ) from DavHau-dave into main
2023-11-18 09:42:58 +00:00
DavHau
ea967670eb
ui: display overlay when no machines available
2023-11-18 16:40:09 +07:00
ui-asset-bot
2a1ba99376
update ui-assets.nix
2023-11-18 08:38:57 +00:00
clan-bot
4be312edde
Merge pull request 'start machine list cleanup' ( #532 ) from hsjobeki-main into main
2023-11-18 08:38:18 +00:00
Johannes Kirschbauer
2736ca156a
removed unused part
2023-11-18 15:35:13 +07:00
Johannes Kirschbauer
c1ebc76d41
start machine list cleanup
2023-11-17 16:10:09 +01:00
clan-bot
d9adee5eaf
Merge pull request 'api/flake/history: implement review requests' ( #531 ) from DavHau-dave into main
2023-11-17 11:30:13 +00:00
DavHau
a982084ab4
api/flake/history: implement review requests
2023-11-17 18:26:55 +07:00
clan-bot
d072d93911
Merge pull request 'hide root from api schema' ( #529 ) from hsjobeki-hsjobeki into main
2023-11-17 11:07:11 +00:00
Johannes Kirschbauer
27d1ecb3b7
hide root from api schema
2023-11-17 12:03:40 +01:00
clan-bot
0869de3952
Merge pull request 'api/flake/list_history: init' ( #530 ) from DavHau-dave into main
2023-11-17 11:00:15 +00:00
DavHau
2306417145
api/flake/list_history: init
...
Add an api endpoint to list the history of clan flakes that have been interacted with
Also add `clan flake list`
2023-11-17 17:56:14 +07:00
Johannes Kirschbauer
3d24f9464d
hide root from api schema
2023-11-17 11:54:17 +01:00
ui-asset-bot
441a15bab8
update ui-assets.nix
2023-11-17 10:47:47 +00:00
clan-bot
5b828a7899
Merge pull request 'fix ui' ( #528 ) from hsjobeki-hsjobeki into main
2023-11-17 10:46:19 +00:00
Johannes Kirschbauer
dcd6e9e9c1
fix ui
2023-11-17 11:42:43 +01:00
clan-bot
5dc2658b89
Merge pull request 'api/flake/add: init' ( #527 ) from DavHau-dave into main
2023-11-17 10:08:12 +00:00
DavHau
11fb73432b
api/flake/add: init
...
Adds an endpoint to memoize clans.
clan flakes can be added to the history either via the endpoint or by executing `clan flakes add`
2023-11-17 17:05:15 +07:00
clan-bot
7044774567
Merge pull request 'meshname: fix mx records and support for reverse-ips' ( #526 ) from Mic92-sops-nix into main
2023-11-16 16:36:11 +00:00
Jörg Thalheim
d2b51195da
meshname: fix mx records and support for reverse-ips
2023-11-16 17:32:05 +01:00
clan-bot
afe38c4bbd
Merge pull request 'Fix typo' ( #525 ) from a-kenji-fix/typo into main
2023-11-16 13:49:30 +00:00
a-kenji
2fc25c61f3
Fix typo
2023-11-16 14:39:15 +01:00
kenji
c28718532f
Merge pull request 'Configure nix inside the machines' ( #524 ) from a-kenji-init/nix-settings into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/524
2023-11-16 13:22:28 +00:00
a-kenji
308b345d02
Configure nix inside the machines
...
Add sane nix defaults for debugging and usability reasons
2023-11-16 14:08:50 +01:00
clan-bot
b045073ff5
Merge pull request 'clanCore: install essential tools for debugging + flake nixpkgs registry pin' ( #523 ) from Mic92-sops-nix into main
2023-11-16 12:52:26 +00:00
Jörg Thalheim
522387deee
pin nixos-wide registry to nixpkgs used to build the machine itself
...
Instead of downloading archives and filling up vm disk space we can juse the nixpkgs version we already use for evaluating
2023-11-16 13:49:35 +01:00
Jörg Thalheim
454d80a233
clanCore: install essential tools for debugging
2023-11-16 13:46:13 +01:00
clan-bot
0aab30ccde
Merge pull request 'secrets/generate-private-key: just create parent opportunistically' ( #522 ) from Mic92-sops-nix into main
2023-11-16 12:21:39 +00:00
Jörg Thalheim
44fa268205
secrets/generate-private-key: just create parent opportunistically
2023-11-16 13:19:12 +01:00
lassulus
c2a2d0af61
Merge pull request 'clan_cli: create key directory' ( #521 ) from a-kenji-mkdir/clan/cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/521
2023-11-16 11:18:33 +00:00
kenji
f88a17ad34
clan_cli: create key directory
2023-11-15 23:15:12 +01:00
clan-bot
9e032333a5
Merge pull request 'machines.update: remove redundant flake argument' ( #519 ) from lassulus-update-fix into main
2023-11-15 21:01:02 +00:00
lassulus
d8633dd29d
machines.update: remove redundant flake argument
2023-11-15 21:57:08 +01:00
clan-bot
44765d6927
Merge pull request 'bump nix-unit' ( #517 ) from joerg-ci into main
2023-11-15 15:51:47 +00:00
Jörg Thalheim
5d36878206
drop schemathesis
...
This creates conflicting python packages when included
2023-11-15 16:48:46 +01:00
Jörg Thalheim
7fef9d4987
bump nix-unit
2023-11-15 16:39:48 +01:00
clan-bot
0b07fe9b03
Merge pull request 'pending-reviews: add bullet points to prs' ( #516 ) from Mic92-sops-nix into main
2023-11-15 15:36:58 +00:00
Jörg Thalheim
3551df89ea
pending-reviews: add bullet points to prs
2023-11-15 16:34:21 +01:00
clan-bot
59a842fd9e
Merge pull request 'refactor flake_name -> flake_dir' ( #491 ) from flakes2 into main
2023-11-15 15:30:54 +00:00
lassulus
f2d6725d52
disable ui
2023-11-15 16:28:09 +01:00
lassulus
082d628497
clan_cli: flake_name -> flake_dir
2023-11-15 16:23:28 +01:00
clan-bot
426be3dd37
Merge pull request 'add pending-reviews script' ( #514 ) from Mic92-sops-nix into main
2023-11-15 12:51:20 +00:00
Jörg Thalheim
a25c597f92
add pending-reviews script
2023-11-15 13:48:52 +01:00
clan-bot
fd4765e4e2
Merge pull request 'tea-create-pr: automatic needs-review label' ( #513 ) from Mic92-sops-nix into main
2023-11-15 12:00:35 +00:00
Jörg Thalheim
193d9d6919
tea-create-pr: automatic needs-review label
2023-11-15 12:55:30 +01:00
clan-bot
647a520f8c
Merge pull request 'Fix incorrect machine name for shell.nix' ( #512 ) from Qubasa-main into main
2023-11-15 10:32:39 +00:00
Qubasa
635de29d6a
Fix incorrect machine name for shell.nix
2023-11-15 11:29:07 +01:00
Mic92
1aeee22bf5
Merge pull request 'zerotier: fix ip not beeing persistent for peers' ( #511 ) from Mic92-sops-nix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/511
2023-11-15 10:23:07 +00:00
Jörg Thalheim
0f4151da30
meshnamed: fix container
2023-11-15 11:20:56 +01:00
Jörg Thalheim
e6acf89117
clanCore/networking: allow ping unconditionally
2023-11-15 11:07:03 +01:00
Jörg Thalheim
d6bb782d74
zerotier: also install identity secrets for non-controllers
2023-11-15 11:07:03 +01:00
Jörg Thalheim
a4119305ac
deltachat: fixup default usernames
2023-11-15 11:07:03 +01:00
Jörg Thalheim
80b902a924
move resolved configuration to a dummy interface
2023-11-15 11:07:03 +01:00
clan-bot
22076bc6d8
Merge pull request 'zerotier: fix eval if meshname is not known yet' ( #510 ) from Mic92-sops-nix into main
2023-11-15 06:23:38 +00:00
Jörg Thalheim
15df81b45e
drop verbose command logging in task manager
2023-11-15 07:21:26 +01:00
Jörg Thalheim
50ecdebdd3
pytest: add missing with-core marker
2023-11-15 07:21:26 +01:00
Jörg Thalheim
6a35f6b26c
explicitly set networkd as the default
2023-11-15 07:21:26 +01:00
Jörg Thalheim
189451d3d2
integrated meshnamed with systemd-resolved
2023-11-15 07:21:26 +01:00
Jörg Thalheim
2ca9f8cbaf
move clan-imports into clanCore
2023-11-15 07:21:26 +01:00
Jörg Thalheim
e6376262df
deltachat: use zerotier address if available
2023-11-15 07:21:26 +01:00
Jörg Thalheim
74fa1c2614
zerotier: fix eval if meshname is not known yet
2023-11-15 07:21:26 +01:00
clan-bot
84a6a84b3b
Merge pull request 'zerotier: also enable meshnamed for non-controllers' ( #509 ) from Mic92-sops-nix into main
2023-11-14 16:47:40 +00:00
Jörg Thalheim
92aa60ff2e
zerotier: also enable meshnamed for non-controllers
2023-11-14 17:45:30 +01:00
Jörg Thalheim
d04e807269
zerotier: write hostname to file
2023-11-14 17:45:30 +01:00
clan-bot
85188bf522
Merge pull request 'also regenerate secrets if a fact is missing' ( #508 ) from Mic92-sops-nix into main
2023-11-14 16:11:10 +00:00
Jörg Thalheim
4514b09f81
also regenerate secrets if a fact is missing
2023-11-14 17:07:58 +01:00
clan-bot
495ae94478
Merge pull request 'fix exception when file does not exist' ( #507 ) from Mic92-sops-nix into main
2023-11-14 16:00:20 +00:00
Jörg Thalheim
f65bd8aa85
fix exception when file does not exist
...
fixes https://git.clan.lol/clan/clan-core/issues/488
2023-11-14 16:57:05 +01:00
clan-bot
e2eceeb546
Merge pull request 'add cors headers in exception handler in cors' ( #506 ) from Mic92-sops-nix into main
2023-11-14 15:42:46 +00:00
Jörg Thalheim
8b42d0207a
add cors headers in exception handler in cors
2023-11-14 16:39:20 +01:00
clan-bot
ce4f4f5e85
Merge pull request 'make openapi spec content addressed' ( #505 ) from Mic92-sops-nix into main
2023-11-14 14:35:35 +00:00
Jörg Thalheim
652580d57d
only enable corsmiddleware when in dev mode and allow all origins
2023-11-14 15:32:03 +01:00
clan-bot
baad0eb4aa
Merge pull request 'enable meshnamed in zerotier module' ( #504 ) from Mic92-sops-nix into main
2023-11-14 13:42:43 +00:00
Jörg Thalheim
65e09aebea
enable meshnamed in zerotier module
2023-11-14 14:40:26 +01:00
clan-bot
d621ec898a
Merge pull request 'zerotier: add leading zeros at subnet' ( #503 ) from Mic92-sops-nix into main
2023-11-14 13:28:13 +00:00
Jörg Thalheim
ed237ac078
zerotier: add leading zeros at subnet
2023-11-14 14:25:58 +01:00
clan-bot
6cfdc96f79
Merge pull request 'zerotier: compute ipv6 subnets' ( #502 ) from Mic92-sops-nix into main
2023-11-14 13:09:26 +00:00
Jörg Thalheim
087157b4bf
zerotier: compute ipv6 subnets
2023-11-14 14:04:05 +01:00
clan-bot
34d42df56c
Merge pull request 'drop zerotier-subnet, we can compute this.' ( #501 ) from Mic92-sops-nix into main
2023-11-14 12:53:18 +00:00
Jörg Thalheim
763d0fc252
drop zerotier-subnet, we can compute this.
2023-11-14 13:50:44 +01:00
clan-bot
0f464838f6
Merge pull request 'add module for meshnamed' ( #499 ) from Mic92-sops-nix into main
2023-11-14 12:01:26 +00:00
Jörg Thalheim
7fd0f1fbb7
add module for meshnamed
2023-11-14 12:58:15 +01:00
Jörg Thalheim
82c6330376
update flake lock
2023-11-14 11:29:43 +01:00
clan-bot
8433d85d18
Merge pull request 'api/machines: add test ensuring empty config is valid' ( #497 ) from DavHau-dave into main
2023-11-13 14:59:51 +00:00
DavHau
9f716741ef
api/machines: add test ensuring empty config is valid
2023-11-13 21:56:02 +07:00
clan-bot
93d5a85761
Merge pull request 'api/machines: allow config verification on imaginary machines' ( #496 ) from DavHau-dave into main
2023-11-13 14:29:11 +00:00
DavHau
d755048dc2
api/machines: allow config verification on imaginary machines
...
Machines do not need to exist in order to verify their configuration.
This allows verifying a config before creating an actual machine with it.
2023-11-13 21:24:05 +07:00
clan-bot
1b357c412d
Merge pull request 'api/machines: verify config by evaluating the .vm output' ( #495 ) from DavHau-dave into main
2023-11-13 13:53:42 +00:00
DavHau
33944cf74e
api/machines: verify config by evaluating the .vm output
...
This fixes the problem where fileSystems were missing, or boot.loader was not set.
SInce we want VMs anyways for now, this strategy aligns well
2023-11-13 20:50:11 +07:00
ui-asset-bot
74451be048
update ui-assets.nix
2023-11-13 13:31:33 +00:00
clan-bot
470a77f988
Merge pull request 'api/machines: init put_machine replacing create_machine and set_machine_config' ( #494 ) from DavHau-dave into main
2023-11-13 13:30:53 +00:00
DavHau
2fafc9a38b
api/machines: init put_machine replacing create_machine and set_machine_config
...
This allows creating and configuring a machine in one single step.
2023-11-13 20:25:52 +07:00
DavHau
0dae746bed
task_manager.py: fix index out of range bug
2023-11-13 20:21:51 +07:00
DavHau
52af144135
commit_file: fix diff computation
...
previously computed diff over all files
2023-11-13 19:59:20 +07:00
DavHau
3745709449
chore: remove unnecessary comment
2023-11-12 07:57:48 +07:00
DavHau
1e2e37880c
api/machines: ensure name is valid hostname
2023-11-12 07:57:48 +07:00
clan-bot
b10262ae81
Merge pull request 'fix sops-nix override' ( #492 ) from sops-nix into main
2023-11-11 17:31:09 +00:00
Jörg Thalheim
386028f4a6
fix sops-nix override
2023-11-11 18:28:18 +01:00
ui-asset-bot
0faeca7ad4
update ui-assets.nix
2023-11-11 14:30:55 +00:00
clan-bot
c514e470f4
Merge pull request 'feat/configure-modules' ( #490 ) from feat/configure-modules into main
2023-11-11 14:30:16 +00:00
Johannes Kirschbauer
eab4a41734
fix type errors
2023-11-11 15:27:57 +01:00
Johannes Kirschbauer
76328c2196
merge main
2023-11-11 15:11:06 +01:00
Johannes Kirschbauer
e3750db235
clean up join workflow
2023-11-11 15:01:18 +01:00
Johannes Kirschbauer
ebed5ab618
add & configure machine: added formular integration
2023-11-11 10:08:39 +01:00
clan-bot
9d000ba7fa
Merge pull request 'vms/create: drop extra flake argument and make it work with local flakes' ( #487 ) from Mic92-zerotier into main
2023-11-10 12:46:45 +00:00
Jörg Thalheim
706e7970f4
vms/create: drop extra flake argument and make it work with local flakes
2023-11-10 13:43:14 +01:00
clan-bot
d29359fafc
Merge pull request 'rename luispkgs to nixpkgs-for-deal' ( #485 ) from zerotier into main
2023-11-10 12:17:03 +00:00
Jörg Thalheim
6c2daab266
rename luispkgs to nixpkgs-for-deal
2023-11-10 13:14:06 +01:00
clan-bot
f338b73b99
Merge pull request 'move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS' ( #484 ) from zerotier into main
2023-11-10 12:01:30 +00:00
Jörg Thalheim
ba305a946e
dirs: opportuniscally create directories
2023-11-10 12:55:46 +01:00
Jörg Thalheim
2924e3e912
drop unused clan_data_dir
2023-11-10 12:55:46 +01:00
Jörg Thalheim
48d7968cf9
move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS
2023-11-10 12:50:51 +01:00
Jörg Thalheim
cb2145be65
drop unused ClanDataPath
2023-11-10 12:46:15 +01:00
clan-bot
8fb029d5f7
Merge pull request 'moving deal dependencies to tests only' ( #483 ) from zerotier into main
2023-11-10 11:43:45 +00:00
Jörg Thalheim
6ef5dab65d
breakpoint_shell: make work_dir optional
2023-11-10 12:40:51 +01:00
Jörg Thalheim
2e939bedd6
moving deal dependencies to tests only
2023-11-10 12:39:24 +01:00
clan-bot
aa15bebb0c
Merge pull request 'zerotier: allow to persist zerotier identities/ips/meshnames for non-controller' ( #482 ) from zerotier into main
2023-11-10 10:59:48 +00:00
Jörg Thalheim
e436fef13d
allow to persist zerotier identities/ips/meshnames for non-controller
2023-11-10 11:56:54 +01:00
clan-bot
019be0eea0
Merge pull request 'api/schema: return list of missing modules' ( #480 ) from DavHau-dave into main
2023-11-10 08:10:53 +00:00
DavHau
170d29a15a
api/schema: return list of missing modules
2023-11-10 15:07:15 +07:00
clan-bot
f3312cb7a6
Merge pull request 'api/schema: don't crash on eval error' ( #479 ) from DavHau-dave into main
2023-11-10 07:30:06 +00:00
DavHau
da32031eda
api/schema: don't crash on eval error
2023-11-10 14:27:03 +07:00
Jörg Thalheim
679b70bb34
also override XDG_DATA_HOME in tests
...
otherwise tests will fail if XDG_DATA_HOME is set by a user
2023-11-09 17:45:24 +01:00
Jörg Thalheim
5d972ed4a4
clan: use .local/share as default for XDG_DATA_HOME
2023-11-09 17:45:24 +01:00
Jörg Thalheim
d025902aac
fix error message if clan flake does not exist
2023-11-09 17:44:44 +01:00
ui-asset-bot
fe6088afa9
update ui-assets.nix
2023-11-09 08:34:03 +00:00
clan-bot
4fd767fc26
Merge pull request 'api/schema: get schema without having a machine' ( #478 ) from DavHau-dave into main
2023-11-09 08:33:23 +00:00
DavHau
fc1591a0a8
api/schema: get schema without having a machine
...
Also done:
- add @pytest.mark.with_core indicating that a test depends on clan-core and cannot be cached
- separate unit tests into two derivations, ones that can be cached and ones that cannot.
- fix frontend typescript code
2023-11-09 15:30:25 +07:00
clan-bot
cebb7be145
Merge pull request 'Fixed wrong examples' ( #477 ) from Qubasa-main into main
2023-11-08 20:43:27 +00:00
Qubasa
4ff9990054
Fixed wrong examples
2023-11-08 21:40:17 +01:00
clan-bot
8bb961ba62
Merge pull request 'Flake: Added python package deal as dependency' ( #476 ) from Qubasa-main into main
2023-11-08 19:16:58 +00:00
Qubasa
d7b563bbb7
Added deal as python dependency
2023-11-08 20:14:32 +01:00
Qubasa
b635ee775c
Updated flake.lock
2023-11-08 20:02:53 +01:00
Qubasa
93c6270386
Added deal contract framework and testing documentation
2023-11-08 19:56:07 +01:00
Qubasa
e565c0527c
Added schemathesis dependency
2023-11-08 19:56:05 +01:00
Qubasa
bff01be4d1
Added documentation on contract and property based testing
2023-11-08 19:55:12 +01:00
Qubasa
dbe32b5e72
Flake: Added python package deal as dependency
2023-11-08 19:55:11 +01:00
clan-bot
b18cf606ba
Merge pull request 'drop bloatware module' ( #475 ) from Mic92-HEAD into main
2023-11-08 13:49:35 +00:00
Jörg Thalheim
bb10e703b3
drop bloatware module
2023-11-08 14:47:31 +01:00
clan-bot
46698aa429
Merge pull request 'package meshnamed' ( #474 ) from Mic92-HEAD into main
2023-11-08 13:34:54 +00:00
Jörg Thalheim
c796bc4a8b
package meshnamed
2023-11-08 14:32:49 +01:00
clan-bot
cb20cdb6ed
Merge pull request 'switch back to main' ( #473 ) from Mic92-maddy into main
2023-11-08 09:23:53 +00:00
Jörg Thalheim
94bc308bb0
switch back to main
2023-11-08 10:17:00 +01:00
clan-bot
52843315b5
Merge pull request 'api/machines: better input/output validation' ( #472 ) from DavHau-dave into main
2023-11-06 10:59:14 +00:00
DavHau
6e281dd7c3
api/machines: better input/output validation
...
Also move contents tof 'config' to the top-level
2023-11-06 17:56:27 +07:00
clan-bot
36589fae8f
Merge pull request 'clan-cli secrets: flake_name -> flake_dir' ( #450 ) from flakes into main
2023-11-05 16:27:13 +00:00
lassulus
efafe6f0e3
clan-cli secrets: flake_name -> flake_dir
2023-11-05 16:58:48 +01:00
ui-asset-bot
fd6b5a57bd
update ui-assets.nix
2023-11-04 14:13:47 +00:00
clan-bot
db7aa564a7
Merge pull request 'add error handling' ( #467 ) from feat/configure-modules into main
2023-11-04 14:12:27 +00:00
Johannes Kirschbauer
37533aa00d
add error handling
...
prevent the user to go into next step if schema cannot be retrieved
2023-11-04 15:10:37 +01:00
ui-asset-bot
61d8bd8c0b
update ui-assets.nix
2023-11-04 13:58:39 +00:00
clan-bot
ab483d409b
Merge pull request 'style & explanation text' ( #466 ) from feat/configure-modules into main
2023-11-04 13:57:20 +00:00
Johannes Kirschbauer
46cd25cc0d
style & explanation text
2023-11-04 14:55:32 +01:00
ui-asset-bot
096a14fb41
update ui-assets.nix
2023-11-04 13:05:01 +00:00
clan-bot
0301417087
Merge pull request 'select modules' ( #465 ) from feat/configure-modules into main
2023-11-04 13:04:27 +00:00
Johannes Kirschbauer
93f0f2141a
format stuff
2023-11-04 14:02:32 +01:00
Johannes Kirschbauer
b8c5419dba
select modules.Prefetched schema depends only on modules
2023-11-04 13:53:30 +01:00
ui-asset-bot
48fb4f7550
update ui-assets.nix
2023-11-04 08:58:19 +00:00
clan-bot
a24229aa67
Merge pull request 'add create/join switch' ( #447 ) from feat/create-flake into main
2023-11-04 08:57:42 +00:00
Johannes Kirschbauer
aed41a8fbf
fix changed api imports
2023-11-04 09:55:53 +01:00
Johannes Kirschbauer
376aee57e9
disable lint rule
2023-11-04 09:46:14 +01:00
Johannes Kirschbauer
1ff5595dbc
format
2023-11-04 09:16:37 +01:00
Johannes Kirschbauer
3696ecbae5
merge main
2023-11-04 09:15:15 +01:00
ui-asset-bot
cb385b2e3c
update ui-assets.nix
2023-11-03 21:45:18 +00:00
clan-bot
b333d87fab
Merge pull request 'contributing.md: Fixed missing direnv install step' ( #457 ) from Qubasa-main into main
2023-11-03 21:44:44 +00:00
Qubasa
0c87485575
Fixed UI incorrectly not deleting api folder. Fixing new import paths for UI
2023-11-03 22:43:03 +01:00
Qubasa
b48cd4e9ae
nix fmt
2023-11-03 22:22:16 +01:00
Qubasa
bdd656cb94
Fixing failing test
2023-11-03 22:21:22 +01:00
Qubasa
a00056824d
API: Added /api/flake/list. Added API grouping and description for better visibility
2023-11-03 22:05:33 +01:00
Qubasa
6d074ad7dd
contributing.md: Fixed missing direnv install step
2023-11-03 20:33:27 +01:00
clan-bot
bf1d8c4c36
Merge pull request 'deltachat: allow other ports to access smtp port' ( #455 ) from Mic92-maddy into main
2023-11-03 14:47:38 +00:00
Jörg Thalheim
7e144f5f85
deltachat: allow other ports to access smtp port
2023-11-03 15:45:29 +01:00
clan-bot
513408ddd2
Merge pull request 'flake.lock: Update' ( #454 ) from Mic92-maddy into main
2023-11-03 14:26:41 +00:00
Jörg Thalheim
c801c7e5d4
flake.lock: Update
...
Flake lock file updates:
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c59da7ac29f041954c0864bc7bbb2c66ee18eba5' (2023-11-03)
→ 'github:Mic92/sops-nix/275b28593ef3a1b9d05b6eeda3ddce2f45f5c06f' (2023-11-03)
2023-11-03 15:24:51 +01:00
clan-bot
9dc19130d6
Merge pull request 'flake.lock: Update' ( #452 ) from Mic92-maddy into main
2023-11-03 13:52:50 +00:00
clan-bot
34c86f5900
Merge pull request 'cli: merge nix options correctly; ruff format' ( #451 ) from maddy into main
2023-11-03 13:50:30 +00:00
Jörg Thalheim
0d43343908
flake.lock: Update
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/4122a18340094151d7911e838237ec7627f0d0c5' (2023-10-22)
→ 'github:nix-community/disko/944d338d24a9d043a3f7461c30ee6cfe4f9cca30' (2023-10-27)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
→ 'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/30a0ba4a20703b4bfe047fe5def1fc24978e322c' (2023-10-22)
→ 'github:Mic92/sops-nix/c59da7ac29f041954c0864bc7bbb2c66ee18eba5' (2023-11-03)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/aae39f64f5ecbe89792d05eacea5cb241891292a' (2023-10-15)
→ 'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27)
2023-11-03 14:49:49 +01:00
Jörg Thalheim
68a2df46ae
fix clan_error_handler type
2023-11-03 14:48:14 +01:00
Jörg Thalheim
89ca442eb3
deltachat: import module from clanModules
2023-11-03 14:02:07 +01:00
Jörg Thalheim
527db2dbf0
container-driver: fix eval
2023-11-03 14:01:43 +01:00
Jörg Thalheim
483fb2ad9e
switch to deltachat branch
2023-11-03 13:50:05 +01:00
Jörg Thalheim
0e003f519d
switch to back to nixos-unstable-small
2023-11-03 13:44:12 +01:00
Jörg Thalheim
d08fe82864
switch from black to ruff for formatting
2023-11-03 13:38:13 +01:00
Jörg Thalheim
33515b2ed2
cli: merge nix options correctly
2023-11-03 13:31:36 +01:00
Mic92
9337960cf3
Merge pull request 'add nix option flag that is passed to underlying nix commands' ( #449 ) from maddy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/449
2023-11-03 12:19:22 +00:00
Jörg Thalheim
542bf47820
add nix option flag that is passed to underlying nix commands
2023-11-03 12:28:26 +01:00
Mic92
d1c4111a49
Merge pull request 'add deltachat module' ( #448 ) from maddy into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/448
2023-11-03 10:39:51 +00:00
Jörg Thalheim
3a60ec4d98
add deltachat module
2023-11-03 10:39:51 +00:00
Jörg Thalheim
bec3f78a8b
drop xmpp setup again
2023-11-03 10:39:51 +00:00
Johannes Kirschbauer
c714ab29b4
add create/join switch
2023-10-31 19:05:37 +01:00
clan-bot
f462edc9c9
Merge pull request 'ejabberd: fix sqlite and access' ( #446 ) from Mic92-main into main
2023-10-31 17:45:16 +00:00
Jörg Thalheim
5e52a16eca
drop ejabberd again
2023-10-31 18:43:51 +01:00
Jörg Thalheim
37ef880889
add prosody
2023-10-31 17:41:36 +01:00
Jörg Thalheim
85b45faf5c
ejabberd: fix sqlite and access
2023-10-31 16:46:02 +01:00
clan-bot
f20982ec9c
Merge pull request 'zerotier: enable networkd, better qemu vga' ( #445 ) from Mic92-main into main
2023-10-31 14:40:22 +00:00
Jörg Thalheim
53b5e989ee
zerotier: enable networkd
2023-10-31 15:35:09 +01:00
Jörg Thalheim
ac754e1b44
vms/create: try virtio for vga
...
seems to suck less than std.
2023-10-31 15:34:53 +01:00
Qubasa
48561f8c70
Fixing tea-create-pr
2023-10-31 15:34:47 +01:00
Qubasa
da2e48cab5
nix fmt
2023-10-31 15:34:47 +01:00
Qubasa
724ba27f2f
Added contributing.md and improved README.md
2023-10-31 15:34:47 +01:00
lassulus
fb20b6040c
switch flake to main branch again
2023-10-31 15:34:47 +01:00
lassulus
b316597bf4
cli machines update: find flake dir automatic if not provided, support flake as path
2023-10-31 15:34:47 +01:00
clan-bot
43f689c1db
Merge pull request 'clanModules: add xfce/dino' ( #444 ) from Mic92-main into main
2023-10-31 12:56:32 +00:00
Jörg Thalheim
81e40ac34c
vms/create: use tmpdir again
2023-10-31 13:53:54 +01:00
Jörg Thalheim
f33ed3eec6
vms/create: allow xchg/secrets dir to exist
2023-10-31 13:53:54 +01:00
Jörg Thalheim
31e47beca4
improve error message if flake_dir does not exists
2023-10-31 13:53:54 +01:00
Jörg Thalheim
317f5cfbea
clanModules: add ejabberd
2023-10-31 13:53:54 +01:00
clan-bot
6aa286a96d
Merge pull request 'Added contributing.md and improved README.md' ( #443 ) from Qubasa-main into main
2023-10-31 12:18:53 +00:00
Qubasa
5979fb2ce1
Fixing tea-create-pr
2023-10-31 13:16:19 +01:00
lassulus
bafb965962
Merge pull request 'cli machines update: find flake dir automatic if not provided, support flake as path' ( #441 ) from lassulus-HEAD into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/441
2023-10-31 12:09:35 +00:00
lassulus
b211fab82b
switch flake to main branch again
2023-10-31 13:01:16 +01:00
Qubasa
afcafd2029
nix fmt
2023-10-31 13:00:48 +01:00
Qubasa
974f594a78
Added contributing.md and improved README.md
2023-10-31 12:57:28 +01:00
Jörg Thalheim
b56848f471
clanModules: add xfce/dino
2023-10-31 12:49:51 +01:00
lassulus
0600278122
cli machines update: find flake dir automatic if not provided, support flake as path
2023-10-29 20:52:38 +01:00
ui-asset-bot
3e7a866ea1
update ui-assets.nix
2023-10-29 18:55:11 +00:00
Luis Hebendanz
4cf28d3120
Merge pull request 'Adding state directory, rearchitecturing API endpoints' ( #425 ) from Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/425
2023-10-29 18:54:34 +00:00
Qubasa
04b1fc2524
Fixed test_webui only failing in nix_sandbox also fixed test_create_flake
2023-10-29 19:51:35 +01:00
Qubasa
1fef2d1732
Fixed test_webui only failing in nix_sandbox
2023-10-29 19:35:29 +01:00
Johannes Kirschbauer
63a0adb678
format pytest
2023-10-28 18:38:14 +02:00
Johannes Kirschbauer
e5455f98fc
fix frontend
2023-10-28 18:34:36 +02:00
Qubasa
ff866ca4b2
Fixing test_clan_modules test
2023-10-27 23:39:02 +02:00
Qubasa
e389c7cfe7
Updated to main branch. Removed cluttering asyncio and httpx log messages
2023-10-27 23:36:45 +02:00
Qubasa
97a20053e7
Updated to main branch
2023-10-27 19:26:51 +02:00
Qubasa
d8539b2bed
next lint now throws at least an equal amount of errors as next build if not more.
2023-10-27 19:26:03 +02:00
Qubasa
7256c35c26
Fixed missing FlakeName argument
2023-10-27 19:26:03 +02:00
Qubasa
1a2e117523
Fixing deadlock
2023-10-27 19:26:03 +02:00
Qubasa
a628934351
Removing find_git_repo
2023-10-27 19:26:03 +02:00
Qubasa
8e8b6530b0
Fixing test_vms_api test
2023-10-27 19:26:03 +02:00
Qubasa
d69b8920d1
Fixing test_vms_api test
2023-10-27 19:26:03 +02:00
Qubasa
750b4b6b7e
Fixing test_vms_api test
2023-10-27 19:26:03 +02:00
Qubasa
3aed7b834f
Commit only for debugging Container
2023-10-27 19:26:03 +02:00
Qubasa
5bd2345bc1
Commit only for debugging Container
2023-10-27 19:26:03 +02:00
Qubasa
ddf502b229
nix fmt
2023-10-27 19:26:03 +02:00
Qubasa
768b567f21
nix fmt
2023-10-27 19:26:03 +02:00
Qubasa
916fa8e570
All tests passing babyyy !!
2023-10-27 19:26:03 +02:00
Qubasa
0be3dac289
nix fmt
2023-10-27 19:21:50 +02:00
Qubasa
8ff80b025c
Fixing a multitude of tests
2023-10-27 19:21:50 +02:00
Qubasa
adffdc14f6
Added repro_env_break debugging command. This spawn a terminal inside the temp home folder with the same environment as the python test
2023-10-27 19:20:17 +02:00
Qubasa
950808498f
Working test_create_flake
2023-10-27 19:20:17 +02:00
Qubasa
3dc7d12e9c
Added ref to Qubasa-main in template/new-clan/flake.nix
2023-10-27 19:20:17 +02:00
Qubasa
8e9034ad02
Added clanName argument to clan-core.lib.builClan
2023-10-27 19:20:17 +02:00
Qubasa
9c8829c32f
nix fmt
2023-10-27 19:19:45 +02:00
Qubasa
6d0deefa6b
Added ipdb as breakpoint console. Improved logging.
2023-10-27 19:19:45 +02:00
Qubasa
0ab2b853f2
Improved logging messages. Added ClanError if flake create or machine create already exist
2023-10-27 19:18:45 +02:00
Qubasa
d96ea61243
Secrets tests passing. nix fmt doesn't complain
2023-10-27 19:18:45 +02:00
Qubasa
1631dc631b
Improved test logging with frame inspection
2023-10-27 19:18:45 +02:00
Qubasa
7bbadaa60f
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
Qubasa
ecdd4949b7
Added new type FlakeName
2023-10-27 19:18:45 +02:00
Qubasa
f976121fa6
Added flake_name:str argument everywhere, nix fmt doesn't complain anymore
2023-10-27 19:15:40 +02:00
Qubasa
b09448ab6b
Updated to main
2023-10-27 19:15:11 +02:00
Qubasa
2ad87785c0
Added state directory.
2023-10-27 19:11:27 +02:00
Qubasa
58b54bb9df
API: Added Path validators. api/flake/create inits git repo. Fixed vscode interpreter problem
2023-10-27 19:11:27 +02:00
clan-bot
139fe6c834
Merge pull request 'move breakpoint checks out of default build' ( #440 ) from Mic92-main into main
2023-10-27 15:42:28 +00:00
Jörg Thalheim
c2c9f7e33f
extending machines documentation
2023-10-27 17:40:20 +02:00
Jörg Thalheim
f7e9d45ade
improve output of installer iso
...
Now it also includes local addresses.
2023-10-27 17:40:20 +02:00
Jörg Thalheim
8daf0607c3
fix updating multiple machines
2023-10-27 17:40:20 +02:00
Jörg Thalheim
1b98be4fb7
move breakpoint checks out of default build
...
this allows to debug builds with breakpoints
2023-10-27 17:40:20 +02:00
clan-bot
8dc829a8a9
Merge pull request 'docs: fix clan create command' ( #439 ) from Mic92-main into main
2023-10-27 12:30:32 +00:00
Jörg Thalheim
3af136b8ab
cli/vms/create: fix trailing newlines in log output
2023-10-27 14:27:52 +02:00
Jörg Thalheim
1cf4df4d75
docs: fix clan create command
2023-10-27 13:28:34 +02:00
clan-bot
d26e657ee9
Merge pull request 'api/machines: split off config validation into separate endpoint' ( #438 ) from DavHau-dave into main
2023-10-25 23:25:56 +00:00
DavHau
e6b13fd970
api/machines: split off config validation into separate endpoint
...
- This speeds up PUT /machines{name}/config as it doesn't do the expensive check anymore
- instead use PUT /machines/{name}/verify which allows a dry-run evaluation of a config which is passed without writing it to disk
2023-10-25 17:48:37 +01:00
clan-bot
c88431fb25
Merge pull request '/api/clan_modules: init' ( #437 ) from DavHau-dave into main
2023-10-25 16:25:05 +00:00
DavHau
5eda240cb2
/api/clan_modules: init
...
- add GET /api/clan_modules entry point returning a list of modules available for import
2023-10-25 17:22:35 +01:00
clan-bot
713612fb37
Merge pull request 'api/machines: allow importing extra modules' ( #436 ) from DavHau-dave into main
2023-10-25 15:39:00 +00:00
DavHau
cf0953146d
api/machines: allow importing extra modules
...
- add top-level option `clanImports` to clanCore
- clanImports can be set and checked as any other option
- buildClan resolves the clanImports from the settings.json before calling evalModules to prevent infinite recursions
- new endpoint PUT machines/{name}/schema to allow getting the schema for a specific list of imports
- to retrieve the currently imported modules, cimply do a GET or PU on machines/{name}/config which will return `clanImports` as part of the config
Still missing: get list of available modules
2023-10-25 16:36:30 +01:00
Mic92
3d0b9428a7
Merge pull request 'add container test driver' ( #435 ) from container into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/435
2023-10-25 13:16:13 +00:00
Jörg Thalheim
1d336ed863
add container test driver
2023-10-25 13:16:13 +00:00
clan-bot
755c7f4620
Merge pull request 'PUT /machines/{name}/config; ensure is idempotent' ( #434 ) from DavHau-dave into main
2023-10-24 17:50:51 +00:00
DavHau
607c52149f
PUT /machines/{name}/config; ensure is idempotent
2023-10-24 18:48:14 +01:00
clan-bot
bbf832093b
Merge pull request 'PUT api/machines/{name}/config: ensure only valid config is ever written' ( #433 ) from DavHau-dave into main
2023-10-24 17:43:37 +00:00
DavHau
177be69eda
PUT api/machines/{name}/config: ensure only valid config is ever written
...
- add CLAN_MACHINE_SETTINGS_FILE variable to temporarily override the machine settings file
- do a dry-run evaluation first with the new config before persisting it.
2023-10-24 18:40:48 +01:00
clan-bot
ef59b97c0c
Merge pull request 'machines: add endpoint machines/{name}/ verify' ( #432 ) from DavHau-dave into main
2023-10-24 15:34:05 +00:00
DavHau
f1e7495806
machines: add endpoint machines/{name}/ verify
2023-10-24 16:31:37 +01:00
clan-bot
3288185f66
Merge pull request 'clan config: refactor - reorder functions' ( #431 ) from DavHau-dave into main
2023-10-24 14:35:34 +00:00
DavHau
6b36fc743c
clan config: refactor - reorder functions
2023-10-24 15:27:19 +01:00
clan-bot
39b7963f74
Merge pull request 'clan-cli/shell.nix: rename repo_root -> source' ( #429 ) from DavHau-dave into main
2023-10-23 15:20:15 +00:00
DavHau
ca8dcf8a7b
clan-cli/shell.nix: rename repo_root -> source
2023-10-23 16:15:46 +01:00
clan-bot
b21be4dba5
Merge pull request 'Automatic flake update - 2023-10-23T00:00+00:00' ( #428 ) from flake-update-2023-10-23 into main
2023-10-23 00:02:46 +00:00
Clan Merge Bot
353d87c6e1
update flake lock - 2023-10-23T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/6ad5c9c17cbd5514ce0cc2692dd82dd6d8e5d879' (2023-10-13)
→ 'github:nix-community/disko/4122a18340094151d7911e838237ec7627f0d0c5' (2023-10-22)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/51186b8012068c417dac7c31fb12861726577898' (2023-10-15)
→ 'github:Mic92/sops-nix/30a0ba4a20703b4bfe047fe5def1fc24978e322c' (2023-10-22)
2023-10-23 00:00:17 +00:00
clan-bot
d50b653903
Merge pull request 'Automatic flake update - 2023-10-16T00:00+00:00' ( #427 ) from flake-update-2023-10-16 into main
2023-10-16 00:02:26 +00:00
Clan Merge Bot
f93cf42f8e
update flake lock - 2023-10-16T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/cde886a1c97ef2399b4f91409db045785020291f' (2023-10-05)
→ 'github:nix-community/disko/6ad5c9c17cbd5514ce0cc2692dd82dd6d8e5d879' (2023-10-13)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/d7380c38d407eaf06d111832f4368ba3486b800e' (2023-10-08)
→ 'github:Mic92/sops-nix/51186b8012068c417dac7c31fb12861726577898' (2023-10-15)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/720bd006d855b08e60664e4683ccddb7a9ff614a' (2023-09-27)
→ 'github:numtide/treefmt-nix/aae39f64f5ecbe89792d05eacea5cb241891292a' (2023-10-15)
2023-10-16 00:00:17 +00:00
clan-bot
dfe16652ac
Merge pull request 'machines/install: call correct upload function' ( #426 ) from Mic92-main into main
2023-10-14 14:06:59 +00:00
Jörg Thalheim
0840eb5490
machines/install: call correct upload function
2023-10-14 15:56:04 +02:00
DavHau
13061ca1c6
Merge pull request 'vms.create: don't generate secrets if clan is remote' ( #424 ) from lassulus-vm_generate into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/424
2023-10-11 10:10:26 +00:00
lassulus
b9208134f5
vms.create: don't generate secrets if clan is remote
2023-10-11 12:01:42 +02:00
clan-bot
ed247b7808
Merge pull request 'API: Added /api/flake/create. Fixed vscode search settings. Moved clan create to clan flake create' ( #423 ) from Qubasa-main into main
2023-10-09 12:04:02 +00:00
Qubasa
942aa10a31
API: Added /api/flake/create. Fixed vscode search settings. Moved clan create to clan flake create
2023-10-09 14:01:34 +02:00
clan-bot
492923b65b
Merge pull request 'Automatic flake update - 2023-10-09T00:00+00:00' ( #422 ) from flake-update-2023-10-09 into main
2023-10-09 00:04:23 +00:00
Clan Merge Bot
c643a248ee
update flake lock - 2023-10-09T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/646ee25c25fffee122a66282861f5f56ad3e0fd9' (2023-10-02)
→ 'github:nix-community/disko/cde886a1c97ef2399b4f91409db045785020291f' (2023-10-05)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01)
→ 'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/8ee78470029e641cddbd8721496da1316b47d3b4' (2023-09-04)
→ 'github:nix-community/nixos-generators/150f38bd1e09e20987feacb1b0d5991357532fb5' (2023-09-30)
• Updated input 'nixpkgs':
'github:Mic92/nixpkgs/bc160df717ed1e9defe6044092ea66950976e3ed' (2023-09-26)
→ 'github:Mic92/nixpkgs/c3bd4f19ef0062d4462444aa413e26c917187ae9' (2023-09-30)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21)
→ 'github:Mic92/sops-nix/d7380c38d407eaf06d111832f4368ba3486b800e' (2023-10-08)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/e951529be2e7c669487de78f5aef8597bbae5fca' (2023-09-21)
→ 'github:numtide/treefmt-nix/720bd006d855b08e60664e4683ccddb7a9ff614a' (2023-09-27)
2023-10-09 00:00:16 +00:00
ui-asset-bot
f70eb609c7
update ui-assets.nix
2023-10-08 15:27:26 +00:00
clan-bot
505ec1b479
Merge pull request 'cleanup work' ( #421 ) from chore/fixes into main
2023-10-08 15:26:08 +00:00
ui-asset-bot
c0e6aec41e
update ui-assets.nix
2023-10-08 15:24:32 +00:00
clan-bot
438137a831
Merge pull request 'add coporate theme color variables' ( #419 ) from feat/theme into main
2023-10-08 15:23:54 +00:00
Johannes Kirschbauer
592b687dc7
cleanup work
2023-10-08 17:20:43 +02:00
clan-bot
3ab429590a
Merge pull request 'CLI: Fixed bug in firefox opening addon page because of new profile' ( #420 ) from Qubasa-main into main
2023-10-08 14:42:49 +00:00
Johannes Kirschbauer
75dd1e866a
remove: tailwindcss/plugin until we find solution
2023-10-08 16:31:16 +02:00
Johannes Kirschbauer
6d0c0275f4
resolve conflicts
2023-10-08 15:53:43 +02:00
Johannes Kirschbauer
e49791bb33
add coporate theme color variables
2023-10-08 15:46:33 +02:00
Qubasa
df32081b60
CLI: Fixed bug in firefox opening addon page because of new profile
2023-10-08 14:39:31 +02:00
clan-bot
eba7c9a3b0
Merge pull request 'clan join: test create vm for clan join' ( #418 ) from DavHau-dave into main
2023-10-06 17:17:15 +00:00
DavHau
cc8f99d06c
clan join: test create vm for clan join
...
This adds a vm create test for the `clan join` scenario where:
- there is no local clan to write changes to
- a machine from a remote flake needs to be built and run
- no users and no secrets need to be or can be managed (no flake to write files to)
2023-10-06 19:15:25 +02:00
clan-bot
1407506e79
Merge pull request 'secrets: fix: don't generate secrets if no secrets are defined' ( #417 ) from DavHau-dave into main
2023-10-06 16:50:45 +00:00
DavHau
bb51a9916b
secrets: fix: don't generate secrets if no secrets are defined
2023-10-06 18:34:49 +02:00
ui-asset-bot
fe3bd4791a
update ui-assets.nix
2023-10-06 07:52:25 +00:00
clan-bot
c5c21e9772
Merge pull request 'clean up theme' ( #416 ) from feat/corp-theme into main
2023-10-06 07:51:07 +00:00
Johannes Kirschbauer
855b9e27b1
clean up theme
2023-10-06 09:41:37 +02:00
clan-bot
49203b17a8
Merge pull request 'password-store: generate each secret in tmpdir' ( #414 ) from lassulus-HEAD into main
2023-10-05 18:36:52 +00:00
lassulus
599209b7f6
secrets.password-store: mkdir correct fact folder
2023-10-05 20:22:30 +02:00
lassulus
97c1e3fb47
zerotier generate-network: terminate fakeroot for process cleanup
2023-10-05 19:14:10 +02:00
lassulus
130ca378dc
password-store: generate each secret in tmpdir
2023-10-05 19:14:10 +02:00
clan-bot
c9c2dbb44d
Merge pull request 'clan-cli: improve debug logging' ( #415 ) from DavHau-dave into main
2023-10-05 15:39:24 +00:00
DavHau
4f9fa94e46
clan-cli: improve debug logging
2023-10-05 17:37:33 +02:00
clan-bot
a42854a354
Merge pull request 'clanCore: specify interface for system.clan' ( #413 ) from DavHau-dave into main
2023-10-05 15:10:23 +00:00
DavHau
25682cf146
clanCore: specify interface for system.clan
2023-10-05 17:08:59 +02:00
clan-bot
f38b5f8127
Merge pull request 'zerotier: fix: find free port without collissions' ( #412 ) from DavHau-dave into main
2023-10-05 15:05:27 +00:00
DavHau
9e4c5cadf1
zerotier: fix: find free port without collissions
2023-10-05 17:03:01 +02:00
clan-bot
4db1a0e1de
Merge pull request 'tests: add fixtures to test_vms_cli' ( #411 ) from lassulus-HEAD into main
2023-10-05 13:58:28 +00:00
lassulus
cc7f96961e
tests: add fixtures to test_vms_cli
2023-10-05 15:56:15 +02:00
clan-bot
d9fa85f17e
Merge pull request 'clan-cli: unset LD_LIBRARY_PATH' ( #410 ) from DavHau-dave into main
2023-10-05 11:46:27 +00:00
DavHau
b8da1a8e08
clan-cli: unset LD_LIBRARY_PATH
...
This prevents problems with mixed glibc versions that might occur when the cli is called through a browser built against another glibc
2023-10-05 13:44:08 +02:00
clan-bot
d0eaa6c76e
Merge pull request 'machines update: add --target-host' ( #409 ) from lassulus-HEAD into main
2023-10-04 21:30:53 +00:00
lassulus
ee76a78aed
machines update: add --target-host
2023-10-04 23:28:15 +02:00
clan-bot
c35ba6cc83
Merge pull request 'secrets upload: skip on exit 23, cleanup' ( #408 ) from lassulus-secrets-fix into main
2023-10-04 19:31:38 +00:00
lassulus
528d0ee45a
secrets upload: skip on exit 23, cleanup
2023-10-04 21:29:19 +02:00
clan-bot
718deb9c70
Merge pull request 'test_secrets_password_store: create gpghome with save permissions' ( #407 ) from Mic92-main into main
2023-10-04 17:59:18 +00:00
Jörg Thalheim
5180b6655e
test_secrets_password_store: create gpghome with save permissions
2023-10-04 19:56:18 +02:00
clan-bot
ab219db35c
Merge pull request 'clan join: init' ( #406 ) from DavHau-dave into main
2023-10-04 16:57:10 +00:00
DavHau
e6f1ba9291
clan join: init
2023-10-04 18:53:59 +02:00
clan-bot
a64c3b7525
Merge pull request 'webui: drop deadcode' ( #405 ) from Mic92-main into main
2023-10-04 16:20:23 +00:00
Jörg Thalheim
8d423cc5f1
task_manager: log stdout/stderr correctly for processes
2023-10-04 18:17:30 +02:00
Jörg Thalheim
876e79d7a6
drop dead daemonize code
2023-10-04 18:17:30 +02:00
clan-bot
3c5a84fec1
Merge pull request 'vm_secrets' ( #401 ) from vm_secrets into main
2023-10-04 16:15:54 +00:00
lassulus
7a224c0130
test_vms_api: supply age key for secret creation
2023-10-04 18:13:25 +02:00
lassulus
9457a0f4b9
vms: support secrets and fix cross compilation
2023-10-04 18:04:27 +02:00
clan-bot
fc50b1786b
Merge pull request 'fix task manager race conditions' ( #404 ) from lassulus-taskmanager into main
2023-10-04 15:54:37 +00:00
lassulus
b46aaac568
tests test_flake: disable dhcp
2023-10-04 17:52:06 +02:00
lassulus
0ed50d994b
task_manager: fix race conditions
2023-10-04 17:52:06 +02:00
clan-bot
546bc93d64
Merge pull request 'webui: open browser in new window' ( #403 ) from DavHau-dave into main
2023-10-04 15:30:58 +00:00
DavHau
a2f729fb2a
webui: open browser in new window
...
This gets closer to an app like feeling
2023-10-04 17:26:55 +02:00
clan-bot
4a72889bd3
Merge pull request 'improve task manager to report exceptions better' ( #402 ) from Mic92-main into main
2023-10-04 14:51:41 +00:00
Jörg Thalheim
b0b680c39d
improve task manager to report exceptions better
2023-10-04 16:49:58 +02:00
clan-bot
fc2fec914d
Merge pull request 'clan-cli: add install command' ( #383 ) from lassulus-install into main
2023-10-04 14:49:53 +00:00
lassulus
67ff04b1f9
vm.create: define tmpdir
2023-10-04 16:46:30 +02:00
lassulus
01087e2da8
clan_cli: refactor secrets code into Machine class
2023-10-04 16:41:16 +02:00
lassulus
1b9ea830c9
clan-cli: add machines install
2023-10-04 16:34:37 +02:00
lassulus
dc82712a7b
secrets.password-store: ignore ssh errors
2023-10-04 16:34:37 +02:00
clan-bot
98f31f4aff
Merge pull request 'clan-cli devShell: add editable install' ( #397 ) from DavHau-dave into main
2023-10-04 09:43:27 +00:00
DavHau
41a0884acb
clan-cli devShell: add editable install
2023-10-04 11:39:31 +02:00
clan-bot
4c61c02506
Merge pull request 'rename test_basic to test_create_flake' ( #396 ) from Mic92-main into main
2023-10-04 09:04:09 +00:00
Jörg Thalheim
e3e486b2fd
rename test_basic to test_create_flake
2023-10-04 11:01:12 +02:00
clan-bot
daab0eeecb
Merge pull request 'clan-cli: stop propagating build inputs, remove wrapper' ( #395 ) from DavHau-dave into main
2023-10-04 08:38:44 +00:00
DavHau
7b157b279f
clan-cli: stop propagating build inputs, remove wrapper
2023-10-04 10:36:39 +02:00
clan-bot
033bd178c3
Merge pull request 'quickstart: add user creation' ( #394 ) from DavHau-dave into main
2023-10-04 08:20:31 +00:00
DavHau
3f9a882c37
quickstart: add user creation
2023-10-04 10:18:28 +02:00
clan-bot
a345b1a438
Merge pull request 'restore possibility to update all machines without having to specify them' ( #393 ) from Mic92-kvm-fix into main
2023-10-04 06:39:22 +00:00
Jörg Thalheim
2ca9e9a16e
restore possibility to update all machines without having to specify them
2023-10-04 08:35:59 +02:00
clan-bot
9b6226fe43
Merge pull request 'don't register global logger, this interferes currently with that we have in ssh.py' ( #392 ) from Mic92-kvm-fix into main
2023-10-04 06:14:28 +00:00
Jörg Thalheim
50b49d393f
add binary cache and switch back to main branch of disko
2023-10-04 08:08:06 +02:00
Jörg Thalheim
eaf7f62e26
don't register global logger, this interferes currently with that we have in ssh.py
2023-10-04 08:08:06 +02:00
clan-bot
9af39fe46f
Merge pull request 'make vm test also work in ci' ( #391 ) from Mic92-kvm-fix into main
2023-10-03 16:53:15 +00:00
Jörg Thalheim
6ffe39a915
make vm test also work in ci
2023-10-03 18:50:14 +02:00
Mic92
f693465c4e
Merge pull request 'clan_cli.secrets.groups: update keys if members are added/removed' ( #389 ) from lassulus-secrets_cli into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/389
2023-10-03 16:15:36 +00:00
Jörg Thalheim
c5b0787034
also test that updating a group works
2023-10-03 16:15:36 +00:00
lassulus
251a67ae9e
clan_cli.secrets.groups: update keys if members are added/removed
2023-10-03 16:15:36 +00:00
clan-bot
2a9deb071f
Merge pull request 'task_manager: return task directly instead of uuid' ( #390 ) from Mic92-HEAD into main
2023-10-03 15:53:25 +00:00
Jörg Thalheim
f8e5f261f9
task_manager: return task directly instead of uuid
2023-10-03 17:48:56 +02:00
Mic92
60309f94dc
Merge pull request 'Restructuring CLI to use API' ( #387 ) from Qubasa-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/387
2023-10-03 15:34:33 +00:00
Jörg Thalheim
f097e78ff2
Merge remote-tracking branch 'origin/main' into HEAD
2023-10-03 17:32:19 +02:00
Jörg Thalheim
e27efd4035
add test for vm cli
2023-10-03 17:24:08 +02:00
Jörg Thalheim
844ed6dddd
clan-cli/tests: skip tests if has no /dev/kvm
2023-10-03 17:24:08 +02:00
Jörg Thalheim
df6962d316
add missing e2fsprogs to runtime inputs
2023-10-03 17:24:08 +02:00
Jörg Thalheim
c03effed54
move out vm logic out of controller
2023-10-03 17:24:08 +02:00
Qubasa
6de1aeebb9
nix fmt
2023-10-03 15:22:41 +02:00
Qubasa
abd78293fc
Fixed upload_secrets_test
2023-10-03 15:14:50 +02:00
Qubasa
d60205ea56
Fixed upload_secrets_test
2023-10-03 15:10:22 +02:00
ui-asset-bot
d6b5653b72
update ui-assets.nix
2023-10-03 13:05:51 +00:00
clan-bot
a5c164ad58
Merge pull request 'coporate color system: init' ( #388 ) from feat/corp-theme into main
2023-10-03 13:04:48 +00:00
Johannes Kirschbauer
482d64e5a6
add build output
2023-10-03 15:02:47 +02:00
Qubasa
5628475345
Fixing PYTHONPATH in secrets/generate test
2023-10-03 15:01:13 +02:00
Johannes Kirschbauer
6150baedb3
coporate color system: init
2023-10-03 14:58:31 +02:00
Qubasa
499c42fd20
nix fmt
2023-10-03 14:39:29 +02:00
Qubasa
76943ac7ee
Added newlines against buffering for log streaming. Fixed cli
2023-10-03 14:38:51 +02:00
Qubasa
98b5befa0e
Added newlines against buffering
2023-10-03 14:36:15 +02:00
Qubasa
f1d5cacd76
Added better logging
2023-10-03 14:16:07 +02:00
Qubasa
42d81230c4
Merge branch 'Qubasa-main' of git.clan.lol:clan/clan-core
2023-10-03 13:24:31 +02:00
Qubasa
5788b65438
Updated to main
2023-10-03 13:20:22 +02:00
Qubasa
f5bead7403
API: Added test for inspect_flake
2023-10-03 13:19:20 +02:00
Qubasa
c78af6243c
Fixed failing tests
2023-10-03 13:15:01 +02:00
Qubasa
3a8ce96b43
CLI: Restructured TaskManager and log collection
2023-10-03 13:15:01 +02:00
Qubasa
0b47a1f9e1
Updated to main
2023-10-03 13:12:44 +02:00
Qubasa
e0ef03fa03
API: Added test for inspect_flake
2023-10-03 12:50:47 +02:00
Qubasa
14831e871f
Fixed failing tests
2023-10-03 11:51:31 +02:00
clan-bot
56325fc9aa
Merge pull request 'add error handling to endpoint' ( #386 ) from feat/flake-attr into main
2023-10-03 09:44:50 +00:00
Johannes Kirschbauer
6edaa7d2ba
smoke check error handling for create vm
2023-10-03 11:43:06 +02:00
Johannes Kirschbauer
1acfded849
Beyoncé rule
2023-10-03 11:21:34 +02:00
Johannes Kirschbauer
9edf5933bb
add error handling to endpoint
2023-10-03 11:12:06 +02:00
ui-asset-bot
aa5c5248e8
update ui-assets.nix
2023-10-03 08:59:15 +00:00
clan-bot
82170108cc
Merge pull request 'AppState context add' ( #382 ) from feat/join-workflow into main
2023-10-03 08:58:13 +00:00
Johannes Kirschbauer
053c8e99e8
reformat
2023-10-03 10:56:35 +02:00
Johannes Kirschbauer
b4d3346dd9
clean up unused js parts
2023-10-03 10:39:49 +02:00
Qubasa
ab6b96e516
CLI: Restructured TaskManager and log collection
2023-10-02 18:36:50 +02:00
Qubasa
c7bf416af4
CLI: Use API functions
2023-10-02 15:36:02 +02:00
Johannes Kirschbauer
c3bf57dade
Merge branch 'main' into feat/join-workflow
2023-10-02 15:27:13 +02:00
Johannes Kirschbauer
7fdcd4db4b
AppState context add
2023-10-01 22:47:09 +02:00
clan-bot
71ed9df70c
Merge pull request 'API: Added /api/flake_attrs' ( #380 ) from Qubasa-main into main
2023-10-01 10:53:08 +00:00
Qubasa
912d6428a3
API: Added endpoint & test for /api/flake/attrs
2023-10-01 12:50:54 +02:00
ui-asset-bot
cf1f413bdd
update ui-assets.nix
2023-09-30 14:13:37 +00:00
clan-bot
d8589148e7
Merge pull request 'refine join workflow' ( #381 ) from feat/join-workflow into main
2023-09-30 14:12:39 +00:00
Johannes Kirschbauer
1c685bdf33
refine join workflow
2023-09-30 16:00:21 +02:00
clan-bot
2f73b47efc
Merge pull request 'API: Improved vm_status and added some tests' ( #379 ) from Qubasa-main into main
2023-09-30 09:10:45 +00:00
Qubasa
d805c4b069
API: Improved vm_status and added some tests. Skip vm tests in VM
2023-09-30 11:08:42 +02:00
clan-bot
46d108e473
Merge pull request 'secrets.password-store: optimize secret existence check' ( #378 ) from lassulus-no_facts into main
2023-09-30 07:39:00 +00:00
lassulus
a21eabf5c2
secrets.password-store: optimize secret existence check
2023-09-30 09:36:39 +02:00
clan-bot
99034485b8
Merge pull request 'secrets: allow empty facts' ( #377 ) from lassulus-no_facts into main
2023-09-30 07:29:34 +00:00
lassulus
a6da15ca63
secrets.password-store: fix multi-secret check
2023-09-30 09:27:25 +02:00
clan-bot
6ca9ddbe33
Merge pull request 'secrets: allow empty facts' ( #376 ) from lassulus-no_facts into main
2023-09-30 07:21:01 +00:00
lassulus
bde6f956d4
secrets: allow empty facts
2023-09-30 09:18:24 +02:00
clan-bot
9059e8968e
Merge pull request 'clan-cli: init vm command' ( #373 ) from lassulus-cli-vm into main
2023-09-29 18:30:17 +00:00
lassulus
f944cfb9ea
clanCore.zerotier: create network-id only if fact exists
2023-09-29 20:05:35 +02:00
lassulus
34dec8d194
tests: add test_secrets_password_store
2023-09-29 20:05:35 +02:00
lassulus
0db337d57e
clan-cli secrets upload: secrets are populated into tmpdir
2023-09-29 20:05:35 +02:00
lassulus
79be9078dc
restore clanInternals with valid nixos config
2023-09-29 19:39:35 +02:00
lassulus
d1cf62cc59
clan-cli: init vm command
2023-09-29 19:18:27 +02:00
Mic92
306618a48b
Merge pull request 'add zerotier documentation' ( #375 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/375
2023-09-29 15:38:44 +00:00
Jörg Thalheim
99cf6b8c43
add zerotier documentation
2023-09-29 15:38:44 +00:00
clan-bot
5b211bdca0
Merge pull request 'add zerotier-members script' ( #374 ) from Mic92-main into main
2023-09-29 15:11:46 +00:00
Jörg Thalheim
15050664a3
add treewide pyproject.toml
...
Than we don't need a pyproject.toml per script
2023-09-29 16:41:14 +02:00
Jörg Thalheim
431aeda14b
zerotier: fix creating controller directory
2023-09-29 16:41:14 +02:00
Jörg Thalheim
7bef76f542
add zerotier-members script
2023-09-29 16:07:22 +02:00
clan-bot
0cbedbdea4
Merge pull request 'also encrypt secret for the machine itself' ( #372 ) from Mic92-main into main
2023-09-28 16:01:03 +00:00
Jörg Thalheim
0178be0231
zerotier: document mdns ports; drop duplicate udp firewall rules
...
the nixos module already opens the zerotier port
2023-09-28 17:58:42 +02:00
Jörg Thalheim
b42d0598bc
also generate zerotier secret for vm
2023-09-28 17:57:44 +02:00
Jörg Thalheim
9a518cd816
also encrypt secret for the machine itself
2023-09-28 17:51:37 +02:00
clan-bot
d7bb04eb88
Merge pull request 'pregenerate ssh_host keys for tests' ( #371 ) from Mic92-main into main
2023-09-28 14:37:52 +00:00
Jörg Thalheim
80111c0b1c
webui: fix warning
2023-09-28 16:31:59 +02:00
Jörg Thalheim
f5769f5e69
pregenerate ssh_host keys for tests
...
Then we are free to choose where to put the ssh config
2023-09-28 16:31:59 +02:00
clan-bot
9a2dfa5926
Merge pull request 'drop bear from buildinputs of nix-unit' ( #370 ) from Mic92-main into main
2023-09-28 14:03:46 +00:00
Jörg Thalheim
cc68aac21f
also evaluate for aarch64-darwin
2023-09-28 16:01:42 +02:00
Jörg Thalheim
86af1294e5
drop bear from buildinputs of nix-unit
2023-09-28 15:56:52 +02:00
clan-bot
00e3979c17
Merge pull request 'fix secrets script not beeing fetched' ( #369 ) from Mic92-main into main
2023-09-28 13:53:35 +00:00
Jörg Thalheim
cd9cfc5c63
fix secrets script not beeing fetched
2023-09-28 15:51:09 +02:00
clan-bot
0ac86a3c88
Merge pull request 'fix pname of clan-cli for nix run' ( #368 ) from Mic92-main into main
2023-09-28 13:26:20 +00:00
Jörg Thalheim
455952cfaa
tests: increase timeout to 60
2023-09-28 15:24:06 +02:00
Jörg Thalheim
82bf417e17
add toplevel machines-json that can deploy all hosts
2023-09-28 15:23:25 +02:00
Jörg Thalheim
08cfa7d7b2
drop unused findNixFiles function
2023-09-28 14:21:03 +02:00
Jörg Thalheim
a2c5e7d80d
fix pname of clan-cli for nix run
2023-09-28 14:06:35 +02:00
clan-bot
fe03e4015b
Merge pull request 'clan-cli: symlink cli into an otherwise empty package' ( #366 ) from Mic92-main into main
2023-09-28 10:22:56 +00:00
Jörg Thalheim
155a427ab5
clan-cli: fix eval
2023-09-28 12:20:26 +02:00
clan-bot
ffd061b20c
Merge pull request 'clan-cli: symlink cli into an otherwise empty package' ( #365 ) from Mic92-main into main
2023-09-28 10:19:51 +00:00
Jörg Thalheim
676329aed9
clan-cli: symlink cli into an otherwise empty package
...
This avoids propagating unneeded python libraries
2023-09-28 12:19:16 +02:00
clan-bot
b54eaa04ba
Merge pull request 'don't propagate python libraries into a devshell' ( #364 ) from Mic92-main into main
2023-09-28 10:00:46 +00:00
Jörg Thalheim
156ff510bc
don't propagate python libraries into a devshell
2023-09-28 11:58:09 +02:00
clan-bot
6263c9d555
Merge pull request 'use buildPythonApplication to shield against external PYTHONPATH' ( #363 ) from Mic92-main into main
2023-09-28 09:23:36 +00:00
Jörg Thalheim
5ac2e5970b
use buildPythonApplication to shield against external PYTHONPATH
2023-09-28 11:19:16 +02:00
clan-bot
7d67e945a6
Merge pull request 'webui: pretty urls by also appending .html' ( #362 ) from Mic92-main into main
2023-09-28 09:12:43 +00:00
Jörg Thalheim
4f3664b831
webui: pretty urls by also appending .html
2023-09-28 11:09:31 +02:00
clan-bot
1337e8bd27
Merge pull request 'secrets.password-store: readd targetDirectory' ( #361 ) from lassulus-HEAD into main
2023-09-27 19:28:42 +00:00
lassulus
6d4047b3d9
secrets.password-store: readd targetDirectory
2023-09-27 21:26:58 +02:00
clan-bot
c47b4458d4
Merge pull request 'clan update: fix deploymentAddress' ( #360 ) from Mic92-main into main
2023-09-27 19:14:07 +00:00
Jörg Thalheim
853ddd8e97
clan update: fix deploymentAddress
2023-09-27 21:11:52 +02:00
clan-bot
9ff9f7d7ad
Merge pull request 'docs/quickstart: fix typo' ( #359 ) from lassulus-stuff into main
2023-09-27 17:10:14 +00:00
lassulus
bba01a5a80
clan-cli: add desktop item
2023-09-27 19:04:12 +02:00
lassulus
c6d62340cc
docs/quickstart: fix typo
2023-09-27 19:02:16 +02:00
clan-bot
2ee03c64ed
Merge pull request 'clanInternals.machines: expose information as json' ( #358 ) from Mic92-main into main
2023-09-27 16:45:18 +00:00
Jörg Thalheim
e550f32e96
clanInternals.machines: expose information as json
2023-09-27 18:42:49 +02:00
clan-bot
ebccf29e5a
Merge pull request 'clanInternals.machines: invert system and machine name' ( #357 ) from Mic92-main into main
2023-09-27 15:29:03 +00:00
Jörg Thalheim
b3f24cf815
clanInternals.machines: invert system and machine name
2023-09-27 17:26:44 +02:00
clan-bot
ac1f9733f1
Merge pull request 'fix clan-pytest build' ( #356 ) from Mic92-main into main
2023-09-27 14:22:11 +00:00
Jörg Thalheim
55551f9211
fix clan-pytest build
2023-09-27 16:20:05 +02:00
clan-bot
5d790accdb
Merge pull request 'move temporary directory to .direnv' ( #355 ) from Mic92-main into main
2023-09-27 14:15:34 +00:00
Jörg Thalheim
2a7c8b6b1a
move temporary directory to .direnv
2023-09-27 16:13:04 +02:00
ui-asset-bot
e74102ae9a
update ui-assets.nix
2023-09-27 13:20:43 +00:00
clan-bot
6d94d85bd9
Merge pull request 'only pass experimental-features onces to nix-build' ( #354 ) from Mic92-main into main
2023-09-27 13:19:53 +00:00
Jörg Thalheim
b1aabedf06
ui/envrc: watch more files
2023-09-27 15:18:51 +02:00
Mic92
f4dfe7a58e
Merge pull request 'jsonschema: fix eval' ( #353 ) from Mic92-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/353
2023-09-27 13:08:24 +00:00
Jörg Thalheim
f4d1c098ef
jsonschema: fix eval
2023-09-27 13:08:24 +00:00
Jörg Thalheim
cb946df8b9
only pass experimental-features onces to nix-build
2023-09-27 13:08:24 +00:00
clan-bot
23b762f6a2
Merge pull request 'drop requirement for importing qemu-vm.nix' ( #352 ) from Mic92-main into main
2023-09-27 12:55:59 +00:00
Jörg Thalheim
ded120d065
drop requirement for importing qemu-vm.nix
2023-09-27 14:54:01 +02:00
clan-bot
8f6655de4c
Merge pull request 'vms: simplify args passed to create_subprocess_exec' ( #351 ) from Mic92-main into main
2023-09-27 10:32:25 +00:00
Jörg Thalheim
eba8be8006
vms: simplify args passed to create_subprocess_exec
2023-09-27 12:30:06 +02:00
Mic92
e4f77cd8e4
Merge pull request 'api/vm/create: start vm' ( #327 ) from lassulus-start-vm into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/327
2023-09-27 09:47:50 +00:00
Jörg Thalheim
6d4c9e39aa
cli: fix remaining typing errors
2023-09-27 09:47:50 +00:00
Jörg Thalheim
7a617ecb3c
cli: simplify log handler
2023-09-27 09:47:50 +00:00
Jörg Thalheim
2d9c141ac1
custom_logger: fix type errror in format_time
2023-09-27 09:47:50 +00:00
Jörg Thalheim
08a9e1cd13
task_manager: assert stdout/stderr exist to make mypy happy
2023-09-27 09:47:50 +00:00
Jörg Thalheim
152067be20
make vm terminate after boot
2023-09-27 09:47:50 +00:00
Jörg Thalheim
852166104a
cli/vms: serialize uuid already in the api
2023-09-27 09:47:50 +00:00
Qubasa
1a63bf265a
Completely working log streaming
2023-09-27 09:47:50 +00:00
Qubasa
7c93962e35
Working log streaming
2023-09-27 09:47:50 +00:00
Qubasa
da571dff7f
Working version
2023-09-27 09:47:50 +00:00
Qubasa
8832e96df7
Working log streaming
2023-09-27 09:47:50 +00:00
Qubasa
d73dc7048b
Working log streaming
2023-09-27 09:47:50 +00:00
Qubasa
1da6f127f5
Fixed vscode test debugging problem
2023-09-27 09:47:50 +00:00
Qubasa
20d6f9309b
Integrated pytest into vscode
2023-09-27 09:47:50 +00:00
Qubasa
c96b339d94
Extracted threadpool to task_manager.py
2023-09-27 09:47:50 +00:00
Qubasa
b535f745e0
Added test
2023-09-27 09:47:50 +00:00
Qubasa
4a40a2759e
Improving endpoint
2023-09-27 09:47:50 +00:00
Qubasa
b58b274118
Added threaded create_vm endpoint
2023-09-27 09:47:50 +00:00
Qubasa
da02c7f4ae
Started working on vm_create
2023-09-27 09:47:50 +00:00
Qubasa
ff0dc18686
vscode debugging integration added + README updated
2023-09-27 09:47:50 +00:00
Qubasa
ae58a8eb14
CLI: Added custom logger
2023-09-27 09:47:50 +00:00
lassulus
26add0af28
api/vm/create: start vm
2023-09-27 09:47:50 +00:00
clan-bot
fa18b3121b
Merge pull request 'clanCore.secrets: facts.value can be null or str' ( #350 ) from lassulus-facts_null into main
2023-09-27 09:06:10 +00:00
lassulus
d0d1df6deb
clan.networking.zerotier: create init script only if fact exists
2023-09-27 11:02:54 +02:00
lassulus
5bf28c1731
clanCore.secrets: facts.value can be null or str
2023-09-27 10:34:53 +02:00
Mic92
c51175e4eb
Merge pull request 'zerotier: fix eval' ( #349 ) from Mic92-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/349
2023-09-26 16:24:26 +00:00
Jörg Thalheim
f6113f2e20
nix-unit: bump version
2023-09-26 16:24:26 +00:00
Mic92
05f594a3b4
Merge pull request 'zerotier: fix eval' ( #348 ) from Mic92-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/348
2023-09-26 16:19:43 +00:00
Jörg Thalheim
a356f2a368
zerotier: fix eval
2023-09-26 16:19:43 +00:00
Mic92
eeedf88521
Merge pull request 'move zerotier secret generation into nixos module' ( #347 ) from Mic92-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/347
2023-09-26 16:17:44 +00:00
Jörg Thalheim
be9b118f79
move zerotier secret generation into nixos module
2023-09-26 18:14:00 +02:00
clan-bot
9ea604c3ae
Merge pull request 'make zerotier module a directory' ( #346 ) from Mic92-docs into main
2023-09-26 16:03:12 +00:00
Jörg Thalheim
cbe32b521d
fix nix-unit build
2023-09-26 18:00:16 +02:00
Jörg Thalheim
2e88454b5a
move zerotier secret generation into nixos module
2023-09-26 17:57:43 +02:00
Jörg Thalheim
b11284193f
make zerotier module a directory
2023-09-26 15:55:41 +02:00
clan-bot
a46e04b726
Merge pull request 'use shellSession everywhere for markdown' ( #345 ) from Mic92-docs into main
2023-09-26 13:52:23 +00:00
Jörg Thalheim
86378320be
drop wonky ipdb PYTHONBREAKPOINT
2023-09-26 15:50:02 +02:00
Jörg Thalheim
c59f9f4b19
use shellSession everywhere for markdown
2023-09-26 15:49:45 +02:00
clan-bot
dac7d9f377
Merge pull request 'replace bubblewrap with fakeroot' ( #344 ) from Mic92-docs into main
2023-09-26 13:48:58 +00:00
Mic92
e295a1a5b3
Merge pull request 'replace bubblewrap with fakeroot' ( #343 ) from joerg-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/343
2023-09-26 13:48:30 +00:00
Jörg Thalheim
ec2b56eb94
create test_flake unique per test
...
otherwise we will have race conditions
2023-09-26 15:46:40 +02:00
Jörg Thalheim
f70ead37b9
replace bubblewrap with fakeroot
...
this restores macOS support.
2023-09-26 15:33:45 +02:00
clan-bot
2b13be3df5
Merge pull request 'clan config: print command in more instances' ( #342 ) from Mic92-docs into main
2023-09-26 12:13:09 +00:00
clan-bot
fef5223d6e
Merge pull request 'unpin nix-fast-build' ( #341 ) from Mic92-docs into main
2023-09-26 12:02:05 +00:00
clan-bot
3467b528ec
Merge pull request 'clan.networking.zerotier: fix controller mode' ( #340 ) from lassulus-zerotier into main
2023-09-26 11:15:09 +00:00
lassulus
13d069ec6f
clan.networking.zerotier: fix controller mode
2023-09-25 19:11:16 +02:00
clan-bot
d5792b40c3
Merge pull request 'Automatic flake update - 2023-09-25T00:00+00:00' ( #339 ) from flake-update-2023-09-25 into main
2023-09-25 00:03:45 +00:00
Clan Merge Bot
f3bdab710a
update flake lock - 2023-09-25T00:00+00:00
...
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ace5093e36ab1e95cb9463863491bee90d5a4183' (2023-09-15)
→ 'github:NixOS/nixpkgs/e35dcc04a3853da485a396bdd332217d0ac9054f' (2023-09-22)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/ea208e55f8742fdcc0986b256bdfa8986f5e4415' (2023-09-12)
→ 'github:Mic92/sops-nix/2f375ed8702b0d8ee2430885059d5e7975e38f78' (2023-09-21)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/7a49c388d7a6b63bb551b1ddedfa4efab8f400d8' (2023-09-12)
→ 'github:numtide/treefmt-nix/e951529be2e7c669487de78f5aef8597bbae5fca' (2023-09-21)
2023-09-25 00:00:15 +00:00
clan-bot
afeab2e382
Merge pull request 'clan config: support new types nullOr and passwdEntry' ( #338 ) from DavHau-dave into main
2023-09-24 13:30:35 +00:00
DavHau
b952aaa818
clan config: support new types nullOr and passwdEntry
2023-09-24 14:24:48 +01:00
clan-bot
dc34c4db34
Merge pull request 'clan config: match dynamic options containing <name>' ( #337 ) from DavHau-dave into main
2023-09-24 12:06:54 +00:00
DavHau
1d3ec4c9c0
clan config: match dynamic options containing <name>
2023-09-24 13:04:37 +01:00
clan-bot
4bc85d6307
Merge pull request 'quickstart: improve and add machines section' ( #336 ) from DavHau-dave into main
2023-09-24 07:54:36 +00:00
DavHau
ae4e0fb1b1
clan-cli: add --debug section
2023-09-24 08:53:26 +01:00
DavHau
09206d3763
quickstart: improve and add machines section
2023-09-24 08:53:26 +01:00
Mic92
b0edec11b7
Merge pull request 'unpin nix-fast-build' ( #334 ) from Mic92-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/334
2023-09-23 12:27:35 +00:00
Jörg Thalheim
8eaeb642d8
unpin nix-fast-build
2023-09-23 12:27:35 +00:00
ui-asset-bot
1566392095
update ui-assets.nix
2023-09-23 11:28:08 +00:00
clan-bot
b5cd40e011
Merge pull request 'inspect flake before configure VM' ( #335 ) from feat/inspect-flake into main
2023-09-23 11:27:20 +00:00
Johannes Kirschbauer
d200308c73
format python
2023-09-23 13:25:43 +02:00
Johannes Kirschbauer
211ce3e8c5
inspect flake before configure VM
2023-09-23 13:20:25 +02:00
clan-bot
f66d961b61
Merge pull request 'test_basics: add cli fixture' ( #333 ) from DavHau-dave into main
2023-09-22 17:25:41 +00:00
DavHau
e08c0b338d
test_basics: add cli fixture
2023-09-22 19:23:23 +02:00
clan-bot
dfb60590d2
Merge pull request 'impure-tests: migrate bash to pytest and fix stuff' ( #332 ) from DavHau-dave into main
2023-09-22 16:34:41 +00:00
DavHau
9825c179a8
impure-tests: migrate bash to pytest and fix stuff
2023-09-22 18:32:28 +02:00
clan-bot
f6398c85bb
Merge pull request 'git: dont pass additional cwd' ( #331 ) from Mic92-docs into main
2023-09-22 14:58:15 +00:00
clan-bot
f8cd486fb2
Merge pull request 'make git idempotent' ( #330 ) from Mic92-docs into main
2023-09-22 14:41:02 +00:00
clan-bot
f05c26f346
Merge pull request 'better error messages if git commands fail' ( #329 ) from Mic92-docs into main
2023-09-22 14:27:55 +00:00
clan-bot
81a13ac6c2
Merge pull request 'fix test not beeing exposed' ( #328 ) from Mic92-docs into main
2023-09-22 14:09:19 +00:00