clan-core/nixosModules/clanCore
DavHau c29e0086a4
All checks were successful
checks-impure / test (pull_request) Successful in 1m24s
checks / test (pull_request) Successful in 2m40s
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
..
meshnamed Fix typo 2023-11-16 14:39:15 +01:00
secrets add option to extend path for generator 2023-11-30 14:15:40 +01:00
zerotier Merge pull request 'backups: add clanCore backup & clan borgbackup module' (#605) from lassulus-backups into main 2023-12-04 16:51:33 +00:00
backups.nix backups: support services for restore 2023-12-08 19:09:29 +01:00
default.nix add wayland-proxy-virtwl module 2023-12-15 14:14:20 +01:00
imports.nix clanCore: refactor flake-module.nix into smaller files 2023-12-15 14:14:20 +01:00
metadata.nix clanCore: refactor flake-module.nix into smaller files 2023-12-15 14:14:20 +01:00
networking.nix clanCore/networking: allow ping unconditionally 2023-11-15 11:07:03 +01:00
nix-settings.nix Configure nix inside the machines 2023-11-16 14:08:50 +01:00
options.nix config: get rid of impure eval 2023-09-22 14:32:38 +02:00
outputs.nix VMs: persist state folders on host 2024-01-08 18:38:07 +07:00
packages.nix clanCore: install essential tools for debugging 2023-11-16 13:46:13 +01:00
schema.nix clanCore: refactor flake-module.nix into smaller files 2023-12-15 14:14:20 +01:00
serial.nix add serial module to vms 2023-12-08 12:35:33 +01:00
vm.nix VMs: persist state folders on host 2024-01-08 18:38:07 +07:00
wayland-proxy-virtwl.nix switch to xwayland display :1 2024-01-04 16:18:27 +01:00