Commit Graph

241 Commits

Author SHA1 Message Date
DavHau
97bc973969 reference docs: add missing description fields and enforce it from now on 2024-07-04 13:34:55 +07:00
clan-bot
95dcbe0cd9 Merge pull request 'vars: import by default & fix option rendering' (#1690) from DavHau/clan-core:DavHau-dave into main 2024-07-04 06:15:50 +00:00
DavHau
3de7903317 vars: import by default & fix option rendering 2024-07-04 13:12:29 +07:00
DavHau
841282fb06 facts: mention prompt_value in docs for generator.scripts 2024-07-04 12:59:49 +07:00
DavHau
8f520f1806 vars: add generators.<name>.finalScript 2024-07-02 16:37:31 +07:00
DavHau
1235aa42d9 secrets: add settings, generator submodules, improve tests 2024-07-02 15:38:46 +07:00
DavHau
268adbe100 vars: simplify eval tests by using submodule directly 2024-07-02 13:55:00 +07:00
clan-bot
f21c4569b4 Merge pull request 'fix secret generation on macos' (#1669) from fix-macos-deploy into main 2024-06-30 06:25:39 +00:00
Jörg Thalheim
cb9fbc969b introduce minifakeroot that also works on macos 2024-06-27 18:53:10 +02:00
Jörg Thalheim
2ed8bba017 make bubblewrap in fact generation optional 2024-06-27 18:23:05 +02:00
DavHau
dfcf4d8309 vars: init
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
Johannes Kirschbauer
cbb78ca1ae ClanModules: Add docs and api to retrieve metadata 2024-06-25 21:17:01 +02:00
Johannes Kirschbauer
0d4928ab73 Inventory: init module merge & validation logic for inventory 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
eb221244e6 Extend build-clan interface 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4db65921fe inventory: rename clan.services 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
1b226c9e09 update inventory implementation 2024-06-25 12:23:29 +00:00
Jörg Thalheim
5b351da166 fix fake-etc build on machines without sandbox
If we have no sandbox enabled or on macos with sandbox enabled, /etc
contains a lot more files than we actually want.
Instead of copying some random files, we now just create those files
ourself.
2024-06-21 17:01:40 +02:00
Jörg Thalheim
e68ebc8d6c clan.core.state: wrap all commands in shell scripts
Otherwise we cannot execute them via ssh and also have nix store
dependencies.
2024-06-19 17:54:46 +02:00
DavHau
4db2e8303f refactor: rename clanCore -> clan.core 2024-06-18 18:32:40 +07:00
DavHau
93f0ee9dd3 vm.nix: fix typo in comment 2024-06-11 14:44:08 -07:00
Jörg Thalheim
70c86efe6f backup: add a way to stop services before restoring a state. 2024-06-06 17:30:35 +02:00
Jörg Thalheim
46530a0a9c postgresql: add backup and restore 2024-06-06 14:28:50 +02:00
Jörg Thalheim
4822fbc80e add postgresql backup hooks 2024-06-06 13:27:30 +02:00
Jörg Thalheim
908fdb444f drop deprecated mdDoc 2024-05-28 13:35:11 +02:00
Qubasa
98f3878f66 clan flash: Use latest kernel with zfs support. bcachefs supported too. 2024-05-18 23:47:17 +02:00
Qubasa
69d1c792b0 Add bcachefs support. Fix clan flash docu. 2024-05-18 23:18:02 +02:00
Qubasa
aca83b3448 fix get_keymap_and_locale 2024-05-14 15:41:15 +02:00
Qubasa
9ccf712ce8 Removed ssh password login 2024-05-14 15:41:15 +02:00
Qubasa
edce28582a clan flash: Copied network-status from nixos-images into installer 2024-05-14 15:41:15 +02:00
Qubasa
b1dd5c2832 Add --ssh-pubkey FILE argument 2024-05-14 15:41:15 +02:00
Qubasa
a60978240c Fix template. Improve docu. Add disko as default imported module. 2024-05-10 15:39:46 +02:00
Qubasa
edcc92c75b Add package function-schema and module-schema. Add check for module jsonschema. 2024-05-01 23:16:17 +02:00
lassulus
44b25fc08f clanCore: remove repl-flake as it is now stable 2024-04-27 16:28:23 +02:00
lassulus
56d6a124ac installer: fix qr code again 2024-04-22 21:04:41 +02:00
lassulus
b0ade15ba3 installer: make qrcode compatible with nixos-images 2024-04-22 20:49:35 +02:00
lassulus
552db78555 facts password-store: take path from variable 2024-04-21 19:09:46 +02:00
Jörg Thalheim
751f676079 rework multicast support 2024-04-17 10:57:17 +02:00
a-kenji
7fd456f3d4 installer: add zstd compression 2024-04-12 14:00:25 +00:00
Jörg Thalheim
5444b34f18 fix installer 2024-04-12 14:00:25 +00:00
Jörg Thalheim
139adc7a72 sops/compat: fix name reference 2024-04-12 13:23:52 +02:00
Jörg Thalheim
b8d474402a sops: fix secret path generation 2024-04-12 13:12:31 +02:00
Jörg Thalheim
d974da9fee also enable LLMNR 2024-04-10 15:14:30 +00:00
Jörg Thalheim
d049067096 factstore: secret backends now can return the path to a secret dynamically
try to move path function out
2024-04-10 15:14:30 +00:00
Jörg Thalheim
42b482d572 fix multicast dns for ethernet 2024-04-10 15:14:30 +00:00
Jörg Thalheim
544c618958 enable multicast fore default dhcp network 2024-04-09 13:35:51 +00:00
Jörg Thalheim
aa0db5dc6d sops: strip out clanCore.machineName instead of networking.hostName 2024-04-09 15:10:27 +02:00
Jörg Thalheim
184ecbebec drop custom systemd-networkd unit
We no longer use multicast dns. This one doesn't
conflict with nixos-generate-config.
2024-04-09 12:31:57 +02:00
Qubasa
52a18fd1a4 Improve documentation 2024-04-07 21:07:02 +02:00
Qubasa
f505e0f5db template: Reverted systemd-boot in installer. EF02 partition on wrong second place 2024-04-07 17:09:44 +02:00
Jörg Thalheim
4c6280553c sops: fix decrypte path on machine 2024-04-02 13:50:24 +02:00