1
0
forked from clan/clan-core
Commit Graph

110 Commits

Author SHA1 Message Date
9f4ab67fc2 Merge pull request 'clanCore: Fixed missing type null for clanIcon' (#634) from Qubasa-main into main 2023-12-08 18:33:58 +00:00
4a5e5feb73 clanCore: Fixed missing type null for clanIcon 2023-12-08 19:30:04 +01:00
d6052c3497 clanCore: Fixed missing type null for clanIcon 2023-12-08 19:27:58 +01:00
28a6613bde Merge pull request 'backups: support services for restore' (#631) from lassulus-HEAD into main 2023-12-08 18:16:08 +00:00
dec431e69f backups: support services for restore 2023-12-08 19:09:29 +01:00
eba34bf2f7 Changed clanIcon to be included into clanCore 2023-12-08 19:08:57 +01:00
57bded996b Merge pull request 'move clanName into nixos machine configuration' (#630) from Mic92-main into main 2023-12-08 15:21:59 +00:00
2a0a50fb5e switch to initrd.systemd by default 2023-12-08 16:17:58 +01:00
4aa60317fa move clanName into nixos machine configuration 2023-12-08 15:05:56 +00:00
4b9635c706 move clanName into nixos machine configuration 2023-12-08 16:03:29 +01:00
76c3c77886 Merge pull request 'add serial module to vms' (#621) from Mic92-main into main 2023-12-08 11:37:50 +00:00
64944f896a add serial module to vms
This is useful for debugging in the cli.
2023-12-08 12:35:33 +01:00
cf68bd41d6 backups: implement list/create and dry-run restore 2023-12-07 18:23:22 +01:00
45e9ab45f7 backups: implement list the easy way 2023-12-07 13:22:41 +01:00
0b772668a8 Merge pull request 'backups: add clanCore backup & clan borgbackup module' (#605) from lassulus-backups into main 2023-12-04 16:51:33 +00:00
e772d29f44 implement backup cli for borgbackup 2023-12-04 17:47:23 +01:00
4fd84d1c48 disallow variable shadowing 2023-11-30 14:31:37 +01:00
780ffb9c8f make type checking more strict 2023-11-30 14:31:37 +01:00
373fc83160 add option to extend path for generator 2023-11-30 14:15:40 +01:00
41afc65f34 clan-core/secrets: escape facts trailing newline 2023-11-29 13:29:20 +01:00
640430075a backups: add clanCore backup & clan borgbackup module 2023-11-23 18:12:49 +01:00
1f03a9b7ec Fix typo 2023-11-16 14:39:15 +01:00
0604d5a83d Configure nix inside the machines
Add sane nix defaults for debugging and usability reasons
2023-11-16 14:08:50 +01:00
d2fecd0a94 clanCore: install essential tools for debugging 2023-11-16 13:46:13 +01:00
2bda2293cb
meshnamed: fix container 2023-11-15 11:20:56 +01:00
df1e166afb
clanCore/networking: allow ping unconditionally 2023-11-15 11:07:03 +01:00
1e49bf3378
zerotier: also install identity secrets for non-controllers 2023-11-15 11:07:03 +01:00
fcb22f254c
move resolved configuration to a dummy interface 2023-11-15 11:07:03 +01:00
dca61fa5fa
explicitly set networkd as the default 2023-11-15 07:21:26 +01:00
8cda86d34c
integrated meshnamed with systemd-resolved 2023-11-15 07:21:26 +01:00
75f1815f98
move clan-imports into clanCore 2023-11-15 07:21:26 +01:00
2306b2ec50
zerotier: fix eval if meshname is not known yet 2023-11-15 07:21:26 +01:00
fdfe02fb77
zerotier: also enable meshnamed for non-controllers 2023-11-14 17:45:30 +01:00
b2422f9c74
zerotier: write hostname to file 2023-11-14 17:45:30 +01:00
d2303df18b
enable meshnamed in zerotier module 2023-11-14 14:40:26 +01:00
cf9f24a3b2 zerotier: add leading zeros at subnet 2023-11-14 14:25:58 +01:00
99649f77d4 zerotier: compute ipv6 subnets 2023-11-14 14:04:05 +01:00
5d41bcee7f drop zerotier-subnet, we can compute this. 2023-11-14 13:50:44 +01:00
bdc8ef63ed add module for meshnamed 2023-11-14 12:58:15 +01:00
c28089d4b2 allow to persist zerotier identities/ips/meshnames for non-controller 2023-11-10 11:56:54 +01:00
0efbb461e6 drop bloatware module 2023-11-08 14:47:31 +01:00
7b3d3e20b4 clan-cli secrets: flake_name -> flake_dir 2023-11-05 16:58:48 +01:00
52a56701ff zerotier: enable networkd 2023-10-31 15:35:09 +01:00
3581e0c9a8 Fixing a multitude of tests 2023-10-27 19:21:50 +02:00
d1c35301e3 Added repro_env_break debugging command. This spawn a terminal inside the temp home folder with the same environment as the python test 2023-10-27 19:20:17 +02:00
04836fa9e8 improve output of installer iso
Now it also includes local addresses.
2023-10-27 17:40:20 +02:00
bf176ad277 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
c5b2e9b5f3 secrets: fix: don't generate secrets if no secrets are defined 2023-10-06 18:34:49 +02:00
2d2e097f6d secrets.password-store: mkdir correct fact folder 2023-10-05 20:22:30 +02:00
386da9e6c4 zerotier generate-network: terminate fakeroot for process cleanup 2023-10-05 19:14:10 +02:00