refactor(tdx_google): simplify service configurations

- Replaced hardcoded metadata-fetching logic with shared metadata service.
- Removed custom pre-start scripts and refactored environment handling.
- Updated Vector configuration to include custom field transformations.
- Streamlined container startup process and ensured proper cleanup.

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2025-02-19 11:01:25 +01:00
parent 5d2ad57cfd
commit 760ff7eff1
Signed by: harald
GPG key ID: F519A1143B3FBE32
4 changed files with 98 additions and 52 deletions

View file

@ -6,6 +6,9 @@
imports = [
"${toString modulesPath}/profiles/minimal.nix"
"${toString modulesPath}/profiles/qemu-guest.nix"
./metadata.nix
./vector.nix
./container.nix
];
services.journald.console = "/dev/ttyS0";