Commit Graph

373 Commits

Author SHA1 Message Date
Jörg Thalheim
c23a878dfd drop meshnamed from repository
It's not super useful and we can always add it back later if we need it.
2024-03-06 10:02:21 +01:00
a-kenji
ee41416697 secrets: fix typo 2024-03-05 11:59:55 +01:00
lassulus
9880dede41 clan-cli: add interactive secrets/fact generation 2024-03-03 04:06:18 +01:00
lassulus
f47ed3b11c clanCore secrets: rename toplevel secret to service 2024-03-02 11:43:20 +01:00
lassulus
e74b586576 outputs: pass secretsData directly 2024-03-02 11:43:20 +01:00
Jörg Thalheim
023b9f4257 add option to set defaultGroups for secrets 2024-02-16 17:26:20 +01:00
lassulus
5ed4881687 vms: use vm fact/secret-store 2024-02-15 10:41:25 +01:00
lassulus
e3627c12f7 add factsStore modules 2024-02-15 10:41:25 +01:00
Jörg Thalheim
49d1704153 optimize filesystem mount flags
perf!
2024-02-14 13:01:47 +01:00
Jörg Thalheim
aa6123a798 vms: enable sysusers 2024-02-13 14:14:54 +01:00
Jörg Thalheim
2202e5a001 fix virtiofsd in CIs 2024-02-13 13:57:52 +01:00
Jörg Thalheim
d2d4267003 format rootfs in vm itself 2024-02-13 11:45:42 +01:00
Jörg Thalheim
4c6a95c844 drop unused mounts 2024-02-13 11:45:42 +01:00
Jörg Thalheim
1c1b613598 simplify vmstate directory 2024-02-13 11:45:42 +01:00
Jörg Thalheim
8f7eb704c7 vms: integrate virtiofsd 2024-02-13 11:44:17 +01:00
lassulus
0dc0ee5b80 nixosModules clanCore: fix iso format 2024-02-10 13:27:51 +01:00
DavHau
a438a27c69 vms: init graceful shutdown for GUI
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI

the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
lassulus
75dfbfdad7 nixosModules zerotier: remove unneeded default 2024-02-07 05:26:01 +01:00
lassulus
bbc28a6262 clan-cli: add simple flash command 2024-02-07 05:26:01 +01:00
Jörg Thalheim
5afd5baeb2 add requireExplicitUpdate option for mobile devices 2024-02-06 17:55:34 +01:00
Jörg Thalheim
d36aea3f73 move checks if targetHost/buildHost is set to cli 2024-02-06 14:51:44 +01:00
clan-bot
5ab8c5416d Merge pull request 'cli,nix: Add machine_icon, machine_description to vm' (#812) from Qubasa-main into main 2024-02-06 12:29:32 +00:00
Qubasa
8194b61e4b cli,nix: Add machine_icon, machine_description 2024-02-06 19:25:34 +07:00
Jörg Thalheim
def7007f3e clanCore: fix deploymentAddress -> targetHost alias 2024-02-06 10:55:07 +01:00
Qubasa
e8416856f7 Added machineIcon and machineDescription to buildClan 2024-02-05 14:18:40 +07:00
lassulus
3c0541a5b2 nixosModules zerotier: fix type of dns 2024-02-05 02:31:14 +01:00
lassulus
264bceec41 clanCore zerotier: set default values in config for merging 2024-02-03 09:26:04 +01:00
lassulus
888828451a clanCore zerotier: add settings option 2024-02-03 04:48:54 +01:00
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