Commit Graph

4439 Commits

Author SHA1 Message Date
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