Commit Graph

174 Commits

Author SHA1 Message Date
Jörg Thalheim
5e0e4a9a32 zerotier: add support for moons 2024-01-12 18:26:00 +01:00
Jörg Thalheim
40a2d89431 zerotier: configure alternative tcp fallback relay 2024-01-12 15:13:20 +01:00
Jörg Thalheim
5dd222eb69 zerotier: set interface altname 2024-01-11 15:51:34 +01:00
Jörg Thalheim
449b884231 zerotier: use configuration file instead to set the network name 2024-01-11 14:57:00 +01:00
Jörg Thalheim
7e644a2054 make zerotier name configureable 2024-01-11 14:57:00 +01:00
Jörg Thalheim
ab381dfb75 zerotier: delete old networks 2024-01-11 13:24:00 +01:00
Jörg Thalheim
0a5b5e9b5c meshnamed: mark networkmanager interfaces as unmanaged 2024-01-11 12:17:44 +01:00
Jörg Thalheim
eb42320d14 open up zerotier ports 2024-01-10 17:24:41 +00:00
DavHau
49eca79751 state: declare /home as state by default 2024-01-10 17:37:40 +07:00
DavHau
9f6af4129a state: move options clanCore.state to a separate file 2024-01-10 17:10:10 +07:00
DavHau
4bdf769075 VMs: persist state folders on host
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders

TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00
Jörg Thalheim
25fd707c3f switch to xwayland display :1
no conflict with Xorg
2024-01-04 16:18:27 +01:00
Jörg Thalheim
f81a9ffb69 add wayland-proxy-virtwl module 2023-12-15 14:14:20 +01:00
Jörg Thalheim
a1a8486be8 clanCore: refactor flake-module.nix into smaller files 2023-12-15 14:14:20 +01:00
clan-bot
91ca79be0d Merge pull request 'clanCore: Fixed missing type null for clanIcon' (#634) from Qubasa-main into main 2023-12-08 18:33:58 +00:00
Qubasa
b9b14bfd39 clanCore: Fixed missing type null for clanIcon 2023-12-08 19:30:04 +01:00
Qubasa
fe8da705e9 clanCore: Fixed missing type null for clanIcon 2023-12-08 19:27:58 +01:00
clan-bot
635c81b967 Merge pull request 'backups: support services for restore' (#631) from lassulus-HEAD into main 2023-12-08 18:16:08 +00:00
lassulus
4cc9c4366c backups: support services for restore 2023-12-08 19:09:29 +01:00
Qubasa
c4331b168d Changed clanIcon to be included into clanCore 2023-12-08 19:08:57 +01:00
clan-bot
a4c774d74d Merge pull request 'move clanName into nixos machine configuration' (#630) from Mic92-main into main 2023-12-08 15:21:59 +00:00
Jörg Thalheim
d7a9c1bc96 switch to initrd.systemd by default 2023-12-08 16:17:58 +01:00
Jörg Thalheim
26c6954db0 move clanName into nixos machine configuration 2023-12-08 15:05:56 +00:00
Jörg Thalheim
3054b9c77d move clanName into nixos machine configuration 2023-12-08 16:03:29 +01:00
clan-bot
39079f0145 Merge pull request 'add serial module to vms' (#621) from Mic92-main into main 2023-12-08 11:37:50 +00:00
Jörg Thalheim
44108e7dac add serial module to vms
This is useful for debugging in the cli.
2023-12-08 12:35:33 +01:00
lassulus
3d1533892b backups: implement list/create and dry-run restore 2023-12-07 18:23:22 +01:00
lassulus
0ab11948e7 backups: implement list the easy way 2023-12-07 13:22:41 +01:00
clan-bot
1338282c62 Merge pull request 'backups: add clanCore backup & clan borgbackup module' (#605) from lassulus-backups into main 2023-12-04 16:51:33 +00:00
lassulus
83dd430d03 implement backup cli for borgbackup 2023-12-04 17:47:23 +01:00
Jörg Thalheim
59d1829f4d disallow variable shadowing 2023-11-30 14:31:37 +01:00
Jörg Thalheim
01dbcec6a1 make type checking more strict 2023-11-30 14:31:37 +01:00
Jörg Thalheim
f208bc0f22 add option to extend path for generator 2023-11-30 14:15:40 +01:00
a-kenji
deefddd3c2 clan-core/secrets: escape facts trailing newline 2023-11-29 13:29:20 +01:00
lassulus
c9d10437e5 backups: add clanCore backup & clan borgbackup module 2023-11-23 18:12:49 +01:00
a-kenji
2fc25c61f3 Fix typo 2023-11-16 14:39:15 +01:00
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
0f4151da30 meshnamed: fix container 2023-11-15 11:20:56 +01:00
Jörg Thalheim
e6acf89117 clanCore/networking: allow ping unconditionally 2023-11-15 11:07:03 +01:00
Jörg Thalheim
d6bb782d74 zerotier: also install identity secrets for non-controllers 2023-11-15 11:07:03 +01:00
Jörg Thalheim
80b902a924 move resolved configuration to a dummy interface 2023-11-15 11:07:03 +01:00
Jörg Thalheim
6a35f6b26c explicitly set networkd as the default 2023-11-15 07:21:26 +01:00
Jörg Thalheim
189451d3d2 integrated meshnamed with systemd-resolved 2023-11-15 07:21:26 +01:00
Jörg Thalheim
2ca9f8cbaf move clan-imports into clanCore 2023-11-15 07:21:26 +01:00
Jörg Thalheim
74fa1c2614 zerotier: fix eval if meshname is not known yet 2023-11-15 07:21:26 +01:00
Jörg Thalheim
92aa60ff2e zerotier: also enable meshnamed for non-controllers 2023-11-14 17:45:30 +01:00
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