Commit Graph

21 Commits

Author SHA1 Message Date
a-kenji
308b345d02 Configure nix inside the machines
Add sane nix defaults for debugging and usability reasons
2023-11-16 14:08:50 +01:00
Jörg Thalheim
454d80a233 clanCore: install essential tools for debugging 2023-11-16 13:46:13 +01:00
Jörg Thalheim
2ca9f8cbaf move clan-imports into clanCore 2023-11-15 07:21:26 +01:00
Jörg Thalheim
7fd0f1fbb7 add module for meshnamed 2023-11-14 12:58:15 +01:00
Jörg Thalheim
bb10e703b3 drop bloatware module 2023-11-08 14:47:31 +01:00
DavHau
cf0953146d api/machines: allow importing extra modules
- add top-level option `clanImports` to clanCore
- clanImports can be set and checked as any other option
- buildClan resolves the clanImports from the settings.json before calling evalModules to prevent infinite recursions
- new endpoint PUT machines/{name}/schema to allow getting the schema for a specific list of imports
- to retrieve the currently imported modules, cimply do a GET or PU on machines/{name}/config which will return `clanImports` as part of the config

Still missing: get list of available modules
2023-10-25 16:36:30 +01:00
DavHau
bb51a9916b secrets: fix: don't generate secrets if no secrets are defined 2023-10-06 18:34:49 +02:00
DavHau
25682cf146 clanCore: specify interface for system.clan 2023-10-05 17:08:59 +02:00
Jörg Thalheim
2ca9e9a16e restore possibility to update all machines without having to specify them 2023-10-04 08:35:59 +02:00
lassulus
0db337d57e clan-cli secrets upload: secrets are populated into tmpdir 2023-09-29 20:05:35 +02:00
lassulus
79be9078dc restore clanInternals with valid nixos config 2023-09-29 19:39:35 +02:00
Jörg Thalheim
b11284193f make zerotier module a directory 2023-09-26 15:55:41 +02:00
Jörg Thalheim
f518088d4c clanCore.clanPkgs: set defaultText make it internal 2023-09-22 15:03:40 +02:00
Jörg Thalheim
51e8da2a74 config: get rid of impure eval 2023-09-22 14:32:38 +02:00
Jörg Thalheim
a29f301f84 add vms 2023-09-15 14:02:40 +00:00
lassulus
8d29d0e69c clan-cli: get deploymentAddress from clan.networking 2023-09-15 12:17:07 +00:00
DavHau
c9bfd0a5b5 clanCore: add example options 2023-09-02 19:15:29 +02:00
DavHau
a0d1b09b1d clanCore module: add clanSchema top level option 2023-09-02 18:28:31 +02:00
DavHau
4afd9910e9 Revert "rename clanCore to clan.core"
This reverts commit fef796fa6e.
2023-08-30 15:24:33 +02:00
Jörg Thalheim
fef796fa6e rename clanCore to clan.core 2023-08-30 12:46:49 +00:00
lassulus
9fca1e7f43 move clanCore into nixosModules, add secrets generate command 2023-08-29 16:28:50 +02:00