Johannes Kirschbauer
|
0e2b519731
|
jsonschema: Add exportfield for module internals
|
2024-11-12 12:48:45 +01:00 |
|
Qubasa
|
95d3218bb6
|
clan: Re-add pkgsForSystem to configsPerSystem too
|
2024-11-11 23:20:27 +07:00 |
|
Qubasa
|
130aeb36b7
|
Revert "clan: Remove pkgsForSystem"
This reverts commit 382e27a20b.
|
2024-11-11 21:50:25 +07:00 |
|
Qubasa
|
6ac6d626df
|
module.nix: add better explanation
|
2024-11-11 14:08:12 +00:00 |
|
Qubasa
|
382e27a20b
|
clan: Remove pkgsForSystem
|
2024-11-11 14:08:12 +00:00 |
|
Johannes Kirschbauer
|
a67f42ee7a
|
Jsonschema: clean up tests
|
2024-11-08 13:22:58 +01:00 |
|
Johannes Kirschbauer
|
4994b5acb5
|
Inventory: init inventory.tags for globally defined static and dynamic tags
|
2024-11-08 12:48:03 +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 |
|
danjujan
|
7a1e952c54
|
lib: fix typos
|
2024-10-29 12:37:34 +00:00 |
|
DavHau
|
b35d87888d
|
build-clan: clean up unit test
|
2024-10-23 23:19:49 +07:00 |
|
Johannes Kirschbauer
|
7a4a4cea95
|
lib/jsonSchema: handle defaults for defaultText
|
2024-10-22 12:59:44 +02: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
|
da56927968
|
eval-clan-modules: don't re-import nixpkgs
|
2024-10-09 13:48:32 +02:00 |
|
Johannes Kirschbauer
|
2de5b83ed0
|
Schemas: fix clanModules eval
|
2024-10-09 13:38:19 +02: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
|
f825fa4b9b
|
lib/inventory/tests: adapt imported module account
|
2024-10-09 12:32:04 +02:00 |
|
Jörg Thalheim
|
d537e1a91c
|
remove machine settings.json
|
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
|
9cdd55acf4
|
drop "system" argument from inventory
|
2024-10-09 12:07:58 +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 |
|
Johannes Kirschbauer
|
f9b7cd16d6
|
Inventory/schema: disable warning until fully migrated
|
2024-10-08 19:31:27 +02: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 |
|
Johannes Kirschbauer
|
52b26f6cda
|
Inventory/tests: add more eval smoke tests
|
2024-10-08 12:06:03 +02:00 |
|
Johannes Kirschbauer
|
184db43997
|
Init: inventory schema for role dependant interfaces
|
2024-10-08 11:38:15 +02: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 |
|
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 |
|
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 |
|
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
|
978c3c21d4
|
Inventory/modules: use explicit 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 |
|
Johannes Kirschbauer
|
a67fb750cf
|
Docs: fixup links
|
2024-09-25 13:46:12 +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 |
|
Johannes Kirschbauer
|
55526b1fdb
|
Docs: add top-level index, refactor according to diataxis
|
2024-09-22 18:39:13 +02:00 |
|
Johannes Kirschbauer
|
9bee82d21e
|
Inventory: fixup imports to extraModules
|
2024-09-18 08:27:39 +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 |
|
Johannes Kirschbauer
|
805d09cd61
|
Inventory: check extraModules serilizable
|
2024-09-16 13:50:03 +00:00 |
|
Johannes Kirschbauer
|
8bda488425
|
CLI: use abstract schema to avoid module imports
|
2024-09-15 18:42:50 +02: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 |
|