Jörg Thalheim
ad69b0a567
select: drop unused nixpkgs fallback
2025-06-27 19:30:45 +02:00
Jörg Thalheim
1e6ceac2bd
don't keep appending --impure to nix_options when running tests
2025-06-27 18:54:13 +02: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
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
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