Commit Graph

194 Commits

Author SHA1 Message Date
Qubasa
52a18fd1a4 Improve documentation 2024-04-07 21:07:02 +02:00
Qubasa
f505e0f5db template: Reverted systemd-boot in installer. EF02 partition on wrong second place 2024-04-07 17:09:44 +02:00
Jörg Thalheim
4c6280553c sops: fix decrypte path on machine 2024-04-02 13:50:24 +02:00
DavHau
46afc1879c docs: render module options docs
fix errors while rendering some modules
2024-03-31 00:26:08 +07:00
DavHau
25977f6074 secrets: improve description of generator script 2024-03-30 17:16:26 +07:00
Jörg Thalheim
237fb9234d migrate secrets to new api 2024-03-28 11:02:14 +01:00
lassulus
2893025f3f refactor clanCore.secrets -> clanCore.facts 2024-03-27 16:03:16 +01:00
DavHau
90a504936c checks: add check for rendering docs 2024-03-27 16:59:42 +07:00
DavHau
1edc8678f5 clanCore/packages.nix: add gitMinimal
WIthout this, deployment via `clan machines update` will fail on the remote machine if the flake.nix has a git input
2024-03-25 11:47:32 +07:00
lassulus
8d34c51df2 refactor secrets & facts -> secret_facts & public_facts 2024-03-23 05:46:54 +01: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
56760f0e8d rework backup interface to no longer need to list backups to restore them 2024-03-20 09:32:01 +01:00
Jörg Thalheim
ede4d3f6e5 re-format with nixfmt 2024-03-17 19:48:49 +01:00
Jörg Thalheim
13b69ca63a make installer nixos module stand-alone 2024-03-17 19:38:50 +01:00
Jörg Thalheim
b33751e8f8 installer: also match qemu and serial consoles for prompting qrcode 2024-03-17 19:14:24 +01:00
Jörg Thalheim
7fb05130c9 don't use impure builtins.storePath 2024-03-17 18:10:23 +01:00
Jörg Thalheim
789bb82835 change facts path to be reachable as a store path 2024-03-17 18:10:23 +01:00
Jörg Thalheim
406033b69a fix openssh secrets
change facts path to be the full path

sshd: fixup store path
2024-03-13 14:59:46 +01:00
Jörg Thalheim
c52cffca37 allow fact-only secrets 2024-03-13 11:08:36 +01:00
a-kenji
20074bf5ec enable: spice-vdagent if xserver is enable 2024-03-12 16:00:54 +00:00
Jörg Thalheim
a7194b1b40 installer: switch to systemd-boot
grub is not able to boot from the disks that we flash for weird reasons.
Since BIOS-boot is on life-support, we may as well just use systemd-boot.
2024-03-07 14:13:11 +01:00
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