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