3a0f591c8c
vars: simplify eval tests by using submodule directly
2024-07-02 13:55:00 +07:00
0f95bfd279
Merge pull request 'fix secret generation on macos' ( #1669 ) from fix-macos-deploy into main
2024-06-30 06:25:39 +00:00
2e2358d850
introduce minifakeroot that also works on macos
2024-06-27 18:53:10 +02:00
bae0a888c9
make bubblewrap in fact generation optional
2024-06-27 18:23:05 +02:00
5668bc561d
vars: init
...
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
9b0e2a87e8
ClanModules: Add docs and api to retrieve metadata
2024-06-25 21:17:01 +02:00
2f8b782a1f
Inventory: init module merge & validation logic for inventory
2024-06-25 12:23:29 +00:00
c89080deb4
Extend build-clan interface
2024-06-25 12:23:29 +00:00
e44b07df66
inventory: rename clan.services
2024-06-25 12:23:29 +00:00
afca7ae0cc
update inventory implementation
2024-06-25 12:23:29 +00:00
6086f27263
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
ef9ed1ebea
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
313db5643f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
7766829fb1
vm.nix: fix typo in comment
2024-06-11 14:44:08 -07:00
5c11a30b46
backup: add a way to stop services before restoring a state.
2024-06-06 17:30:35 +02:00
0dc3b9f056
postgresql: add backup and restore
2024-06-06 14:28:50 +02:00
6dec2a9222
add postgresql backup hooks
2024-06-06 13:27:30 +02:00
3c0b5f0867
drop deprecated mdDoc
2024-05-28 13:35:11 +02:00
da5f363bee
clan flash: Use latest kernel with zfs support. bcachefs supported too.
2024-05-18 23:47:17 +02:00
64a98281f0
Add bcachefs support. Fix clan flash docu.
2024-05-18 23:18:02 +02:00
3293ac0c14
fix get_keymap_and_locale
2024-05-14 15:41:15 +02:00
be841cdec2
Removed ssh password login
2024-05-14 15:41:15 +02:00
c25f7934ba
clan flash: Copied network-status from nixos-images into installer
2024-05-14 15:41:15 +02:00
4f6d25160f
Add --ssh-pubkey FILE argument
2024-05-14 15:41:15 +02:00
82fa89b57e
Fix template. Improve docu. Add disko as default imported module.
2024-05-10 15:39:46 +02:00
a48df5b993
Add package function-schema and module-schema. Add check for module jsonschema.
2024-05-01 23:16:17 +02:00
c681cc0998
clanCore: remove repl-flake as it is now stable
2024-04-27 16:28:23 +02:00
3c02453705
installer: fix qr code again
2024-04-22 21:04:41 +02:00
4ae5b24d24
installer: make qrcode compatible with nixos-images
2024-04-22 20:49:35 +02:00
4964415d34
facts password-store: take path from variable
2024-04-21 19:09:46 +02:00
8658e1694a
rework multicast support
2024-04-17 10:57:17 +02:00
26c71d9720
installer: add zstd compression
2024-04-12 14:00:25 +00:00
088e0d3eee
fix installer
2024-04-12 14:00:25 +00:00
6958da2d57
sops/compat: fix name reference
2024-04-12 13:23:52 +02:00
58446db110
sops: fix secret path generation
2024-04-12 13:12:31 +02:00
82aafc287e
also enable LLMNR
2024-04-10 15:14:30 +00:00
0d4e1f870b
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
faaf6649c5
fix multicast dns for ethernet
2024-04-10 15:14:30 +00:00
a8718b92d4
enable multicast fore default dhcp network
2024-04-09 13:35:51 +00:00
19a62817f2
sops: strip out clanCore.machineName instead of networking.hostName
2024-04-09 15:10:27 +02:00
e8ebfb2e2a
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
1e0d73e8a9
Improve documentation
2024-04-07 21:07:02 +02:00
4faba7c8e1
template: Reverted systemd-boot in installer. EF02 partition on wrong second place
2024-04-07 17:09:44 +02:00
5b838c0d9c
sops: fix decrypte path on machine
2024-04-02 13:50:24 +02:00
e0bdf1ce39
docs: render module options docs
...
fix errors while rendering some modules
2024-03-31 00:26:08 +07:00
72cc85cd2f
secrets: improve description of generator script
2024-03-30 17:16:26 +07:00
65d116ec28
migrate secrets to new api
2024-03-28 11:02:14 +01:00
a8d35d37e7
refactor clanCore.secrets -> clanCore.facts
2024-03-27 16:03:16 +01:00
3771be2110
checks: add check for rendering docs
2024-03-27 16:59:42 +07:00
4b8b1107ba
clanCore/packages.nix: add gitMinimal
...
WIthout this, deployment via `clan machines update` will fail on the remote machine if the flake.nix has a git input
2024-03-25 11:47:32 +07:00