Commit Graph

186 Commits

Author SHA1 Message Date
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
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