Jörg Thalheim
d04e807269
zerotier: write hostname to file
2023-11-14 17:45:30 +01:00
Jörg Thalheim
65e09aebea
enable meshnamed in zerotier module
2023-11-14 14:40:26 +01:00
Jörg Thalheim
ed237ac078
zerotier: add leading zeros at subnet
2023-11-14 14:25:58 +01:00
Jörg Thalheim
087157b4bf
zerotier: compute ipv6 subnets
2023-11-14 14:04:05 +01:00
Jörg Thalheim
763d0fc252
drop zerotier-subnet, we can compute this.
2023-11-14 13:50:44 +01:00
Jörg Thalheim
7fd0f1fbb7
add module for meshnamed
2023-11-14 12:58:15 +01:00
Jörg Thalheim
e436fef13d
allow to persist zerotier identities/ips/meshnames for non-controller
2023-11-10 11:56:54 +01:00
Jörg Thalheim
bb10e703b3
drop bloatware module
2023-11-08 14:47:31 +01:00
lassulus
efafe6f0e3
clan-cli secrets: flake_name -> flake_dir
2023-11-05 16:58:48 +01:00
Jörg Thalheim
53b5e989ee
zerotier: enable networkd
2023-10-31 15:35:09 +01:00
Qubasa
8ff80b025c
Fixing a multitude of tests
2023-10-27 19:21:50 +02:00
Qubasa
adffdc14f6
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
Jörg Thalheim
f7e9d45ade
improve output of installer iso
...
Now it also includes local addresses.
2023-10-27 17:40:20 +02: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
lassulus
599209b7f6
secrets.password-store: mkdir correct fact folder
2023-10-05 20:22:30 +02:00
lassulus
97c1e3fb47
zerotier generate-network: terminate fakeroot for process cleanup
2023-10-05 19:14:10 +02:00
lassulus
130ca378dc
password-store: generate each secret in tmpdir
2023-10-05 19:14:10 +02:00
DavHau
25682cf146
clanCore: specify interface for system.clan
2023-10-05 17:08:59 +02:00
DavHau
9e4c5cadf1
zerotier: fix: find free port without collissions
2023-10-05 17:03:01 +02:00
lassulus
528d0ee45a
secrets upload: skip on exit 23, cleanup
2023-10-04 21:29:19 +02:00
lassulus
9457a0f4b9
vms: support secrets and fix cross compilation
2023-10-04 18:04:27 +02:00
lassulus
dc82712a7b
secrets.password-store: ignore ssh errors
2023-10-04 16:34:37 +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
a21eabf5c2
secrets.password-store: optimize secret existence check
2023-09-30 09:36:39 +02:00
lassulus
a6da15ca63
secrets.password-store: fix multi-secret check
2023-09-30 09:27:25 +02:00
lassulus
bde6f956d4
secrets: allow empty facts
2023-09-30 09:18:24 +02:00
lassulus
f944cfb9ea
clanCore.zerotier: create network-id only if fact exists
2023-09-29 20:05:35 +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
lassulus
d1cf62cc59
clan-cli: init vm command
2023-09-29 19:18:27 +02:00
Jörg Thalheim
15050664a3
add treewide pyproject.toml
...
Than we don't need a pyproject.toml per script
2023-09-29 16:41:14 +02:00
Jörg Thalheim
431aeda14b
zerotier: fix creating controller directory
2023-09-29 16:41:14 +02:00
Jörg Thalheim
7bef76f542
add zerotier-members script
2023-09-29 16:07:22 +02:00
Jörg Thalheim
0178be0231
zerotier: document mdns ports; drop duplicate udp firewall rules
...
the nixos module already opens the zerotier port
2023-09-28 17:58:42 +02:00
lassulus
6d4047b3d9
secrets.password-store: readd targetDirectory
2023-09-27 21:26:58 +02:00
Jörg Thalheim
ded120d065
drop requirement for importing qemu-vm.nix
2023-09-27 14:54:01 +02:00
lassulus
d0d1df6deb
clan.networking.zerotier: create init script only if fact exists
2023-09-27 11:02:54 +02:00
lassulus
5bf28c1731
clanCore.secrets: facts.value can be null or str
2023-09-27 10:34:53 +02:00
Jörg Thalheim
a356f2a368
zerotier: fix eval
2023-09-26 16:19:43 +00:00
Jörg Thalheim
be9b118f79
move zerotier secret generation into nixos module
2023-09-26 18:14:00 +02:00
Jörg Thalheim
2e88454b5a
move zerotier secret generation into nixos module
2023-09-26 17:57:43 +02:00
Jörg Thalheim
b11284193f
make zerotier module a directory
2023-09-26 15:55:41 +02:00
lassulus
13d069ec6f
clan.networking.zerotier: fix controller mode
2023-09-25 19:11:16 +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
0540fb7103
document networking.deploymentAddress
2023-09-22 12:09:53 +02:00
lassulus
aeed648bd0
secrets: use clanInternal for crosscompiling, move sops generators to new file
2023-09-21 17:25:32 +02:00
Jörg Thalheim
4096ea3adb
don't set age keyfile if don't have a secret for it
2023-09-21 17:22:20 +02:00
Jörg Thalheim
0314132a1a
rewrite sops backend for secret generation and add tests
2023-09-21 17:22:20 +02:00