Johannes Kirschbauer
c456ac1334
instances.modules: add default
2025-07-02 15:32:30 +02:00
Johannes Kirschbauer
f7c48d560d
checks: templates add nixpkgs as input in artifical flake
2025-07-02 15:25:54 +02:00
Johannes Kirschbauer
bb9b535f20
test: create clan update expectation about templates
2025-07-02 15:25:54 +02:00
Johannes Kirschbauer
f0c5a8c84a
templates: consistent templates, remove deprecated things
2025-07-02 15:25:54 +02:00
hsjobeki
a27321a826
revert b51dddaffc
...
revert 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-07-02 15:25:54 +02:00
Mic92
d7dcb55001
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
d3d337a51e
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
2fd6426f28
clan-app: whitelist necessary any usage in api./index.tsx
2025-07-02 18:11:28 +07:00
Jörg Thalheim
f70f6d6d80
clan_lib/test_create: fix test when running outside of the sandbox...
2025-07-02 13:04:46 +02:00
Qubasa
b9a386c881
clan-cli: api.py add python header
2025-07-02 17:59:24 +07:00
Qubasa
db3e8b9984
clan-app: Add logging middleware
2025-07-02 17:59:05 +07:00
hsjobeki
117224e6a4
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
ea77b48d83
pytest: improve logging a bit
2025-07-02 12:35:02 +02:00
Qubasa
5d99d0e1e7
clan-app: simplified task function, moved them to a separate file
2025-07-02 16:18:37 +07:00
Qubasa
1ec67ecfaf
webview-lib: Moved repo to gitea, updated revision. Removed set_icon
2025-07-02 16:16:37 +07:00
Qubasa
d5064ce465
clan-app: Add pygdb.sh for debugging crashes in webview-lib
2025-07-02 16:00:55 +07:00
Qubasa
9080e7c7f6
clan-app: Fix .local.env not being sourced
2025-07-02 16:00:34 +07:00
Qubasa
8e00363584
ui-2d: Fix build errors
2025-07-02 15:59:50 +07:00
hsjobeki
672db4a33f
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
82c80a9a53
clan/exportsModule: add missing default
2025-07-02 10:32:56 +02:00
Johannes Kirschbauer
16116505ab
flake-exports: add options documentation
2025-07-02 10:22:09 +02:00
hsjobeki
80713f93af
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
b6f00ed1f6
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]
d6646ecc62
chore(deps): update data-mesher digest to 246f0d6
2025-07-02 00:20:19 +00:00
renovate[bot]
fc1c64985f
chore(deps): update flake-parts digest to 7782624
2025-07-02 00:00:16 +00:00
Johannes Kirschbauer
695574988e
Revert "Merge pull request 'Make state-version generation an clan option' ( #4056 ) from state-version-option into main"
...
This reverts commit a101ff1f11 , reversing
changes made to f12b62d8b4 .
2025-07-01 18:15:11 +02:00
kenji
dc6648520f
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
454936336f
clanServices: add test to ensure nixosModule is imported
2025-07-01 17:35:04 +02:00
a-kenji
0093836272
docs(clan): Improve state-version documentation
2025-07-01 17:32:20 +02:00
hsjobeki
e026ada443
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
38bb2dfb56
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
d10fe7a8ee
clanServices: add flake level exports
2025-07-01 16:54:19 +02:00
Jörg Thalheim
83b2fbc276
vars: make debug logging less verbose
2025-07-01 15:04:03 +02:00
hsjobeki
29a2103aab
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
d858206fd2
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
c1bbd970d4
lib.clan: properly merge self attrs
2025-07-01 14:02:02 +02:00
Johannes Kirschbauer
5c7256e063
Lib/flakes: remove self references
2025-07-01 13:57:49 +02:00
Johannes Kirschbauer
8eb2ce1c40
tests: update buildClan args
2025-07-01 13:21:12 +02:00
Johannes Kirschbauer
93fc2e2238
modules/clan: inject .clan into self.inputs if self is an attribute set
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
a131c3cbbb
checks: mock self.inputs.self by default
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
15f3cd5547
clanServices: add tests for resolve modules
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
15c5d539fc
clanServices: remove unnecessary localModules
2025-07-01 13:19:37 +02:00
Johannes Kirschbauer
cf6fc744ab
clanServices: remove unneeded self reference in lib
2025-07-01 13:19:37 +02:00
hsjobeki
0de362af58
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
40d776b953
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
0a4bdf2e83
vars-check: replace slow python implementation with pure nix
2025-07-01 12:46:50 +02:00
Johannes Kirschbauer
df3abbad40
clan_lib/tests: add big fat warning comment to save peoples time
2025-07-01 12:30:17 +02:00
hsjobeki
e954d80dc6
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
ae274d6b82
buildClan: replace all usages by lib.clan
2025-07-01 11:56:31 +02:00
kenji
f97385a9dc
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]
46ee232958
chore(deps): update nix-darwin digest to e04a388
2025-06-30 21:30:17 +00:00
a-kenji
bc4c6ef40a
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
64d22197c4
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
d2a4a5c2c4
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
96b5ca9de0
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
847f8363f3
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
2ebeb2e205
clanLib: remove select
2025-06-30 16:14:01 +02:00
Johannes Kirschbauer
22778b1864
Docs: getting started add services
2025-06-30 15:14:47 +02:00
DavHau
8c323e25aa
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
f02e2ce383
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
1ab9eb733c
checks: fix some tests not named correctly
2025-06-30 19:50:16 +07:00
DavHau
882ccbc4b8
checks: prefix all nixos tests with nixos-test-
2025-06-30 19:14:24 +07:00
DavHau
b448ff05e2
checks: rename dummy-inventory-test -> service-dummy-test
2025-06-30 19:06:13 +07:00
DavHau
ee5fa8fe74
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
5f7c55c93f
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
8de7a9f040
services: improve error when module not found
2025-06-30 11:44:30 +00:00
DavHau
a101ff1f11
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
4f55af9026
Docs: rename installer to usb installer
2025-06-30 13:03:07 +02:00
Johannes Kirschbauer
2fbfda504a
docs: move deployment docs from add machine to deploy
2025-06-30 13:02:57 +02:00
Johannes Kirschbauer
642b300ce8
docs: mark getting-started/flash installer as optional"
2025-06-30 13:02:46 +02:00
pinpox
9e7e0378a8
Remove state-version module from tests
2025-06-30 12:58:05 +02:00
pinpox
47d4dfad1b
Add state-version option
2025-06-30 12:54:29 +02:00
pinpox
77bc1c75dd
Remove state-version module and service
2025-06-30 12:54:29 +02:00
DavHau
f12b62d8b4
docs: explain about simplified way of specifying instances
2025-06-30 10:27:37 +00:00
pinpox
66a5fc988e
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
abdc8913f3
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
e0b2d15361
tests: explicitly specify services to be sourced from self
...
See previous commit
2025-06-30 10:13:46 +00:00
DavHau
50cce90527
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
1d25458390
Add example
2025-06-30 12:09:29 +02:00
renovate[bot]
ae2b9313bd
chore(deps): update nix-darwin digest to 425c929
2025-06-30 09:00:18 +00:00
renovate[bot]
eb2e7db202
chore(deps): update data-mesher digest to 97d8e88
2025-06-30 00:20:20 +00:00
Mic92
f7a7c8df85
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
f1fd710dd1
add regression test for macOS evaluation
2025-06-29 23:58:19 +02:00
Jörg Thalheim
622597e70f
overridePkgs: drop unneeded parantheses
2025-06-29 23:58:19 +02:00
Jörg Thalheim
b415e063f1
darwinConfigurations/darwinModules: export with right _file attributes
2025-06-29 23:58:19 +02:00
Jörg Thalheim
43b205624d
no longer fallback to "nixos" machineClass
...
we should always have a value defined.
2025-06-29 23:58:19 +02:00
lassulus
acf673216b
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
286c75a142
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
b51dddaffc
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
d542c87639
Revert "add flakeparts to template test"
...
This reverts commit c2d0a19ed4 .
2025-06-28 22:43:34 +07:00
Qubasa
3cb250d5a4
Revert "Update new-clan template"
...
This reverts commit c2d8cdf7f1 .
2025-06-28 22:42:46 +07:00
Qubasa
3a772a5f56
Revert "Cleanup templates"
...
This reverts commit a3a81a959a .
2025-06-28 22:42:39 +07:00
Qubasa
277ef4f946
Revert "templates/minimal: consistent input names"
...
This reverts commit c847766f9e .
2025-06-28 22:42:20 +07:00
Qubasa
99d3e4ec11
Revert "tests/create_clan: bring back read,write checks"
...
This reverts commit 7f6684998b .
2025-06-28 22:42:11 +07:00
Qubasa
46bc5b519a
Revert "templates/minimal: reuse flake-parts from clan-core"
...
This reverts commit 03b5c6de02 .
2025-06-28 22:41:45 +07:00
Qubasa
b14357a4e0
Revert "templates: fix tests"
...
This reverts commit 7ce29938e9 .
2025-06-28 22:41:31 +07:00
Qubasa
ba19aa8810
Revert "templates: remove .clan-flake"
...
This reverts commit bf377bd4e0 .
2025-06-28 22:40:55 +07:00
Mic92
59dc49f606
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
2a4e11407b
drop more dependencies from pytest
2025-06-28 09:27:34 +02:00
Mic92
24fcc9a647
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
d7fffa68d5
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
6f29745ab4
drop virtviwer from testRuntimeDependencies
2025-06-28 09:11:14 +02:00
Jörg Thalheim
f28b5a4760
generate-test-vars: fix entrypoint
2025-06-28 08:50:41 +02:00
Jörg Thalheim
43df2c9a14
fix unlocked flake.lock in tests
2025-06-28 08:50:41 +02:00
hsjobeki
8122158da7
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
2b0d7e345f
machines/create: fix handle defaults
2025-06-27 20:28:11 +02:00
Jörg Thalheim
65ee951b72
select: drop unused --impure flag
2025-06-27 19:30:45 +02:00
Jörg Thalheim
b251275063
select: use nix_options copy
2025-06-27 19:30:45 +02:00
Jörg Thalheim
6afe4305b4
select: drop unused nixpkgs fallback
2025-06-27 19:30:45 +02:00
hsjobeki
8a7daddad4
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
bf377bd4e0
templates: remove .clan-flake
2025-06-27 19:14:21 +02:00
Johannes Kirschbauer
7ce29938e9
templates: fix tests
2025-06-27 19:14:21 +02:00
Mic92
7d6f12fb57
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
553d13b05a
don't keep appending --impure to nix_options when running tests
2025-06-27 18:54:13 +02:00
Mic92
8722f2fa52
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
6ab5171b5b
add restricted network nixos modules
...
See README.md for explanation
2025-06-27 18:44:17 +02:00
Jörg Thalheim
e152740017
container-test-driver: implement wait_for_open_port
2025-06-27 18:35:55 +02:00
Jörg Thalheim
bc3ba8eeff
markdown: ignore trailing whitespace
2025-06-27 16:26:39 +02:00
Johannes Kirschbauer
03b5c6de02
templates/minimal: reuse flake-parts from clan-core
2025-06-27 16:11:37 +02:00
a-kenji
6a911c97a3
pkgs/clan: Fix clan ssh subcommand
2025-06-27 15:39:38 +02:00
Mic92
5d5bb32970
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
3035752d00
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
0799c72095
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
b5ef05f9ad
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
a624cb34ee
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
c0d4db6a8d
modules/zerotier: Fix typo in documentation
2025-06-27 12:58:59 +02:00
kenji
a88f3e21a6
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
e248b1f551
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
89e8673e82
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
3e70e30b6b
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
0a56f60005
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
7f6684998b
tests/create_clan: bring back read,write checks
2025-06-27 11:04:31 +02:00
Johannes Kirschbauer
c847766f9e
templates/minimal: consistent input names
2025-06-27 11:04:31 +02:00
pinpox
c2d0a19ed4
add flakeparts to template test
2025-06-27 11:04:31 +02:00
pinpox
a3a81a959a
Cleanup templates
2025-06-27 10:39:59 +02:00
pinpox
c2d8cdf7f1
Update new-clan template
2025-06-27 10:39:59 +02:00
hsjobeki
9de5b97802
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
8789ebeb59
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
6f1a5286db
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
7372063579
Fix(clan-module): pass clan-core not a module
2025-06-27 10:13:58 +02:00
hsjobeki
c3c9a8d082
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
d011b1ab02
docs: rename all references from 'buildClan' to 'lib.clan'
2025-06-27 09:54:23 +02:00
Johannes Kirschbauer
b34e5b30e5
modules: add explizit class to clan module
2025-06-27 09:53:40 +02:00
hsjobeki
b1376f2669
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
79ec0f07eb
modules: fix consistent nixpkgs and nix-darwin injection
2025-06-27 09:21:19 +02:00
Johannes Kirschbauer
7833a56723
modules.nixosVmTest: rename to nixosTest to match the target module _class
2025-06-26 17:37:42 +02:00
Johannes Kirschbauer
50f6b4a095
modules.clan.default: move specialArgs into common place
2025-06-26 17:37:42 +02:00
Johannes Kirschbauer
e195a77476
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
0271af0dcb
modules: move clan module to flake.modules.clan.default
2025-06-26 17:08:47 +02:00
Johannes Kirschbauer
cfce6d9845
flake-parts: enable modules feature
2025-06-26 17:08:47 +02:00
hsjobeki
6929700c77
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
7d755d04b5
chore: clean up logic around clanInternals
2025-06-26 16:12:35 +02:00
pinpox
4f8421def0
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
0cabce6e5f
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
264b010a89
Fix machine-id on macos
2025-06-26 15:35:34 +02:00
hsjobeki
28147fb5d5
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
a95d39923e
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
acaf44e2c5
chore: remove spurious class
2025-06-26 15:20:18 +02:00
Johannes Kirschbauer
e77769bd20
refactor: clanLib buildClan
2025-06-26 15:20:05 +02:00
Johannes Kirschbauer
11a94893fb
refactor: unify evalClanService with evalService
2025-06-26 14:50:35 +02:00
hsjobeki
c079d6b65f
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
1568950410
refactor: simplify buildClan remove any filtering
2025-06-26 13:56:14 +02:00
hsjobeki
5ae6636126
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
6c460db016
schema: update clan option source
2025-06-26 13:24:34 +02:00
renovate[bot]
47b338f539
Update data-mesher digest to 32b1ff6
2025-06-26 10:50:17 +00:00
renovate[bot]
f314fbb1b9
Update treefmt-nix digest to ac8e6f3
2025-06-26 10:30:17 +00:00
Johannes Kirschbauer
9196de993d
feat(darwinModules): add module location analog to flake-parts
2025-06-26 11:55:55 +02:00
Johannes Kirschbauer
fcd2124936
refactor: clan expose the clan module as is
2025-06-26 11:47:53 +02:00
hsjobeki
06711a09c5
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
2f5793a2bc
inventory.json: remove all services from local inventory
2025-06-26 11:28:33 +02:00
hsjobeki
76e8cf10cb
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
a01ece8742
Refactor(build-inventory): remove build-inventory in favor of simple and expressive evalModules
2025-06-26 11:11:50 +02:00
pinpox
a37bdd9fac
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
0b459f64e6
Add deprecation warnings to all clanModules
2025-06-26 10:35:47 +02:00
renovate[bot]
e09deaf42c
Update disko digest to 83c4da2
2025-06-26 02:50:17 +00:00
hsjobeki
4ea7a10a79
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
1955a8171e
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
0bb5ed923e
build-inventory: fix tests temporarily
2025-06-25 18:15:47 +02:00
Johannes Kirschbauer
c91b5fb3db
build-inventory: move inventory and inventoryClass into explizitly different folders
2025-06-25 17:55:45 +02:00
a-kenji
6188583885
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
68ed393c87
build-inventory: replace by equivalent submodule
2025-06-25 17:23:46 +02:00
hsjobeki
af27f43491
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
16392622c5
Chore: add _file for internals error tracing
2025-06-25 15:47:18 +02:00
Johannes Kirschbauer
1819243123
inventory/interface: reduce apply arguments chain by adding it to _module.args
2025-06-25 15:15:22 +02:00
kenji
4204381edc
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
4e35ab2e47
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
332f844ec6
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
a4bcaa8854
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
d0ae75e5cc
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
ed7162635b
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
aa96a11369
build-clan: move clan attribute relates modules into subfolder
2025-06-25 10:55:37 +02:00
hsjobeki
3e030a5199
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
b14a15407c
pkgs/clan-cli: Fix typo in sshd test
2025-06-25 10:13:06 +02:00
DavHau
d1163bc2c5
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
75ce3fcb84
nuschtos: fix flake dependencies crashing tests
2025-06-25 13:48:50 +07:00
DavHau
9299c83822
bring back services rendering for docs
...
Setting services to visible = false breaks stuff
2025-06-25 13:48:50 +07:00
DavHau
2b73671f18
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
4421ce006e
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
ae1a139818
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
c6dce03c58
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
b1dcef4862
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
6558a915ad
clan-app: Add a 'group' to log_manager. Move log_manager to own subdirectory
2025-06-24 21:42:18 +02:00
kenji
92918719e9
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
81b87a6437
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
96cf48a8a8
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
6831dc9f72
pkgs/agit: Document agit PR fetching
2025-06-24 19:13:04 +02:00
Qubasa
60d2837ddd
clan-cli: Remove unecessary nix_options args from functions
2025-06-24 19:07:41 +02:00
Qubasa
1bec31b371
generate-test-vars: Fix wrong Flake function invocations
2025-06-24 19:03:20 +02:00
Qubasa
5c6c848dea
formatter.iix: Add generate-test-vars to be typechecked
2025-06-24 19:03:20 +02:00
Qubasa
d14a5d34fd
clan-lib: Move nix_options from Machine class to Flake class
2025-06-24 19:03:20 +02:00
Luis Hebendanz
d3d2cb8723
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
e6a7efafcf
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
ef5a4ab122
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
c8e6a6c6b8
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]
bbebf67eb0
Update dependency vite to v7
2025-06-24 13:10:33 +00:00
pinpox
724aa17faa
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
9fcbb6d688
build-clan: move clan attribute relates modules into subfolder
2025-06-24 13:13:59 +02:00
pinpox
b53975684e
Merge branch 'main' into machine-id-option
2025-06-24 11:12:24 +00:00
kenji
a1b1f3e9de
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
d4a4f61f74
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
e79b926566
clan-cli: Move update.py to clan_lib/machines
2025-06-24 12:17:21 +02:00
Qubasa
d85277a077
clan-vm-manager: Fix list_machines import
2025-06-24 12:16:38 +02:00
Qubasa
29a5fbed53
clan-cli: Move delete.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
Qubasa
e53a490edc
clan-cli: Move list.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
Qubasa
48ea1c757f
clan-cli: Move morph.py to clan_lib/machines
2025-06-24 12:16:38 +02:00
renovate[bot]
f81c2254e1
Update dependency tailwindcss to v4
2025-06-24 10:10:27 +00:00
DavHau
03fe06285b
inventory interface: add description for module.name
2025-06-24 10:09:05 +00:00
pinpox
b476eb2f92
Merge branch 'main' into machine-id-option
2025-06-24 10:08:04 +00:00
Qubasa
ae73428ba5
clan-vm-manager: Fix list_machines import
2025-06-24 12:03:56 +02:00
Qubasa
ca17fb0ee8
clan-cli: Move list.py to clan_lib/machines
2025-06-24 11:57:02 +02:00
kenji
f288b8c1ef
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
62199e5ec9
Merge branch 'main' into machine-id-option
2025-06-24 09:41:42 +00:00
Qubasa
add15a1a3e
clan-cli: Move delete.py to clan_lib/machines
2025-06-24 11:37:21 +02:00
Qubasa
5a14bd3993
clan-cli: Move list.py to clan_lib/machines
2025-06-24 11:32:42 +02:00
Qubasa
eb26ccaed0
clan-cli: Move morph.py to clan_lib/machines
2025-06-24 11:24:38 +02:00
Luis Hebendanz
1b6a3ba335
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
18d45da9d6
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
b26aad3619
clan-cli: Move hardware.py to clan_lib/machines
2025-06-24 11:07:37 +02:00
pinpox
cb69eea68f
Make machine ID a option
2025-06-24 10:42:03 +02:00
Qubasa
7eb90acfc4
clan-cli: Add missining propagation of host-key-check in machines.update
2025-06-24 10:35:53 +02:00
brianmcgee
26a2b45c74
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
5b04cfc06a
pkgs/clan: Add --tags support to clan machines update
2025-06-23 23:51:43 +02:00
a-kenji
e0b7b3329a
importer: Fix the documentation for the importer service
2025-06-23 23:27:37 +02:00
hsjobeki
afc001cc54
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
a6f94987f9
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
f0d8974d03
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
5dc80e43cd
Chore(classes): update classes
2025-06-23 16:11:12 +02:00
Johannes Kirschbauer
247eb46b5e
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
fa843569c7
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
c37651f2fe
Feat(inventory): simplify instance module spec, by applying a default
2025-06-23 15:46:52 +02:00
Qubasa
046d13bd50
clan-lib: Rename parse_deployment_address to parse_ssh_uri
2025-06-23 15:32:35 +02:00
Qubasa
c3a631de7e
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
b3c04ccd53
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
217f55adec
clan-cli: Simplify HostKeyCheck to a Literal instead of an Enum
2025-06-23 15:08:44 +02:00
Qubasa
c4b3b26fa6
clan-cli: Move clan_cli/ssh/host_key.py to clan_lib/ssh
2025-06-23 15:07:18 +02:00
Luis Hebendanz
f1b886f04c
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
c65bd82e98
clan-lib: Rename check_machine_online to can_ssh_login. Move to Remote object
2025-06-23 14:21:51 +02:00
renovate[bot]
c4ce1e7962
chore(deps): update disko digest to 8fd2d6c
2025-06-23 12:10:18 +00:00
a-kenji
6ff64f7e0a
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]
df5de44ba3
chore(deps): update data-mesher digest to f072536
2025-06-23 00:20:19 +00:00
renovate[bot]
9f93ad59e9
chore(deps): update nix-darwin digest to 04a3412
2025-06-22 19:20:17 +00:00
hsjobeki
1e0860df22
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
8bb28b7ba7
Fix(clan-services): allMachines might not contain the machineName
2025-06-20 14:41:17 +02:00
Brian McGee
36e2f25b57
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
2ed5d29c89
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]
b50fc9d6aa
chore(deps): update nixos-facter-modules digest to 14df13c
2025-06-20 10:20:16 +00:00
pinpox
2138db856e
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
f308ef7e8d
fix: use custom git config in impure-checks to avoid system dependency
2025-06-20 10:40:32 +02:00
Brian McGee
4586b0d17d
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
430f2562c0
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
519b24ba0f
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
4c0ad55e35
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
fae4d39a10
clan-lib: machines.py: Remove host_key attribute
2025-06-19 17:55:56 +02:00
Luis Hebendanz
72dc352a3e
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
cce4d561e4
clan-lib: machines.py: Remove private_key attribute
2025-06-19 17:28:50 +02:00
brianmcgee
acaf04175d
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
98bf2f325b
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
f7a5c99bb3
feat(ui): Sidebar nav
2025-06-19 16:03:21 +01:00
Qubasa
0d984488ed
clan-app: Add vscode workspace for ui-2d
2025-06-19 17:03:04 +02:00
Qubasa
7dadcd99ff
clan-app: ui-2d remove unecessary imports
2025-06-19 16:52:45 +02:00
Luis Hebendanz
c4fe02ad0b
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
3d20b41138
clan-app: Add unused import checker and autofixer. Remove unused files.
2025-06-19 15:14:08 +02:00
renovate[bot]
75a6aa810e
chore(deps): update nix-darwin digest to 0d71cbf
2025-06-19 10:20:15 +00:00
kenji
4b20d6f56a
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
eb47cf08b8
clan-app: 3d UI Remove unused files and exports
2025-06-18 22:42:00 +02:00
Luis Hebendanz
5f31825514
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
0a865eee6c
clan-app: Remove unused files and exports
2025-06-18 22:11:38 +02:00
a-kenji
6ee27bd8eb
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]
b6da0b5683
chore(deps): update dependency playwright to ~1.53.0
2025-06-18 19:34:21 +00:00
renovate[bot]
4c525c436a
fix(deps): update dependency three to ^0.177.0
2025-06-18 19:20:28 +00:00
Luis Hebendanz
ac9ed0ddba
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
0ac445facc
clan-app: Add knip dead code analyzer
2025-06-18 21:10:18 +02:00
Qubasa
f47db5f7c1
clan-app: Fix npm run build in ui-2d
2025-06-18 20:56:52 +02:00
kenji
c8f1434b5f
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
fbc7c1188f
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
4f60dbfe28
clan-app: Add more symlinks to ui-2d
2025-06-18 20:34:54 +02:00
Qubasa
c53874c525
clan-app: Working npm run check in ui-2d folder
2025-06-18 20:31:47 +02:00
a-kenji
cb1eb3ce20
pgks/agit: Update documentation
2025-06-18 20:31:44 +02:00
a-kenji
1a771cca82
pkgs/agit: Add PR status checks to the list subcommand
2025-06-18 20:28:36 +02:00
Luis Hebendanz
03b68afaa5
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
f80332a3f0
clan-app: Symlink more stuff from ui to ui-2d
2025-06-18 18:07:58 +02:00
Qubasa
e785a6be4e
clan-app: Move changes for 2D view to separate ui-2d folder
2025-06-18 17:58:49 +02:00
Luis Hebendanz
f4a7016ece
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
659d2a4c04
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
7e18dc6bb4
vars-check: enable debug logging for cache misses
2025-06-18 14:22:57 +00:00
brianmcgee
8ea465d331
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
f0322a8411
feat(ui): upgrade to storybook 9
...
Replaces rollup with wasm version for portability.
2025-06-18 15:03:43 +01:00
kenji
1f8fef726b
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
c83d3a595e
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
0adbf043de
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
445b7a2027
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
7f840fde61
Merge branch 'main' into remove-services
2025-06-18 11:30:31 +00:00
pinpox
6de9a9a910
Remove services and add deprecation warning
2025-06-18 13:18:25 +02:00
a-kenji
52c3006d9b
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
100e01b32c
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
1b23d5dcf3
clan-app: Fix storybook tests
2025-06-18 12:55:47 +02:00
Qubasa
0c432d5c25
clan-app: Untangle Machine Details into separate components. Makes it non functional for now.
2025-06-18 12:49:43 +02:00
Qubasa
143dfc99dc
clan-app: Improve api test page
2025-06-18 12:49:43 +02:00
Qubasa
3835624040
clan-lib: Set "root" as default user in Remote object
2025-06-18 12:49:43 +02:00
a-kenji
c1a4de843a
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
d9f2c1681f
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
b4b6bf8e16
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
84e280e32d
cli: fix machines update failing with protocol mismatch on macOS
2025-06-18 16:30:11 +07:00
a-kenji
688aad716d
docs/testing: Improve testing documentation
2025-06-18 11:12:30 +02:00
kenji
d531ee2296
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
7d96e8455e
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
12151b91dd
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
2cb588d5a8
gitignore: Remove unused dream2nix rules
2025-06-18 10:52:18 +02:00
a-kenji
f6680a1f8b
gitignore: Remove flatpak
2025-06-18 10:50:37 +02:00
a-kenji
3f8203077e
gitignore: Remove unclear gitignored files
2025-06-18 10:50:20 +02:00
Mic92
69b7b61cc7
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
111172e514
clanServices/hello-world: Fix eval-test example formatting
2025-06-18 10:45:59 +02:00
renovate[bot]
90d3de3514
chore(deps): update data-mesher digest to cb75111
2025-06-17 19:21:50 +00:00
Mic92
63e741ed20
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
a260083919
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
80a0f66809
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
c03fda1b84
zerotier: migrate to clan.nixosTests module
2025-06-17 21:09:59 +02:00
Jörg Thalheim
be760704eb
wifi: migrate to clan.nixosTests module
2025-06-17 20:39:06 +02:00
Jörg Thalheim
9cefd70bf8
users: migrate to clan.nixosTests module
2025-06-17 20:39:06 +02:00
Jörg Thalheim
d31c9d1537
trusted-nix-caches: migrate to clan.nixosTests module
2025-06-17 20:38:31 +02:00
Jörg Thalheim
8e2fc1056f
state-version: migrate to clan.nixosTests module
2025-06-17 20:38:31 +02:00
Jörg Thalheim
41513e6a70
sshd: migrate to clan.nixosTests module
2025-06-17 19:32:04 +02:00
Jörg Thalheim
e5d6d6e7f9
packages: migrate to clan.nixosTests module
2025-06-17 19:31:09 +02:00
Jörg Thalheim
b2a587021f
mycelium: migrate to clan.nixosTests module
2025-06-17 19:30:21 +02:00
Jörg Thalheim
509b18647c
localsend: migrate to clan.nixosTests module
2025-06-17 19:29:08 +02:00
Jörg Thalheim
3535350cb6
hello-world: migrate to clan.nixosTests module
2025-06-17 19:28:12 +02:00
Jörg Thalheim
4459899fb6
heisenbridge: migrate to clan.nixosTests module
2025-06-17 19:27:15 +02:00
Jörg Thalheim
a6f0f27f02
garage: migrate to clan.nixosTests module
2025-06-17 19:26:25 +02:00
Jörg Thalheim
88e935f7c9
ergochat: migrate to clan.nixosTests module
2025-06-17 19:24:09 +02:00
Jörg Thalheim
12cdc279e8
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
e9cded4fd8
deltachat: migrate to clan.nixosTests module
2025-06-17 19:13:25 +02:00
Jörg Thalheim
065c697e0b
borgbackup: migrate to clan.nixosTests module
2025-06-17 19:04:47 +02:00
Jörg Thalheim
268a95f2e4
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
3a1b2aede8
admin: migrate to clan.nixosTests module
2025-06-17 19:04:47 +02:00
Jörg Thalheim
29b2c51391
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
28d3cee649
introduce flake parts module for clan nixos tests
2025-06-17 18:38:52 +02:00
Mic92
9518fb660b
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
d9c97fcb10
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
9064848d86
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
5dbe44bb43
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 cff5d61f26 .
2025-06-17 16:30:04 +02:00
Mic92
578b620e68
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
733fe41b4e
garage: make test more reliable
2025-06-17 16:10:38 +02:00
Mic92
d4d37ad4ff
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
12247c705a
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]
21ca1ed152
chore(deps): lock file maintenance
2025-06-17 12:47:57 +00:00
Mic92
64e5d40de5
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
f796a7531c
pkgs/agit: Update documentation
2025-06-17 14:45:43 +02:00
kenji
8a2bd8c03c
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
f7f6b22f92
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
2c57c35517
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
c303ed8347
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
75bfed044b
clan-app: Fix UI errors
2025-06-17 13:53:43 +02:00
Qubasa
344259aa56
genmoon.py: Fix type error
2025-06-17 13:53:43 +02:00
Qubasa
fa4160dda1
clan-lib: Make Remote overridable over function arguments
2025-06-17 13:53:43 +02:00
a-kenji
7c871cdeb2
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
a-kenji
e6ed020423
agit: Set COMMIT_EDITMSG as filetype
2025-06-17 12:42:12 +02:00
Johannes Kirschbauer
aabe253bf9
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
Johannes Kirschbauer
e14fbb66b1
chore(clan-service): remove and unify unecessary bindings
2025-06-14 20:03:53 +02:00
Johannes Kirschbauer
ca0a56292e
feat(clan-service): add module context for better error messages
2025-06-14 20:03:53 +02:00