Commit Graph

145 Commits

Author SHA1 Message Date
Jörg Thalheim
584299e199 rename deployment address to target address
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
lassulus
1a6e99f4ff zerotier generate: retry if port allocation fails 2024-02-01 10:11:30 +01:00
lassulus
5cc2413000 zerotier generate: kill process group 2024-02-01 10:01:28 +01:00
a-kenji
de041d4b2c vms: rename wayland attrs to waypipe
And remove the options from the cli interface.
2024-02-01 10:14:36 +07:00
a-kenji
7000caafa9 vms: wayland attr specified in configuration 2024-02-01 09:00:43 +07:00
DavHau
af9b4c32e8 Reapply "vm-state: fix and improve testing"
This reverts commit a429ab5d3c.

vm-state: revert sysusers, improve testing

zerotier: enable persistence

vm-state: cleanup tests
2024-01-31 11:02:16 +07:00
lassulus
140973270a secrets: add sandbox user 2024-01-30 12:11:05 +01:00
DavHau
a429ab5d3c Revert "vm-state: fix and improve testing"
This reverts commit 41c97a5fce.
2024-01-29 15:16:10 +07:00
DavHau
41c97a5fce vm-state: fix and improve testing
Also adds qemu qga protocol implementation to execute commands
2024-01-26 19:41:05 +07:00
clan-bot
a91504f0b2 Merge pull request 'clan-cli secrets: add secret_store as python class' (#733) from lassulus-HEAD into main 2024-01-24 14:52:14 +00:00
lassulus
ce28342ba3 secret generators: run with set -efu -o pipefail 2024-01-24 15:49:12 +01:00
lassulus
1d4e533438 move secret stores into clan_cli codebase 2024-01-24 15:49:12 +01:00
a-kenji
14c50dc305 fix zerotier in vms 2024-01-23 19:43:42 +01:00
Jörg Thalheim
b5a12bc4ba move python code in nixos Module to external file 2024-01-23 15:04:40 +01:00
lassulus
ed6eb50f7d WIP: clan-cli secrets: add secret_store as python class 2024-01-23 15:04:40 +01:00
clan-bot
b6a7fd5be1 Merge pull request 'disable state home for now' (#740) from Mic92-main into main 2024-01-17 10:03:48 +00:00
Jörg Thalheim
c66df25ad1 disable state home for now 2024-01-17 10:59:01 +01:00
clan-bot
63e8a5a827 Merge pull request 'state.nix: improve docs' (#732) from DavHau-main into main 2024-01-17 06:51:55 +00:00
a-kenji
c7df270a47 clanModules: disable nixos manual by default 2024-01-16 15:14:16 +01:00
DavHau
2e10eea514 state.nix: improve docs 2024-01-15 16:03:47 +07:00
Jörg Thalheim
234dec62b3 add option to orbit moons 2024-01-12 18:31:18 +01:00
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