Commit Graph

17 Commits

Author SHA1 Message Date
a-kenji
c3a491a8d9 state: remove /home from default state folders
Home should not always be set by default.
In the UI we can suggest it, but it catches a lot of state you might not
want to back up.

The default has been moved to be automatically set by vm's in `vm.nix`.
2024-08-20 10:02:12 +00:00
DavHau
97bc973969 reference docs: add missing description fields and enforce it from now on 2024-07-04 13:34:55 +07:00
Jörg Thalheim
e68ebc8d6c clan.core.state: wrap all commands in shell scripts
Otherwise we cannot execute them via ssh and also have nix store
dependencies.
2024-06-19 17:54:46 +02:00
DavHau
4db2e8303f refactor: rename clanCore -> clan.core 2024-06-18 18:32:40 +07:00
Jörg Thalheim
70c86efe6f backup: add a way to stop services before restoring a state. 2024-06-06 17:30:35 +02:00
Jörg Thalheim
46530a0a9c postgresql: add backup and restore 2024-06-06 14:28:50 +02:00
Jörg Thalheim
4822fbc80e add postgresql backup hooks 2024-06-06 13:27:30 +02:00
Jörg Thalheim
c69a9e05a6 backups: skip preRestore and postRestore if not specified by a service 2024-03-20 09:32:01 +01:00
Jörg Thalheim
ede4d3f6e5 re-format with nixfmt 2024-03-17 19:48:49 +01: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
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
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
DavHau
2e10eea514 state.nix: improve docs 2024-01-15 16:03:47 +07: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