Commit Graph

5138 Commits

Author SHA1 Message Date
Mic92
970dedbbd9 Merge pull request 'vms/qemu: fix opengl detection' (#2422) from danjujan/clan-core:main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2422
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-11-20 10:20:30 +00:00
danjujan
1e20a4cda9 vms/qemu: fix opengl detection 2024-11-20 10:20:30 +00:00
Mic92
07d8566f0a Merge pull request 'vars: add VarStatus dataclass to make return type more readable' (#2446) from Mic92-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2446
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-11-20 10:20:06 +00:00
Jörg Thalheim
952a5f3ee7 vars: add VarStatus dataclass to make return type more readable 2024-11-20 10:20:06 +00:00
clan-bot
531eac1ab2 Merge pull request 'Docs/modules: seperate out inventory,role specific interface' (#2447) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-20 10:07:58 +00:00
Johannes Kirschbauer
b3164076d5 Docs/modules: seperate out inventory,role specific interface 2024-11-20 11:01:28 +01:00
clan-bot
2090300734 Merge pull request 'vars: implement invalidation mechanism' (#2445) from DavHau/clan-core:DavHau-dave into main 2024-11-20 09:33:09 +00:00
DavHau
d4c8b2e4ed vars: implement invalidation mechanism
This adds options `invalidationData` to generators.

`invalidationData` can be used by an author of a generator to signal if a re-generation is required after updating the logic.

Whenever a generator with invalidation data is executed, a hash of that data is stored by the respective public and/or secret backends.

The stored hashes will be checked on future deployments, and a re-generation is triggered whenever a hash doesn't match what's defined in nix.
2024-11-20 16:27:22 +07:00
clan-bot
4a1e621a9a Merge pull request 'chore(packages/schema): remove unused validation' (#2444) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-19 17:05:06 +00:00
Johannes Kirschbauer
e5184eb5d4 chore(packages/schema): remove unused validation 2024-11-19 17:59:30 +01:00
hsjobeki
1036aec44f Merge pull request 'modules: add more categories' (#2438) from hsjobeki/clan-core:hsjobeki-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2438
2024-11-19 15:59:23 +00:00
Johannes Kirschbauer
176b07d6d1 UI/Modules: individual roles members 2024-11-19 15:59:23 +00:00
Johannes Kirschbauer
bb6abd44aa Modules/matter: add more categories 2024-11-19 15:59:23 +00:00
clan-bot
cf13a57dc5 Merge pull request 'theme-ui' (#2443) from hsjobeki/clan-core:theme-ui into main 2024-11-19 14:39:24 +00:00
Johannes Kirschbauer
eecd39b24a UI/fonts: migrate all text-* classes 2024-11-19 15:33:30 +01:00
Johannes Kirschbauer
78dbeb6276 UI/layout: clean up imports 2024-11-19 14:50:07 +01:00
Johannes Kirschbauer
1c28959d61 UI/sidebar: rework tailwind theme and classes 2024-11-19 14:47:36 +01:00
clan-bot
0124129730 Merge pull request 'clanModules: Fix ordering' (#2442) from kenji/clan-core:kenji-clan-modules/fix-order into main 2024-11-19 13:21:10 +00:00
a-kenji
2389e3f73e clanModules: Fix ordering 2024-11-19 14:14:31 +01:00
clan-bot
5cb93c0015 Merge pull request 'clanModules/importer: Init importer inventory module' (#2440) from kenji/clan-core:kenji-clan-modules/importer into main 2024-11-19 13:06:37 +00:00
a-kenji
4b4b3826c8 clanModules/importer: Init importer inventory module
Initialize the `importer` inventory module.
It is a power user module that allows for convenient, flexible,
structured imports for hosts.

It exposes the `extraModules` functionality of the inventory,
without any added configuration.

Closes: #2356
2024-11-19 14:00:57 +01:00
Timo
d9973a3d12 ui/sidebar: adds full height to drawer and min-width to new sidebar component 2024-11-19 13:24:48 +01:00
Timo
1d7913aeb7 ui/sidebar: updates component and introduces new styles (e.g. colors, typograhy) 2024-11-19 13:19:54 +01:00
Timo
1046797da8 ui/typography: adds general typography component 2024-11-19 13:19:54 +01:00
Timo
7821c343d6 ui/sidebar: finishes general structure of new sidebar components 2024-11-19 13:19:54 +01:00
Mic92
f2ead637bc Merge pull request 'add repo sync for github' (#2437) from Mic92-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2437
2024-11-19 12:09:28 +00:00
Jörg Thalheim
3fe9c14034 add repo sync for github
add repo sync for github
2024-11-19 13:08:13 +01:00
Johannes Kirschbauer
2c5d74d292 Modules/matter: add more categories 2024-11-19 13:02:47 +01:00
clan-bot
b618f9763f Merge pull request 'templates/minimal-flake-parts: Add meta.name' (#2434) from kenji/clan-core:kenji-flake-parts/add-name into main 2024-11-19 11:39:56 +00:00
a-kenji
e56523345b templates/minimal-flake-parts: Add meta.name
Add `meta.name` field for the flake parts template.
This is not quite ideal, because it still needs to be changed manually
after invocation of the template.
2024-11-19 12:33:18 +01:00
clan-bot
ada0f22d88 Merge pull request 'flake/inputs: Remove obsolete nixpkgs-stable reference for sops-nix' (#2433) from kenji/clan-core:kenji-remove-sops-nix into main 2024-11-19 09:55:25 +00:00
a-kenji
b5cd929961 flake/inputs: Remove obsolete nixpkgs-stable reference for sops-nix 2024-11-19 10:48:56 +01:00
kenji
d08fc02c73 Merge pull request 'ssh-ca' (#2379) from ssh-ca into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2379
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-11-19 09:46:14 +00:00
Jörg Thalheim
4759b9528f also deploy host ca to server 2024-11-19 09:46:14 +00:00
Jörg Thalheim
936a3baa08 backup: remove unused variable 2024-11-19 09:46:14 +00:00
Jörg Thalheim
37bef9200f Update vars via generator openssh for machine test-backup 2024-11-19 09:46:14 +00:00
Jörg Thalheim
68a5d072b2 vars: don't print stack trace if generator fails 2024-11-19 09:46:14 +00:00
Jörg Thalheim
1f6a1f7116 vars/test-backup: set ssh key 2024-11-19 09:46:14 +00:00
Jörg Thalheim
03fcf8715b tests: set stateVersion 2024-11-19 09:46:14 +00:00
Jörg Thalheim
2b270a8951 vars: introduce ensure_machine_has_access method for sops
this should help avoiding overriding existing shared secrets by not
triggering vars regeneration if a machine has no access.

wip
2024-11-19 09:46:14 +00:00
Jörg Thalheim
609dc90775 remove ssh.id_ed25519 from facts test
we have moved this to vars now.
2024-11-19 09:46:14 +00:00
Jörg Thalheim
c20085e3c7 sshd: add host ssh cert support 2024-11-19 09:46:14 +00:00
clan-bot
b54063f173 Merge pull request 'Modules: init automatic docs.' (#2432) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-19 09:43:20 +00:00
Johannes Kirschbauer
e8f39d7431 UI/tailwind: fix preflight 2024-11-19 10:36:53 +01:00
Johannes Kirschbauer
3a46119722 Modules/api: export constraints, filter by inventory 2024-11-19 10:36:29 +01:00
Johannes Kirschbauer
cfe9dbf117 Docs/frontmatter: init automatic reference for frontmatter 2024-11-19 10:35:13 +01:00
clan-bot
2ac2cc2aff Merge pull request 'vars: add test for 'clan vars get'' (#2431) from DavHau/clan-core:DavHau-dave into main 2024-11-19 06:38:31 +00:00
DavHau
2127c7f5cb vars: add test for 'clan vars get' 2024-11-19 13:32:27 +07:00
clan-bot
776701c9e3 Merge pull request 'docs: Remove old blog' (#2430) from Qubasa/clan-core:Qubasa-main into main 2024-11-18 16:31:43 +00:00
Qubasa
9aa4a81a91 docs: Remove old blog, remove empty concepts rider 2024-11-18 17:25:47 +01:00